@techysy/10router 1.2.1 → 1.3.0

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 (1122) hide show
  1. package/README.md +240 -240
  2. package/README.zh-CN.md +210 -210
  3. package/app/.next-cli-build/BUILD_ID +1 -1
  4. package/app/.next-cli-build/app-path-routes-manifest.json +16 -8
  5. package/app/.next-cli-build/build-manifest.json +3 -3
  6. package/app/.next-cli-build/prerender-manifest.json +27 -27
  7. package/app/.next-cli-build/react-loadable-manifest.json +29 -0
  8. package/app/.next-cli-build/routes-manifest.json +50 -0
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +15 -9
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  82. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  90. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.html +9 -1
  93. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  94. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  95. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  96. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  97. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/status/route.js +2 -2
  118. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +26 -11
  122. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js +2 -0
  128. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route.js.nft.json +1 -0
  129. package/app/.next-cli-build/server/app/api/cli-tools/claude-profiles/route_client-reference-manifest.js +1 -0
  130. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +4 -0
  135. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -0
  136. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route_client-reference-manifest.js +1 -0
  137. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +23 -9
  156. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  160. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/keys/rotate/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/keys/rotate/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/caps/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/caps/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/network/egress-region/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/network/egress-region/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  268. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-kill/route.js +2 -0
  270. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-kill/route.js.nft.json +1 -0
  271. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-kill/route_client-reference-manifest.js +1 -0
  272. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-status/route.js +2 -0
  273. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-status/route.js.nft.json +1 -0
  274. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/desktop-status/route_client-reference-manifest.js +1 -0
  275. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +42 -0
  276. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -0
  277. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route_client-reference-manifest.js +1 -0
  278. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -0
  279. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -0
  280. package/app/.next-cli-build/server/app/api/oauth/zed/import/route_client-reference-manifest.js +1 -0
  281. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  320. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  322. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  324. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  326. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  328. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  330. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  332. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  334. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  336. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/security/status/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/security/status/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  356. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  378. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -0
  380. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -0
  381. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route_client-reference-manifest.js +1 -0
  382. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/quotas/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/quotas/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -0
  439. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -0
  440. package/app/.next-cli-build/server/app/api/v1/systemone/route_client-reference-manifest.js +1 -0
  441. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  454. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  456. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  460. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  462. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  464. package/app/.next-cli-build/server/app/callback.html +9 -1
  465. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  466. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  467. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
  469. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +9 -1
  470. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +21 -19
  471. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +15 -11
  472. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +21 -19
  473. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  474. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +9 -1
  475. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +22 -20
  476. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +15 -11
  477. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +22 -20
  478. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/dashboard/combos.html +9 -1
  480. package/app/.next-cli-build/server/app/dashboard/combos.rsc +25 -22
  481. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +15 -11
  482. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +25 -22
  483. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  484. package/app/.next-cli-build/server/app/dashboard/endpoint.html +9 -1
  485. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +22 -20
  486. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +15 -11
  487. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +22 -20
  488. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  489. package/app/.next-cli-build/server/app/dashboard/experimental.html +9 -1
  490. package/app/.next-cli-build/server/app/dashboard/experimental.rsc +21 -19
  491. package/app/.next-cli-build/server/app/dashboard/experimental.segments/!KGRhc2hib2FyZCk/dashboard/experimental/__PAGE__.segment.rsc +15 -11
  492. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_full.segment.rsc +21 -19
  493. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_tree.segment.rsc +2 -2
  494. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +9 -1
  495. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +25 -22
  496. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +14 -11
  497. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +25 -22
  498. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  499. package/app/.next-cli-build/server/app/dashboard/mitm.html +9 -1
  500. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +22 -19
  501. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +15 -11
  502. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +22 -19
  503. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  504. package/app/.next-cli-build/server/app/dashboard/profile.html +9 -1
  505. package/app/.next-cli-build/server/app/dashboard/profile.rsc +25 -22
  506. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +15 -11
  507. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +25 -22
  508. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/providers/new.html +9 -1
  510. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +25 -22
  511. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +14 -11
  512. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +25 -22
  513. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  514. package/app/.next-cli-build/server/app/dashboard/providers.html +9 -1
  515. package/app/.next-cli-build/server/app/dashboard/providers.rsc +24 -22
  516. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +15 -11
  517. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +24 -22
  518. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  519. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +9 -1
  520. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +24 -22
  521. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +15 -11
  522. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +24 -22
  523. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  524. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +9 -1
  525. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +22 -19
  526. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +15 -11
  527. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +22 -19
  528. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard/quota.html +10 -2
  530. package/app/.next-cli-build/server/app/dashboard/quota.rsc +23 -20
  531. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +16 -12
  532. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +23 -20
  533. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +9 -1
  538. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  539. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  540. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  541. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +6 -6
  542. package/app/.next-cli-build/server/app/dashboard/skills.html +9 -1
  543. package/app/.next-cli-build/server/app/dashboard/skills.rsc +25 -22
  544. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +15 -11
  545. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +25 -22
  546. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  547. package/app/.next-cli-build/server/app/dashboard/token-saver.html +9 -1
  548. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +21 -19
  549. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +15 -11
  550. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +21 -19
  551. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  552. package/app/.next-cli-build/server/app/dashboard/translator.html +9 -1
  553. package/app/.next-cli-build/server/app/dashboard/translator.rsc +24 -22
  554. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +15 -11
  555. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +24 -22
  556. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/dashboard/usage.html +9 -1
  558. package/app/.next-cli-build/server/app/dashboard/usage.rsc +25 -22
  559. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +15 -11
  560. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +25 -22
  561. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  562. package/app/.next-cli-build/server/app/dashboard.html +9 -1
  563. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  564. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +15 -11
  565. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  566. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  567. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  568. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  569. package/app/.next-cli-build/server/app/index.html +1 -1
  570. package/app/.next-cli-build/server/app/index.rsc +6 -6
  571. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  572. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  573. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  575. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  576. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  577. package/app/.next-cli-build/server/app/landing.html +9 -1
  578. package/app/.next-cli-build/server/app/landing.rsc +7 -7
  579. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +7 -7
  580. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +7 -7
  582. package/app/.next-cli-build/server/app/login/page.js +1 -1
  583. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  584. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  585. package/app/.next-cli-build/server/app/login.html +9 -1
  586. package/app/.next-cli-build/server/app/login.rsc +7 -7
  587. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  588. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  589. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +7 -7
  590. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  591. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  592. package/app/.next-cli-build/server/app/page.js +1 -1
  593. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  594. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  595. package/app/.next-cli-build/server/app-paths-manifest.json +16 -8
  596. package/app/.next-cli-build/server/chunks/1159.js +5 -3
  597. package/app/.next-cli-build/server/chunks/1219.js +1 -1
  598. package/app/.next-cli-build/server/chunks/1329.js +1 -0
  599. package/app/.next-cli-build/server/chunks/1386.js +9 -0
  600. package/app/.next-cli-build/server/chunks/1710.js +1 -1
  601. package/app/.next-cli-build/server/chunks/2112.js +1 -1
  602. package/app/.next-cli-build/server/chunks/2116.js +1 -0
  603. package/app/.next-cli-build/server/chunks/2120.js +1 -1
  604. package/app/.next-cli-build/server/chunks/2132.js +1 -1
  605. package/app/.next-cli-build/server/chunks/{9528.js → 2750.js} +2 -3
  606. package/app/.next-cli-build/server/chunks/3500.js +2 -2
  607. package/app/.next-cli-build/server/chunks/3792.js +1 -1
  608. package/app/.next-cli-build/server/chunks/3885.js +1 -1
  609. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  610. package/app/.next-cli-build/server/chunks/4190.js +1 -0
  611. package/app/.next-cli-build/server/chunks/4282.js +1 -1
  612. package/app/.next-cli-build/server/chunks/4290.js +1 -0
  613. package/app/.next-cli-build/server/chunks/436.js +1 -1
  614. package/app/.next-cli-build/server/chunks/4575.js +1 -1
  615. package/app/.next-cli-build/server/chunks/4689.js +1 -0
  616. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  617. package/app/.next-cli-build/server/chunks/4886.js +1 -0
  618. package/app/.next-cli-build/server/chunks/4927.js +7 -6
  619. package/app/.next-cli-build/server/chunks/5210.js +24 -24
  620. package/app/.next-cli-build/server/chunks/5330.js +8 -8
  621. package/app/.next-cli-build/server/chunks/539.js +1 -1
  622. package/app/.next-cli-build/server/chunks/5485.js +1 -1
  623. package/app/.next-cli-build/server/chunks/5781.js +1 -1
  624. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  625. package/app/.next-cli-build/server/chunks/6133.js +1 -1
  626. package/app/.next-cli-build/server/chunks/615.js +1 -1
  627. package/app/.next-cli-build/server/chunks/6306.js +1 -1
  628. package/app/.next-cli-build/server/chunks/6326.js +1 -1
  629. package/app/.next-cli-build/server/chunks/6756.js +1 -1
  630. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  631. package/app/.next-cli-build/server/chunks/6921.js +65 -0
  632. package/app/.next-cli-build/server/chunks/6922.js +1 -1
  633. package/app/.next-cli-build/server/chunks/6956.js +1 -1
  634. package/app/.next-cli-build/server/chunks/6960.js +2 -2
  635. package/app/.next-cli-build/server/chunks/7066.js +1 -0
  636. package/app/.next-cli-build/server/chunks/7067.js +1 -1
  637. package/app/.next-cli-build/server/chunks/7122.js +1 -1
  638. package/app/.next-cli-build/server/chunks/7239.js +2 -1
  639. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  640. package/app/.next-cli-build/server/chunks/7274.js +3 -3
  641. package/app/.next-cli-build/server/chunks/7322.js +2 -2
  642. package/app/.next-cli-build/server/chunks/8172.js +9 -1
  643. package/app/.next-cli-build/server/chunks/8247.js +1 -0
  644. package/app/.next-cli-build/server/chunks/8370.js +103 -0
  645. package/app/.next-cli-build/server/chunks/8499.js +12 -12
  646. package/app/.next-cli-build/server/chunks/8595.js +1 -1
  647. package/app/.next-cli-build/server/chunks/8672.js +1 -1
  648. package/app/.next-cli-build/server/chunks/8895.js +9 -9
  649. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  650. package/app/.next-cli-build/server/chunks/8988.js +1 -1
  651. package/app/.next-cli-build/server/chunks/9055.js +2 -0
  652. package/app/.next-cli-build/server/chunks/9154.js +1 -1
  653. package/app/.next-cli-build/server/chunks/939.js +1 -1
  654. package/app/.next-cli-build/server/chunks/{4990.js → 9451.js} +1 -1
  655. package/app/.next-cli-build/server/chunks/9489.js +2 -2
  656. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  657. package/app/.next-cli-build/server/chunks/9628.js +1 -1
  658. package/app/.next-cli-build/server/chunks/976.js +9 -0
  659. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  660. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  661. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  662. package/app/.next-cli-build/server/middleware.js +7 -7
  663. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  664. package/app/.next-cli-build/server/pages/404.html +9 -1
  665. package/app/.next-cli-build/server/pages/500.html +1 -1
  666. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  667. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  668. package/app/.next-cli-build/static/chunks/124.8b2f018d999d9a51.js +1 -0
  669. package/app/.next-cli-build/static/chunks/1243-25be5a7b0193949d.js +3 -0
  670. package/app/.next-cli-build/static/chunks/1321-b226b10e6272fc21.js +1 -0
  671. package/app/.next-cli-build/static/chunks/305-f019439bbcf9152e.js +1 -0
  672. package/app/.next-cli-build/static/chunks/3842-da1878db3339b090.js +1 -0
  673. package/app/.next-cli-build/static/chunks/5497-c5b293fd9b36c51d.js +7 -0
  674. package/app/.next-cli-build/static/chunks/6808-d3ffacc1373713c6.js +1 -0
  675. package/app/.next-cli-build/static/chunks/839-e45391c69a64b949.js +1 -0
  676. package/app/.next-cli-build/static/chunks/9233.4e4be172e7d96210.js +65 -0
  677. package/app/.next-cli-build/static/chunks/{3346-509e8dd58ea4832d.js → 9749-80768075d38162d1.js} +27 -16
  678. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-5d45a84bf4178e23.js → page-e9d0cc59613084a7.js} +1 -1
  679. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-c50454e03482deef.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-a010a9c6a7805814.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-14745e08d1edafb2.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-30c02c5c5eefddbd.js → page-38d0f0202be6d8bc.js} +1 -1
  683. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-47886089f369810c.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/experimental/{page-4dd5e46a2d6f4486.js → page-f2be5e1e9fb2a81d.js} +1 -1
  685. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-9ca09f92fcb7be9f.js → page-3b6db6cc6c16b9ad.js} +18 -12
  686. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-9a471accf206ea43.js → page-ee6bbb288b22cf1b.js} +1 -1
  687. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-244f4c72b60bf0a0.js → page-ef6ad6f6950d28ae.js} +1 -1
  688. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-a2510813ebd64f72.js → page-fa1fbe256586f3e4.js} +1 -1
  689. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-17b2097c5effd063.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-188d4a1bfdaa48a9.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-912bf60e8bad7f94.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-2bc7898568623185.js +14 -0
  693. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-40e882239717e69f.js → page-071c0cece99e2a14.js} +1 -1
  694. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-9ec9a9251e22a7c8.js → page-e638376663f056c2.js} +1 -1
  695. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-4f50d3385b23743f.js → page-a82cb7be5341c406.js} +1 -1
  696. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-e84b8de5542a9dc9.js → page-07d2009205f82daf.js} +1 -1
  697. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-f7223ed3275a94a5.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-6a0eb15b8664e682.js → page-c2a93a81da890302.js} +1 -1
  699. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-7833d8a884ba922a.js → page-598b62c6e8742bbc.js} +1 -1
  700. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-ff17dc8ecbe63ec9.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-5e0f32afe647c545.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-528e2bc2a1bb20da.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/_global-error/page-2b9ff155b9d0f304.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-2b9ff155b9d0f304.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-2b9ff155b9d0f304.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-2b9ff155b9d0f304.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-2b9ff155b9d0f304.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-2b9ff155b9d0f304.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-2b9ff155b9d0f304.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-2b9ff155b9d0f304.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-2b9ff155b9d0f304.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-2b9ff155b9d0f304.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-2b9ff155b9d0f304.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-2b9ff155b9d0f304.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/auth/verify-password/route-2b9ff155b9d0f304.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-2b9ff155b9d0f304.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-2b9ff155b9d0f304.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-2b9ff155b9d0f304.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-profiles/route-2b9ff155b9d0f304.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-2b9ff155b9d0f304.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-2b9ff155b9d0f304.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-2b9ff155b9d0f304.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-2b9ff155b9d0f304.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-2b9ff155b9d0f304.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-2b9ff155b9d0f304.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-2b9ff155b9d0f304.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-2b9ff155b9d0f304.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-2b9ff155b9d0f304.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-2b9ff155b9d0f304.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-2b9ff155b9d0f304.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-2b9ff155b9d0f304.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-2b9ff155b9d0f304.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-2b9ff155b9d0f304.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-2b9ff155b9d0f304.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-2b9ff155b9d0f304.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-2b9ff155b9d0f304.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-2b9ff155b9d0f304.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/combos/route-2b9ff155b9d0f304.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-2b9ff155b9d0f304.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-2b9ff155b9d0f304.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-2b9ff155b9d0f304.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-2b9ff155b9d0f304.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-2b9ff155b9d0f304.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-2b9ff155b9d0f304.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/health/route-2b9ff155b9d0f304.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/init/route-2b9ff155b9d0f304.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-2b9ff155b9d0f304.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/keys/rotate/route-2b9ff155b9d0f304.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/keys/route-2b9ff155b9d0f304.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/locale/route-2b9ff155b9d0f304.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-2b9ff155b9d0f304.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-2b9ff155b9d0f304.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-2b9ff155b9d0f304.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-2b9ff155b9d0f304.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-2b9ff155b9d0f304.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-2b9ff155b9d0f304.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-2b9ff155b9d0f304.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-2b9ff155b9d0f304.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-2b9ff155b9d0f304.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/models/caps/route-2b9ff155b9d0f304.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/models/custom/bulk/route-2b9ff155b9d0f304.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-2b9ff155b9d0f304.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-2b9ff155b9d0f304.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/models/route-2b9ff155b9d0f304.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/models/test/route-2b9ff155b9d0f304.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/network/egress-region/route-2b9ff155b9d0f304.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-2b9ff155b9d0f304.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-2b9ff155b9d0f304.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-2b9ff155b9d0f304.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-2b9ff155b9d0f304.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-2b9ff155b9d0f304.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-2b9ff155b9d0f304.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-2b9ff155b9d0f304.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-2b9ff155b9d0f304.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-2b9ff155b9d0f304.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-2b9ff155b9d0f304.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-2b9ff155b9d0f304.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-2b9ff155b9d0f304.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-2b9ff155b9d0f304.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-2b9ff155b9d0f304.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-2b9ff155b9d0f304.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-2b9ff155b9d0f304.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder/checkin/route-2b9ff155b9d0f304.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder-cn/checkin/route-2b9ff155b9d0f304.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/export/route-2b9ff155b9d0f304.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/import/route-2b9ff155b9d0f304.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-2b9ff155b9d0f304.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-2b9ff155b9d0f304.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/desktop-kill/route-2b9ff155b9d0f304.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/desktop-status/route-2b9ff155b9d0f304.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-2b9ff155b9d0f304.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-2b9ff155b9d0f304.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/pricing/route-2b9ff155b9d0f304.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-2b9ff155b9d0f304.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-2b9ff155b9d0f304.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-2b9ff155b9d0f304.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-2b9ff155b9d0f304.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-2b9ff155b9d0f304.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-2b9ff155b9d0f304.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-2b9ff155b9d0f304.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-2b9ff155b9d0f304.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-2b9ff155b9d0f304.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/providers/route-2b9ff155b9d0f304.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-2b9ff155b9d0f304.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-2b9ff155b9d0f304.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-2b9ff155b9d0f304.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-2b9ff155b9d0f304.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-2b9ff155b9d0f304.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-2b9ff155b9d0f304.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-2b9ff155b9d0f304.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-2b9ff155b9d0f304.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-2b9ff155b9d0f304.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-2b9ff155b9d0f304.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-2b9ff155b9d0f304.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-2b9ff155b9d0f304.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-2b9ff155b9d0f304.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-2b9ff155b9d0f304.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-2b9ff155b9d0f304.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-2b9ff155b9d0f304.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-2b9ff155b9d0f304.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/security/status/route-2b9ff155b9d0f304.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-2b9ff155b9d0f304.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-2b9ff155b9d0f304.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-2b9ff155b9d0f304.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-2b9ff155b9d0f304.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/settings/route-2b9ff155b9d0f304.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-2b9ff155b9d0f304.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/tags/route-2b9ff155b9d0f304.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-2b9ff155b9d0f304.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-2b9ff155b9d0f304.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-2b9ff155b9d0f304.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-2b9ff155b9d0f304.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-2b9ff155b9d0f304.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-2b9ff155b9d0f304.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-2b9ff155b9d0f304.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-2b9ff155b9d0f304.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-2b9ff155b9d0f304.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-2b9ff155b9d0f304.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-2b9ff155b9d0f304.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-2b9ff155b9d0f304.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-2b9ff155b9d0f304.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-2b9ff155b9d0f304.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-2b9ff155b9d0f304.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-2b9ff155b9d0f304.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-2b9ff155b9d0f304.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/usage/dashboard/route-2b9ff155b9d0f304.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-2b9ff155b9d0f304.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-2b9ff155b9d0f304.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-2b9ff155b9d0f304.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/usage/quotas/route-2b9ff155b9d0f304.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-2b9ff155b9d0f304.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-2b9ff155b9d0f304.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-2b9ff155b9d0f304.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-2b9ff155b9d0f304.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-2b9ff155b9d0f304.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-2b9ff155b9d0f304.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-2b9ff155b9d0f304.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-2b9ff155b9d0f304.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-2b9ff155b9d0f304.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-2b9ff155b9d0f304.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-2b9ff155b9d0f304.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-2b9ff155b9d0f304.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-2b9ff155b9d0f304.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-2b9ff155b9d0f304.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-2b9ff155b9d0f304.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-2b9ff155b9d0f304.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-2b9ff155b9d0f304.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-2b9ff155b9d0f304.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/v1/route-2b9ff155b9d0f304.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-2b9ff155b9d0f304.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-2b9ff155b9d0f304.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-2b9ff155b9d0f304.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-2b9ff155b9d0f304.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-2b9ff155b9d0f304.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-2b9ff155b9d0f304.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-2b9ff155b9d0f304.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-2b9ff155b9d0f304.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-2b9ff155b9d0f304.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/version/route-2b9ff155b9d0f304.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-2b9ff155b9d0f304.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/version/update/route-2b9ff155b9d0f304.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/landing/page-38924391f8649361.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/login/{page-38ed66b1e6930f46.js → page-0c4e2808c937c740.js} +1 -1
  884. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-2b9ff155b9d0f304.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/page-2b9ff155b9d0f304.js +1 -0
  886. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-2b9ff155b9d0f304.js +1 -0
  887. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-2b9ff155b9d0f304.js +1 -0
  888. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-2b9ff155b9d0f304.js +1 -0
  889. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-2b9ff155b9d0f304.js +1 -0
  890. package/app/.next-cli-build/static/chunks/webpack-34fe8baab4ced03b.js +1 -0
  891. package/app/.next-cli-build/static/css/bdf1d87cd5f4db94.css +1 -0
  892. package/app/.next-cli-build/static/wj14lzSQILIu20--ipzW4/_buildManifest.js +1 -0
  893. package/app/custom-server.js +177 -177
  894. package/app/package.json +71 -69
  895. package/app/public/i18n/changelog/en.md +337 -308
  896. package/app/public/i18n/changelog/zh-CN.md +335 -306
  897. package/app/public/i18n/changelog/zh-TW.md +337 -308
  898. package/app/public/i18n/literals/zh-CN.json +1960 -1879
  899. package/app/public/i18n/literals/zh-TW.json +802 -720
  900. package/app/public/providers/drex.png +0 -0
  901. package/app/public/providers/fish-audio.png +0 -0
  902. package/app/public/providers/keenable.png +0 -0
  903. package/app/public/providers/ollama-search.png +0 -0
  904. package/app/public/providers/tinyfish.png +0 -0
  905. package/app/public/providers/xquik.png +0 -0
  906. package/app/public/providers/zcode-free.png +0 -0
  907. package/app/src/lib/consoleArchiveStandalone.mjs +73 -73
  908. package/app/src/lib/oauth/providers/xiaomi-mimo.js +169 -169
  909. package/app/src/sse/services/qoderCheckin.js +437 -437
  910. package/package.json +61 -61
  911. package/src/cli/doctor.js +525 -525
  912. package/src/cli/i18n/locales/en/utils.json +4 -0
  913. package/src/cli/i18n/locales/zh-CN/utils.json +4 -0
  914. package/src/cli/i18n/locales/zh-TW/utils.json +4 -0
  915. package/src/cli/staleServer.js +216 -216
  916. package/src/cli/utils/modelSelector.js +76 -10
  917. package/app/.next-cli-build/server/chunks/112.js +0 -1
  918. package/app/.next-cli-build/server/chunks/1330.js +0 -1
  919. package/app/.next-cli-build/server/chunks/2182.js +0 -9
  920. package/app/.next-cli-build/server/chunks/271.js +0 -1
  921. package/app/.next-cli-build/server/chunks/3651.js +0 -92
  922. package/app/.next-cli-build/server/chunks/869.js +0 -1
  923. package/app/.next-cli-build/server/chunks/877.js +0 -65
  924. package/app/.next-cli-build/server/chunks/9539.js +0 -9
  925. package/app/.next-cli-build/static/Qmgbf1CsCnKFbpB4QvL8M/_buildManifest.js +0 -1
  926. package/app/.next-cli-build/static/chunks/1243-d0e0b9458266e912.js +0 -3
  927. package/app/.next-cli-build/static/chunks/1321-502b5305b875636f.js +0 -1
  928. package/app/.next-cli-build/static/chunks/1728-9783950fd2b6ad81.js +0 -65
  929. package/app/.next-cli-build/static/chunks/5497-10ab12f860a6a157.js +0 -7
  930. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-d9b185c845eb0735.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-baf9fb2b236ff509.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-fa4ba47a6bf0da15.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-c748c385fd4207db.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-12cb89849a36b78d.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-6abbed908eb3721a.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-93f4c31ccd56a895.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d3edcb35175434d5.js +0 -14
  938. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-f62700ce9aa54572.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-b2a5c4828ff3f6e0.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-bf55da31ba675aa9.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-434f2e27f8b21ae1.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/_global-error/page-72924bfdaa66606d.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-72924bfdaa66606d.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-72924bfdaa66606d.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-72924bfdaa66606d.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-72924bfdaa66606d.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-72924bfdaa66606d.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-72924bfdaa66606d.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-72924bfdaa66606d.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-72924bfdaa66606d.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-72924bfdaa66606d.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-72924bfdaa66606d.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-72924bfdaa66606d.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/auth/verify-password/route-72924bfdaa66606d.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-72924bfdaa66606d.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-72924bfdaa66606d.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-72924bfdaa66606d.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-72924bfdaa66606d.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-72924bfdaa66606d.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-72924bfdaa66606d.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-72924bfdaa66606d.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-72924bfdaa66606d.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-72924bfdaa66606d.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-72924bfdaa66606d.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-72924bfdaa66606d.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-72924bfdaa66606d.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-72924bfdaa66606d.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-72924bfdaa66606d.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-72924bfdaa66606d.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-72924bfdaa66606d.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-72924bfdaa66606d.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-72924bfdaa66606d.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-72924bfdaa66606d.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-72924bfdaa66606d.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/combos/route-72924bfdaa66606d.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-72924bfdaa66606d.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-72924bfdaa66606d.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-72924bfdaa66606d.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-72924bfdaa66606d.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-72924bfdaa66606d.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-72924bfdaa66606d.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/health/route-72924bfdaa66606d.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/init/route-72924bfdaa66606d.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-72924bfdaa66606d.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/keys/rotate/route-72924bfdaa66606d.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/keys/route-72924bfdaa66606d.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/locale/route-72924bfdaa66606d.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-72924bfdaa66606d.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-72924bfdaa66606d.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-72924bfdaa66606d.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-72924bfdaa66606d.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-72924bfdaa66606d.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-72924bfdaa66606d.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-72924bfdaa66606d.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-72924bfdaa66606d.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-72924bfdaa66606d.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/models/caps/route-72924bfdaa66606d.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/models/custom/bulk/route-72924bfdaa66606d.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-72924bfdaa66606d.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-72924bfdaa66606d.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/models/route-72924bfdaa66606d.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/models/test/route-72924bfdaa66606d.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/network/egress-region/route-72924bfdaa66606d.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-72924bfdaa66606d.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-72924bfdaa66606d.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-72924bfdaa66606d.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-72924bfdaa66606d.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-72924bfdaa66606d.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-72924bfdaa66606d.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-72924bfdaa66606d.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-72924bfdaa66606d.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-72924bfdaa66606d.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-72924bfdaa66606d.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-72924bfdaa66606d.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-72924bfdaa66606d.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-72924bfdaa66606d.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-72924bfdaa66606d.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-72924bfdaa66606d.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-72924bfdaa66606d.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder/checkin/route-72924bfdaa66606d.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder-cn/checkin/route-72924bfdaa66606d.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/export/route-72924bfdaa66606d.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/import/route-72924bfdaa66606d.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-72924bfdaa66606d.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-72924bfdaa66606d.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/pricing/route-72924bfdaa66606d.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-72924bfdaa66606d.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-72924bfdaa66606d.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-72924bfdaa66606d.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-72924bfdaa66606d.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-72924bfdaa66606d.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-72924bfdaa66606d.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-72924bfdaa66606d.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-72924bfdaa66606d.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-72924bfdaa66606d.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/providers/route-72924bfdaa66606d.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-72924bfdaa66606d.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-72924bfdaa66606d.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-72924bfdaa66606d.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-72924bfdaa66606d.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-72924bfdaa66606d.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-72924bfdaa66606d.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-72924bfdaa66606d.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-72924bfdaa66606d.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-72924bfdaa66606d.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-72924bfdaa66606d.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-72924bfdaa66606d.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-72924bfdaa66606d.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-72924bfdaa66606d.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-72924bfdaa66606d.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-72924bfdaa66606d.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-72924bfdaa66606d.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-72924bfdaa66606d.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/security/status/route-72924bfdaa66606d.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-72924bfdaa66606d.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-72924bfdaa66606d.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-72924bfdaa66606d.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-72924bfdaa66606d.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/settings/route-72924bfdaa66606d.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-72924bfdaa66606d.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/tags/route-72924bfdaa66606d.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-72924bfdaa66606d.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-72924bfdaa66606d.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-72924bfdaa66606d.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-72924bfdaa66606d.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-72924bfdaa66606d.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-72924bfdaa66606d.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-72924bfdaa66606d.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-72924bfdaa66606d.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-72924bfdaa66606d.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-72924bfdaa66606d.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-72924bfdaa66606d.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-72924bfdaa66606d.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-72924bfdaa66606d.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-72924bfdaa66606d.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-72924bfdaa66606d.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-72924bfdaa66606d.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/usage/dashboard/route-72924bfdaa66606d.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-72924bfdaa66606d.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-72924bfdaa66606d.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-72924bfdaa66606d.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/usage/quotas/route-72924bfdaa66606d.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-72924bfdaa66606d.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-72924bfdaa66606d.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-72924bfdaa66606d.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-72924bfdaa66606d.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-72924bfdaa66606d.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-72924bfdaa66606d.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-72924bfdaa66606d.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-72924bfdaa66606d.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-72924bfdaa66606d.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-72924bfdaa66606d.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-72924bfdaa66606d.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-72924bfdaa66606d.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-72924bfdaa66606d.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-72924bfdaa66606d.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-72924bfdaa66606d.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-72924bfdaa66606d.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-72924bfdaa66606d.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-72924bfdaa66606d.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/v1/route-72924bfdaa66606d.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-72924bfdaa66606d.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-72924bfdaa66606d.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-72924bfdaa66606d.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-72924bfdaa66606d.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-72924bfdaa66606d.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-72924bfdaa66606d.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-72924bfdaa66606d.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-72924bfdaa66606d.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/version/route-72924bfdaa66606d.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-72924bfdaa66606d.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/version/update/route-72924bfdaa66606d.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/landing/page-acb1434862d18ac7.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-72924bfdaa66606d.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/page-72924bfdaa66606d.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-72924bfdaa66606d.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-72924bfdaa66606d.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-72924bfdaa66606d.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-72924bfdaa66606d.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/webpack-b43a2a1c513882e9.js +0 -1
  1121. package/app/.next-cli-build/static/css/ab87cc8491e8d0fb.css +0 -1
  1122. /package/app/.next-cli-build/static/{Qmgbf1CsCnKFbpB4QvL8M → wj14lzSQILIu20--ipzW4}/_ssgManifest.js +0 -0
