@techysy/10router 1.3.3 → 1.3.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 (574) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +4 -4
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +1 -1
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +2 -2
  88. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/keys/rotate/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/keys/rotate/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/models/caps/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/models/caps/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/network/egress-region/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-kill/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-status/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/security/status/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/security/status/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  300. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/usage/quotas/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/usage/quotas/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/version/shell-update/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  402. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  404. package/app/.next-cli-build/server/app/callback.html +2 -2
  405. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  406. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  407. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  408. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
  409. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
  410. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  411. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
  412. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  413. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  414. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +2 -2
  415. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  416. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
  417. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  418. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  419. package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
  420. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  421. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
  422. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  423. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  424. package/app/.next-cli-build/server/app/dashboard/endpoint.html +2 -2
  425. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +7 -7
  426. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +7 -7
  427. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
  428. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  429. package/app/.next-cli-build/server/app/dashboard/experimental.html +2 -2
  430. package/app/.next-cli-build/server/app/dashboard/experimental.rsc +7 -7
  431. package/app/.next-cli-build/server/app/dashboard/experimental.segments/!KGRhc2hib2FyZCk/dashboard/experimental/__PAGE__.segment.rsc +7 -7
  432. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_full.segment.rsc +7 -7
  433. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_tree.segment.rsc +1 -1
  434. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
  435. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  436. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +7 -7
  437. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  438. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  439. package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
  440. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  441. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +7 -7
  442. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  443. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/profile.html +2 -2
  445. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  446. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
  447. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  448. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
  450. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  451. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
  452. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  453. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/providers.html +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  456. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
  457. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  458. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
  460. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  461. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
  462. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  463. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +7 -7
  466. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
  467. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
  468. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  470. package/app/.next-cli-build/server/app/dashboard/quota.rsc +8 -8
  471. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +8 -8
  472. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
  473. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  479. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  480. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  482. package/app/.next-cli-build/server/app/dashboard/skills.html +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  484. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +7 -7
  485. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  486. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/token-saver.html +2 -2
  488. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  489. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  490. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  491. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  494. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
  495. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  496. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/usage.html +2 -2
  498. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  499. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
  500. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  501. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  502. package/app/.next-cli-build/server/app/dashboard.html +2 -2
  503. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  504. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +7 -7
  505. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  506. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  508. package/app/.next-cli-build/server/app/index.html +1 -1
  509. package/app/.next-cli-build/server/app/index.rsc +5 -5
  510. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  511. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  512. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  513. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  514. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  515. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  516. package/app/.next-cli-build/server/app/landing.html +2 -2
  517. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  518. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  519. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  521. package/app/.next-cli-build/server/app/login/page.js +1 -1
  522. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  523. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  524. package/app/.next-cli-build/server/app/login.html +2 -2
  525. package/app/.next-cli-build/server/app/login.rsc +6 -6
  526. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +6 -6
  527. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
  529. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  530. package/app/.next-cli-build/server/app/page.js +1 -1
  531. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  532. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  533. package/app/.next-cli-build/server/app-paths-manifest.json +4 -4
  534. package/app/.next-cli-build/server/chunks/1329.js +1 -1
  535. package/app/.next-cli-build/server/chunks/2112.js +1 -1
  536. package/app/.next-cli-build/server/chunks/2120.js +1 -1
  537. package/app/.next-cli-build/server/chunks/4282.js +1 -1
  538. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  539. package/app/.next-cli-build/server/chunks/4927.js +2 -2
  540. package/app/.next-cli-build/server/chunks/5210.js +2 -2
  541. package/app/.next-cli-build/server/chunks/5781.js +1 -1
  542. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  543. package/app/.next-cli-build/server/chunks/615.js +1 -1
  544. package/app/.next-cli-build/server/chunks/6326.js +1 -1
  545. package/app/.next-cli-build/server/chunks/682.js +1 -0
  546. package/app/.next-cli-build/server/chunks/6960.js +1 -1
  547. package/app/.next-cli-build/server/chunks/7122.js +1 -1
  548. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  549. package/app/.next-cli-build/server/chunks/7274.js +1 -1
  550. package/app/.next-cli-build/server/chunks/8172.js +2 -2
  551. package/app/.next-cli-build/server/chunks/8499.js +1 -1
  552. package/app/.next-cli-build/server/chunks/8595.js +1 -1
  553. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  554. package/app/.next-cli-build/server/chunks/9628.js +1 -1
  555. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  556. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  557. package/app/.next-cli-build/server/middleware.js +4 -4
  558. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  559. package/app/.next-cli-build/server/pages/404.html +2 -2
  560. package/app/.next-cli-build/server/pages/500.html +1 -1
  561. package/app/.next-cli-build/static/chunks/1321-555b548232df2f80.js +1 -0
  562. package/app/.next-cli-build/static/chunks/5497-a498f93dd709dccb.js +7 -0
  563. package/app/.next-cli-build/static/chunks/app/landing/page-241f3474d89f3b8c.js +1 -0
  564. package/app/package.json +1 -1
  565. package/app/public/i18n/changelog/en.md +394 -384
  566. package/app/public/i18n/changelog/zh-CN.md +392 -382
  567. package/app/public/i18n/changelog/zh-TW.md +394 -384
  568. package/package.json +1 -1
  569. package/app/.next-cli-build/server/chunks/2269.js +0 -1
  570. package/app/.next-cli-build/static/chunks/1321-04a0bd75a8aa1806.js +0 -1
  571. package/app/.next-cli-build/static/chunks/5497-9afa8ec82cb51857.js +0 -7
  572. package/app/.next-cli-build/static/chunks/app/landing/page-01cca10383327c01.js +0 -1
  573. /package/app/.next-cli-build/static/{HXtMOamjH7NR-IuqflR2K → TWKzsrjlsswyo8nggSyiE}/_buildManifest.js +0 -0
  574. /package/app/.next-cli-build/static/{HXtMOamjH7NR-IuqflR2K → TWKzsrjlsswyo8nggSyiE}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=2825,a.ids=[2825],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11052:(a,b,c)=>{Promise.resolve().then(c.bind(c,87149))},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27515:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>l});var e=c(48249),f=c(67484),g=c(19099),h=c(94579),i=c(87066),j=c(35665),k=a([h]);h=(k.then?(await k)():k)[0];let n=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"},{value:"all",label:"All"}];function l(){return(0,e.jsx)(f.Suspense,{fallback:(0,e.jsx)(h.Qv,{}),children:(0,e.jsx)(m,{})})}function m(){let a=(0,g.useSearchParams)(),b=(0,g.useRouter)(),[c,d]=(0,f.useState)("today"),k=a.get("tab"),l=k&&["overview","logs","details"].includes(k)?k:"overview";return(0,e.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,e.jsx)(h.Iz,{options:[{value:"overview",label:"Overview"},{value:"details",label:"Details"}],value:l,onChange:c=>{if(c===l)return;let d=new URLSearchParams(a);d.set("tab",c),b.push(`/dashboard/usage?${d.toString()}`,{scroll:!1})},className:"w-full sm:w-auto"}),"overview"===l&&(0,e.jsx)(h.Iz,{options:n,value:c,onChange:d,size:"sm",className:"w-full sm:w-auto"})]}),"overview"===l&&(0,e.jsx)(f.Suspense,{fallback:(0,e.jsx)(h.Qv,{}),children:(0,e.jsx)(i.default,{period:c,setPeriod:d,hidePeriodSelector:!0})}),"logs"===l&&(0,e.jsx)(h.gM,{}),"details"===l&&(0,e.jsx)(j.A,{})]})}d()}catch(a){d(a)}})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},35665:(a,b,c)=>{"use strict";c.d(b,{A:()=>R});var d=c(48249),e=c(67484),f=c(17660),g=c(99070),h=c(71404);function i({isOpen:a,onClose:b,title:c,children:e,width:f="md",className:g}){let j={sm:"w-[400px]",md:"w-[500px]",lg:"w-[600px]",xl:"w-[800px]",full:"w-full"};return a?(0,d.jsxs)("div",{className:"fixed inset-0 z-50",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in cursor-pointer",onClick:b,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:(0,h.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",j[f]||j.md,g),children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-border-subtle flex-shrink-0",children:[(0,d.jsx)("div",{className:"flex items-center gap-3",children:c&&(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:c})}),(0,d.jsx)("button",{type:"button",onClick:b,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto p-6 custom-scrollbar",children:e})]})]}):null}function j({currentPage:a,pageSize:b,totalItems:c,onPageChange:e,onPageSizeChange:f,className:i}){let k=Math.ceil(c/b),l=c>0?(a-1)*b+1:0,m=Math.min(a*b,c),n=(()=>{let b=[],c=Math.max(1,a-2),d=Math.min(k,c+5-1);d-c+1<5&&(c=Math.max(1,d-5+1));for(let a=c;a<=d;a++)b.push(a);return b})();return(0,d.jsxs)("div",{className:(0,h.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",i),children:[c>0&&(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:l})," to"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:m})," of"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:c})," results"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[f&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,d.jsx)("select",{value:b,onChange:a=>f(Number(a.target.value)),className:(0,h.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(a=>(0,d.jsx)("option",{value:a,children:a},a))})]}),k>1&&(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>e(a-1),disabled:1===a,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),n[0]>1&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{variant:"ghost",size:"sm",onClick:()=>e(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),n[0]>2&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),n.map(b=>(0,d.jsx)(g.default,{variant:a===b?"primary":"ghost",size:"sm",onClick:()=>e(b),className:(0,h.cn)("w-9 px-0",a===b?"inline-flex":"hidden sm:inline-flex"),children:b},b)),n[n.length-1]<k&&(0,d.jsxs)(d.Fragment,{children:[n[n.length-1]<k-1&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,d.jsx)(g.default,{variant:"ghost",size:"sm",onClick:()=>e(k),className:"w-9 px-0 hidden sm:inline-flex",children:k})]}),(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>e(a+1),disabled:a===k,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}function k(a){return a?.cached_tokens||a?.cache_read_input_tokens||0}function l(a){return a?.cache_creation_input_tokens||0}function m(a){let b=a?.prompt_tokens||a?.input_tokens||0;if(a?.cached_tokens===void 0&&(a?.cache_read_input_tokens!==void 0||a?.cache_creation_input_tokens!==void 0))return b+k(a)+l(a);let c=k(a);return b<c?c:b}var n=c(92592),o=c(49885),p=c.n(o),q=c(75171),r=c(79750),s=c(99258),t=c(36753),u=c(91099);let v=["bg-black/[0.07] dark:bg-white/[0.08]","bg-primary/25","bg-primary/50","bg-primary/75","bg-primary"],w=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];function x(a,b){return 0===a||0===b?0:Math.min(4,Math.ceil(a/b*4))}function y({dateLine:a,statsLine:b,style:c,className:e,onEnter:f,onLeave:g,showTip:h=!0}){return(0,d.jsxs)("div",{className:"relative inline-flex shrink-0 group/tt",style:c,onMouseEnter:f,onMouseLeave:g,children:[(0,d.jsx)("div",{className:e,style:{width:"100%",height:"100%"}}),h&&(0,d.jsxs)("div",{className:"pointer-events-none absolute bottom-full left-1/2 z-50 mb-1.5 w-max -translate-x-1/2 rounded border border-black/10 bg-white px-2 py-1 text-[11px] leading-snug text-text-main opacity-0 shadow-lg transition-opacity duration-150 group-hover/tt:opacity-100 dark:border-white/10 dark:bg-gray-700 dark:text-white",children:[(0,d.jsx)("div",{className:"font-medium",children:a}),(0,d.jsx)("div",{className:"text-text-muted dark:text-white/80",children:b})]})]})}function z(a){let b=0,c=0;for(let d of a)d.inRange&&(b+=d.requests,c+=d.tokens);return{requests:b,tokens:c}}function A({daily:a,days:b=365,currentStreak:c}){let[f,g]=(0,e.useState)("day"),[i,j]=(0,e.useState)(null),k=(0,s.kk)(),l=function(a,b){let c={},d=0;for(let b of a||[])c[b.date]=b,b.requests>d&&(d=b.requests);let e=new Date;e.setHours(0,0,0,0);let f=new Date(e);f.setDate(f.getDate()-(b-1));let g=new Date(f);g.setDate(g.getDate()-(g.getDay()+6)%7);let h=[];for(;g<=e;){let a=[];for(let b=0;b<7;b++){let b=new Date(g),h=`${b.getFullYear()}-${String(b.getMonth()+1).padStart(2,"0")}-${String(b.getDate()).padStart(2,"0")}`,i=b>=f&&b<=e,j=c[h],k=j?.requests||0;a.push({key:h,date:new Date(b),inRange:i,requests:k,tokens:j?.tokens||0,cost:j?.cost||0,level:i?x(k,d):0}),g.setDate(g.getDate()+1)}h.push(a)}return h}(a,b),m=a=>a.toLocaleDateString(k,{year:"numeric",month:"long",day:"numeric"}),n=(0,e.useRef)(null),[o,p]=(0,e.useState)({w:0,h:0}),q=o.h>0?Math.max(6,(o.h-24.8)/7):0,r=q>0?Math.min(l.length,Math.max(4,Math.floor((o.w-32-4+4)/(q+4)))):0,B=r>0?l.slice(-r):[],C=B.map(z).reduce((a,b)=>Math.max(a,b.requests/7),0),D=0,E=0,F=0;for(let a of B)for(let b of a)b.inRange&&(D+=b.requests,E+=b.tokens,b.requests>0&&(F+=1));let G=null!=c?k.startsWith("zh-tw")||"zh-HK"===k?` \xb7 連續 ${c} 天`:k.startsWith("zh")?` \xb7 连续 ${c} 天`:` \xb7 ${c}d streak`:"";return(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-text-muted",children:[(0,d.jsx)("span",{children:(0,s.Tl)("Less")}),v.map((a,b)=>(0,d.jsx)("span",{className:(0,h.cn)("w-3 h-3 shrink-0 rounded-sm",a)},b)),(0,d.jsx)("span",{children:(0,s.Tl)("More")})]}),(0,d.jsx)(u.default,{size:"sm",value:f,onChange:g,options:[{value:"day",label:(0,s.Tl)("Day")},{value:"week",label:(0,s.Tl)("Week")}]})]}),(0,d.jsxs)("div",{className:"pb-1",children:[(0,d.jsx)("div",{className:"flex",style:{gap:4,paddingLeft:36,height:12},children:B.map((a,b)=>(0,d.jsx)("div",{style:{width:q},className:"shrink-0 overflow-visible whitespace-nowrap text-[9px] leading-none text-text-muted",children:b>0&&a[6].date.getMonth()!==B[b-1][6].date.getMonth()?a[6].date.toLocaleDateString("en"===k?"en-US":k,{month:"short"}):""},b))}),(0,d.jsx)("div",{ref:n,className:"mt-1 h-[150px] sm:h-[170px]",children:q>0&&w.map((a,b)=>(0,d.jsxs)("div",{className:"flex",style:{gap:4,marginTop:0===b?0:5===b?4.8:4},children:[(0,d.jsx)("div",{style:{width:32},className:"flex shrink-0 items-center text-[9px] leading-none text-text-muted",children:b%2==0?(0,s.Tl)(a):""}),B.map((a,c)=>{let e=a[b],g="week"===f,l=g&&i===c;if(g){let f=a.filter(a=>a.inRange),g=z(a);return(0,d.jsxs)("div",{className:"relative inline-flex shrink-0",style:{width:q,height:q},onMouseEnter:()=>e.inRange&&j(c),onMouseLeave:()=>e.inRange&&j(null),children:[(0,d.jsx)("div",{style:{width:"100%",height:"100%"},className:(0,h.cn)("rounded-sm transition-transform",e.inRange?v[x(g.requests/7,C)]:"bg-transparent",l&&e.inRange&&"scale-110 ring-1 ring-text-main/50")}),0===b&&f.length>0&&(0,d.jsxs)("div",{className:(0,h.cn)("pointer-events-none absolute bottom-full left-1/2 z-50 mb-1.5 w-max -translate-x-1/2 rounded border border-black/10 bg-white px-2 py-1 text-[11px] leading-snug text-text-main shadow-lg transition-opacity duration-150 dark:border-white/10 dark:bg-gray-700 dark:text-white",l?"opacity-100":"opacity-0"),children:[(0,d.jsx)("div",{className:"font-medium",children:`${m(f[f.length-1].date)} ${(0,s.Tl)("This Week")}`}),(0,d.jsx)("div",{className:"text-text-muted dark:text-white/80",children:`${(0,t.y)(g.tokens,k,!0)} tokens \xb7 ${g.requests} ${(0,s.Tl)("requests")}`})]})]},e.key)}return e.inRange?(0,d.jsx)(y,{style:{width:q,height:q},dateLine:m(e.date),statsLine:`${(0,t.y)(e.tokens,k,!0)} tokens \xb7 ${e.requests} ${(0,s.Tl)("requests")}`,className:(0,h.cn)("rounded-sm transition-transform hover:scale-110 hover:ring-1 hover:ring-text-main/40",v[e.level])},e.key):(0,d.jsx)("div",{style:{width:q,height:q},className:"shrink-0 bg-transparent"},e.key)})]},a))})]}),(0,d.jsx)("div",{className:"text-[10px] text-text-muted",children:`${D.toLocaleString()} ${(0,s.Tl)("requests")} \xb7 ${(0,t.y)(E,k,!0)} ${(0,s.Tl)("tokens")} \xb7 ${F} ${(0,s.Tl)("active days")}${G}`})]})}y.propTypes={dateLine:p().string.isRequired,statsLine:p().string.isRequired,style:p().object,className:p().string,onEnter:p().func,onLeave:p().func,showTip:p().bool},A.propTypes={daily:p().arrayOf(p().shape({date:p().string.isRequired,requests:p().number,tokens:p().number,cost:p().number})),days:p().number,currentStreak:p().number};let B=[{key:"name",label:"Name",align:"left",kind:"name"},{key:"score",label:"Health",align:"center",kind:"badge"},{key:"successRate",label:"Success",align:"right",kind:"rate"},{key:"avgTtftMs",label:"Avg TTFT",align:"right",kind:"latency"},{key:"avgLatencyMs",label:"Avg Latency",align:"right",kind:"latency"},{key:"avgSpeed",label:"Avg Speed",align:"right",kind:"speed"},{key:"requests",label:"Requests",align:"right",kind:"int"},{key:"lastUsed",label:"Last Used",align:"right",kind:"date"}],C=[{key:"model",label:"Model",align:"left",kind:"name"},...B.slice(1)],D={left:"text-left",center:"text-center",right:"text-right"};function E(a){return String(a??"").trim().replace(/\s+/g," ")}function F({col:a,row:b,nameKey:c,subKey:e,expandable:f,isOpen:g}){var i,j,k;switch(a.kind){case"name":return(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-1",children:[f&&(0,d.jsx)("span",{className:"material-symbols-outlined mt-0.5 shrink-0 text-base leading-5 text-text-muted",children:g?"expand_more":"chevron_right"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("div",{className:"truncate text-sm font-medium text-text-main",children:E(b[c])}),e&&b[e]&&(0,d.jsx)("div",{className:"truncate text-xs text-text-muted",children:E(b[e])})]})]});case"badge":if(null==b.score)return(0,d.jsx)("span",{className:"text-text-muted",children:"—"});return(0,d.jsx)(q.default,{variant:(i=b.score)>=90?"success":i>=70?"warning":"error",size:"sm",children:b.score});case"rate":return(0,d.jsxs)("span",{className:(0,h.cn)("font-mono",b.successRate>=90?"text-success":b.successRate>=70?"text-warning":"text-red-500"),children:[b.successRate,"%"]});case"latency":return(0,d.jsx)("span",{className:"font-mono",children:null==(j=b[a.key])?"—":j<1e3?`${j}ms`:`${(j/1e3).toFixed(1)}s`});case"speed":return(0,d.jsx)("span",{className:"font-mono",children:null==(k=b.avgSpeed)||Number.isNaN(k)?"—":`${k.toLocaleString()} tok/s`});case"int":return(0,d.jsx)("span",{className:"font-mono",children:(b[a.key]||0).toLocaleString()});case"cost":return(0,d.jsx)("span",{className:"font-mono",children:(0,r.F)(b.cost)});case"date":return(0,d.jsx)("span",{className:"text-text-muted",children:function(a){if(!a)return"—";let b=new Date(a);return Number.isNaN(b.getTime())?"—":b.toLocaleString((0,s.kk)(),{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}(b.lastUsed)});default:return String(b[a.key]??"—")}}F.propTypes={col:p().object.isRequired,row:p().object.isRequired,nameKey:p().string.isRequired,subKey:p().string,expandable:p().bool,isOpen:p().bool};let G=new Set(["avgTtftMs","avgLatencyMs","avgSpeed"]);function H({rows:a,emptyText:b,parentNode:c}){if(0===a.length)return(0,d.jsx)("p",{className:"px-8 py-3 text-xs text-text-muted",children:b});let e={avgTtftMs:!!c?.hasTtft||a.some(a=>a.hasTtft),avgLatencyMs:!!c?.hasPerfData||a.some(a=>a.hasPerfData),avgSpeed:!!c?.hasSpeed||a.some(a=>a.hasSpeed)},f=C.filter(a=>G.has(a.key)?e[a.key]:"score"!==a.key||e.avgLatencyMs);return(0,d.jsx)("table",{className:"w-full",children:(0,d.jsx)("tbody",{children:a.map(a=>(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0",children:f.map(b=>(0,d.jsx)("td",{className:(0,h.cn)("p-2 pl-8 text-sm text-text-main",D[b.align],"name"===b.kind&&"max-w-[240px]"),children:(0,d.jsx)(F,{col:b,row:a,nameKey:"model"})},b.key))},a.model))})})}function I(a,b,c,d){let e=a=>{if("name"===b)return E(a[d]||"");let e=a[b];return"string"==typeof e?e:null==e?"desc"===c?-1/0:1/0:e};return[...a].sort((a,b)=>{let d=e(a),f=e(b),g="string"==typeof d&&"string"==typeof f?d.localeCompare(f):d-f;return"desc"===c?-g:g})}function J({rows:a,columns:b,nameKey:c,subKey:f,emptyText:g,renderExpanded:i,expandedEmptyText:k,expandedNameKey:l="model"}){let[m,n]=(0,e.useState)("score"),[o,p]=(0,e.useState)("desc"),[q,r]=(0,e.useState)(1),[t,u]=(0,e.useState)(10),[v,w]=(0,e.useState)(()=>new Set),x=(0,e.useMemo)(()=>I(a,m,o,c),[a,m,o,c]);if(0===a.length)return(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:g});let y=Math.min(q,Math.max(1,Math.ceil(a.length/t))),z=x.slice((y-1)*t,y*t);return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[640px]",children:[(0,d.jsx)("thead",{children:(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5",children:b.map(a=>(0,d.jsx)("th",{className:(0,h.cn)("p-2 text-xs font-semibold text-text-muted",D[a.align]),children:(0,d.jsxs)("button",{onClick:()=>{var b;return b=a.key,void(r(1),m===b?p(a=>"desc"===a?"asc":"desc"):(n(b),p("name"===b?"asc":"desc")))},className:(0,h.cn)("inline-flex items-center gap-0.5 hover:text-text-main transition-colors",m===a.key&&"text-text-main"),children:[(0,s.Tl)(a.label),(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:m===a.key?"desc"===o?"arrow_downward":"arrow_upward":"unfold_more"})]})},a.key))})}),(0,d.jsx)("tbody",{children:z.map((a,j)=>{let n=`${a[c]}-${j}`,p=!!i&&v.has(n),q=p?I(i(a),m,o,l):null;return(0,d.jsxs)(e.Fragment,{children:[(0,d.jsx)("tr",{onClick:i?()=>{w(a=>{let b=new Set(a);return b.has(n)?b.delete(n):b.add(n),b})}:void 0,className:(0,h.cn)("border-b border-black/5 dark:border-white/5 last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",i&&"cursor-pointer select-none"),children:b.map(b=>(0,d.jsx)("td",{className:(0,h.cn)("p-2 text-sm text-text-main",D[b.align],"name"===b.kind&&"max-w-[240px]"),children:(0,d.jsx)(F,{col:b,row:a,nameKey:c,subKey:f,expandable:!!i,isOpen:p})},b.key))}),p&&(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0",children:(0,d.jsx)("td",{colSpan:b.length,className:"p-0 bg-black/[0.02] dark:bg-white/[0.02]",children:(0,d.jsx)(H,{rows:q,emptyText:k||g,parentNode:a})})})]},n)})})]})}),(0,d.jsx)("div",{className:"border-t border-black/5 dark:border-white/5",children:(0,d.jsx)(j,{currentPage:y,pageSize:t,totalItems:a.length,onPageChange:r,onPageSizeChange:a=>{u(a),r(1)}})})]})}function K({lifetime:a}){let b=(0,s.kk)();if(!a)return null;let c=[{label:"Total Requests",value:(a.totalRequests||0).toLocaleString()},{label:"Lifetime Tokens",value:(0,t.y)(a.totalTokens,b),valueClass:"text-primary"},{label:"Peak Day Tokens",value:(0,t.y)(a.peakTokens,b),sub:a.peakDate||"",valueClass:"text-info"},{label:"Cache Hit Rate",value:null!=a.cacheHitRate?`${a.cacheHitRate}%`:"—",sub:(0,s.Tl)("Only real valid data is counted"),valueClass:"text-success"},{label:"Most Used Model",value:a.topModel?.model||"—",sub:a.topModel?`${(0,s.Tl)("Last 7 days")} ${(0,t.y)(a.topModel.tokens,b,!0)}${a.topModel.provider?` \xb7 ${a.topModel.provider}`:""}`:"",valueClass:"text-warning",shrink:!0}];return(0,d.jsx)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 sm:gap-4",children:c.map(a=>(0,d.jsxs)(f.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",style:{containerType:"inline-size"},children:[(0,d.jsx)("span",{className:"truncate text-text-muted text-sm uppercase font-semibold",children:(0,s.Tl)(a.label)}),(0,d.jsx)("div",{className:"flex h-8 items-center min-w-0",children:(0,d.jsx)("span",{className:(0,h.cn)("whitespace-nowrap font-bold",a.shrink?"text-[clamp(0.875rem,4.5cqw,1.5rem)] leading-none truncate":"truncate text-2xl leading-none",a.valueClass),children:a.value})}),a.sub?(0,d.jsx)("span",{className:"truncate text-[10px] text-text-muted",children:a.sub}):(0,d.jsx)("span",{className:"text-[10px] invisible select-none leading-normal",children:"\xa0"})]},a.label))})}function L(){let[a,b]=(0,e.useState)(null),[c,g]=(0,e.useState)(!0),[h,i]=(0,e.useState)(!1);if(c)return(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-8 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),(0,s.Tl)("Loading dashboard...")]})});if(h||!a)return(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:(0,s.Tl)("Failed to load usage dashboard")})});let j=(a.nodes||[]).filter(a=>null!=a.score),k=a.daily||[];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(K,{lifetime:a.lifetime}),(0,d.jsx)(f.default,{title:(0,s.Tl)("Activity Heatmap"),icon:"calendar_month",padding:"md",children:0===k.length?(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:(0,s.Tl)("No activity in the selected period")}):(0,d.jsx)(A,{daily:k,days:365,currentStreak:a.lifetime?.currentStreak})}),(0,d.jsxs)(f.default,{title:(0,s.Tl)("Node Health"),icon:"dns",padding:"md",children:[(0,d.jsx)("p",{className:"mb-2 text-xs text-text-muted",children:(0,s.Tl)("Last 7 days (≥50 real requests)")}),(0,d.jsx)(J,{rows:j,columns:B,nameKey:"name",emptyText:(0,s.Tl)("No nodes with 50+ requests in this period"),renderExpanded:b=>(a.models||[]).filter(a=>a.provider===b.provider),expandedEmptyText:(0,s.Tl)("No models with 10+ requests under this node")})]})]})}H.propTypes={rows:p().arrayOf(p().object).isRequired,emptyText:p().string.isRequired,parentNode:p().object},J.propTypes={rows:p().arrayOf(p().object).isRequired,columns:p().arrayOf(p().object).isRequired,nameKey:p().string.isRequired,subKey:p().string,emptyText:p().string.isRequired,renderExpanded:p().func,expandedEmptyText:p().string,expandedNameKey:p().string},K.propTypes={lifetime:p().object};let M=null,N=null;async function O(){if(M&&N)return{providerNameCache:M,providerNodesCache:N};let a=await fetch("/api/provider-nodes"),b=(await a.json()).nodes||[];for(let a of(N={},b))N[a.id]=a.name;return{providerNameCache:M={...n.Q2,...N},providerNodesCache:N}}function P(a,b){if(!a||!b)return a;let c=b[a];if("string"==typeof c)return c;if(c?.name)return c.name;let d=(0,n.zt)(a)||n.Q2[a];return d?.name||a}function Q({title:a,children:b,defaultOpen:c=!1,icon:f=null}){let[g,i]=(0,e.useState)(c);return(0,d.jsxs)("div",{className:"border border-black/5 dark:border-white/5 rounded-lg overflow-hidden",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>i(!g),className:"w-full flex items-center justify-between p-3 bg-black/[0.02] dark:bg-white/[0.02] hover:bg-black/[0.04] dark:hover:bg-white/[0.04] transition-colors",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[f&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:f}),(0,d.jsx)("span",{className:"font-semibold text-sm text-text-main",children:a})]}),(0,d.jsx)("span",{className:(0,h.cn)("material-symbols-outlined text-[20px] text-text-muted transition-transform duration-200",g?"rotate-90":""),children:"chevron_right"})]}),g&&(0,d.jsx)("div",{className:"p-4 border-t border-black/5 dark:border-white/5",children:b})]})}function R(){let[a,b]=(0,e.useState)([]),[c,n]=(0,e.useState)({page:1,pageSize:20,totalItems:0,totalPages:0}),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)([]),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)({provider:"",startDate:"",endDate:""});return(0,e.useCallback)(async()=>{try{let a=await fetch("/api/usage/providers"),b=await a.json();v(b.providers||[]);let c=await O();x(c.providerNameCache)}catch(a){console.error("Failed to fetch providers:",a)}},[]),(0,e.useCallback)(async()=>{p(!0);try{let a=new URLSearchParams({page:c.page.toString(),pageSize:c.pageSize.toString()});y.provider&&a.append("provider",y.provider),y.startDate&&a.append("startDate",y.startDate),y.endDate&&a.append("endDate",y.endDate);let d=await fetch(`/api/usage/request-details?${a}`),e=await d.json();b(e.details||[]),n(a=>({...a,...e.pagination}))}catch(a){console.error("Failed to fetch request details:",a)}finally{p(!1)}},[c.page,c.pageSize,y]),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,d.jsx)(L,{}),(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"provider-filter",className:"text-sm font-medium text-text-main",children:"Provider"}),(0,d.jsxs)("select",{id:"provider-filter",value:y.provider,onChange:a=>z({...y,provider:a.target.value}),className:(0,h.cn)("h-9 px-3 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","w-full min-w-0 cursor-pointer"),style:{colorScheme:"auto"},children:[(0,d.jsx)("option",{value:"",children:"All Providers"}),u.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"start-date-filter",className:"text-sm font-medium text-text-main",children:"Start Date"}),(0,d.jsx)("input",{id:"start-date-filter",type:"datetime-local",value:y.startDate,onChange:a=>z({...y,startDate:a.target.value}),className:(0,h.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"end-date-filter",className:"text-sm font-medium text-text-main",children:"End Date"}),(0,d.jsx)("input",{id:"end-date-filter",type:"datetime-local",value:y.endDate,onChange:a=>z({...y,endDate:a.target.value}),className:(0,h.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 sm:col-span-2 lg:col-span-1",children:[(0,d.jsx)("span",{className:"hidden text-sm font-medium text-text-main opacity-0 lg:block","aria-hidden":"true",children:"Clear"}),(0,d.jsx)(g.default,{variant:"ghost",onClick:()=>{z({provider:"",startDate:"",endDate:""})},disabled:!y.provider&&!y.startDate&&!y.endDate,className:"w-full",children:"Clear Filters"})]})]})}),(0,d.jsxs)(f.default,{padding:"none",children:[(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[880px]",children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5",children:[(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Timestamp"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Model"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Provider"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Input Tokens"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cached"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cache Creation"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Output Tokens"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Latency"}),(0,d.jsx)("th",{className:"text-center p-4 text-sm font-semibold text-text-main",children:"Action"})]})}),(0,d.jsx)("tbody",{children:o?(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading..."]})})}):0===a.length?(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:"No request details found"})}):a.map((a,b)=>(0,d.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,d.jsx)("td",{className:"whitespace-nowrap p-4 text-sm text-text-main",children:new Date(a.timestamp).toLocaleString()}),(0,d.jsx)("td",{className:"max-w-[260px] truncate p-4 font-mono text-sm text-text-main",children:a.model}),(0,d.jsx)("td",{className:"max-w-[180px] truncate p-4 text-sm text-text-main",children:(0,d.jsx)("span",{className:"font-medium",children:P(a.provider,w)})}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:m(a.tokens).toLocaleString()}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:k(a.tokens)>0?k(a.tokens).toLocaleString():"—"}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:l(a.tokens)>0?l(a.tokens).toLocaleString():"—"}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:a.tokens?.completion_tokens?.toLocaleString()||0}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-muted",children:(0,d.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,d.jsxs)("div",{children:["TTFT: ",(0,d.jsxs)("span",{className:"font-mono",children:[a.latency?.ttft||0,"ms"]})]}),(0,d.jsxs)("div",{children:["Total: ",(0,d.jsxs)("span",{className:"font-mono",children:[a.latency?.total||0,"ms"]})]})]})}),(0,d.jsx)("td",{className:"p-4 text-center",children:(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>{r(a),t(!0)},children:"Detail"})})]},`${a.id}-${b}`))})]})}),!o&&a.length>0&&(0,d.jsx)("div",{className:"border-t border-black/5 dark:border-white/5",children:(0,d.jsx)(j,{currentPage:c.page,pageSize:c.pageSize,totalItems:c.totalItems,onPageChange:a=>{n(b=>({...b,page:a}))},onPageSizeChange:a=>{n(b=>({...b,pageSize:a,page:1}))}})})]}),(0,d.jsx)(i,{isOpen:s,onClose:()=>t(!1),title:"Request Details",width:"lg",children:q&&(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"ID:"})," ",(0,d.jsx)("span",{className:"break-all font-mono text-text-main",children:q.id})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Timestamp:"})," ",(0,d.jsx)("span",{className:"text-text-main",children:new Date(q.timestamp).toLocaleString()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Provider:"})," ",(0,d.jsx)("span",{className:"text-text-main font-medium",children:P(q.provider,w)})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Model:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:q.model})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Status:"})," ",(0,d.jsx)("span",{className:(0,h.cn)("font-medium","success"===q.status?"text-green-600":"text-red-600"),children:q.status})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Latency:"})," ",(0,d.jsxs)("span",{className:"text-text-main font-mono",children:["TTFT ",q.latency?.ttft||0,"ms / Total ",q.latency?.total||0,"ms"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Input Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:m(q.tokens).toLocaleString()})]}),k(q.tokens)>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Cached Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:k(q.tokens).toLocaleString()})]}),l(q.tokens)>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Cache Creation:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:l(q.tokens).toLocaleString()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Output Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:q.tokens?.completion_tokens?.toLocaleString()||0})]})]}),q.pxpipe&&(0,d.jsxs)("div",{className:"rounded-lg border border-black/5 dark:border-white/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:"image"}),(0,d.jsx)("span",{className:"font-semibold text-sm text-text-main",children:"PXPIPE"}),(0,d.jsx)("span",{className:(0,h.cn)("text-xs px-2 py-0.5 rounded",q.pxpipe.applied?"bg-green-500/15 text-green-600":"bg-amber-500/15 text-amber-600"),children:q.pxpipe.applied?"Activated":"Skipped"})]}),q.pxpipe.applied?(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2 text-sm sm:grid-cols-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Original (est.)"}),(0,d.jsxs)("span",{className:"font-mono",children:[(q.pxpipe.tokensBeforeEst||0).toLocaleString()," tokens"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Compressed (est.)"}),(0,d.jsxs)("span",{className:"font-mono",children:[(q.pxpipe.tokensAfterEst||0).toLocaleString()," tokens"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Saved"}),(0,d.jsxs)("span",{className:"font-mono text-green-600",children:[q.pxpipe.savedPct||0,"%"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Images"}),(0,d.jsxs)("span",{className:"font-mono",children:[q.pxpipe.imageCount||0," (",q.pxpipe.durationMs||0,"ms)"]})]})]}):(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Reason: ",(0,d.jsx)("span",{className:"font-mono",children:q.pxpipe.reason}),q.pxpipe.detail?` — ${q.pxpipe.detail}`:""]})]}),(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)(Q,{title:"1. Client Request (Input)",defaultOpen:!0,icon:"input",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(q.request,null,2)})}),q.providerRequest&&(0,d.jsx)(Q,{title:"2. Provider Request (Translated)",icon:"translate",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(q.providerRequest,null,2)})}),q.providerResponse&&(0,d.jsx)(Q,{title:"3. Provider Response (Raw)",icon:"data_object",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:"object"==typeof q.providerResponse?JSON.stringify(q.providerResponse,null,2):q.providerResponse})}),(0,d.jsxs)(Q,{title:"4. Client Response (Final)",defaultOpen:!0,icon:"output",children:[q.response?.thinking&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsxs)("h4",{className:"font-semibold text-text-main mb-2 flex items-center gap-2 text-xs uppercase tracking-wide opacity-70",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"psychology"}),"Thinking Process"]}),(0,d.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:q.response.thinking})]}),(0,d.jsx)("h4",{className:"font-semibold text-text-main mb-2 text-xs uppercase tracking-wide opacity-70",children:"Content"}),(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:q.response?.content||"[No content]"})]})]})]})})]})}},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87149:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"F:\\\\Files\\\\GitHub Files\\\\10router\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\usage\\\\page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js","default")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},94962:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["usage",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,87149))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/usage/page",pathname:"/dashboard/usage",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},97900:(a,b,c)=>{Promise.resolve().then(c.bind(c,27515))},98995:a=>{"use strict";a.exports=require("node:module")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2391,7568,2430,4613,8410,2116,2269,6070,1329,5781,7274,7239,1219,4123,8172,6960,4886,7066],()=>b(b.s=94962));module.exports=c})();