@@ -21,7 +21,13 @@
21
21
  "data": [
22
22
  { "url": "...", "format": "mp3" }
23
23
  ]
24
- }`}}},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29049:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});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=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["[kind]",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,69296))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\[id]\\page.js"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},["combo","web"]]},{"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,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/media-providers/[kind]/[id]/page",pathname:"/dashboard/media-providers/[kind]/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},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")},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")},40379:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{Y:()=>m});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(50377),k=c(27961),l=a([g]);function m({providerId:a}){let b=(0,h.wG)(a),c=(0,i.KC)(a).filter(a=>"stt"===(0,i.CP)(a)),[d,l]=(0,f.useState)([]),n=[...c,...d],[o,p]=(0,f.useState)(c[0]?.id??""),q=n.find(a=>a.id===o),r=Array.isArray(q?.params)?q.params:[],[s,t]=(0,f.useState)(null),[u,v]=(0,f.useState)(""),[w,x]=(0,f.useState)(""),[y,z]=(0,f.useState)("json"),[A,B]=(0,f.useState)(""),[C,D]=(0,f.useState)(""),[E,F]=(0,f.useState)(!1),[G,H]=(0,f.useState)(""),[I,J]=(0,f.useState)(""),[K,L]=(0,f.useState)(null),[M,N]=(0,f.useState)(null),[O,P]=(0,f.useState)(!1),[Q,R]=(0,f.useState)(""),{copied:S,copy:T}=(0,j.C)(),{copied:U,copy:V}=(0,j.C)(),W=E?I:G,X=o?`${b}/${o}`:"",Y=`curl -X POST ${W}/v1/audio/transcriptions \\
24
+ }`},systemone:{inputLabel:"State",inputPlaceholder:"Situation, support ticket, or text to evaluate",defaultInput:"My payments have failed for three days and I am losing sales. Please help now.",bodyKey:"state",extraBody:{questions:{is_urgent:{type:"noul",instructions:"Does this request require urgent attention?"}}},defaultResponse:`{
25
+ "model": "jev-1.13",
26
+ "answers": {
27
+ "is_urgent": { "type": "noul", "noul": 0.99 }
28
+ },
29
+ "usage": { "input_tokens": 312, "output_tokens": 48 }
30
+ }`}}},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")},29573:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});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=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["[kind]",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,69296))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\[id]\\page.js"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},["combo","web"]]},{"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,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/media-providers/[kind]/[id]/page",pathname:"/dashboard/media-providers/[kind]/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},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")},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")},40379:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{Y:()=>m});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(95139),k=c(27961),l=a([g]);function m({providerId:a}){let b=(0,h.wG)(a),c=(0,i.KC)(a).filter(a=>"stt"===(0,i.CP)(a)),[d,l]=(0,f.useState)([]),n=[...c,...d],[o,p]=(0,f.useState)(c[0]?.id??""),q=n.find(a=>a.id===o),r=Array.isArray(q?.params)?q.params:[],[s,t]=(0,f.useState)(null),[u,v]=(0,f.useState)(""),[w,x]=(0,f.useState)(""),[y,z]=(0,f.useState)("json"),[A,B]=(0,f.useState)(""),[C,D]=(0,f.useState)(""),[E,F]=(0,f.useState)(!1),[G,H]=(0,f.useState)(""),[I,J]=(0,f.useState)(""),[K,L]=(0,f.useState)(null),[M,N]=(0,f.useState)(null),[O,P]=(0,f.useState)(!1),[Q,R]=(0,f.useState)(""),{copied:S,copy:T}=(0,j.C)(),{copied:U,copy:V}=(0,j.C)(),W=E?I:G,X=o?`${b}/${o}`:"",Y=`curl -X POST ${W}/v1/audio/transcriptions \\
25
31
  -H "Authorization: Bearer ${C||"YOUR_KEY"}" \\
26
32
  -F "file=@${s?.name||"audio.mp3"}" \\
27
33
  -F "model=${X}"${r.includes("language")&&u?` \\
@@ -30,7 +36,7 @@
30
36
  -F "temperature=${A}"`:""}${r.includes("prompt")&&w?` \\
31
37
  -F "prompt=${w}"`:""}`,Z=async()=>{if(!s||!X)return;P(!0),R(""),L(null);let a=Date.now();try{let b=new FormData;b.append("file",s),b.append("model",X),r.includes("language")&&u&&b.append("language",u),r.includes("response_format")&&b.append("response_format",y),r.includes("temperature")&&A&&b.append("temperature",A),r.includes("prompt")&&w&&b.append("prompt",w);let c={};C&&(c.Authorization=`Bearer ${C}`);let d=await fetch("/api/v1/audio/transcriptions",{method:"POST",headers:c,body:b});N(Date.now()-a);let e=(d.headers.get("content-type")||"").includes("application/json")?await d.json():await d.text();if(!d.ok)return void R(e?.error?.message||e?.error||e||`HTTP ${d.status}`);L(e)}catch(a){R(a.message||"Network error")}finally{P(!1)}},$="string"==typeof K?K:K?JSON.stringify(K,null,2):`{
32
38
  "text": "Hello world..."
33
- }`;return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[n.length>0?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("select",{value:o,onChange:a=>p(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:n.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("input",{value:o,onChange:a=>p(a.target.value),placeholder:"Enter model id",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[W,"/v1/audio/transcriptions"]}),I&&(0,e.jsxs)("button",{onClick:()=>F(a=>!a),title:E?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${E?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:C?`${C.slice(0,8)}${"•".repeat(Math.min(20,C.length-8))}`:(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),(0,e.jsx)(k.f,{label:"Audio File",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("input",{type:"file",accept:"audio/*,video/mp4,.m4a,.mp3,.wav,.ogg,.flac,.webm,.opus",onChange:a=>t(a.target.files?.[0]||null),className:"w-full text-xs text-text-muted file:mr-2 file:py-1 file:px-2.5 file:rounded-lg file:border file:border-border file:bg-surface file:text-text-main hover:file:bg-sidebar file:cursor-pointer"}),s&&(0,e.jsxs)("span",{className:"text-xs text-text-muted font-mono",children:[s.name," \xb7 ",(s.size/1024).toFixed(1)," KB"]})]})}),r.includes("language")&&(0,e.jsx)(k.f,{label:"Language",children:(0,e.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"e.g. en, vi, ja (auto-detect if empty)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),r.includes("prompt")&&(0,e.jsx)(k.f,{label:"Prompt",children:(0,e.jsx)("input",{value:w,onChange:a=>x(a.target.value),placeholder:"optional context to improve accuracy",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),r.includes("temperature")&&(0,e.jsx)(k.f,{label:"Temperature",children:(0,e.jsx)("input",{type:"number",step:"0.1",min:"0",max:"1",value:A,onChange:a=>B(a.target.value),placeholder:"0 - 1 (default 0)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),r.includes("response_format")&&(0,e.jsx)(k.f,{label:"Response Format",children:(0,e.jsxs)("select",{value:y,onChange:a=>z(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"json",children:"json"}),(0,e.jsx)("option",{value:"text",children:"text"}),(0,e.jsx)("option",{value:"srt",children:"srt"}),(0,e.jsx)("option",{value:"verbose_json",children:"verbose_json"}),(0,e.jsx)("option",{value:"vtt",children:"vtt"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>T(Y),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:S?"check":"content_copy"}),S?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:Z,disabled:O||!s||!X,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:O?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),O?"Transcribing...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:Y})]}),Q&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:Q}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",K&&M&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",M,"ms"]})]}),K&&(0,e.jsxs)("button",{onClick:()=>V($),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:U?"check":"content_copy"}),U?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:$})]})]})]})}g=(l.then?(await l)():l)[0],d()}catch(a){d(a)}})},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")},58504:(a,b,c)=>{"use strict";c.d(b,{R:()=>d});let d={"google-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"hardcoded"},openai:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openai-tts-models",voiceKey:"openai-tts-voices",voicesPerModel:!0},openrouter:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openrouter-tts-models",voiceKey:"openrouter-tts-voices",voicesPerModel:!0},elevenlabs:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"elevenlabs-tts-models",apiEndpoint:"/api/media-providers/tts/elevenlabs/voices"},"edge-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},"local-device":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},nvidia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},hyperbolic:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},deepgram:{hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/deepgram/voices"},huggingface:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},cartesia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},playht:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},coqui:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},tortoise:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},inworld:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"inworld-tts-models",apiEndpoint:"/api/media-providers/tts/inworld/voices"},qwen:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},minimax:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices",defaultVoiceId:"English_expressive_narrator"},"minimax-cn":{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices?provider=minimax-cn",defaultVoiceId:"English_expressive_narrator"},gemini:{hasLanguageDropdown:!1,hasLanguageHint:!0,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"gemini-tts-models",voiceKey:"gemini-tts-voices",voicesPerModel:!0},"xiaomi-mimo":{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!1,hasStyleInput:!0,hasLanguageHint:!0,languageOptions:["Chinese","English"],voiceSource:"hardcoded",modelKey:"xiaomi-mimo-tts-models",voicesPerModel:!0}}},62115:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{i:()=>p});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(50377),k=c(58504),l=c(99258);c(68019);var m=c(34973),n=c(27961),o=a([g]);g=(o.then?(await o)():o)[0];let q=`// Audio will appear here after running.
39
+ }`;return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[n.length>0?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("select",{value:o,onChange:a=>p(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:n.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("input",{value:o,onChange:a=>p(a.target.value),placeholder:"Enter model id",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[W,"/v1/audio/transcriptions"]}),I&&(0,e.jsxs)("button",{onClick:()=>F(a=>!a),title:E?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${E?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:C?`${C.slice(0,8)}${"•".repeat(Math.min(20,C.length-8))}`:(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),(0,e.jsx)(k.f,{label:"Audio File",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("input",{type:"file",accept:"audio/*,video/mp4,.m4a,.mp3,.wav,.ogg,.flac,.webm,.opus",onChange:a=>t(a.target.files?.[0]||null),className:"w-full text-xs text-text-muted file:mr-2 file:py-1 file:px-2.5 file:rounded-lg file:border file:border-border file:bg-surface file:text-text-main hover:file:bg-sidebar file:cursor-pointer"}),s&&(0,e.jsxs)("span",{className:"text-xs text-text-muted font-mono",children:[s.name," \xb7 ",(s.size/1024).toFixed(1)," KB"]})]})}),r.includes("language")&&(0,e.jsx)(k.f,{label:"Language",children:(0,e.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"e.g. en, vi, ja (auto-detect if empty)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),r.includes("prompt")&&(0,e.jsx)(k.f,{label:"Prompt",children:(0,e.jsx)("input",{value:w,onChange:a=>x(a.target.value),placeholder:"optional context to improve accuracy",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),r.includes("temperature")&&(0,e.jsx)(k.f,{label:"Temperature",children:(0,e.jsx)("input",{type:"number",step:"0.1",min:"0",max:"1",value:A,onChange:a=>B(a.target.value),placeholder:"0 - 1 (default 0)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),r.includes("response_format")&&(0,e.jsx)(k.f,{label:"Response Format",children:(0,e.jsxs)("select",{value:y,onChange:a=>z(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"json",children:"json"}),(0,e.jsx)("option",{value:"text",children:"text"}),(0,e.jsx)("option",{value:"srt",children:"srt"}),(0,e.jsx)("option",{value:"verbose_json",children:"verbose_json"}),(0,e.jsx)("option",{value:"vtt",children:"vtt"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>T(Y),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:S?"check":"content_copy"}),S?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:Z,disabled:O||!s||!X,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:O?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),O?"Transcribing...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:Y})]}),Q&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:Q}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",K&&M&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",M,"ms"]})]}),K&&(0,e.jsxs)("button",{onClick:()=>V($),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:U?"check":"content_copy"}),U?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:$})]})]})]})}g=(l.then?(await l)():l)[0],d()}catch(a){d(a)}})},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")},58504:(a,b,c)=>{"use strict";c.d(b,{R:()=>d});let d={"google-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"hardcoded"},openai:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openai-tts-models",voiceKey:"openai-tts-voices",voicesPerModel:!0},openrouter:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openrouter-tts-models",voiceKey:"openrouter-tts-voices",voicesPerModel:!0},elevenlabs:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"elevenlabs-tts-models",apiEndpoint:"/api/media-providers/tts/elevenlabs/voices"},"edge-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},"local-device":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},nvidia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},hyperbolic:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},deepgram:{hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/deepgram/voices"},huggingface:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},cartesia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},playht:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},coqui:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},tortoise:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},inworld:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"inworld-tts-models",apiEndpoint:"/api/media-providers/tts/inworld/voices"},qwen:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},minimax:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices",defaultVoiceId:"English_expressive_narrator"},"minimax-cn":{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices?provider=minimax-cn",defaultVoiceId:"English_expressive_narrator"},gemini:{hasLanguageDropdown:!1,hasLanguageHint:!0,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"gemini-tts-models",voiceKey:"gemini-tts-voices",voicesPerModel:!0},"xiaomi-mimo":{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!1,hasStyleInput:!0,hasLanguageHint:!0,languageOptions:["Chinese","English"],voiceSource:"hardcoded",modelKey:"xiaomi-mimo-tts-models",voicesPerModel:!0}}},62115:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{i:()=>p});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(95139),k=c(58504),l=c(99258);c(68019);var m=c(34973),n=c(27961),o=a([g]);g=(o.then?(await o)():o)[0];let q=`// Audio will appear here after running.
34
40
  // Example JSON response (response_format=json):