1
+ (()=>{var a={};a.id=2825,a.ids=[2825],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11052:(a,b,c)=>{Promise.resolve().then(c.bind(c,87149))},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27515:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>l});var e=c(48249),f=c(67484),g=c(19099),h=c(94579),i=c(87066),j=c(35665),k=a([h]);h=(k.then?(await k)():k)[0];let n=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"},{value:"all",label:"All"}];function l(){return(0,e.jsx)(f.Suspense,{fallback:(0,e.jsx)(h.Qv,{}),children:(0,e.jsx)(m,{})})}function m(){let a=(0,g.useSearchParams)(),b=(0,g.useRouter)(),[c,d]=(0,f.useState)("today"),k=a.get("tab"),l=k&&["overview","logs","details"].includes(k)?k:"overview";return(0,e.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,e.jsx)(h.Iz,{options:[{value:"overview",label:"Overview"},{value:"details",label:"Details"}],value:l,onChange:c=>{if(c===l)return;let d=new URLSearchParams(a);d.set("tab",c),b.push(`/dashboard/usage?${d.toString()}`,{scroll:!1})},className:"w-full sm:w-auto"}),"overview"===l&&(0,e.jsx)(h.Iz,{options:n,value:c,onChange:d,size:"sm",className:"w-full sm:w-auto"})]}),"overview"===l&&(0,e.jsx)(f.Suspense,{fallback:(0,e.jsx)(h.Qv,{}),children:(0,e.jsx)(i.default,{period:c,setPeriod:d,hidePeriodSelector:!0})}),"logs"===l&&(0,e.jsx)(h.gM,{}),"details"===l&&(0,e.jsx)(j.A,{})]})}d()}catch(a){d(a)}})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},35665:(a,b,c)=>{"use strict";c.d(b,{A:()=>R});var d=c(48249),e=c(67484),f=c(17660),g=c(99070),h=c(71404);function i({isOpen:a,onClose:b,title:c,children:e,width:f="md",className:g}){let j={sm:"w-[400px]",md:"w-[500px]",lg:"w-[600px]",xl:"w-[800px]",full:"w-full"};return a?(0,d.jsxs)("div",{className:"fixed inset-0 z-50",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in cursor-pointer",onClick:b,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:(0,h.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",j[f]||j.md,g),children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-border-subtle flex-shrink-0",children:[(0,d.jsx)("div",{className:"flex items-center gap-3",children:c&&(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:c})}),(0,d.jsx)("button",{type:"button",onClick:b,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto p-6 custom-scrollbar",children:e})]})]}):null}function j({currentPage:a,pageSize:b,totalItems:c,onPageChange:e,onPageSizeChange:f,className:i}){let k=Math.ceil(c/b),l=c>0?(a-1)*b+1:0,m=Math.min(a*b,c),n=(()=>{let b=[],c=Math.max(1,a-2),d=Math.min(k,c+5-1);d-c+1<5&&(c=Math.max(1,d-5+1));for(let a=c;a<=d;a++)b.push(a);return b})();return(0,d.jsxs)("div",{className:(0,h.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",i),children:[c>0&&(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:l})," to"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:m})," of"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:c})," results"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[f&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,d.jsx)("select",{value:b,onChange:a=>f(Number(a.target.value)),className:(0,h.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(a=>(0,d.jsx)("option",{value:a,children:a},a))})]}),k>1&&(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>e(a-1),disabled:1===a,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),n[0]>1&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{variant:"ghost",size:"sm",onClick:()=>e(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),n[0]>2&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),n.map(b=>(0,d.jsx)(g.default,{variant:a===b?"primary":"ghost",size:"sm",onClick:()=>e(b),className:(0,h.cn)("w-9 px-0",a===b?"inline-flex":"hidden sm:inline-flex"),children:b},b)),n[n.length-1]<k&&(0,d.jsxs)(d.Fragment,{children:[n[n.length-1]<k-1&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,d.jsx)(g.default,{variant:"ghost",size:"sm",onClick:()=>e(k),className:"w-9 px-0 hidden sm:inline-flex",children:k})]}),(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>e(a+1),disabled:a===k,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}function k(a){return a?.cached_tokens||a?.cache_read_input_tokens||0}function l(a){return a?.cache_creation_input_tokens||0}function m(a){let b=a?.prompt_tokens||a?.input_tokens||0;if(a?.cached_tokens===void 0&&(a?.cache_read_input_tokens!==void 0||a?.cache_creation_input_tokens!==void 0))return b+k(a)+l(a);let c=k(a);return b<c?c:b}var n=c(92592),o=c(49885),p=c.n(o),q=c(75171),r=c(79750),s=c(99258),t=c(36753),u=c(91099);let v=["bg-black/[0.07] dark:bg-white/[0.08]","bg-primary/25","bg-primary/50","bg-primary/75","bg-primary"],w=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];function x(a,b){return 0===a||0===b?0:Math.min(4,Math.ceil(a/b*4))}function y({dateLine:a,statsLine:b,style:c,className:e,onEnter:f,onLeave:g,showTip:h=!0}){return(0,d.jsxs)("div",{className:"relative inline-flex shrink-0 group/tt",style:c,onMouseEnter:f,onMouseLeave:g,children:[(0,d.jsx)("div",{className:e,style:{width:"100%",height:"100%"}}),h&&(0,d.jsxs)("div",{className:"pointer-events-none absolute bottom-full left-1/2 z-50 mb-1.5 w-max -translate-x-1/2 rounded border border-black/10 bg-white px-2 py-1 text-[11px] leading-snug text-text-main opacity-0 shadow-lg transition-opacity duration-150 group-hover/tt:opacity-100 dark:border-white/10 dark:bg-gray-700 dark:text-white",children:[(0,d.jsx)("div",{className:"font-medium",children:a}),(0,d.jsx)("div",{className:"text-text-muted dark:text-white/80",children:b})]})]})}function z(a){let b=0,c=0;for(let d of a)d.inRange&&(b+=d.requests,c+=d.tokens);return{requests:b,tokens:c}}function A({daily:a,days:b=365,currentStreak:c}){let[f,g]=(0,e.useState)("day"),[i,j]=(0,e.useState)(null),k=(0,s.kk)(),l=function(a,b){let c={},d=0;for(let b of a||[])c[b.date]=b,b.requests>d&&(d=b.requests);let e=new Date;e.setHours(0,0,0,0);let f=new Date(e);f.setDate(f.getDate()-(b-1));let g=new Date(f);g.setDate(g.getDate()-(g.getDay()+6)%7);let h=[];for(;g<=e;){let a=[];for(let b=0;b<7;b++){let b=new Date(g),h=`${b.getFullYear()}-${String(b.getMonth()+1).padStart(2,"0")}-${String(b.getDate()).padStart(2,"0")}`,i=b>=f&&b<=e,j=c[h],k=j?.requests||0;a.push({key:h,date:new Date(b),inRange:i,requests:k,tokens:j?.tokens||0,cost:j?.cost||0,level:i?x(k,d):0}),g.setDate(g.getDate()+1)}h.push(a)}return h}(a,b),m=a=>a.toLocaleDateString(k,{year:"numeric",month:"long",day:"numeric"}),n=(0,e.useRef)(null),[o,p]=(0,e.useState)({w:0,h:0}),q=o.h>0?Math.max(6,(o.h-24.8)/7):0,r=q>0?Math.min(l.length,Math.max(4,Math.floor((o.w-32-4+4)/(q+4)))):0,B=r>0?l.slice(-r):[],C=B.map(z).reduce((a,b)=>Math.max(a,b.requests/7),0),D=0,E=0,F=0;for(let a of B)for(let b of a)b.inRange&&(D+=b.requests,E+=b.tokens,b.requests>0&&(F+=1));let G=null!=c?k.startsWith("zh-tw")||"zh-HK"===k?` \xb7 連續 ${c} 天`:k.startsWith("zh")?` \xb7 连续 ${c} 天`:` \xb7 ${c}d streak`:"";return(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-text-muted",children:[(0,d.jsx)("span",{children:(0,s.Tl)("Less")}),v.map((a,b)=>(0,d.jsx)("span",{className:(0,h.cn)("w-3 h-3 shrink-0 rounded-sm",a)},b)),(0,d.jsx)("span",{children:(0,s.Tl)("More")})]}),(0,d.jsx)(u.default,{size:"sm",value:f,onChange:g,options:[{value:"day",label:(0,s.Tl)("Day")},{value:"week",label:(0,s.Tl)("Week")}]})]}),(0,d.jsxs)("div",{className:"pb-1",children:[(0,d.jsx)("div",{className:"flex",style:{gap:4,paddingLeft:36,height:12},children:B.map((a,b)=>(0,d.jsx)("div",{style:{width:q},className:"shrink-0 overflow-visible whitespace-nowrap text-[9px] leading-none text-text-muted",children:b>0&&a[6].date.getMonth()!==B[b-1][6].date.getMonth()?a[6].date.toLocaleDateString("en"===k?"en-US":k,{month:"short"}):""},b))}),(0,d.jsx)("div",{ref:n,className:"mt-1 h-[150px] sm:h-[170px]",children:q>0&&w.map((a,b)=>(0,d.jsxs)("div",{className:"flex",style:{gap:4,marginTop:0===b?0:5===b?4.8:4},children:[(0,d.jsx)("div",{style:{width:32},className:"flex shrink-0 items-center text-[9px] leading-none text-text-muted",children:b%2==0?(0,s.Tl)(a):""}),B.map((a,c)=>{let e=a[b],g="week"===f,l=g&&i===c;if(g){let f=a.filter(a=>a.inRange),g=z(a);return(0,d.jsxs)("div",{className:"relative inline-flex shrink-0",style:{width:q,height:q},onMouseEnter:()=>e.inRange&&j(c),onMouseLeave:()=>e.inRange&&j(null),children:[(0,d.jsx)("div",{style:{width:"100%",height:"100%"},className:(0,h.cn)("rounded-sm transition-transform",e.inRange?v[x(g.requests/7,C)]:"bg-transparent",l&&e.inRange&&"scale-110 ring-1 ring-text-main/50")}),0===b&&f.length>0&&(0,d.jsxs)("div",{className:(0,h.cn)("pointer-events-none absolute bottom-full left-1/2 z-50 mb-1.5 w-max -translate-x-1/2 rounded border border-black/10 bg-white px-2 py-1 text-[11px] leading-snug text-text-main shadow-lg transition-opacity duration-150 dark:border-white/10 dark:bg-gray-700 dark:text-white",l?"opacity-100":"opacity-0"),children:[(0,d.jsx)("div",{className:"font-medium",children:`${m(f[f.length-1].date)} ${(0,s.Tl)("This Week")}`}),(0,d.jsx)("div",{className:"text-text-muted dark:text-white/80",children:`${(0,t.y)(g.tokens,k,!0)} tokens \xb7 ${g.requests} ${(0,s.Tl)("requests")}`})]})]},e.key)}return e.inRange?(0,d.jsx)(y,{style:{width:q,height:q},dateLine:m(e.date),statsLine:`${(0,t.y)(e.tokens,k,!0)} tokens \xb7 ${e.requests} ${(0,s.Tl)("requests")}`,className:(0,h.cn)("rounded-sm transition-transform hover:scale-110 hover:ring-1 hover:ring-text-main/40",v[e.level])},e.key):(0,d.jsx)("div",{style:{width:q,height:q},className:"shrink-0 bg-transparent"},e.key)})]},a))})]}),(0,d.jsx)("div",{className:"text-[10px] text-text-muted",children:`${D.toLocaleString()} ${(0,s.Tl)("requests")} \xb7 ${(0,t.y)(E,k,!0)} ${(0,s.Tl)("tokens")} \xb7 ${F} ${(0,s.Tl)("active days")}${G}`})]})}y.propTypes={dateLine:p().string.isRequired,statsLine:p().string.isRequired,style:p().object,className:p().string,onEnter:p().func,onLeave:p().func,showTip:p().bool},A.propTypes={daily:p().arrayOf(p().shape({date:p().string.isRequired,requests:p().number,tokens:p().number,cost:p().number})),days:p().number,currentStreak:p().number};let B=[{key:"name",label:"Name",align:"left",kind:"name"},{key:"score",label:"Health",align:"center",kind:"badge"},{key:"successRate",label:"Success",align:"right",kind:"rate"},{key:"avgTtftMs",label:"Avg TTFT",align:"right",kind:"latency"},{key:"avgLatencyMs",label:"Avg Latency",align:"right",kind:"latency"},{key:"avgSpeed",label:"Avg Speed",align:"right",kind:"speed"},{key:"requests",label:"Requests",align:"right",kind:"int"},{key:"lastUsed",label:"Last Used",align:"right",kind:"date"}],C=[{key:"model",label:"Model",align:"left",kind:"name"},...B.slice(1)],D={left:"text-left",center:"text-center",right:"text-right"};function E(a){return String(a??"").trim().replace(/\s+/g," ")}function F({col:a,row:b,nameKey:c,subKey:e,expandable:f,isOpen:g}){var i,j,k;switch(a.kind){case"name":return(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-1",children:[f&&(0,d.jsx)("span",{className:"material-symbols-outlined mt-0.5 shrink-0 text-base leading-5 text-text-muted",children:g?"expand_more":"chevron_right"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("div",{className:"truncate text-sm font-medium text-text-main",children:E(b[c])}),e&&b[e]&&(0,d.jsx)("div",{className:"truncate text-xs text-text-muted",children:E(b[e])})]})]});case"badge":if(null==b.score)return(0,d.jsx)("span",{className:"text-text-muted",children:"—"});return(0,d.jsx)(q.default,{variant:(i=b.score)>=90?"success":i>=70?"warning":"error",size:"sm",children:b.score});case"rate":return(0,d.jsxs)("span",{className:(0,h.cn)("font-mono",b.successRate>=90?"text-success":b.successRate>=70?"text-warning":"text-red-500"),children:[b.successRate,"%"]});case"latency":return(0,d.jsx)("span",{className:"font-mono",children:null==(j=b[a.key])?"—":j<1e3?`${j}ms`:`${(j/1e3).toFixed(1)}s`});case"speed":return(0,d.jsx)("span",{className:"font-mono",children:null==(k=b.avgSpeed)||Number.isNaN(k)?"—":`${k.toLocaleString()} tok/s`});case"int":return(0,d.jsx)("span",{className:"font-mono",children:(b[a.key]||0).toLocaleString()});case"cost":return(0,d.jsx)("span",{className:"font-mono",children:(0,r.F)(b.cost)});case"date":return(0,d.jsx)("span",{className:"text-text-muted",children:function(a){if(!a)return"—";let b=new Date(a);return Number.isNaN(b.getTime())?"—":b.toLocaleString((0,s.kk)(),{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}(b.lastUsed)});default:return String(b[a.key]??"—")}}F.propTypes={col:p().object.isRequired,row:p().object.isRequired,nameKey:p().string.isRequired,subKey:p().string,expandable:p().bool,isOpen:p().bool};let G=new Set(["avgTtftMs","avgLatencyMs","avgSpeed"]);function H({rows:a,emptyText:b,parentNode:c}){if(0===a.length)return(0,d.jsx)("p",{className:"px-8 py-3 text-xs text-text-muted",children:b});let e={avgTtftMs:!!c?.hasTtft||a.some(a=>a.hasTtft),avgLatencyMs:!!c?.hasPerfData||a.some(a=>a.hasPerfData),avgSpeed:!!c?.hasSpeed||a.some(a=>a.hasSpeed)},f=C.filter(a=>G.has(a.key)?e[a.key]:"score"!==a.key||e.avgLatencyMs);return(0,d.jsx)("table",{className:"w-full",children:(0,d.jsx)("tbody",{children:a.map(a=>(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0",children:f.map(b=>(0,d.jsx)("td",{className:(0,h.cn)("p-2 pl-8 text-sm text-text-main",D[b.align],"name"===b.kind&&"max-w-[240px]"),children:(0,d.jsx)(F,{col:b,row:a,nameKey:"model"})},b.key))},a.model))})})}function I(a,b,c,d){let e=a=>{if("name"===b)return E(a[d]||"");let e=a[b];return"string"==typeof e?e:null==e?"desc"===c?-1/0:1/0:e};return[...a].sort((a,b)=>{let d=e(a),f=e(b),g="string"==typeof d&&"string"==typeof f?d.localeCompare(f):d-f;return"desc"===c?-g:g})}function J({rows:a,columns:b,nameKey:c,subKey:f,emptyText:g,renderExpanded:i,expandedEmptyText:k,expandedNameKey:l="model"}){let[m,n]=(0,e.useState)("score"),[o,p]=(0,e.useState)("desc"),[q,r]=(0,e.useState)(1),[t,u]=(0,e.useState)(10),[v,w]=(0,e.useState)(()=>new Set),x=(0,e.useMemo)(()=>I(a,m,o,c),[a,m,o,c]);if(0===a.length)return(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:g});let y=Math.min(q,Math.max(1,Math.ceil(a.length/t))),z=x.slice((y-1)*t,y*t);return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[640px]",children:[(0,d.jsx)("thead",{children:(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5",children:b.map(a=>(0,d.jsx)("th",{className:(0,h.cn)("p-2 text-xs font-semibold text-text-muted",D[a.align]),children:(0,d.jsxs)("button",{onClick:()=>{var b;return b=a.key,void(r(1),m===b?p(a=>"desc"===a?"asc":"desc"):(n(b),p("name"===b?"asc":"desc")))},className:(0,h.cn)("inline-flex items-center gap-0.5 hover:text-text-main transition-colors",m===a.key&&"text-text-main"),children:[(0,s.Tl)(a.label),(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:m===a.key?"desc"===o?"arrow_downward":"arrow_upward":"unfold_more"})]})},a.key))})}),(0,d.jsx)("tbody",{children:z.map((a,j)=>{let n=`${a[c]}-${j}`,p=!!i&&v.has(n),q=p?I(i(a),m,o,l):null;return(0,d.jsxs)(e.Fragment,{children:[(0,d.jsx)("tr",{onClick:i?()=>{w(a=>{let b=new Set(a);return b.has(n)?b.delete(n):b.add(n),b})}:void 0,className:(0,h.cn)("border-b border-black/5 dark:border-white/5 last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",i&&"cursor-pointer select-none"),children:b.map(b=>(0,d.jsx)("td",{className:(0,h.cn)("p-2 text-sm text-text-main",D[b.align],"name"===b.kind&&"max-w-[240px]"),children:(0,d.jsx)(F,{col:b,row:a,nameKey:c,subKey:f,expandable:!!i,isOpen:p})},b.key))}),p&&(0,d.jsx)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0",children:(0,d.jsx)("td",{colSpan:b.length,className:"p-0 bg-black/[0.02] dark:bg-white/[0.02]",children:(0,d.jsx)(H,{rows:q,emptyText:k||g,parentNode:a})})})]},n)})})]})}),(0,d.jsx)("div",{className:"border-t border-black/5 dark:border-white/5",children:(0,d.jsx)(j,{currentPage:y,pageSize:t,totalItems:a.length,onPageChange:r,onPageSizeChange:a=>{u(a),r(1)}})})]})}function K({lifetime:a}){let b=(0,s.kk)();if(!a)return null;let c=[{label:"Total Requests",value:(a.totalRequests||0).toLocaleString()},{label:"Lifetime Tokens",value:(0,t.y)(a.totalTokens,b),valueClass:"text-primary"},{label:"Peak Day Tokens",value:(0,t.y)(a.peakTokens,b),sub:a.peakDate||"",valueClass:"text-info"},{label:"Cache Hit Rate",value:null!=a.cacheHitRate?`${a.cacheHitRate}%`:"—",sub:(0,s.Tl)("Only real valid data is counted"),valueClass:"text-success"},{label:"Most Used Model",value:a.topModel?.model||"—",sub:a.topModel?`${(0,s.Tl)("Last 7 days")} ${(0,t.y)(a.topModel.tokens,b,!0)}${a.topModel.provider?` \xb7 ${a.topModel.provider}`:""}`:"",valueClass:"text-warning",shrink:!0}];return(0,d.jsx)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 sm:gap-4",children:c.map(a=>(0,d.jsxs)(f.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",style:{containerType:"inline-size"},children:[(0,d.jsx)("span",{className:"truncate text-text-muted text-sm uppercase font-semibold",children:(0,s.Tl)(a.label)}),(0,d.jsx)("div",{className:"flex h-8 items-center min-w-0",children:(0,d.jsx)("span",{className:(0,h.cn)("whitespace-nowrap font-bold",a.shrink?"text-[clamp(0.875rem,4.5cqw,1.5rem)] leading-none truncate":"truncate text-2xl leading-none",a.valueClass),children:a.value})}),a.sub?(0,d.jsx)("span",{className:"truncate text-[10px] text-text-muted",children:a.sub}):(0,d.jsx)("span",{className:"text-[10px] invisible select-none leading-normal",children:"\xa0"})]},a.label))})}function L(){let[a,b]=(0,e.useState)(null),[c,g]=(0,e.useState)(!0),[h,i]=(0,e.useState)(!1);if(c)return(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-8 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),(0,s.Tl)("Loading dashboard...")]})});if(h||!a)return(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:(0,s.Tl)("Failed to load usage dashboard")})});let j=(a.nodes||[]).filter(a=>null!=a.score),k=a.daily||[];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(K,{lifetime:a.lifetime}),(0,d.jsx)(f.default,{title:(0,s.Tl)("Activity Heatmap"),icon:"calendar_month",padding:"md",children:0===k.length?(0,d.jsx)("p",{className:"py-6 text-center text-sm text-text-muted",children:(0,s.Tl)("No activity in the selected period")}):(0,d.jsx)(A,{daily:k,days:365,currentStreak:a.lifetime?.currentStreak})}),(0,d.jsxs)(f.default,{title:(0,s.Tl)("Node Health"),icon:"dns",padding:"md",children:[(0,d.jsx)("p",{className:"mb-2 text-xs text-text-muted",children:(0,s.Tl)("Last 7 days (≥50 real requests)")}),(0,d.jsx)(J,{rows:j,columns:B,nameKey:"name",emptyText:(0,s.Tl)("No nodes with 50+ requests in this period"),renderExpanded:b=>(a.models||[]).filter(a=>a.provider===b.provider),expandedEmptyText:(0,s.Tl)("No models with 10+ requests under this node")})]})]})}H.propTypes={rows:p().arrayOf(p().object).isRequired,emptyText:p().string.isRequired,parentNode:p().object},J.propTypes={rows:p().arrayOf(p().object).isRequired,columns:p().arrayOf(p().object).isRequired,nameKey:p().string.isRequired,subKey:p().string,emptyText:p().string.isRequired,renderExpanded:p().func,expandedEmptyText:p().string,expandedNameKey:p().string},K.propTypes={lifetime:p().object};let M=null,N=null;async function O(){if(M&&N)return{providerNameCache:M,providerNodesCache:N};let a=await fetch("/api/provider-nodes"),b=(await a.json()).nodes||[];for(let a of(N={},b))N[a.id]=a.name;return{providerNameCache:M={...n.Q2,...N},providerNodesCache:N}}function P(a,b){if(!a||!b)return a;let c=b[a];if("string"==typeof c)return c;if(c?.name)return c.name;let d=(0,n.zt)(a)||n.Q2[a];return d?.name||a}function Q({title:a,children:b,defaultOpen:c=!1,icon:f=null}){let[g,i]=(0,e.useState)(c);return(0,d.jsxs)("div",{className:"border border-black/5 dark:border-white/5 rounded-lg overflow-hidden",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>i(!g),className:"w-full flex items-center justify-between p-3 bg-black/[0.02] dark:bg-white/[0.02] hover:bg-black/[0.04] dark:hover:bg-white/[0.04] transition-colors",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[f&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:f}),(0,d.jsx)("span",{className:"font-semibold text-sm text-text-main",children:a})]}),(0,d.jsx)("span",{className:(0,h.cn)("material-symbols-outlined text-[20px] text-text-muted transition-transform duration-200",g?"rotate-90":""),children:"chevron_right"})]}),g&&(0,d.jsx)("div",{className:"p-4 border-t border-black/5 dark:border-white/5",children:b})]})}function R(){let[a,b]=(0,e.useState)([]),[c,n]=(0,e.useState)({page:1,pageSize:20,totalItems:0,totalPages:0}),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)([]),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)({provider:"",startDate:"",endDate:""});return(0,e.useCallback)(async()=>{try{let a=await fetch("/api/usage/providers"),b=await a.json();v(b.providers||[]);let c=await O();x(c.providerNameCache)}catch(a){console.error("Failed to fetch providers:",a)}},[]),(0,e.useCallback)(async()=>{p(!0);try{let a=new URLSearchParams({page:c.page.toString(),pageSize:c.pageSize.toString()});y.provider&&a.append("provider",y.provider),y.startDate&&a.append("startDate",y.startDate),y.endDate&&a.append("endDate",y.endDate);let d=await fetch(`/api/usage/request-details?${a}`),e=await d.json();b(e.details||[]),n(a=>({...a,...e.pagination}))}catch(a){console.error("Failed to fetch request details:",a)}finally{p(!1)}},[c.page,c.pageSize,y]),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,d.jsx)(L,{}),(0,d.jsx)(f.default,{padding:"md",children:(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"provider-filter",className:"text-sm font-medium text-text-main",children:"Provider"}),(0,d.jsxs)("select",{id:"provider-filter",value:y.provider,onChange:a=>z({...y,provider:a.target.value}),className:(0,h.cn)("h-9 px-3 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","w-full min-w-0 cursor-pointer"),style:{colorScheme:"auto"},children:[(0,d.jsx)("option",{value:"",children:"All Providers"}),u.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"start-date-filter",className:"text-sm font-medium text-text-main",children:"Start Date"}),(0,d.jsx)("input",{id:"start-date-filter",type:"datetime-local",value:y.startDate,onChange:a=>z({...y,startDate:a.target.value}),className:(0,h.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,d.jsx)("label",{htmlFor:"end-date-filter",className:"text-sm font-medium text-text-main",children:"End Date"}),(0,d.jsx)("input",{id:"end-date-filter",type:"datetime-local",value:y.endDate,onChange:a=>z({...y,endDate:a.target.value}),className:(0,h.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 sm:col-span-2 lg:col-span-1",children:[(0,d.jsx)("span",{className:"hidden text-sm font-medium text-text-main opacity-0 lg:block","aria-hidden":"true",children:"Clear"}),(0,d.jsx)(g.default,{variant:"ghost",onClick:()=>{z({provider:"",startDate:"",endDate:""})},disabled:!y.provider&&!y.startDate&&!y.endDate,className:"w-full",children:"Clear Filters"})]})]})}),(0,d.jsxs)(f.default,{padding:"none",children:[(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[880px]",children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5",children:[(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Timestamp"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Model"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Provider"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Input Tokens"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cached"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cache Creation"}),(0,d.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Output Tokens"}),(0,d.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Latency"}),(0,d.jsx)("th",{className:"text-center p-4 text-sm font-semibold text-text-main",children:"Action"})]})}),(0,d.jsx)("tbody",{children:o?(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading..."]})})}):0===a.length?(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:"No request details found"})}):a.map((a,b)=>(0,d.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,d.jsx)("td",{className:"whitespace-nowrap p-4 text-sm text-text-main",children:new Date(a.timestamp).toLocaleString()}),(0,d.jsx)("td",{className:"max-w-[260px] truncate p-4 font-mono text-sm text-text-main",children:a.model}),(0,d.jsx)("td",{className:"max-w-[180px] truncate p-4 text-sm text-text-main",children:(0,d.jsx)("span",{className:"font-medium",children:P(a.provider,w)})}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:m(a.tokens).toLocaleString()}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:k(a.tokens)>0?k(a.tokens).toLocaleString():"—"}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:l(a.tokens)>0?l(a.tokens).toLocaleString():"—"}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:a.tokens?.completion_tokens?.toLocaleString()||0}),(0,d.jsx)("td",{className:"p-4 text-sm text-text-muted",children:(0,d.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,d.jsxs)("div",{children:["TTFT: ",(0,d.jsxs)("span",{className:"font-mono",children:[a.latency?.ttft||0,"ms"]})]}),(0,d.jsxs)("div",{children:["Total: ",(0,d.jsxs)("span",{className:"font-mono",children:[a.latency?.total||0,"ms"]})]})]})}),(0,d.jsx)("td",{className:"p-4 text-center",children:(0,d.jsx)(g.default,{variant:"outline",size:"sm",onClick:()=>{r(a),t(!0)},children:"Detail"})})]},`${a.id}-${b}`))})]})}),!o&&a.length>0&&(0,d.jsx)("div",{className:"border-t border-black/5 dark:border-white/5",children:(0,d.jsx)(j,{currentPage:c.page,pageSize:c.pageSize,totalItems:c.totalItems,onPageChange:a=>{n(b=>({...b,page:a}))},onPageSizeChange:a=>{n(b=>({...b,pageSize:a,page:1}))}})})]}),(0,d.jsx)(i,{isOpen:s,onClose:()=>t(!1),title:"Request Details",width:"lg",children:q&&(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"ID:"})," ",(0,d.jsx)("span",{className:"break-all font-mono text-text-main",children:q.id})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Timestamp:"})," ",(0,d.jsx)("span",{className:"text-text-main",children:new Date(q.timestamp).toLocaleString()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Provider:"})," ",(0,d.jsx)("span",{className:"text-text-main font-medium",children:P(q.provider,w)})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Model:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:q.model})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Status:"})," ",(0,d.jsx)("span",{className:(0,h.cn)("font-medium","success"===q.status?"text-green-600":"text-red-600"),children:q.status})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Latency:"})," ",(0,d.jsxs)("span",{className:"text-text-main font-mono",children:["TTFT ",q.latency?.ttft||0,"ms / Total ",q.latency?.total||0,"ms"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Input Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:m(q.tokens).toLocaleString()})]}),k(q.tokens)>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Cached Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:k(q.tokens).toLocaleString()})]}),l(q.tokens)>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Cache Creation:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:l(q.tokens).toLocaleString()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted",children:"Output Tokens:"})," ",(0,d.jsx)("span",{className:"text-text-main font-mono",children:q.tokens?.completion_tokens?.toLocaleString()||0})]})]}),q.pxpipe&&(0,d.jsxs)("div",{className:"rounded-lg border border-black/5 dark:border-white/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:"image"}),(0,d.jsx)("span",{className:"font-semibold text-sm text-text-main",children:"PXPIPE"}),(0,d.jsx)("span",{className:(0,h.cn)("text-xs px-2 py-0.5 rounded",q.pxpipe.applied?"bg-green-500/15 text-green-600":"bg-amber-500/15 text-amber-600"),children:q.pxpipe.applied?"Activated":"Skipped"})]}),q.pxpipe.applied?(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2 text-sm sm:grid-cols-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Original (est.)"}),(0,d.jsxs)("span",{className:"font-mono",children:[(q.pxpipe.tokensBeforeEst||0).toLocaleString()," tokens"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Compressed (est.)"}),(0,d.jsxs)("span",{className:"font-mono",children:[(q.pxpipe.tokensAfterEst||0).toLocaleString()," tokens"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Saved"}),(0,d.jsxs)("span",{className:"font-mono text-green-600",children:[q.pxpipe.savedPct||0,"%"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-text-muted block text-xs",children:"Images"}),(0,d.jsxs)("span",{className:"font-mono",children:[q.pxpipe.imageCount||0," (",q.pxpipe.durationMs||0,"ms)"]})]})]}):(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Reason: ",(0,d.jsx)("span",{className:"font-mono",children:q.pxpipe.reason}),q.pxpipe.detail?` — ${q.pxpipe.detail}`:""]})]}),(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)(Q,{title:"1. Client Request (Input)",defaultOpen:!0,icon:"input",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(q.request,null,2)})}),q.providerRequest&&(0,d.jsx)(Q,{title:"2. Provider Request (Translated)",icon:"translate",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(q.providerRequest,null,2)})}),q.providerResponse&&(0,d.jsx)(Q,{title:"3. Provider Response (Raw)",icon:"data_object",children:(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:"object"==typeof q.providerResponse?JSON.stringify(q.providerResponse,null,2):q.providerResponse})}),(0,d.jsxs)(Q,{title:"4. Client Response (Final)",defaultOpen:!0,icon:"output",children:[q.response?.thinking&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsxs)("h4",{className:"font-semibold text-text-main mb-2 flex items-center gap-2 text-xs uppercase tracking-wide opacity-70",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"psychology"}),"Thinking Process"]}),(0,d.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:q.response.thinking})]}),(0,d.jsx)("h4",{className:"font-semibold text-text-main mb-2 text-xs uppercase tracking-wide opacity-70",children:"Content"}),(0,d.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:q.response?.content||"[No content]"})]})]})]})})]})}},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87149:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"F:\\\\Files\\\\GitHub Files\\\\10router\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\usage\\\\page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js","default")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},94962:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["usage",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,87149))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/usage/page",pathname:"/dashboard/usage",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},97900:(a,b,c)=>{Promise.resolve().then(c.bind(c,27515))},98995:a=>{"use strict";a.exports=require("node:module")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2391,7568,2430,4613,8410,2116,682,6070,1329,5781,7274,7239,1219,4123,8172,6960,4886,7066],()=>b(b.s=94962));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/package.json","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/1159.js","../../../../chunks/1219.js","../../../../chunks/1220.js","../../../../chunks/1261.js","../../../../chunks/1329.js","../../../../chunks/1386.js","../../../../chunks/1531.js","../../../../chunks/1710.js","../../../../chunks/1813.js","../../../../chunks/1998.js","../../../../chunks/2112.js","../../../../chunks/2116.js","../../../../chunks/2120.js","../../../../chunks/2132.js","../../../../chunks/2269.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2468.js","../../../../chunks/2732.js","../../../../chunks/2750.js","../../../../chunks/2812.js","../../../../chunks/2926.js","../../../../chunks/3225.js","../../../../chunks/3245.js","../../../../chunks/3256.js","../../../../chunks/3433.js","../../../../chunks/3500.js","../../../../chunks/3535.js","../../../../chunks/3593.js","../../../../chunks/3792.js","../../../../chunks/3885.js","../../../../chunks/3943.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4177.js","../../../../chunks/4190.js","../../../../chunks/4282.js","../../../../chunks/4293.js","../../../../chunks/436.js","../../../../chunks/4575.js","../../../../chunks/4613.js","../../../../chunks/4689.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4886.js","../../../../chunks/4927.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5210.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5485.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5692.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/6133.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/6492.js","../../../../chunks/653.js","../../../../chunks/6756.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6921.js","../../../../chunks/6922.js","../../../../chunks/6947.js","../../../../chunks/6956.js","../../../../chunks/6960.js","../../../../chunks/698.js","../../../../chunks/6982.js","../../../../chunks/7066.js","../../../../chunks/7067.js","../../../../chunks/7070.js","../../../../chunks/7122.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7274.js","../../../../chunks/7322.js","../../../../chunks/7568.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/8062.js","../../../../chunks/808.js","../../../../chunks/8172.js","../../../../chunks/8292.js","../../../../chunks/8370.js","../../../../chunks/8410.js","../../../../chunks/8469.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/8595.js","../../../../chunks/8658.js","../../../../chunks/8672.js","../../../../chunks/8689.js","../../../../chunks/8749.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9046.js","../../../../chunks/9055.js","../../../../chunks/9154.js","../../../../chunks/939.js","../../../../chunks/9451.js","../../../../chunks/9489.js","../../../../chunks/9609.js","../../../../chunks/9628.js","../../../../chunks/976.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/package.json","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/1159.js","../../../../chunks/1219.js","../../../../chunks/1220.js","../../../../chunks/1261.js","../../../../chunks/1329.js","../../../../chunks/1386.js","../../../../chunks/1531.js","../../../../chunks/1710.js","../../../../chunks/1813.js","../../../../chunks/1998.js","../../../../chunks/2112.js","../../../../chunks/2116.js","../../../../chunks/2120.js","../../../../chunks/2132.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2468.js","../../../../chunks/2732.js","../../../../chunks/2750.js","../../../../chunks/2812.js","../../../../chunks/2926.js","../../../../chunks/3225.js","../../../../chunks/3245.js","../../../../chunks/3256.js","../../../../chunks/3433.js","../../../../chunks/3500.js","../../../../chunks/3535.js","../../../../chunks/3593.js","../../../../chunks/3792.js","../../../../chunks/3885.js","../../../../chunks/3943.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4177.js","../../../../chunks/4190.js","../../../../chunks/4282.js","../../../../chunks/4293.js","../../../../chunks/436.js","../../../../chunks/4575.js","../../../../chunks/4613.js","../../../../chunks/4689.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4886.js","../../../../chunks/4927.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5210.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5485.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5692.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/6133.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/6492.js","../../../../chunks/653.js","../../../../chunks/6756.js","../../../../chunks/6763.js","../../../../chunks/682.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6921.js","../../../../chunks/6922.js","../../../../chunks/6947.js","../../../../chunks/6956.js","../../../../chunks/6960.js","../../../../chunks/698.js","../../../../chunks/6982.js","../../../../chunks/7066.js","../../../../chunks/7067.js","../../../../chunks/7070.js","../../../../chunks/7122.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7274.js","../../../../chunks/7322.js","../../../../chunks/7568.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/8062.js","../../../../chunks/808.js","../../../../chunks/8172.js","../../../../chunks/8292.js","../../../../chunks/8370.js","../../../../chunks/8410.js","../../../../chunks/8469.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/8595.js","../../../../chunks/8658.js","../../../../chunks/8672.js","../../../../chunks/8689.js","../../../../chunks/8749.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9046.js","../../../../chunks/9055.js","../../../../chunks/9154.js","../../../../chunks/939.js","../../../../chunks/9451.js","../../../../chunks/9489.js","../../../../chunks/9609.js","../../../../chunks/9628.js","../../../../chunks/976.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}