35
41
  {
36
42
  "format": "mp3",
@@ -39,12 +45,12 @@
39
45
  -H "Content-Type: application/json" \\
40
46
  -H "Authorization: Bearer ${H||"YOUR_KEY"}" \\
41
47
  -d '${JSON.stringify(aw)}' \\
42
- ${"json"===P?"":"--output speech.mp3"}`,ay=async()=>{if(!D.trim()||!av)return;W(!0),Y(""),S(""),U(null);let a=Date.now();try{let b={"Content-Type":"application/json"};H&&(b.Authorization=`Bearer ${H}`);let c=`/api/v1/audio/speech${"json"===P?"?response_format=json":""}`,d=await fetch(c,{method:"POST",headers:b,body:JSON.stringify({...aw,input:D.trim()})});if($(Date.now()-a),!d.ok){let a=await d.json().catch(()=>({}));Y(a?.error?.message||a?.error||`HTTP ${d.status}`);return}if("json"===P){let a=await d.json();U(a);let b=a.format||"mp3",c=await fetch(`data:audio/${b};base64,${a.audio}`).then(a=>a.blob());S(URL.createObjectURL(c))}else{let a=await d.blob();S(URL.createObjectURL(a))}}catch(a){Y(a.message||"Network error")}finally{W(!1)}};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(n.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[at,"/v1/audio/speech"]}),N&&(0,e.jsxs)("button",{onClick:()=>K(a=>!a),title:J?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${J?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(n.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:H?`${H.slice(0,8)}${"•".repeat(Math.min(20,H.length-8))}`:ap>0?(0,e.jsxs)("span",{className:"text-text-muted italic",children:["Using stored key(s) \xb7 ",ap," connection",ap>1?"s":""]}):(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),o.hasModelSelector&&(o.modelKey||(0,i.KC)(a).some(a=>"tts"===(0,i.CP)(a)))&&(0,e.jsx)(n.f,{label:"Model",children:(0,e.jsx)("select",{value:B,onChange:a=>C(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:((c=(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a))).length?c:(0,i.KC)(o.modelKey)||[]).map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),o.hasLanguageHint&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsxs)("select",{value:an,onChange:a=>ao(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"",children:"Auto-detect"}),(o.languageOptions||m.I).map(a=>"string"==typeof a?(0,e.jsx)("option",{value:a,children:a},a):(0,e.jsx)("option",{value:a.name,children:a.name},a.id))]})}),o.hasBrowseButton&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)("button",{onClick:ar,className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-surface font-mono truncate text-left hover:border-primary/40 transition-colors",children:z?(0,e.jsx)("span",{className:"text-text-main",children:ad.find(a=>a.code===z)?.name||z}):(0,e.jsx)("span",{className:"text-text-muted",children:"No language selected"})}),(0,e.jsxs)("button",{onClick:ar,className:"flex w-full items-center justify-center gap-1 text-xs px-2.5 py-1.5 rounded-lg border border-border text-text-muted hover:text-primary hover:border-primary/40 transition-colors sm:w-auto sm:shrink-0",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"language"}),"Select language"]})]})}),x.length>0&&(0,e.jsx)(n.f,{label:"Voice",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-1.5",children:x.map(a=>(0,e.jsxs)("button",{onClick:()=>{s(a.id),u(a.name),o.hasVoiceIdInput&&w(a.id)},className:`px-2.5 py-1 rounded-full text-xs border transition-colors ${r===a.id?"bg-primary/15 border-primary/40 text-primary font-medium":"border-border text-text-muted hover:text-primary hover:border-primary/40"}`,children:[a.name,a.language?` \xb7 ${a.language}`:"",a.gender?` \xb7 ${a.gender[0].toUpperCase()}`:"",!0===a.free_users_allowed&&(0,e.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-green-500/15 text-green-600 border border-green-500/20",children:"Free"}),!1===a.free_users_allowed&&(0,e.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-amber-500/15 text-amber-600 border border-amber-500/20",children:"Paid"})]},a.id))})}),o.hasVoiceIdInput&&(0,e.jsx)(n.f,{label:"Voice ID",children:(0,e.jsx)("div",{className:"flex flex-col gap-1",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:v,onChange:a=>{w(a.target.value),s(a.target.value)},placeholder:"e.g. CwhRBWXzGAHq8TQ4Fs17",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"}),v&&(0,e.jsx)("button",{type:"button",onClick:()=>{w(""),s("")},className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})})}),o.hasLanguageDropdown&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsx)("select",{value:r,onChange:b=>{let c=(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a)).find(a=>a.id===b.target.value);s(b.target.value),u(c?.name||b.target.value)},className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a)).map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,e.jsx)(n.f,{label:"Input",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:D,onChange:a=>E(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),D&&(0,e.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),o.hasStyleInput&&(0,e.jsx)(n.f,{label:(0,l.Tl)("Style"),children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),placeholder:(0,l.Tl)("e.g. a warm, gentle voice, speaking slowly with a British accent"),rows:2,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary resize-none"}),F&&(0,e.jsx)("button",{type:"button",onClick:()=>G(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,e.jsx)(n.f,{label:"Output Format",children:(0,e.jsxs)("select",{value:P,onChange:a=>Q(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"mp3",children:"MP3 (Binary)"}),(0,e.jsx)("option",{value:"json",children:"JSON (Base64)"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>aa(ax),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:_?"check":"content_copy"}),_?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:ay,disabled:V||!D.trim()||!av,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:V?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),V?"Generating...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:ax})]}),X&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:X}),R?(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",Z&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",Z,"ms"]})]}),(0,e.jsxs)("a",{href:R,download:"speech.mp3",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})]}),(0,e.jsx)("audio",{controls:!0,src:R,className:"w-full"}),T&&(0,e.jsxs)("div",{className:"mt-3",children:[(0,e.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"JSON Response"})}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:JSON.stringify({format:T.format,audio:T.audio?`${T.audio.substring(0,100)}...`:""},null,2)})]})]}):(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Response"}),(0,e.jsx)("pre",{className:"mt-1.5 bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-50",children:q})]})]})]}),ab&&(0,e.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",style:{backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(2px)"},onClick:()=>ac(!1),children:(0,e.jsxs)("div",{className:"border border-border rounded-xl shadow-2xl w-full max-w-md mx-4 flex flex-col max-h-[80vh]",style:{backgroundColor:"var(--color-bg)",isolation:"isolate"},onClick:a=>a.stopPropagation(),children:[(0,e.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border shrink-0 rounded-t-xl",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold",children:"Select Language"}),(0,e.jsx)("button",{onClick:()=>ac(!1),className:"text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,e.jsx)("div",{className:"px-4 py-2.5 border-b border-border shrink-0",children:(0,e.jsx)("input",{autoFocus:!0,value:ah,onChange:a=>ai(a.target.value),placeholder:"Search language...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),(0,e.jsxs)("div",{className:"overflow-y-auto flex-1 p-2",children:[aj&&(0,e.jsx)("p",{className:"text-xs text-red-500 px-2 py-1",children:aj}),af?(0,e.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"Loading..."}):(0,e.jsxs)("div",{className:"flex flex-col gap-0.5",children:[as.map(a=>(0,e.jsxs)("button",{onClick:()=>{let b;return ac(!1),A(a.code),b=al[a.code]?.voices||[],void(y(b),b.length&&(s(b[0].id),u(b[0].name),o.hasVoiceIdInput&&w(b[0].id)))},className:`flex items-center justify-between w-full px-3 py-2 rounded-lg text-left hover:bg-sidebar transition-colors ${z===a.code?"bg-primary/10 text-primary":""}`,children:[(0,e.jsx)("span",{className:"text-sm",children:a.name}),(0,e.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,e.jsxs)("span",{className:"text-xs text-text-muted",children:[a.voices.length," voices"]}),z===a.code&&(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",children:"check"})]})]},a.code)),0===as.length&&(0,e.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"No languages found."})]})]})]})})]})}d()}catch(a){d(a)}})},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64754:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>v});var e=c(48249),f=c(19099),g=c(2116),h=c.n(g),i=c(67484),j=c(99258),k=c(94579),l=c(72738),m=c(92592),n=c(27555),o=c(89230),p=c(27961),q=c(93963),r=c(62115),s=c(88847),t=c(40379),u=a([k,l,n,o,q,r,s,t]);function v(){let{kind:a,id:b}=(0,f.useParams)(),c=(0,f.useRouter)(),d=m.rj.find(b=>b.id===a),g=(0,m.gC)(b)&&"embedding"===a,u=async()=>{if(confirm("Delete this Custom Embedding node?"))try{(await fetch(`/api/provider-nodes/${b}`,{method:"DELETE"})).ok&&c.push(`/dashboard/media-providers/${a}`)}catch(a){console.log("Error deleting custom embedding node:",a)}},[v,w]=(0,i.useState)(null),[x,y]=(0,i.useState)(g),[z,A]=(0,i.useState)(!1);if(!d)return(0,f.notFound)();let B=m.Q2[b],C=g?v?{id:b,name:v.name||"Custom Embedding",color:"#6366F1",textIcon:"CE"}:null:B;if(!g&&!B||g&&!x&&!v)return(0,f.notFound)();if(g&&x)return(0,e.jsx)("div",{className:"text-text-muted text-sm py-12 text-center",children:"Loading..."});let D=g?["embedding"]:C.serviceKinds??["llm"];return g||D.includes(a)?(0,e.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)(h(),{href:`/dashboard/media-providers/${a}`,className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),d.label]}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[(0,e.jsx)("div",{className:"size-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:`${C.color}15`},children:(0,e.jsx)(l.A,{src:`/providers/${C.id}.png`,alt:C.name,size:48,className:"object-contain rounded-lg max-w-[48px] max-h-[48px]",fallbackText:C.textIcon||C.id.slice(0,2).toUpperCase(),fallbackColor:C.color})}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,e.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:C.name}),!g&&C.notice?.apiKeyUrl&&(0,e.jsxs)("a",{href:C.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[g&&(0,e.jsxs)(k.Ex,{variant:"default",size:"sm",children:["Custom \xb7 ",v?.prefix]}),D.map(b=>(0,e.jsx)(k.Ex,{variant:b===a?"primary":"default",size:"sm",children:b.toUpperCase()},b))]})]}),g&&(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)(k.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>A(!0),children:"Edit"}),(0,e.jsx)(k.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:u,children:"Delete"})]})]})]}),!g&&C.kindNotice?.[a]&&(0,e.jsxs)("div",{className:"flex items-start gap-3 px-4 py-3 rounded-lg bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px] mt-0.5",children:"warning"}),(0,e.jsx)("p",{className:"text-sm",children:C.kindNotice[a]})]}),!g&&C.notice?.text&&!C.deprecated&&(0,e.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,e.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:(0,j.Tl)(C.notice.text)}),C.notice.apiKeyUrl&&(0,e.jsx)("a",{href:C.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex justify-center rounded bg-blue-500 px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-blue-600 sm:py-0.5",children:(0,j.Tl)("Get API Key →")})]}),!g&&C.noAuth?(0,e.jsx)(k.gw,{providerId:b}):(0,e.jsx)(n.A,{providerId:b,isOAuth:!1}),"tts"!==a&&"webSearch"!==a&&"webFetch"!==a&&(0,e.jsx)(o.A,{providerId:b,kindFilter:a,providerAliasOverride:g?v?.prefix:void 0}),!g&&(C.searchConfig||C.fetchConfig||C.ttsConfig||C.sttConfig||C.embeddingConfig||C.searchViaChat)&&(0,e.jsx)(k.Wx,{config:"webFetch"===a?C.fetchConfig:"tts"===a?C.ttsConfig:"stt"===a?C.sttConfig:"embedding"===a?C.embeddingConfig:C.searchConfig||{mode:"chat-completions",defaultModel:C.searchViaChat?.defaultModel,pricingUrl:C.searchViaChat?.pricingUrl,freeTier:C.searchViaChat?.freeTier},provider:C,title:`${d.label} Config`}),"embedding"===a&&(0,e.jsx)(q.W,{providerId:b,customAlias:v?.prefix}),"tts"===a&&(0,e.jsx)(r.i,{providerId:b}),"stt"===a&&!g&&(0,e.jsx)(t.Y,{providerId:b}),!g&&p.t[a]&&(0,e.jsx)(s.e,{providerId:b,kind:a}),g&&(0,e.jsx)(k.x0,{isOpen:z,node:v,onClose:()=>A(!1),onSaved:a=>{w(a),A(!1)}})]}):(0,f.notFound)()}[k,l,n,o,q,r,s,t]=u.then?(await u)():u,d()}catch(a){d(a)}})},69296:(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\\\\media-providers\\\\[kind]\\\\[id]\\\\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\\media-providers\\[kind]\\[id]\\page.js","default")},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")},74875:(a,b,c)=>{"use strict";function d(a,b){return!1===a?"default":"active"===b||"success"===b?"success":"error"===b||"expired"===b||"unavailable"===b?"error":"default"}c.d(b,{g:()=>d})},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")},79868: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")},86389:(a,b,c)=>{Promise.resolve().then(c.bind(c,64754))},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},88847:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{e:()=>n});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(50377),k=c(27961),l=a([g]);g=(l.then?(await l)():l)[0];let o="https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog.png";function m(a){let b="string"==typeof a?a.trim():"";return b?/^(data:image\/|https?:\/\/)/i.test(b)?b:`data:image/png;base64,${b}`:""}function n({providerId:a,kind:b}){let c=(0,h.wG)(a),d=(0,h.rs)(c)===a?c:a,l=h.rj.find(a=>a.id===b),p=k.t[b],q=p||{},r=(0,i.KC)(a).filter(a=>(0,i.CP)(a)===b),s=new Set(["image","video","music","imageToText"]).has(b),t=s&&0===r.length,[u,v]=(0,f.useState)(r[0]?.id??""),w=r.find(a=>a.id===u),x=!!w?.capabilities?.includes("edit"),y=!!w?.capabilities?.includes("mask"),[z,A]=(0,f.useState)(q.defaultInput||""),[B,C]=(0,f.useState)(""),[D,E]=(0,f.useState)(""),[F,G]=(0,f.useState)(()=>(q.extraFields||[]).reduce((a,b)=>(a[b.key]=b.default??"",a),{})),[H,I]=(0,f.useState)(""),[J,K]=(0,f.useState)(!1),[L,M]=(0,f.useState)(""),[N,O]=(0,f.useState)(""),[P,Q]=(0,f.useState)(null),[R,S]=(0,f.useState)(null),[T,U]=(0,f.useState)(null),[V,W]=(0,f.useState)("json"),[X,Y]=(0,f.useState)(""),[Z,$]=(0,f.useState)(!1),[_,aa]=(0,f.useState)(""),[ab,ac]=(0,f.useState)([]),[ad,ae]=(0,f.useState)(""),{copied:af,copy:ag}=(0,j.C)(),{copied:ah,copy:ai}=(0,j.C)();if(!l||!p)return null;let aj=J?N:L,ak=l.endpoint.path,al=s?u?`${d}/${u}`:t?"":d:d,am="cloudflare-ai"!==a?{}:"@cf/runwayml/stable-diffusion-v1-5-img2img"===u?{image:o}:"@cf/runwayml/stable-diffusion-v1-5-inpainting"===u?{image:o,mask_image:"https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog-mask.png"}:{},an=B.trim()||am.image||"",ao=D.trim()||am.mask_image||"",ap=m(an),aq=m(ao),ar=Object.entries(F).reduce((a,[b,c])=>(""===c||null==c||"number"==typeof c&&Number.isNaN(c)||(a[b]=c),a),{}),as={model:al,[p.bodyKey]:z,...p.extraBody,...ar,...x&&an?{image:an}:{},...y&&ao?{mask_image:ao}:{}},at="image"===b&&"binary"===V,au="image"===b&&"codex"===a&&!at,av=`${ak}${at?"?response_format=binary":""}`,aw=`-H "Content-Type: application/json" \\
43
- -H "Authorization: Bearer ${H||"YOUR_KEY"}"${ad?` \\
44
- -H "x-connection-id: ${ad}"`:""}${au?` \\
45
- -H "Accept: text/event-stream"`:""}`,ax=`curl -X ${l.endpoint.method} ${aj}${av} \\
46
- ${aw.replace(/\\\n /g,"\\\n ")} \\
47
- -d '${JSON.stringify(as)}'${at?" \\\n --output image.png":""}`,ay=async()=>{if(!z.trim()||!al)return;if($(!0),aa(""),Q(null),S(null),U(null),X){try{URL.revokeObjectURL(X)}catch{}Y("")}let a=Date.now();try{let b={"Content-Type":"application/json"};H&&(b.Authorization=`Bearer ${H}`),ad&&(b["x-connection-id"]=ad),au&&(b.Accept="text/event-stream");let c={...as,model:al},d=await fetch(`/api${av}`,{method:l.endpoint.method,headers:b,body:JSON.stringify(c)});if(!d.ok){let a=await d.json().catch(()=>({}));aa(a?.error?.message||a?.error||`HTTP ${d.status}`);return}let e=d.headers.get("content-type")||"";if(e.startsWith("image/")){let b=await d.blob(),c=URL.createObjectURL(b);Y(c),Q({data:{binary:!0,mime:e,size:b.size},latencyMs:Date.now()-a});return}if(e.includes("text/event-stream")&&d.body){let b=d.body.getReader(),c=new TextDecoder,e="",f=null,g=null;for(;;){let a,{done:d,value:h}=await b.read();if(d)break;for(e+=c.decode(h,{stream:!0});-1!==(a=e.indexOf("\n\n"));){let b=e.slice(0,a);e=e.slice(a+2);let c=null,d="";for(let a of b.split("\n"))a.startsWith("event:")?c=a.slice(6).trim():a.startsWith("data:")&&(d+=a.slice(5).trim());if(c)try{let a=d?JSON.parse(d):{};"progress"===c?S(a):"partial_image"===c?U(a):"done"===c?f=a:"error"===c&&(g=a?.message||"Stream error")}catch{}}}let h=Date.now()-a;if(g)return void aa(g);f&&Q({data:f,latencyMs:h})}else{let b=await d.json(),c=Date.now()-a;Q({data:b,latencyMs:c})}}catch(a){aa(a.message||"Network error")}finally{$(!1)}},az=a=>{if(!a||"object"!=typeof a)return a;if(Array.isArray(a))return a.map(az);let b={};for(let[c,d]of Object.entries(a))b[c]="b64_json"===c&&"string"==typeof d&&d.length>100?`<${d.length} chars base64>`:az(d);return b},aA=P?JSON.stringify(az(P.data),null,2):"";return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[r.length>0?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("select",{value:u,onChange:a=>v(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:r.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):t?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"Enter model id (provider-specific)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}):null,(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[aj,ak]}),N&&(0,e.jsxs)("button",{onClick:()=>K(a=>!a),title:J?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${J?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:H?`${H.slice(0,8)}${"•".repeat(Math.min(20,H.length-8))}`:(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),ab.length>0&&(0,e.jsx)(k.f,{label:"Connection",children:(0,e.jsxs)("select",{value:ad,onChange:a=>ae(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"",children:"Auto (by priority)"}),ab.map(a=>{let b=a.providerSpecificData?.chatgptPlanType,c=a.email||a.name||a.id.slice(0,8);return(0,e.jsxs)("option",{value:a.id,children:[c,b?` [${b}]`:""]},a.id)})]})}),(0,e.jsx)(k.f,{label:p.inputLabel,children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:z,onChange:a=>A(a.target.value),placeholder:p.inputPlaceholder,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),z&&(0,e.jsx)("button",{type:"button",onClick:()=>A(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),x&&(0,e.jsx)(k.f,{label:"Ref Image (URL)",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:B,onChange:a=>C(a.target.value),placeholder:am.image||"https://example.com/source.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),B&&(0,e.jsx)("button",{type:"button",onClick:()=>C(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ap&&(0,e.jsx)("img",{src:ap,alt:"Reference",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:a=>{a.currentTarget.style.display="none"},onLoad:a=>{a.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),y&&(0,e.jsx)(k.f,{label:"Mask (URL)",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:D,onChange:a=>E(a.target.value),placeholder:am.mask_image||"https://example.com/mask.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),D&&(0,e.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),aq&&(0,e.jsx)("img",{src:aq,alt:"Mask",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:a=>{a.currentTarget.style.display="none"},onLoad:a=>{a.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),(p.extraFields||[]).filter(a=>0===r.length||Array.isArray(w?.params)&&w.params.includes(a.key)).map(a=>(0,e.jsx)(k.f,{label:a.label,children:"select"===a.type?(0,e.jsx)("select",{value:F[a.key]??"",onChange:b=>G(c=>({...c,[a.key]:b.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:(a.options||[]).map(a=>(0,e.jsx)("option",{value:a,children:""===a?"(default)":a},a))}):"text"===a.type?(0,e.jsx)("input",{type:"text",value:F[a.key]??"",placeholder:a.placeholder,onChange:b=>G(c=>({...c,[a.key]:b.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}):(0,e.jsx)("input",{type:"number",value:F[a.key]??"",min:a.min,max:a.max,onChange:b=>G(c=>({...c,[a.key]:""===b.target.value?"":Number(b.target.value)})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})},a.key)),"image"===b&&(0,e.jsx)(k.f,{label:"Output Format",children:(0,e.jsxs)("select",{value:V,onChange:a=>W(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"json",children:"JSON (Base64)"}),(0,e.jsx)("option",{value:"binary",children:"Binary File"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>ag(ax),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:af?"check":"content_copy"}),af?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:ay,disabled:Z||!z.trim()||!al,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:Z?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),Z?"Running...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:ax})]}),(Z||R)&&au&&(0,e.jsxs)("div",{className:"flex flex-col gap-2 px-3 py-2 rounded-lg bg-sidebar border border-border sm:flex-row sm:items-center sm:gap-3",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",style:Z?{animation:"spin 1s linear infinite"}:void 0,children:Z?"progress_activity":"check_circle"}),(0,e.jsxs)("span",{className:"text-xs text-text-muted",children:[R?.stage||"starting",!Z&&R?.bytesReceived?` \xb7 ${(R.bytesReceived/1024).toFixed(1)} KB`:""]})]}),T?.b64_json&&!P&&(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Partial preview"}),(0,e.jsx)("img",{src:`data:image/png;base64,${T.b64_json}`,alt:"Partial",className:"max-w-full rounded-lg border border-border mt-1.5 opacity-80",loading:"lazy",decoding:"async"})]}),_&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:_}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",P&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",P.latencyMs,"ms"]})]}),P&&(0,e.jsxs)("button",{onClick:()=>ai(aA),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ah?"check":"content_copy"}),ah?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:P?aA:p.defaultResponse}),"image"===b&&(X||P?.data?.data?.[0])&&(0,e.jsxs)("div",{className:"mt-2",children:[(0,e.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,e.jsxs)("a",{href:X||(P?.data?.data?.[0]?.b64_json?`data:image/png;base64,${P.data.data[0].b64_json}`:P?.data?.data?.[0]?.url||""),download:"image.png",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,e.jsx)("img",{src:X||(P?.data?.data?.[0]?.b64_json?`data:image/png;base64,${P.data.data[0].b64_json}`:P?.data?.data?.[0]?.url),alt:"Generated",className:"max-w-full rounded-lg border border-border",loading:"lazy",decoding:"async"})]})]})]})]})}d()}catch(a){d(a)}})},89230:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{A:()=>q});var e=c(48249),f=c(67484),g=c(49885),h=c.n(g),i=c(94579),j=c(91431),k=c(92592),l=c(50377),m=c(99258),n=a([i]);function o({model:a,fullModel:b,copied:c,onCopy:d,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let l="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,e.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-base",style:l?{color:l}:void 0,children:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy"}),(0,e.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,e.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,e.jsx)("span",{className:"text-[9px] text-text-muted/70 italic pl-1",children:a.name})]}),j&&(0,e.jsxs)("div",{className:"relative group/btn",children:[(0,e.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0,children:k?"progress_activity":"science"})}),(0,e.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:k?"Testing...":"Test"})]}),(0,e.jsxs)("div",{className:"relative group/btn",children:[(0,e.jsx)("button",{onClick:()=>d(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:c===`model-${a.id}`?"check":"content_copy"})}),(0,e.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,e.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),a.requiresSession&&(0,e.jsx)("span",{className:"text-[10px] font-bold text-amber-600 dark:text-amber-400 bg-amber-500/10 px-1.5 py-0.5 rounded cursor-help",title:(0,m.Tl)("Requires MiMo Desktop sign-in — API key alone cannot reach this model"),children:(0,m.Tl)("Desktop sign-in")}),g&&(0,e.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",title:"Remove custom model",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})})]})})}function p({isOpen:a,onSave:b,onClose:c}){let[d,g]=(0,f.useState)(""),h=()=>{d.trim()&&(b(d.trim()),g(""))};return(0,e.jsx)(i.aF,{isOpen:a,title:"Add Custom Model",onClose:c,children:(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,e.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",value:d,onChange:a=>g(a.target.value),onKeyDown:a=>"Enter"===a.key&&h(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)(i.$n,{onClick:h,fullWidth:!0,disabled:!d.trim(),children:"Add"}),(0,e.jsx)(i.$n,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})})}function q({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:d,copy:g}=(0,l.C)(),[h,m]=(0,f.useState)({}),[n,r]=(0,f.useState)([]),[s,t]=(0,f.useState)({}),[u,v]=(0,f.useState)(null),[w,x]=(0,f.useState)(""),[y,z]=(0,f.useState)(!1),A=c||(0,k.wG)(a),B=b||"llm",C=(0,f.useCallback)(async()=>{try{let[a,b]=await Promise.all([fetch("/api/models/alias"),fetch("/api/models/custom",{cache:"no-store"})]),c=await a.json(),d=await b.json();a.ok&&m(c.aliases||{}),b.ok&&r(d.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[]),D=async(a,b)=>{let c=`${A}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await C()}catch(a){console.log("set alias error:",a)}},E=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await C()}catch(a){console.log("delete alias error:",a)}},F=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:A,id:a,type:B})})).ok&&(await C(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},G=async a=>{try{let b=new URLSearchParams({providerAlias:A,id:a,type:B});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await C(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},H=async a=>{if(!u){v(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${A}/${a}`,kind:b})}),d=await c.json();t(b=>({...b,[a]:d.ok?"ok":"error"})),x(d.ok?"":d.error||"Model not reachable")}catch{t(b=>({...b,[a]:"error"})),x("Network error")}finally{v(null)}}},I=(0,j.KC)(a),J=b?I.filter(a=>a.kinds?a.kinds.includes(b):(0,j.CP)(a,"llm")===b):I,K=n.filter(a=>a.providerAlias===A&&(0,j.CP)(a,"llm")===B&&!J.some(b=>b.id===a.id));return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(i.Zp,{children:[(0,e.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,e.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),w&&(0,e.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:w}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-3",children:[J.map(a=>{let b=`${A}/${a.id}`,c=Object.entries(h).find(([,a])=>a===b)?.[0];return(0,e.jsx)(o,{model:a,fullModel:`${A}/${a.id}`,alias:c,copied:d,onCopy:g,onSetAlias:b=>D(a.id,b),onDeleteAlias:()=>E(c),testStatus:s[a.id],onTest:()=>H(a.id),isTesting:u===a.id,isFree:a.isFree},a.id)}),K.map(a=>(0,e.jsx)(o,{model:{id:a.id,name:a.name},fullModel:`${A}/${a.id}`,copied:d,onCopy:g,onSetAlias:()=>{},onDeleteAlias:()=>G(a.id),testStatus:s[a.id],onTest:()=>H(a.id),isTesting:u===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,e.jsxs)("button",{onClick:()=>z(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-text-muted hover:text-primary hover:border-primary/40 transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]})]})]}),(0,e.jsx)(p,{isOpen:y,onSave:async a=>{await F(a),z(!1)},onClose:()=>z(!1)})]})}i=(n.then?(await n)():n)[0],o.propTypes={model:h().shape({id:h().string.isRequired}).isRequired,fullModel:h().string.isRequired,copied:h().string,onCopy:h().func.isRequired,testStatus:h().oneOf(["ok","error"]),isCustom:h().bool,isFree:h().bool,onDeleteAlias:h().func,onTest:h().func,isTesting:h().bool},p.propTypes={isOpen:h().bool.isRequired,onSave:h().func.isRequired,onClose:h().func.isRequired},q.propTypes={providerId:h().string.isRequired,kindFilter:h().string,providerAliasOverride:h().string},d()}catch(a){d(a)}})},91645:a=>{"use strict";a.exports=require("net")},93963:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{W:()=>m});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(50377),k=c(27961),l=a([g]);g=(l.then?(await l)():l)[0];let n=`{
48
+ ${"json"===P?"":"--output speech.mp3"}`,ay=async()=>{if(!D.trim()||!av)return;W(!0),Y(""),S(""),U(null);let a=Date.now();try{let b={"Content-Type":"application/json"};H&&(b.Authorization=`Bearer ${H}`);let c=`/api/v1/audio/speech${"json"===P?"?response_format=json":""}`,d=await fetch(c,{method:"POST",headers:b,body:JSON.stringify({...aw,input:D.trim()})});if($(Date.now()-a),!d.ok){let a=await d.json().catch(()=>({}));Y(a?.error?.message||a?.error||`HTTP ${d.status}`);return}if("json"===P){let a=await d.json();U(a);let b=a.format||"mp3",c=await fetch(`data:audio/${b};base64,${a.audio}`).then(a=>a.blob());S(URL.createObjectURL(c))}else{let a=await d.blob();S(URL.createObjectURL(a))}}catch(a){Y(a.message||"Network error")}finally{W(!1)}};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(n.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[at,"/v1/audio/speech"]}),N&&(0,e.jsxs)("button",{onClick:()=>K(a=>!a),title:J?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${J?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(n.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:H?`${H.slice(0,8)}${"•".repeat(Math.min(20,H.length-8))}`:ap>0?(0,e.jsxs)("span",{className:"text-text-muted italic",children:["Using stored key(s) \xb7 ",ap," connection",ap>1?"s":""]}):(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),o.hasModelSelector&&(o.modelKey||(0,i.KC)(a).some(a=>"tts"===(0,i.CP)(a)))&&(0,e.jsx)(n.f,{label:"Model",children:(0,e.jsx)("select",{value:B,onChange:a=>C(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:((c=(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a))).length?c:(0,i.KC)(o.modelKey)||[]).map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),o.hasLanguageHint&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsxs)("select",{value:an,onChange:a=>ao(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"",children:"Auto-detect"}),(o.languageOptions||m.I).map(a=>"string"==typeof a?(0,e.jsx)("option",{value:a,children:a},a):(0,e.jsx)("option",{value:a.name,children:a.name},a.id))]})}),o.hasBrowseButton&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)("button",{onClick:ar,className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-surface font-mono truncate text-left hover:border-primary/40 transition-colors",children:z?(0,e.jsx)("span",{className:"text-text-main",children:ad.find(a=>a.code===z)?.name||z}):(0,e.jsx)("span",{className:"text-text-muted",children:"No language selected"})}),(0,e.jsxs)("button",{onClick:ar,className:"flex w-full items-center justify-center gap-1 text-xs px-2.5 py-1.5 rounded-lg border border-border text-text-muted hover:text-primary hover:border-primary/40 transition-colors sm:w-auto sm:shrink-0",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"language"}),"Select language"]})]})}),x.length>0&&(0,e.jsx)(n.f,{label:"Voice",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-1.5",children:x.map(a=>(0,e.jsxs)("button",{onClick:()=>{s(a.id),u(a.name),o.hasVoiceIdInput&&w(a.id)},className:`px-2.5 py-1 rounded-full text-xs border transition-colors ${r===a.id?"bg-primary/15 border-primary/40 text-primary font-medium":"border-border text-text-muted hover:text-primary hover:border-primary/40"}`,children:[a.name,a.language?` \xb7 ${a.language}`:"",a.gender?` \xb7 ${a.gender[0].toUpperCase()}`:"",!0===a.free_users_allowed&&(0,e.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-green-500/15 text-green-600 border border-green-500/20",children:"Free"}),!1===a.free_users_allowed&&(0,e.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-amber-500/15 text-amber-600 border border-amber-500/20",children:"Paid"})]},a.id))})}),o.hasVoiceIdInput&&(0,e.jsx)(n.f,{label:"Voice ID",children:(0,e.jsx)("div",{className:"flex flex-col gap-1",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:v,onChange:a=>{w(a.target.value),s(a.target.value)},placeholder:"e.g. CwhRBWXzGAHq8TQ4Fs17",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"}),v&&(0,e.jsx)("button",{type:"button",onClick:()=>{w(""),s("")},className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})})}),o.hasLanguageDropdown&&(0,e.jsx)(n.f,{label:"Language",children:(0,e.jsx)("select",{value:r,onChange:b=>{let c=(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a)).find(a=>a.id===b.target.value);s(b.target.value),u(c?.name||b.target.value)},className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:(0,i.KC)(a).filter(a=>"tts"===(0,i.CP)(a)).map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,e.jsx)(n.f,{label:"Input",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:D,onChange:a=>E(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),D&&(0,e.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),o.hasStyleInput&&(0,e.jsx)(n.f,{label:(0,l.Tl)("Style"),children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),placeholder:(0,l.Tl)("e.g. a warm, gentle voice, speaking slowly with a British accent"),rows:2,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary resize-none"}),F&&(0,e.jsx)("button",{type:"button",onClick:()=>G(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,e.jsx)(n.f,{label:"Output Format",children:(0,e.jsxs)("select",{value:P,onChange:a=>Q(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"mp3",children:"MP3 (Binary)"}),(0,e.jsx)("option",{value:"json",children:"JSON (Base64)"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>aa(ax),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:_?"check":"content_copy"}),_?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:ay,disabled:V||!D.trim()||!av,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:V?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),V?"Generating...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:ax})]}),X&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:X}),R?(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",Z&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",Z,"ms"]})]}),(0,e.jsxs)("a",{href:R,download:"speech.mp3",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})]}),(0,e.jsx)("audio",{controls:!0,src:R,className:"w-full"}),T&&(0,e.jsxs)("div",{className:"mt-3",children:[(0,e.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"JSON Response"})}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:JSON.stringify({format:T.format,audio:T.audio?`${T.audio.substring(0,100)}...`:""},null,2)})]})]}):(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Response"}),(0,e.jsx)("pre",{className:"mt-1.5 bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-50",children:q})]})]})]}),ab&&(0,e.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",style:{backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(2px)"},onClick:()=>ac(!1),children:(0,e.jsxs)("div",{className:"border border-border rounded-xl shadow-2xl w-full max-w-md mx-4 flex flex-col max-h-[80vh]",style:{backgroundColor:"var(--color-bg)",isolation:"isolate"},onClick:a=>a.stopPropagation(),children:[(0,e.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border shrink-0 rounded-t-xl",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold",children:"Select Language"}),(0,e.jsx)("button",{onClick:()=>ac(!1),className:"text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,e.jsx)("div",{className:"px-4 py-2.5 border-b border-border shrink-0",children:(0,e.jsx)("input",{autoFocus:!0,value:ah,onChange:a=>ai(a.target.value),placeholder:"Search language...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),(0,e.jsxs)("div",{className:"overflow-y-auto flex-1 p-2",children:[aj&&(0,e.jsx)("p",{className:"text-xs text-red-500 px-2 py-1",children:aj}),af?(0,e.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"Loading..."}):(0,e.jsxs)("div",{className:"flex flex-col gap-0.5",children:[as.map(a=>(0,e.jsxs)("button",{onClick:()=>{let b;return ac(!1),A(a.code),b=al[a.code]?.voices||[],void(y(b),b.length&&(s(b[0].id),u(b[0].name),o.hasVoiceIdInput&&w(b[0].id)))},className:`flex items-center justify-between w-full px-3 py-2 rounded-lg text-left hover:bg-sidebar transition-colors ${z===a.code?"bg-primary/10 text-primary":""}`,children:[(0,e.jsx)("span",{className:"text-sm",children:a.name}),(0,e.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,e.jsxs)("span",{className:"text-xs text-text-muted",children:[a.voices.length," voices"]}),z===a.code&&(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",children:"check"})]})]},a.code)),0===as.length&&(0,e.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"No languages found."})]})]})]})})]})}d()}catch(a){d(a)}})},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64754:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>v});var e=c(48249),f=c(19099),g=c(2116),h=c.n(g),i=c(67484),j=c(99258),k=c(94579),l=c(72738),m=c(92592),n=c(27555),o=c(89230),p=c(27961),q=c(93963),r=c(62115),s=c(88847),t=c(40379),u=a([k,l,n,o,q,r,s,t]);function v(){let{kind:a,id:b}=(0,f.useParams)(),c=(0,f.useRouter)(),d=m.rj.find(b=>b.id===a),g=(0,m.gC)(b)&&"embedding"===a,u=async()=>{if(confirm("Delete this Custom Embedding node?"))try{(await fetch(`/api/provider-nodes/${b}`,{method:"DELETE"})).ok&&c.push(`/dashboard/media-providers/${a}`)}catch(a){console.log("Error deleting custom embedding node:",a)}},[v,w]=(0,i.useState)(null),[x,y]=(0,i.useState)(g),[z,A]=(0,i.useState)(!1);if(!d)return(0,f.notFound)();let B=m.Q2[b],C=g?v?{id:b,name:v.name||"Custom Embedding",color:"#6366F1",textIcon:"CE"}:null:B;if(!g&&!B||g&&!x&&!v)return(0,f.notFound)();if(g&&x)return(0,e.jsx)("div",{className:"text-text-muted text-sm py-12 text-center",children:"Loading..."});let D=g?["embedding"]:C.serviceKinds??["llm"];return g||D.includes(a)?(0,e.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)(h(),{href:`/dashboard/media-providers/${a}`,className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),d.label]}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[(0,e.jsx)("div",{className:"size-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:`${C.color}15`},children:(0,e.jsx)(l.A,{src:`/providers/${C.id}.png`,alt:C.name,size:48,className:"object-contain rounded-lg max-w-[48px] max-h-[48px]",fallbackText:C.textIcon||C.id.slice(0,2).toUpperCase(),fallbackColor:C.color})}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,e.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:C.name}),!g&&C.notice?.apiKeyUrl&&(0,e.jsxs)("a",{href:C.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[g&&(0,e.jsxs)(k.Ex,{variant:"default",size:"sm",children:["Custom \xb7 ",v?.prefix]}),D.map(b=>(0,e.jsx)(k.Ex,{variant:b===a?"primary":"default",size:"sm",children:b.toUpperCase()},b))]})]}),g&&(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)(k.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>A(!0),children:"Edit"}),(0,e.jsx)(k.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:u,children:"Delete"})]})]})]}),!g&&C.kindNotice?.[a]&&(0,e.jsxs)("div",{className:"flex items-start gap-3 px-4 py-3 rounded-lg bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px] mt-0.5",children:"warning"}),(0,e.jsx)("p",{className:"text-sm",children:C.kindNotice[a]})]}),!g&&C.notice?.text&&!C.deprecated&&(0,e.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,e.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:(0,j.Tl)(C.notice.text)}),C.notice.apiKeyUrl&&(0,e.jsx)("a",{href:C.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex justify-center rounded bg-blue-500 px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-blue-600 sm:py-0.5",children:(0,j.Tl)("Get API Key →")})]}),!g&&C.noAuth?(0,e.jsx)(k.gw,{providerId:b}):(0,e.jsx)(n.A,{providerId:b,isOAuth:!1}),"tts"!==a&&"webSearch"!==a&&"webFetch"!==a&&(0,e.jsx)(o.A,{providerId:b,kindFilter:a,providerAliasOverride:g?v?.prefix:void 0}),!g&&(C.searchConfig||C.fetchConfig||C.ttsConfig||C.sttConfig||C.embeddingConfig||C.systemoneConfig||C.searchViaChat)&&(0,e.jsx)(k.Wx,{config:"webFetch"===a?C.fetchConfig:"tts"===a?C.ttsConfig:"stt"===a?C.sttConfig:"embedding"===a?C.embeddingConfig:"systemone"===a?C.systemoneConfig:C.searchConfig||{mode:"chat-completions",defaultModel:C.searchViaChat?.defaultModel,pricingUrl:C.searchViaChat?.pricingUrl,freeTier:C.searchViaChat?.freeTier},provider:C,title:`${d.label} Config`}),"embedding"===a&&(0,e.jsx)(q.W,{providerId:b,customAlias:v?.prefix}),"tts"===a&&(0,e.jsx)(r.i,{providerId:b}),"stt"===a&&!g&&(0,e.jsx)(t.Y,{providerId:b}),!g&&p.t[a]&&(0,e.jsx)(s.e,{providerId:b,kind:a}),g&&(0,e.jsx)(k.x0,{isOpen:z,node:v,onClose:()=>A(!1),onSaved:a=>{w(a),A(!1)}})]}):(0,f.notFound)()}[k,l,n,o,q,r,s,t]=u.then?(await u)():u,d()}catch(a){d(a)}})},69296:(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\\\\media-providers\\\\[kind]\\\\[id]\\\\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\\media-providers\\[kind]\\[id]\\page.js","default")},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")},74875:(a,b,c)=>{"use strict";function d(a,b){return!1===a?"default":"active"===b||"success"===b?"success":"error"===b||"expired"===b||"unavailable"===b?"error":"default"}c.d(b,{g:()=>d})},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")},79868: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")},86389:(a,b,c)=>{Promise.resolve().then(c.bind(c,64754))},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},88847:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{e:()=>n});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(95139),k=c(27961),l=a([g]);g=(l.then?(await l)():l)[0];let o="https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog.png";function m(a){let b="string"==typeof a?a.trim():"";return b?/^(data:image\/|https?:\/\/)/i.test(b)?b:`data:image/png;base64,${b}`:""}function n({providerId:a,kind:b}){let c=(0,h.wG)(a),d=(0,h.rs)(c)===a?c:a,l=h.rj.find(a=>a.id===b),p=k.t[b],q=p||{},r=(0,i.KC)(a).filter(a=>(0,i.CP)(a)===b),s=new Set(["image","video","music","imageToText","systemone"]).has(b),t=s&&0===r.length,[u,v]=(0,f.useState)(r[0]?.id??""),w=r.find(a=>a.id===u),x=!!w?.capabilities?.includes("edit"),y=!!w?.capabilities?.includes("mask"),[z,A]=(0,f.useState)(q.defaultInput||""),[B,C]=(0,f.useState)("Does this request require urgent attention?"),[D,E]=(0,f.useState)(""),[F,G]=(0,f.useState)(""),[H,I]=(0,f.useState)(()=>(q.extraFields||[]).reduce((a,b)=>(a[b.key]=b.default??"",a),{})),[J,K]=(0,f.useState)(""),[L,M]=(0,f.useState)(!1),[N,O]=(0,f.useState)(""),[P,Q]=(0,f.useState)(""),[R,S]=(0,f.useState)(null),[T,U]=(0,f.useState)(null),[V,W]=(0,f.useState)(null),[X,Y]=(0,f.useState)("json"),[Z,$]=(0,f.useState)(""),[_,aa]=(0,f.useState)(!1),[ab,ac]=(0,f.useState)(""),[ad,ae]=(0,f.useState)([]),[af,ag]=(0,f.useState)(""),{copied:ah,copy:ai}=(0,j.C)(),{copied:aj,copy:ak}=(0,j.C)();if(!l||!p)return null;let al=L?P:N,am=l.endpoint.path,an=s?u?`${d}/${u}`:t?"":d:d,ao="cloudflare-ai"!==a?{}:"@cf/runwayml/stable-diffusion-v1-5-img2img"===u?{image:o}:"@cf/runwayml/stable-diffusion-v1-5-inpainting"===u?{image:o,mask_image:"https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog-mask.png"}:{},ap=D.trim()||ao.image||"",aq=F.trim()||ao.mask_image||"",ar=m(ap),as=m(aq),at=Object.entries(H).reduce((a,[b,c])=>(""===c||null==c||"number"==typeof c&&Number.isNaN(c)||(a[b]=c),a),{}),au="systemone"===b?{questions:{is_urgent:{type:"noul",instructions:B.trim()||"Does this request require urgent attention?"}}}:{},av={model:an,[p.bodyKey]:z,...p.extraBody,...au,...at,...x&&ap?{image:ap}:{},...y&&aq?{mask_image:aq}:{}},aw="image"===b&&"binary"===X,ax="image"===b&&"codex"===a&&!aw,ay=`${am}${aw?"?response_format=binary":""}`,az=`-H "Content-Type: application/json" \\
49
+ -H "Authorization: Bearer ${J||"YOUR_KEY"}"${af?` \\
50
+ -H "x-connection-id: ${af}"`:""}${ax?` \\
51
+ -H "Accept: text/event-stream"`:""}`,aA=`curl -X ${l.endpoint.method} ${al}${ay} \\
52
+ ${az.replace(/\\\n /g,"\\\n ")} \\
53
+ -d '${JSON.stringify(av)}'${aw?" \\\n --output image.png":""}`,aB=async()=>{if(!z.trim()||!an)return;if(aa(!0),ac(""),S(null),U(null),W(null),Z){try{URL.revokeObjectURL(Z)}catch{}$("")}let a=Date.now();try{let b={"Content-Type":"application/json"};J&&(b.Authorization=`Bearer ${J}`),af&&(b["x-connection-id"]=af),ax&&(b.Accept="text/event-stream");let c={...av,model:an},d=await fetch(`/api${ay}`,{method:l.endpoint.method,headers:b,body:JSON.stringify(c)});if(!d.ok){let a=await d.json().catch(()=>({}));ac(a?.error?.message||a?.error||`HTTP ${d.status}`);return}let e=d.headers.get("content-type")||"";if(e.startsWith("image/")){let b=await d.blob(),c=URL.createObjectURL(b);$(c),S({data:{binary:!0,mime:e,size:b.size},latencyMs:Date.now()-a});return}if(e.includes("text/event-stream")&&d.body){let b=d.body.getReader(),c=new TextDecoder,e="",f=null,g=null;for(;;){let a,{done:d,value:h}=await b.read();if(d)break;for(e+=c.decode(h,{stream:!0});-1!==(a=e.indexOf("\n\n"));){let b=e.slice(0,a);e=e.slice(a+2);let c=null,d="";for(let a of b.split("\n"))a.startsWith("event:")?c=a.slice(6).trim():a.startsWith("data:")&&(d+=a.slice(5).trim());if(c)try{let a=d?JSON.parse(d):{};"progress"===c?U(a):"partial_image"===c?W(a):"done"===c?f=a:"error"===c&&(g=a?.message||"Stream error")}catch{}}}let h=Date.now()-a;if(g)return void ac(g);f&&S({data:f,latencyMs:h})}else{let b=await d.json(),c=Date.now()-a;S({data:b,latencyMs:c})}}catch(a){ac(a.message||"Network error")}finally{aa(!1)}},aC=a=>{if(!a||"object"!=typeof a)return a;if(Array.isArray(a))return a.map(aC);let b={};for(let[c,d]of Object.entries(a))b[c]="b64_json"===c&&"string"==typeof d&&d.length>100?`<${d.length} chars base64>`:aC(d);return b},aD=R?JSON.stringify(aC(R.data),null,2):"";return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[r.length>0?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("select",{value:u,onChange:a=>v(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:r.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):t?(0,e.jsx)(k.f,{label:"Model",children:(0,e.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"Enter model id (provider-specific)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}):null,(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[al,am]}),P&&(0,e.jsxs)("button",{onClick:()=>M(a=>!a),title:L?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${L?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:J?`${J.slice(0,8)}${"•".repeat(Math.min(20,J.length-8))}`:(0,e.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),ad.length>0&&(0,e.jsx)(k.f,{label:"Connection",children:(0,e.jsxs)("select",{value:af,onChange:a=>ag(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"",children:"Auto (by priority)"}),ad.map(a=>{let b=a.providerSpecificData?.chatgptPlanType,c=a.email||a.name||a.id.slice(0,8);return(0,e.jsxs)("option",{value:a.id,children:[c,b?` [${b}]`:""]},a.id)})]})}),(0,e.jsx)(k.f,{label:p.inputLabel,children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:z,onChange:a=>A(a.target.value),placeholder:p.inputPlaceholder,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),z&&(0,e.jsx)("button",{type:"button",onClick:()=>A(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),"systemone"===b&&(0,e.jsx)(k.f,{label:"Question",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:B,onChange:a=>C(a.target.value),placeholder:"Enter evaluation question or criteria",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),B&&(0,e.jsx)("button",{type:"button",onClick:()=>C(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),x&&(0,e.jsx)(k.f,{label:"Ref Image (URL)",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:D,onChange:a=>E(a.target.value),placeholder:ao.image||"https://example.com/source.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),D&&(0,e.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ar&&(0,e.jsx)("img",{src:ar,alt:"Reference",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:a=>{a.currentTarget.style.display="none"},onLoad:a=>{a.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),y&&(0,e.jsx)(k.f,{label:"Mask (URL)",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:F,onChange:a=>G(a.target.value),placeholder:ao.mask_image||"https://example.com/mask.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),F&&(0,e.jsx)("button",{type:"button",onClick:()=>G(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),as&&(0,e.jsx)("img",{src:as,alt:"Mask",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:a=>{a.currentTarget.style.display="none"},onLoad:a=>{a.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),(p.extraFields||[]).filter(a=>0===r.length||Array.isArray(w?.params)&&w.params.includes(a.key)).map(a=>(0,e.jsx)(k.f,{label:a.label,children:"select"===a.type?(0,e.jsx)("select",{value:H[a.key]??"",onChange:b=>I(c=>({...c,[a.key]:b.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:(a.options||[]).map(a=>(0,e.jsx)("option",{value:a,children:""===a?"(default)":a},a))}):"text"===a.type?(0,e.jsx)("input",{type:"text",value:H[a.key]??"",placeholder:a.placeholder,onChange:b=>I(c=>({...c,[a.key]:b.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}):(0,e.jsx)("input",{type:"number",value:H[a.key]??"",min:a.min,max:a.max,onChange:b=>I(c=>({...c,[a.key]:""===b.target.value?"":Number(b.target.value)})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})},a.key)),"image"===b&&(0,e.jsx)(k.f,{label:"Output Format",children:(0,e.jsxs)("select",{value:X,onChange:a=>Y(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:[(0,e.jsx)("option",{value:"json",children:"JSON (Base64)"}),(0,e.jsx)("option",{value:"binary",children:"Binary File"})]})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>ai(aA),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ah?"check":"content_copy"}),ah?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:aB,disabled:_||!z.trim()||!an,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:_?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),_?"Running...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:aA})]}),(_||T)&&ax&&(0,e.jsxs)("div",{className:"flex flex-col gap-2 px-3 py-2 rounded-lg bg-sidebar border border-border sm:flex-row sm:items-center sm:gap-3",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",style:_?{animation:"spin 1s linear infinite"}:void 0,children:_?"progress_activity":"check_circle"}),(0,e.jsxs)("span",{className:"text-xs text-text-muted",children:[T?.stage||"starting",!_&&T?.bytesReceived?` \xb7 ${(T.bytesReceived/1024).toFixed(1)} KB`:""]})]}),V?.b64_json&&!R&&(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Partial preview"}),(0,e.jsx)("img",{src:`data:image/png;base64,${V.b64_json}`,alt:"Partial",className:"max-w-full rounded-lg border border-border mt-1.5 opacity-80",loading:"lazy",decoding:"async"})]}),ab&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:ab}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",R&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",R.latencyMs,"ms"]})]}),R&&(0,e.jsxs)("button",{onClick:()=>ak(aD),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aj?"check":"content_copy"}),aj?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:R?aD:p.defaultResponse}),"image"===b&&(Z||R?.data?.data?.[0])&&(0,e.jsxs)("div",{className:"mt-2",children:[(0,e.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,e.jsxs)("a",{href:Z||(R?.data?.data?.[0]?.b64_json?`data:image/png;base64,${R.data.data[0].b64_json}`:R?.data?.data?.[0]?.url||""),download:"image.png",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,e.jsx)("img",{src:Z||(R?.data?.data?.[0]?.b64_json?`data:image/png;base64,${R.data.data[0].b64_json}`:R?.data?.data?.[0]?.url),alt:"Generated",className:"max-w-full rounded-lg border border-border",loading:"lazy",decoding:"async"})]})]})]})]})}d()}catch(a){d(a)}})},89230:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{A:()=>q});var e=c(48249),f=c(67484),g=c(49885),h=c.n(g),i=c(94579),j=c(91431),k=c(92592),l=c(95139),m=c(99258),n=a([i]);function o({model:a,fullModel:b,copied:c,onCopy:d,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let l="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,e.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-base",style:l?{color:l}:void 0,children:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy"}),(0,e.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,e.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,e.jsx)("span",{className:"text-[9px] text-text-muted/70 italic pl-1",children:a.name})]}),j&&(0,e.jsxs)("div",{className:"relative group/btn",children:[(0,e.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0,children:k?"progress_activity":"science"})}),(0,e.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:k?"Testing...":"Test"})]}),(0,e.jsxs)("div",{className:"relative group/btn",children:[(0,e.jsx)("button",{onClick:()=>d(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:c===`model-${a.id}`?"check":"content_copy"})}),(0,e.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,e.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),a.requiresSession&&(0,e.jsx)("span",{className:"text-[10px] font-bold text-amber-600 dark:text-amber-400 bg-amber-500/10 px-1.5 py-0.5 rounded cursor-help",title:(0,m.Tl)("Requires MiMo Desktop sign-in — API key alone cannot reach this model"),children:(0,m.Tl)("Desktop sign-in")}),g&&(0,e.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",title:"Remove custom model",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})})]})})}function p({isOpen:a,onSave:b,onClose:c}){let[d,g]=(0,f.useState)(""),h=()=>{d.trim()&&(b(d.trim()),g(""))};return(0,e.jsx)(i.aF,{isOpen:a,title:"Add Custom Model",onClose:c,children:(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,e.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",value:d,onChange:a=>g(a.target.value),onKeyDown:a=>"Enter"===a.key&&h(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)(i.$n,{onClick:h,fullWidth:!0,disabled:!d.trim(),children:"Add"}),(0,e.jsx)(i.$n,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})})}function q({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:d,copy:g}=(0,l.C)(),[h,m]=(0,f.useState)({}),[n,r]=(0,f.useState)([]),[s,t]=(0,f.useState)({}),[u,v]=(0,f.useState)(null),[w,x]=(0,f.useState)(""),[y,z]=(0,f.useState)(!1),A=c||(0,k.wG)(a),B=b||"llm",C=(0,f.useCallback)(async()=>{try{let[a,b]=await Promise.all([fetch("/api/models/alias"),fetch("/api/models/custom",{cache:"no-store"})]),c=await a.json(),d=await b.json();a.ok&&m(c.aliases||{}),b.ok&&r(d.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[]),D=async(a,b)=>{let c=`${A}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await C()}catch(a){console.log("set alias error:",a)}},E=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await C()}catch(a){console.log("delete alias error:",a)}},F=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:A,id:a,type:B})})).ok&&(await C(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},G=async a=>{try{let b=new URLSearchParams({providerAlias:A,id:a,type:B});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await C(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},H=async a=>{if(!u){v(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${A}/${a}`,kind:b})}),d=await c.json();t(b=>({...b,[a]:d.ok?"ok":"error"})),x(d.ok?"":d.error||"Model not reachable")}catch{t(b=>({...b,[a]:"error"})),x("Network error")}finally{v(null)}}},I=(0,j.KC)(a),J=b?I.filter(a=>a.kinds?a.kinds.includes(b):(0,j.CP)(a,"llm")===b):I,K=n.filter(a=>a.providerAlias===A&&(0,j.CP)(a,"llm")===B&&!J.some(b=>b.id===a.id));return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(i.Zp,{children:[(0,e.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,e.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),w&&(0,e.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:w}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-3",children:[J.map(a=>{let b=`${A}/${a.id}`,c=Object.entries(h).find(([,a])=>a===b)?.[0];return(0,e.jsx)(o,{model:a,fullModel:`${A}/${a.id}`,alias:c,copied:d,onCopy:g,onSetAlias:b=>D(a.id,b),onDeleteAlias:()=>E(c),testStatus:s[a.id],onTest:()=>H(a.id),isTesting:u===a.id,isFree:a.isFree},a.id)}),K.map(a=>(0,e.jsx)(o,{model:{id:a.id,name:a.name},fullModel:`${A}/${a.id}`,copied:d,onCopy:g,onSetAlias:()=>{},onDeleteAlias:()=>G(a.id),testStatus:s[a.id],onTest:()=>H(a.id),isTesting:u===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,e.jsxs)("button",{onClick:()=>z(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-text-muted hover:text-primary hover:border-primary/40 transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]})]})]}),(0,e.jsx)(p,{isOpen:y,onSave:async a=>{await F(a),z(!1)},onClose:()=>z(!1)})]})}i=(n.then?(await n)():n)[0],o.propTypes={model:h().shape({id:h().string.isRequired}).isRequired,fullModel:h().string.isRequired,copied:h().string,onCopy:h().func.isRequired,testStatus:h().oneOf(["ok","error"]),isCustom:h().bool,isFree:h().bool,onDeleteAlias:h().func,onTest:h().func,isTesting:h().bool},p.propTypes={isOpen:h().bool.isRequired,onSave:h().func.isRequired,onClose:h().func.isRequired},q.propTypes={providerId:h().string.isRequired,kindFilter:h().string,providerAliasOverride:h().string},d()}catch(a){d(a)}})},91645:a=>{"use strict";a.exports=require("net")},93963:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{W:()=>m});var e=c(48249),f=c(67484),g=c(94579),h=c(92592),i=c(91431),j=c(95139),k=c(27961),l=a([g]);g=(l.then?(await l)():l)[0];let n=`{
48
54
  "object": "list",
49
55
  "data": [{
50
56
  "object": "embedding",
@@ -56,4 +62,4 @@
56
62
  }`;function m({providerId:a,customAlias:b}){let c=(0,h.gC)(a),d=c?b||a:(0,h.wG)(a),l=c?[]:(0,i.KC)(a).filter(a=>"embedding"===(0,i.CP)(a)),[o,p]=(0,f.useState)(l[0]?.id??""),[q,r]=(0,f.useState)("The quick brown fox jumps over the lazy dog"),[s,t]=(0,f.useState)(""),[u,v]=(0,f.useState)(""),[w,x]=(0,f.useState)(!1),[y,z]=(0,f.useState)(""),[A,B]=(0,f.useState)(""),[C,D]=(0,f.useState)(null),[E,F]=(0,f.useState)(!1),[G,H]=(0,f.useState)(""),{copied:I,copy:J}=(0,j.C)(),{copied:K,copy:L}=(0,j.C)(),M=w?A:y,N=o?`${d}/${o}`:"",O=()=>{let a={model:N,input:q.trim()},b=Number(s);return s&&Number.isFinite(b)&&b>0&&(a.dimensions=b),a},P=`curl -X POST ${M}/v1/embeddings \\
57
63
  -H "Content-Type: application/json" \\
58
64
  -H "Authorization: Bearer ${u||"YOUR_KEY"}" \\
59
- -d '${JSON.stringify(O())}'`,Q=async()=>{if(!q.trim()||!N)return;F(!0),H(""),D(null);let a=Date.now();try{let b={"Content-Type":"application/json"};u&&(b.Authorization=`Bearer ${u}`);let c=await fetch("/api/v1/embeddings",{method:"POST",headers:b,body:JSON.stringify(O())}),d=Date.now()-a,e=await c.json();if(!c.ok)return void H(e?.error?.message||e?.error||`HTTP ${c.status}`);D({data:e,latencyMs:d})}catch(a){H(a.message||"Network error")}finally{F(!1)}},R=C?JSON.stringify(C.data,null,2):"";return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(k.f,{label:"Model",children:c?(0,e.jsx)("input",{value:o,onChange:a=>p(a.target.value),placeholder:"e.g. voyage-3, embed-english-v3.0, text-embedding-3-small",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"}):(0,e.jsx)("select",{value:o,onChange:a=>p(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:l.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)("input",{value:M,onChange:a=>w?B(a.target.value):z(a.target.value),className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono",placeholder:"http://localhost:3000"}),A&&(0,e.jsxs)("button",{onClick:()=>x(a=>!a),title:w?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${w?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("input",{type:"password",value:u,onChange:a=>v(a.target.value),placeholder:"sk-...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),(0,e.jsx)(k.f,{label:"Input",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:q,onChange:a=>r(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),q&&(0,e.jsx)("button",{type:"button",onClick:()=>r(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,e.jsx)(k.f,{label:"Dimensions",children:(0,e.jsx)("input",{type:"number",min:"1",value:s,onChange:a=>t(a.target.value),placeholder:"optional, e.g. 512, 1024 (leave empty for default)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>J(P),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:I?"check":"content_copy"}),I?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:Q,disabled:E||!q.trim()||!N,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:E?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),E?"Running...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:P})]}),G&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:G}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",C&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",C.latencyMs,"ms"]})]}),C&&(0,e.jsxs)("button",{onClick:()=>L(R),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:K?"check":"content_copy"}),K?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:(a=>{if(!a)return n;let b=JSON.parse(JSON.stringify(a));return(b.data||[]).forEach(a=>{Array.isArray(a.embedding)&&a.embedding.length>4&&(a.embedding=[...a.embedding.slice(0,4).map(a=>parseFloat(a.toFixed(6))),`... (${a.embedding.length} dims)`])}),JSON.stringify(b,null,2)})(C?.data)})]})]})]})}d()}catch(a){d(a)}})},94735:a=>{"use strict";a.exports=require("events")},96117:(a,b,c)=>{Promise.resolve().then(c.bind(c,69296))},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,877,1330,6070,869,5781,7274,7239,1219,4123,8172,6960,112],()=>b(b.s=29049));module.exports=c})();
65
+ -d '${JSON.stringify(O())}'`,Q=async()=>{if(!q.trim()||!N)return;F(!0),H(""),D(null);let a=Date.now();try{let b={"Content-Type":"application/json"};u&&(b.Authorization=`Bearer ${u}`);let c=await fetch("/api/v1/embeddings",{method:"POST",headers:b,body:JSON.stringify(O())}),d=Date.now()-a,e=await c.json();if(!c.ok)return void H(e?.error?.message||e?.error||`HTTP ${c.status}`);D({data:e,latencyMs:d})}catch(a){H(a.message||"Network error")}finally{F(!1)}},R=C?JSON.stringify(C.data,null,2):"";return(0,e.jsxs)(g.Zp,{children:[(0,e.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,e.jsx)(k.f,{label:"Model",children:c?(0,e.jsx)("input",{value:o,onChange:a=>p(a.target.value),placeholder:"e.g. voyage-3, embed-english-v3.0, text-embedding-3-small",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"}):(0,e.jsx)("select",{value:o,onChange:a=>p(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary",children:l.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,e.jsx)(k.f,{label:"Endpoint",children:(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsx)("input",{value:M,onChange:a=>w?B(a.target.value):z(a.target.value),className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono",placeholder:"http://localhost:3000"}),A&&(0,e.jsxs)("button",{onClick:()=>x(a=>!a),title:w?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${w?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,e.jsx)(k.f,{label:"API Key",children:(0,e.jsx)("input",{type:"password",value:u,onChange:a=>v(a.target.value),placeholder:"sk-...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary font-mono"})}),(0,e.jsx)(k.f,{label:"Input",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("input",{value:q,onChange:a=>r(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"}),q&&(0,e.jsx)("button",{type:"button",onClick:()=>r(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,e.jsx)(k.f,{label:"Dimensions",children:(0,e.jsx)("input",{type:"number",min:"1",value:s,onChange:a=>t(a.target.value),placeholder:"optional, e.g. 512, 1024 (leave empty for default)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-surface focus:outline-none focus:border-primary"})}),(0,e.jsxs)("div",{className:"mt-1",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,e.jsxs)("button",{onClick:()=>J(P),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:I?"check":"content_copy"}),I?"Copied":"Copy"]}),(0,e.jsxs)("button",{onClick:Q,disabled:E||!q.trim()||!N,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:E?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),E?"Running...":"Run"]})]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:P})]}),G&&(0,e.jsx)("p",{className:"text-xs text-red-500 break-words",children:G}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,e.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",C&&(0,e.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",C.latencyMs,"ms"]})]}),C&&(0,e.jsxs)("button",{onClick:()=>L(R),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:K?"check":"content_copy"}),K?"Copied":"Copy"]})]}),(0,e.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:(a=>{if(!a)return n;let b=JSON.parse(JSON.stringify(a));return(b.data||[]).forEach(a=>{Array.isArray(a.embedding)&&a.embedding.length>4&&(a.embedding=[...a.embedding.slice(0,4).map(a=>parseFloat(a.toFixed(6))),`... (${a.embedding.length} dims)`])}),JSON.stringify(b,null,2)})(C?.data)})]})]})]})}d()}catch(a){d(a)}})},94735:a=>{"use strict";a.exports=require("events")},96117:(a,b,c)=>{Promise.resolve().then(c.bind(c,69296))},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,8247,6070,1329,5781,7274,7239,1219,4123,8172,6960,4886],()=>b(b.s=29573));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/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/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/112.js","../../../../../../chunks/1159.js","../../../../../../chunks/1219.js","../../../../../../chunks/1220.js","../../../../../../chunks/1261.js","../../../../../../chunks/1330.js","../../../../../../chunks/1531.js","../../../../../../chunks/1710.js","../../../../../../chunks/1813.js","../../../../../../chunks/1998.js","../../../../../../chunks/2051.js","../../../../../../chunks/2112.js","../../../../../../chunks/2120.js","../../../../../../chunks/2132.js","../../../../../../chunks/2182.js","../../../../../../chunks/2391.js","../../../../../../chunks/241.js","../../../../../../chunks/2430.js","../../../../../../chunks/271.js","../../../../../../chunks/2732.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/3651.js","../../../../../../chunks/3792.js","../../../../../../chunks/3885.js","../../../../../../chunks/3943.js","../../../../../../chunks/4123.js","../../../../../../chunks/4125.js","../../../../../../chunks/4152.js","../../../../../../chunks/4177.js","../../../../../../chunks/4282.js","../../../../../../chunks/4293.js","../../../../../../chunks/436.js","../../../../../../chunks/4575.js","../../../../../../chunks/4613.js","../../../../../../chunks/4730.js","../../../../../../chunks/4739.js","../../../../../../chunks/4741.js","../../../../../../chunks/4746.js","../../../../../../chunks/4755.js","../../../../../../chunks/4780.js","../../../../../../chunks/4803.js","../../../../../../chunks/4927.js","../../../../../../chunks/4990.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/6922.js","../../../../../../chunks/6947.js","../../../../../../chunks/6956.js","../../../../../../chunks/6960.js","../../../../../../chunks/698.js","../../../../../../chunks/6982.js","../../../../../../chunks/7067.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/8410.js","../../../../../../chunks/8469.js","../../../../../../chunks/8499.js","../../../../../../chunks/8520.js","../../../../../../chunks/8595.js","../../../../../../chunks/8658.js","../../../../../../chunks/8672.js","../../../../../../chunks/8689.js","../../../../../../chunks/869.js","../../../../../../chunks/8749.js","../../../../../../chunks/877.js","../../../../../../chunks/8838.js","../../../../../../chunks/8895.js","../../../../../../chunks/8920.js","../../../../../../chunks/8988.js","../../../../../../chunks/9046.js","../../../../../../chunks/9154.js","../../../../../../chunks/939.js","../../../../../../chunks/9489.js","../../../../../../chunks/9528.js","../../../../../../chunks/9539.js","../../../../../../chunks/9609.js","../../../../../../chunks/9628.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/2051.js","../../../../../../chunks/2112.js","../../../../../../chunks/2116.js","../../../../../../chunks/2120.js","../../../../../../chunks/2132.js","../../../../../../chunks/2391.js","../../../../../../chunks/241.js","../../../../../../chunks/2430.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/4290.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/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/8247.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"]}