@techysy/10router 1.0.7 → 1.1.1

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 (1047) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +13 -7
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +26 -26
  5. package/app/.next-cli-build/react-loadable-manifest.json +1540 -0
  6. package/app/.next-cli-build/routes-manifest.json +42 -8
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +28 -28
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +8 -8
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +2 -2
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js +1 -0
  115. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js.nft.json +1 -0
  116. package/app/.next-cli-build/server/app/api/auth/verify-password/route_client-reference-manifest.js +1 -0
  117. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  118. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  130. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  138. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/keys/rotate/route.js +1 -0
  178. package/app/.next-cli-build/server/app/api/keys/rotate/route.js.nft.json +1 -0
  179. package/app/.next-cli-build/server/app/api/keys/rotate/route_client-reference-manifest.js +1 -0
  180. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +4 -4
  187. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js +1 -0
  203. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js.nft.json +1 -0
  204. package/app/.next-cli-build/server/app/api/models/custom/bulk/route_client-reference-manifest.js +1 -0
  205. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js +1 -0
  246. package/app/.next-cli-build/server/app/api/{providers/[id]/json-models → oauth/transfer/export}/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route_client-reference-manifest.js +1 -0
  248. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js +1 -0
  249. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js.nft.json +1 -0
  250. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route_client-reference-manifest.js +1 -0
  251. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -0
  252. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -0
  253. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route_client-reference-manifest.js +1 -0
  254. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +4 -0
  255. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -0
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route_client-reference-manifest.js +1 -0
  257. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  292. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  296. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  298. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  300. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  302. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  306. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  310. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  312. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  330. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  352. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  372. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  386. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  426. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  428. package/app/.next-cli-build/server/app/callback.html +1 -1
  429. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  430. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  431. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  432. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
  433. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  434. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  435. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
  436. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  437. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  438. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  439. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  440. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
  441. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  442. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  443. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  445. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
  446. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  447. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  448. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +7 -7
  450. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +7 -7
  451. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
  452. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  455. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +7 -7
  456. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  457. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  460. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +7 -7
  461. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  462. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  463. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  465. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
  466. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  467. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  470. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
  471. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  472. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  475. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
  476. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  477. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  480. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
  481. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  482. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +7 -7
  485. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
  486. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
  487. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  488. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  489. package/app/.next-cli-build/server/app/dashboard/quota.rsc +8 -8
  490. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +8 -8
  491. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
  492. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  498. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  499. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  501. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  503. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +7 -7
  504. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  505. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  506. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  508. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  509. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  510. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  513. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
  514. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  515. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  518. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
  519. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  520. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  521. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  522. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  523. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +7 -7
  524. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  525. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  527. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  528. package/app/.next-cli-build/server/app/index.html +1 -1
  529. package/app/.next-cli-build/server/app/index.rsc +5 -5
  530. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  531. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  532. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  534. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  535. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  536. package/app/.next-cli-build/server/app/landing.html +1 -1
  537. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  538. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  539. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  541. package/app/.next-cli-build/server/app/login/page.js +1 -1
  542. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  543. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  544. package/app/.next-cli-build/server/app/login.html +1 -1
  545. package/app/.next-cli-build/server/app/login.rsc +6 -6
  546. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +6 -6
  547. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  548. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
  549. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  550. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  551. package/app/.next-cli-build/server/app/page.js +1 -1
  552. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  553. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  554. package/app/.next-cli-build/server/app-paths-manifest.json +13 -7
  555. package/app/.next-cli-build/server/chunks/1159.js +1 -0
  556. package/app/.next-cli-build/server/chunks/1260.js +1 -1
  557. package/app/.next-cli-build/server/chunks/1377.js +1 -1
  558. package/app/.next-cli-build/server/chunks/1937.js +1 -1
  559. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  560. package/app/.next-cli-build/server/chunks/2112.js +1 -0
  561. package/app/.next-cli-build/server/chunks/2120.js +1 -0
  562. package/app/.next-cli-build/server/chunks/2132.js +1 -0
  563. package/app/.next-cli-build/server/chunks/2179.js +1 -1
  564. package/app/.next-cli-build/server/chunks/2391.js +1 -1
  565. package/app/.next-cli-build/server/chunks/241.js +1 -1
  566. package/app/.next-cli-build/server/chunks/2732.js +1 -1
  567. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  568. package/app/.next-cli-build/server/chunks/3651.js +92 -0
  569. package/app/.next-cli-build/server/chunks/3662.js +1 -0
  570. package/app/.next-cli-build/server/chunks/3879.js +1 -0
  571. package/app/.next-cli-build/server/chunks/3901.js +1 -0
  572. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  573. package/app/.next-cli-build/server/chunks/3962.js +1 -1
  574. package/app/.next-cli-build/server/chunks/4037.js +1 -1
  575. package/app/.next-cli-build/server/chunks/4049.js +1 -1
  576. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  577. package/app/.next-cli-build/server/chunks/4152.js +1 -0
  578. package/app/.next-cli-build/server/chunks/4293.js +1 -1
  579. package/app/.next-cli-build/server/chunks/436.js +1 -0
  580. package/app/.next-cli-build/server/chunks/4755.js +1 -0
  581. package/app/.next-cli-build/server/chunks/4840.js +1 -0
  582. package/app/.next-cli-build/server/chunks/4862.js +1 -0
  583. package/app/.next-cli-build/server/chunks/4985.js +1 -1
  584. package/app/.next-cli-build/server/chunks/5182.js +1 -1
  585. package/app/.next-cli-build/server/chunks/5217.js +2 -2
  586. package/app/.next-cli-build/server/chunks/{318.js → 5330.js} +11 -11
  587. package/app/.next-cli-build/server/chunks/5433.js +1 -1
  588. package/app/.next-cli-build/server/chunks/{8363.js → 5485.js} +1 -1
  589. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  590. package/app/.next-cli-build/server/chunks/5615.js +3 -3
  591. package/app/.next-cli-build/server/chunks/5781.js +2 -2
  592. package/app/.next-cli-build/server/chunks/595.js +1 -1
  593. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  594. package/app/.next-cli-build/server/chunks/615.js +1 -1
  595. package/app/.next-cli-build/server/chunks/6212.js +1 -1
  596. package/app/.next-cli-build/server/chunks/6306.js +1 -1
  597. package/app/.next-cli-build/server/chunks/6326.js +1 -1
  598. package/app/.next-cli-build/server/chunks/6457.js +2 -2
  599. package/app/.next-cli-build/server/chunks/653.js +1 -1
  600. package/app/.next-cli-build/server/chunks/6844.js +1 -1
  601. package/app/.next-cli-build/server/chunks/6871.js +1 -0
  602. package/app/.next-cli-build/server/chunks/6960.js +7 -0
  603. package/app/.next-cli-build/server/chunks/7239.js +2 -2
  604. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  605. package/app/.next-cli-build/server/chunks/7322.js +2 -2
  606. package/app/.next-cli-build/server/chunks/7774.js +3 -3
  607. package/app/.next-cli-build/server/chunks/7805.js +24 -0
  608. package/app/.next-cli-build/server/chunks/7843.js +51 -0
  609. package/app/.next-cli-build/server/chunks/8145.js +1 -1
  610. package/app/.next-cli-build/server/chunks/8410.js +1 -0
  611. package/app/.next-cli-build/server/chunks/8499.js +5 -55
  612. package/app/.next-cli-build/server/chunks/8546.js +1 -0
  613. package/app/.next-cli-build/server/chunks/8635.js +3 -0
  614. package/app/.next-cli-build/server/chunks/869.js +1 -1
  615. package/app/.next-cli-build/server/chunks/877.js +65 -0
  616. package/app/.next-cli-build/server/chunks/8838.js +1 -1
  617. package/app/.next-cli-build/server/chunks/8895.js +9 -7
  618. package/app/.next-cli-build/server/chunks/8990.js +1 -0
  619. package/app/.next-cli-build/server/chunks/937.js +1 -0
  620. package/app/.next-cli-build/server/chunks/939.js +1 -0
  621. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  622. package/app/.next-cli-build/server/chunks/9679.js +1 -0
  623. package/app/.next-cli-build/server/chunks/9713.js +1 -0
  624. package/app/.next-cli-build/server/instrumentation.js +1 -1
  625. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  626. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  627. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  628. package/app/.next-cli-build/server/middleware.js +8 -8
  629. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  630. package/app/.next-cli-build/server/pages/404.html +1 -1
  631. package/app/.next-cli-build/server/pages/500.html +1 -1
  632. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  633. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  634. package/app/.next-cli-build/static/ZVF_AsRusUqo_O-OyJWPo/_buildManifest.js +1 -0
  635. package/app/.next-cli-build/static/chunks/1243-220f1fd87235cb92.js +3 -0
  636. package/app/.next-cli-build/static/chunks/1321-ad1ba3dfb4f417dd.js +1 -0
  637. package/app/.next-cli-build/static/chunks/1728-9783950fd2b6ad81.js +65 -0
  638. package/app/.next-cli-build/static/chunks/3170-8dc71548e5b2cbf9.js +1 -0
  639. package/app/.next-cli-build/static/chunks/5497-8b67dd598415a05b.js +7 -0
  640. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-05baf24fe36fbd8f.js → page-5d45a84bf4178e23.js} +1 -1
  641. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-272386fb26fd75c3.js → page-d9b185c845eb0735.js} +1 -1
  642. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-f098adefd36910e1.js → page-baf9fb2b236ff509.js} +1 -1
  643. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-395c2359af9bc2a9.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-cfdc0f6cf601fb4f.js → page-30c02c5c5eefddbd.js} +1 -1
  645. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-c748c385fd4207db.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-df8dac9c150f9f1e.js +59 -0
  647. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-23a27239721d0c86.js → page-502e7efb917191b9.js} +1 -1
  648. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-11b1e63e5750aa80.js → page-244f4c72b60bf0a0.js} +2 -2
  649. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-fa0de4d9f54eb3ef.js → page-720b5ab2e46fc6bb.js} +1 -1
  650. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-d4b67cdea67b89d0.js → page-12cb89849a36b78d.js} +1 -1
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-6abbed908eb3721a.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-d8fb1a26657cc67f.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f9d2dd98fde8ba67.js +14 -0
  654. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-a04315501559f028.js → page-40e882239717e69f.js} +1 -1
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-c1757ed34595dcdb.js → page-e5e78bb5f4aa4063.js} +1 -1
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-46d86481868d6900.js → page-4f50d3385b23743f.js} +1 -1
  657. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-895a59d896e1399c.js → page-5f5434b22c7f7b73.js} +1 -1
  658. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-7b9bde3902dca2bb.js → page-1ce31613b04ec926.js} +1 -1
  659. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-e16aaf24dc525a49.js → page-6a0eb15b8664e682.js} +1 -1
  660. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-d17ab83ab811a84c.js → page-27bf96f0f2568f09.js} +1 -1
  661. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-346541a45bcf828f.js → page-b2a5c4828ff3f6e0.js} +1 -1
  662. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-f3c3284e4b3cb324.js → page-a442053054654766.js} +1 -1
  663. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-a52d19cb5aacd04f.js → layout-158175db070fe14c.js} +1 -1
  664. package/app/.next-cli-build/static/chunks/app/_global-error/page-73a852c9be713797.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-73a852c9be713797.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-73a852c9be713797.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-73a852c9be713797.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-73a852c9be713797.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-73a852c9be713797.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-73a852c9be713797.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-73a852c9be713797.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-73a852c9be713797.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-73a852c9be713797.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-73a852c9be713797.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-73a852c9be713797.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/auth/verify-password/route-73a852c9be713797.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-73a852c9be713797.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-73a852c9be713797.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-73a852c9be713797.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-73a852c9be713797.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-73a852c9be713797.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-73a852c9be713797.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-73a852c9be713797.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-73a852c9be713797.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-73a852c9be713797.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-73a852c9be713797.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-73a852c9be713797.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-73a852c9be713797.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-73a852c9be713797.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-73a852c9be713797.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-73a852c9be713797.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-73a852c9be713797.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-73a852c9be713797.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-73a852c9be713797.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-73a852c9be713797.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-73a852c9be713797.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/combos/route-73a852c9be713797.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-73a852c9be713797.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-73a852c9be713797.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-73a852c9be713797.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-73a852c9be713797.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-73a852c9be713797.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-73a852c9be713797.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/health/route-73a852c9be713797.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/init/route-73a852c9be713797.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-73a852c9be713797.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/keys/rotate/route-73a852c9be713797.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/keys/route-73a852c9be713797.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/locale/route-73a852c9be713797.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-73a852c9be713797.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-73a852c9be713797.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-73a852c9be713797.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-73a852c9be713797.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-73a852c9be713797.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-73a852c9be713797.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-73a852c9be713797.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-73a852c9be713797.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-73a852c9be713797.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/models/custom/bulk/route-73a852c9be713797.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-73a852c9be713797.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-73a852c9be713797.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/models/route-73a852c9be713797.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/models/test/route-73a852c9be713797.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-73a852c9be713797.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-73a852c9be713797.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-73a852c9be713797.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-73a852c9be713797.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-73a852c9be713797.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-73a852c9be713797.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-73a852c9be713797.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-73a852c9be713797.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-73a852c9be713797.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-73a852c9be713797.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-73a852c9be713797.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-73a852c9be713797.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-73a852c9be713797.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-73a852c9be713797.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-73a852c9be713797.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-73a852c9be713797.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/export/route-73a852c9be713797.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/import/route-73a852c9be713797.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-73a852c9be713797.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-73a852c9be713797.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/pricing/route-73a852c9be713797.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-73a852c9be713797.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-73a852c9be713797.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-73a852c9be713797.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-73a852c9be713797.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-73a852c9be713797.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-73a852c9be713797.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-73a852c9be713797.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-73a852c9be713797.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-73a852c9be713797.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/providers/route-73a852c9be713797.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-73a852c9be713797.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-73a852c9be713797.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-73a852c9be713797.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-73a852c9be713797.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-73a852c9be713797.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-73a852c9be713797.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-73a852c9be713797.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-73a852c9be713797.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-73a852c9be713797.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-73a852c9be713797.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-73a852c9be713797.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-73a852c9be713797.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-73a852c9be713797.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-73a852c9be713797.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-73a852c9be713797.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-73a852c9be713797.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-73a852c9be713797.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-73a852c9be713797.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-73a852c9be713797.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-73a852c9be713797.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-73a852c9be713797.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/settings/route-73a852c9be713797.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-73a852c9be713797.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tags/route-73a852c9be713797.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-73a852c9be713797.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-73a852c9be713797.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-73a852c9be713797.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-73a852c9be713797.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-73a852c9be713797.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-73a852c9be713797.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-73a852c9be713797.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-73a852c9be713797.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-73a852c9be713797.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-73a852c9be713797.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-73a852c9be713797.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-73a852c9be713797.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-73a852c9be713797.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-73a852c9be713797.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-73a852c9be713797.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-73a852c9be713797.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-73a852c9be713797.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-73a852c9be713797.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-73a852c9be713797.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-73a852c9be713797.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-73a852c9be713797.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-73a852c9be713797.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-73a852c9be713797.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-73a852c9be713797.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-73a852c9be713797.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-73a852c9be713797.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-73a852c9be713797.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-73a852c9be713797.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-73a852c9be713797.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-73a852c9be713797.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-73a852c9be713797.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-73a852c9be713797.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-73a852c9be713797.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-73a852c9be713797.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-73a852c9be713797.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-73a852c9be713797.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-73a852c9be713797.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1/route-73a852c9be713797.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-73a852c9be713797.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-73a852c9be713797.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-73a852c9be713797.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-73a852c9be713797.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-73a852c9be713797.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-73a852c9be713797.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-73a852c9be713797.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-73a852c9be713797.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/version/route-73a852c9be713797.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-73a852c9be713797.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/version/update/route-73a852c9be713797.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/landing/page-da7215e0796dbf9b.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/login/{page-f3c1df1fc132afda.js → page-0da5fcc5d841cbb9.js} +1 -1
  830. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-73a852c9be713797.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/page-73a852c9be713797.js +1 -0
  832. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-73a852c9be713797.js +1 -0
  833. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-73a852c9be713797.js +1 -0
  834. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-73a852c9be713797.js +1 -0
  835. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-73a852c9be713797.js +1 -0
  836. package/app/.next-cli-build/static/chunks/{webpack-f52125609b4734b6.js → webpack-77a7ed7beb6725df.js} +1 -1
  837. package/app/.next-cli-build/static/css/adecbbef384db8e1.css +1 -0
  838. package/app/custom-server.js +177 -167
  839. package/app/package.json +6 -3
  840. package/app/public/i18n/changelog/en.md +203 -133
  841. package/app/public/i18n/changelog/zh-CN.md +201 -131
  842. package/app/public/i18n/changelog/zh-TW.md +203 -133
  843. package/app/public/i18n/literals/zh-CN.json +182 -5
  844. package/app/public/i18n/literals/zh-TW.json +229 -2
  845. package/app/public/providers/amd.png +0 -0
  846. package/app/public/providers/xiaomi-mimo.png +0 -0
  847. package/app/src/lib/consoleArchiveStandalone.mjs +73 -0
  848. package/app/src/lib/oauth/providers/xiaomi-mimo.js +169 -0
  849. package/app/src/mitm/server.js +23 -23
  850. package/app/src/shared/utils/apiKey.js +82 -24
  851. package/app/src/sse/services/codebuddyCheckin.js +308 -54
  852. package/package.json +52 -52
  853. package/app/.next-cli-build/server/app/api/providers/[id]/json-models/route.js +0 -1
  854. package/app/.next-cli-build/server/app/api/providers/[id]/json-models/route_client-reference-manifest.js +0 -1
  855. package/app/.next-cli-build/server/chunks/1564.js +0 -1
  856. package/app/.next-cli-build/server/chunks/1636.js +0 -1
  857. package/app/.next-cli-build/server/chunks/295.js +0 -1
  858. package/app/.next-cli-build/server/chunks/3212.js +0 -1
  859. package/app/.next-cli-build/server/chunks/412.js +0 -7
  860. package/app/.next-cli-build/server/chunks/4665.js +0 -65
  861. package/app/.next-cli-build/server/chunks/6877.js +0 -1
  862. package/app/.next-cli-build/server/chunks/7211.js +0 -1
  863. package/app/.next-cli-build/server/chunks/7598.js +0 -1
  864. package/app/.next-cli-build/server/chunks/7913.js +0 -92
  865. package/app/.next-cli-build/server/chunks/8444.js +0 -3
  866. package/app/.next-cli-build/server/chunks/9140.js +0 -29
  867. package/app/.next-cli-build/server/chunks/9463.js +0 -1
  868. package/app/.next-cli-build/static/aKCEN8jaWm631dVqBrSte/_buildManifest.js +0 -1
  869. package/app/.next-cli-build/static/chunks/1243-53ff028412802304.js +0 -3
  870. package/app/.next-cli-build/static/chunks/1321-a54e76efdf16ea12.js +0 -1
  871. package/app/.next-cli-build/static/chunks/4614-de3422f98b83f305.js +0 -65
  872. package/app/.next-cli-build/static/chunks/5242-bb1a1a7ec3bfb62f.js +0 -1
  873. package/app/.next-cli-build/static/chunks/5497-cd84151680071f1d.js +0 -7
  874. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-1049c48c632926aa.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-36c5d10e7c244d2d.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-b475f81b3d89c963.js +0 -59
  877. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-237c096548d0981d.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-75cd720b6edf6d23.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d3c784cd4a50bef9.js +0 -14
  880. package/app/.next-cli-build/static/chunks/app/_global-error/page-610e2a51edf6ccba.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-610e2a51edf6ccba.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-610e2a51edf6ccba.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-610e2a51edf6ccba.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-610e2a51edf6ccba.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-610e2a51edf6ccba.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-610e2a51edf6ccba.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-610e2a51edf6ccba.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-610e2a51edf6ccba.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-610e2a51edf6ccba.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-610e2a51edf6ccba.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-610e2a51edf6ccba.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-610e2a51edf6ccba.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-610e2a51edf6ccba.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-610e2a51edf6ccba.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-610e2a51edf6ccba.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-610e2a51edf6ccba.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-610e2a51edf6ccba.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-610e2a51edf6ccba.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-610e2a51edf6ccba.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-610e2a51edf6ccba.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-610e2a51edf6ccba.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-610e2a51edf6ccba.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-610e2a51edf6ccba.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-610e2a51edf6ccba.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-610e2a51edf6ccba.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-610e2a51edf6ccba.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-610e2a51edf6ccba.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-610e2a51edf6ccba.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-610e2a51edf6ccba.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-610e2a51edf6ccba.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-610e2a51edf6ccba.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/combos/route-610e2a51edf6ccba.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-610e2a51edf6ccba.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-610e2a51edf6ccba.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-610e2a51edf6ccba.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-610e2a51edf6ccba.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-610e2a51edf6ccba.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-610e2a51edf6ccba.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/health/route-610e2a51edf6ccba.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/init/route-610e2a51edf6ccba.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-610e2a51edf6ccba.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/keys/route-610e2a51edf6ccba.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/locale/route-610e2a51edf6ccba.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-610e2a51edf6ccba.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-610e2a51edf6ccba.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-610e2a51edf6ccba.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-610e2a51edf6ccba.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-610e2a51edf6ccba.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-610e2a51edf6ccba.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-610e2a51edf6ccba.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-610e2a51edf6ccba.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-610e2a51edf6ccba.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-610e2a51edf6ccba.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-610e2a51edf6ccba.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/models/route-610e2a51edf6ccba.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/models/test/route-610e2a51edf6ccba.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-610e2a51edf6ccba.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-610e2a51edf6ccba.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-610e2a51edf6ccba.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-610e2a51edf6ccba.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-610e2a51edf6ccba.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-610e2a51edf6ccba.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-610e2a51edf6ccba.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-610e2a51edf6ccba.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-610e2a51edf6ccba.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-610e2a51edf6ccba.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-610e2a51edf6ccba.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-610e2a51edf6ccba.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-610e2a51edf6ccba.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-610e2a51edf6ccba.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-610e2a51edf6ccba.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-610e2a51edf6ccba.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/pricing/route-610e2a51edf6ccba.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-610e2a51edf6ccba.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-610e2a51edf6ccba.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-610e2a51edf6ccba.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/json-models/route-610e2a51edf6ccba.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-610e2a51edf6ccba.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-610e2a51edf6ccba.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-610e2a51edf6ccba.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-610e2a51edf6ccba.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-610e2a51edf6ccba.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-610e2a51edf6ccba.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/providers/route-610e2a51edf6ccba.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-610e2a51edf6ccba.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-610e2a51edf6ccba.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-610e2a51edf6ccba.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-610e2a51edf6ccba.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-610e2a51edf6ccba.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-610e2a51edf6ccba.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-610e2a51edf6ccba.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-610e2a51edf6ccba.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-610e2a51edf6ccba.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-610e2a51edf6ccba.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-610e2a51edf6ccba.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-610e2a51edf6ccba.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-610e2a51edf6ccba.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-610e2a51edf6ccba.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-610e2a51edf6ccba.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-610e2a51edf6ccba.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-610e2a51edf6ccba.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-610e2a51edf6ccba.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-610e2a51edf6ccba.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-610e2a51edf6ccba.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-610e2a51edf6ccba.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/settings/route-610e2a51edf6ccba.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-610e2a51edf6ccba.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/tags/route-610e2a51edf6ccba.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-610e2a51edf6ccba.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-610e2a51edf6ccba.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-610e2a51edf6ccba.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-610e2a51edf6ccba.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-610e2a51edf6ccba.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-610e2a51edf6ccba.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-610e2a51edf6ccba.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-610e2a51edf6ccba.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-610e2a51edf6ccba.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-610e2a51edf6ccba.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-610e2a51edf6ccba.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-610e2a51edf6ccba.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-610e2a51edf6ccba.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-610e2a51edf6ccba.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-610e2a51edf6ccba.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-610e2a51edf6ccba.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-610e2a51edf6ccba.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-610e2a51edf6ccba.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-610e2a51edf6ccba.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-610e2a51edf6ccba.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-610e2a51edf6ccba.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-610e2a51edf6ccba.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-610e2a51edf6ccba.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-610e2a51edf6ccba.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-610e2a51edf6ccba.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-610e2a51edf6ccba.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-610e2a51edf6ccba.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-610e2a51edf6ccba.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-610e2a51edf6ccba.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-610e2a51edf6ccba.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-610e2a51edf6ccba.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-610e2a51edf6ccba.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-610e2a51edf6ccba.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-610e2a51edf6ccba.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-610e2a51edf6ccba.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-610e2a51edf6ccba.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-610e2a51edf6ccba.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/v1/route-610e2a51edf6ccba.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-610e2a51edf6ccba.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-610e2a51edf6ccba.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-610e2a51edf6ccba.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-610e2a51edf6ccba.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-610e2a51edf6ccba.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-610e2a51edf6ccba.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-610e2a51edf6ccba.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-610e2a51edf6ccba.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/version/route-610e2a51edf6ccba.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-610e2a51edf6ccba.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/version/update/route-610e2a51edf6ccba.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/landing/page-abe5fbd51346146f.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-610e2a51edf6ccba.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/page-610e2a51edf6ccba.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-610e2a51edf6ccba.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-610e2a51edf6ccba.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-610e2a51edf6ccba.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-610e2a51edf6ccba.js +0 -1
  1045. package/app/.next-cli-build/static/css/87048d3b7e880a4f.css +0 -1
  1046. package/app/public/providers/apinex.png +0 -0
  1047. /package/app/.next-cli-build/static/{aKCEN8jaWm631dVqBrSte → ZVF_AsRusUqo_O-OyJWPo}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(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\\\\profile\\\\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\\profile\\page.js","default")},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")},59562:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},61377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p});var d=c(48249),e=c(67484),f=c(50412),g=c(95145),h=c(267),i=c(42118),j=c(71404),k=c(12020),l=c(51126),m=c(818),n=c(79750),o=c(99258);function p(){let{theme:a,setTheme:b,isDark:c}=(0,i.D)(),[p,q]=(0,e.useState)(()=>(function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${l.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,l.QC)(b)})()),[r,s]=(0,e.useState)(!0),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)({fallbackStrategy:"fill-first"}),[B,C]=(0,e.useState)(!0),[D,E]=(0,e.useState)({current:"",new:"",confirm:""}),[F,G]=(0,e.useState)({type:"",message:""}),[H,I]=(0,e.useState)(!1),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)({type:"",message:""}),[N,O]=(0,e.useState)({open:!1,mode:"",password:""}),P=(0,e.useRef)(null),[Q,R]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[S,T]=(0,e.useState)(""),[U,V]=(0,e.useState)({type:"",message:""}),[W,X]=(0,e.useState)(!1),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)({type:"",message:""}),[aa,ab]=(0,e.useState)(!1),ac="/api/auth/saml/acs",ad="/api/auth/saml/metadata",[ae,af]=(0,e.useState)("saml"),[ag,ah]=(0,e.useState)({samlEntryPoint:"",samlIssuer:"urn:10router:sp",samlCert:"",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[ai,aj]=(0,e.useState)({type:"",message:""}),[ak,al]=(0,e.useState)(!1),[am,an]=(0,e.useState)(!1),[ao,ap]=(0,e.useState)({type:"",message:""}),[aq,ar]=(0,e.useState)(!1),as=(0,e.useRef)(null),at=(0,e.useRef)(null),au=(0,e.useRef)(null),av=(0,e.useRef)(null),aw=(0,e.useRef)(null),[ax,ay]=(0,e.useState)({type:"",message:""}),[az,aA]=(0,e.useState)(!1),[aB,aC]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aD,aE]=(0,e.useState)({type:"",message:""}),[aF,aG]=(0,e.useState)(!1),[aH,aI]=(0,e.useState)(!1),[aJ,aK]=(0,e.useState)(!1),aL=async()=>{let a=!0!==z.modelJsonImport;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({modelJsonImport:a})}),c=await b.json();b.ok&&A(a=>({...a,...c}))}catch(a){console.log("Error toggling model JSON import:",a)}},aM=async()=>{let a=!0!==z.providerDisabledLastSort;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerDisabledLastSort:a})}),c=await b.json();b.ok&&A(a=>({...a,...c}))}catch(a){console.log("Error toggling provider disabled-last sort:",a)}},aN=async()=>{let a=!1===z.showCommunityProviders;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({showCommunityProviders:a})}),c=await b.json();b.ok&&A(a=>({...a,...c}))}catch(a){console.log("Error toggling show-community-providers:",a)}},aO=async()=>{let a=!0!==z.codeBuddyOAuthImport;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({codeBuddyOAuthImport:a})}),c=await b.json();b.ok&&A(a=>({...a,...c}))}catch(a){console.log("Error toggling codebuddy OAuth import:",a)}},aP=async()=>{let a=!0!==z.codeBuddyCheckin;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({codeBuddyCheckin:a})}),c=await b.json();b.ok&&A(a=>({...a,...c}))}catch(a){console.log("Error toggling codebuddy auto check-in:",a)}},aQ=async a=>{if(a.preventDefault(),!0===z.outboundProxyEnabled){aG(!0),aE({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:aB.outboundProxyUrl,outboundNoProxy:aB.outboundNoProxy})}),b=await a.json();a.ok?(A(a=>({...a,...b})),aE({type:"success",message:"Proxy settings applied"})):aE({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){aE({type:"error",message:"An error occurred"})}finally{aG(!1)}}},aR=async()=>{if(!0!==z.outboundProxyEnabled)return;let a=(aB.outboundProxyUrl||"").trim();if(!a)return void aE({type:"error",message:"Please enter a Proxy URL to test"});aI(!0),aE({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?aE({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):aE({type:"error",message:c?.error||"Proxy test failed"})}catch(a){aE({type:"error",message:"An error occurred"})}finally{aI(!1)}},aS=async a=>{aG(!0),aE({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(A(a=>({...a,...c})),aC(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),aE({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):aE({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){aE({type:"error",message:"An error occurred"})}finally{aG(!1)}},aT=async a=>{if(a.preventDefault(),D.new!==D.confirm)return void G({type:"error",message:"Passwords do not match"});I(!0),G({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:D.current,newPassword:D.new})}),b=await a.json();a.ok?(G({type:"success",message:"Password updated successfully"}),E({current:"",new:"",confirm:""})):G({type:"error",message:b.error||"Failed to update password"})}catch(a){G({type:"error",message:"An error occurred"})}finally{I(!1)}},aU=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&A(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},aV=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&A(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},aW=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&A(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},aX=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&A(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},aY=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&A(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},aZ=(a,b)=>{R(c=>({...c,[a]:b}))},a$=async(a=Q.authMode||"password")=>{let b=Q.oidcIssuerUrl.trim(),c=Q.oidcClientId.trim(),d=Q.oidcScopes.trim(),e=Q.oidcLoginLabel.trim(),f=S.trim();if("password"!==a&&(!b||!c||!f)&&!z.oidcConfigured)return void V({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});X(!0),V({type:"",message:""}),_({type:"",message:""});try{let g={authMode:a,ssoType:"oidc",oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(A(a=>({...a,...i})),R({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),T(""),V({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):V({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){V({type:"error",message:"An error occurred"})}finally{X(!1)}},a_=async()=>{let a=Q.oidcIssuerUrl.trim(),b=Q.oidcClientId.trim(),c=Q.oidcScopes.trim(),d=S.trim();if(!a||!b)return void _({type:"error",message:"Issuer URL and client ID are required to test the connection."});Z(!0),V({type:"",message:""}),_({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:Q.authMode||z.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:Q.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void _({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;_({type:"success",message:a})}else _({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){_({type:"error",message:"An error occurred"})}finally{Z(!1)}},a0=(a,b)=>{ah(c=>({...c,[a]:b}))},a1=async(a=Q.authMode||"password")=>{al(!0),aj({type:"",message:""}),ap({type:"",message:""});try{let b={authMode:a,ssoType:"saml",samlEntryPoint:ag.samlEntryPoint.trim(),samlIssuer:ag.samlIssuer.trim()||"urn:10router:sp",samlCert:ag.samlCert.trim(),samlLoginLabel:ag.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:ag.samlAttributeEmail.trim()||"email",samlAttributeName:ag.samlAttributeName.trim()||"name"},c=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json();c.ok?(A(a=>({...a,...d})),ah({samlEntryPoint:d?.samlEntryPoint||b.samlEntryPoint,samlIssuer:d?.samlIssuer||b.samlIssuer,samlCert:d?.samlCert||b.samlCert,samlLoginLabel:d?.samlLoginLabel||b.samlLoginLabel,samlAttributeEmail:d?.samlAttributeEmail||b.samlAttributeEmail,samlAttributeName:d?.samlAttributeName||b.samlAttributeName}),aj({type:"success",message:"sso"===a||"saml"===a?"SAML SSO login enabled":"both"===a?"Password and SAML SSO login enabled":"SAML 2.0 settings saved"})):aj({type:"error",message:d.error||"Failed to save SAML settings"})}catch{aj({type:"error",message:"An error occurred while saving SAML settings"})}finally{al(!1)}},a2=async()=>{an(!0),aj({type:"",message:""}),ap({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:ag.samlEntryPoint.trim(),samlIssuer:ag.samlIssuer.trim(),samlCert:ag.samlCert.trim()})}),b=await a.json();a.ok&&b.ok?ap({type:"success",message:b.message||"SAML configuration verified!"}):ap({type:"error",message:b.error||"SAML configuration test failed"})}catch{ap({type:"error",message:"An error occurred while testing SAML configuration"})}finally{an(!1)}},a3=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&A(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},a4=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();A(b)}catch(a){console.error("Failed to reload settings:",a)}},a5=async a=>{K(!0),M({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`10router-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),M({type:"success",message:"Database backup downloaded"})}catch(a){M({type:"error",message:a.message||"Failed to export database"})}finally{K(!1)}},a6=async(a,b=null)=>{aA(!0),ay({type:"",message:""});try{let c=new FormData;c.append("file",a);let d=await fetch("/api/settings/database/import-usage",{method:"POST",body:c,...b?{headers:{"x-9r-password":b}}:{}}),e=await d.json();if(!d.ok){if(401===d.status&&!b){aw.current=a,O({open:!0,mode:"usage-import",password:""});return}throw Error(e.error||"Failed to import usage")}ay({type:"success",message:`${(0,o.Tl)("Imported")} ${e.imported} ${(0,o.Tl)("usage records")} (${(0,o.Tl)("skipped")} ${e.skipped}, ${(0,o.Tl)("total")} ${e.total})`})}catch(a){ay({type:"error",message:a.message||"Failed to import usage"})}finally{aA(!1)}},a7=async a=>{let b=P.current;if(b){K(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await a4(),M({type:"success",message:"Database imported successfully"})}catch(a){M({type:"error",message:a.message||"Invalid backup file"})}finally{P.current=null,K(!1)}}},a8=async()=>{let{mode:a,password:b}=N;if(O({open:!1,mode:"",password:""}),"export"===a)await a5(b);else if("import"===a)await a7(b);else if("usage-import"===a){let a=aw.current;aw.current=null,a&&await a6(a,b)}},a9=!0===z.enableObservability,ba=async()=>{y(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}y(!1),w(!1)},bb=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&window.location.assign("/login")}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(c=>(0,d.jsxs)("button",{type:"button",onClick:()=>b(c),className:(0,j.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",a===c?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===c?"light_mode":"dark"===c?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:c})]},c))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.10router/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(f.$n,{variant:"secondary",icon:"download",onClick:()=>O({open:!0,mode:"export",password:""}),loading:J,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(f.$n,{variant:"outline",icon:"upload",onClick:()=>au.current?.click(),disabled:J,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)(f.$n,{variant:"outline",icon:"history",onClick:()=>av.current?.click(),loading:az,className:"w-full sm:w-auto",children:(0,o.Tl)("Import Usage")}),(0,d.jsx)("input",{ref:au,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];au.current&&(au.current.value=""),b&&(P.current=b,M({type:"",message:""}),O({open:!0,mode:"import",password:""}))}}),(0,d.jsx)("input",{ref:av,type:"file",accept:".sqlite,.db",className:"hidden",onChange:a=>{let b=a.target.files?.[0];av.current&&(av.current.value=""),b&&(/\.(sqlite|sqlite3|db)$/i.test(b.name)||"application/x-sqlite3"===b.type||"application/vnd.sqlite3"===b.type||"application/octet-stream"===b.type?a6(b):ay({type:"error",message:(0,o.Tl)("Only SQLite database files (.sqlite/.db) can be imported")}))}})]}),L.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===L.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:L.message}),ax.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===ax.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:ax.message})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Language")})]}),(0,d.jsxs)("button",{onClick:()=>u(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:(0,o.Tl)("Display language")}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[p]||"\uD83C\uDF10"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-4 mt-3 p-3 rounded-lg bg-bg border border-border",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:(0,o.Tl)("Regional currency")}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Show costs in local currency (\xa5/NT$/₩/₫); off → $"})]}),(0,d.jsx)(f.lM,{checked:r,onChange:()=>{let a=!(0,n.i)();"u">typeof localStorage&&localStorage.setItem("useRegionalCurrency",a?"1":"0"),s(a)}})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Security")})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("Require login")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,o.Tl)("When ON, dashboard requires password. When OFF, access without login.")})]}),(0,d.jsx)(f.lM,{checked:!0===z.requireLogin,onChange:()=>aY(!z.requireLogin),disabled:B})]}),!0===z.requireLogin&&(0,d.jsxs)("form",{onSubmit:aT,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[z.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Enter current password",value:D.current,onChange:a=>E({...D,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Enter new password",value:D.new,onChange:a=>E({...D,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Confirm new password",value:D.confirm,onChange:a=>E({...D,confirm:a.target.value}),required:!0})]})]}),F.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===F.type?"text-red-500":"text-green-500"}`,children:F.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(f.$n,{type:"submit",variant:"primary",loading:H,className:"w-full sm:w-auto",children:z.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>ab(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Single Sign-On (SSO)")}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"sso"===z.authMode||"oidc"===z.authMode||"saml"===z.authMode?`${"saml"===z.ssoType?"SAML 2.0":"OIDC"} SSO active`:"both"===z.authMode?`Password + ${"saml"===z.ssoType?"SAML 2.0":"OIDC"} active`:"Optional SSO via Okta, Entra ID, Keycloak, or OIDC"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:aa?"expand_less":"expand_more"})]}),aa&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,o.Tl)("Configure enterprise Single Sign-On (SSO) for dashboard access using SAML 2.0 or OIDC.")}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SSO Protocol"}),(0,d.jsxs)("div",{className:"flex p-1 rounded-lg bg-black/5 dark:bg-white/5 border border-border",children:[(0,d.jsx)("button",{type:"button",onClick:()=>af("saml"),className:(0,j.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","saml"===ae?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:"SAML 2.0"}),(0,d.jsx)("button",{type:"button",onClick:()=>af("oidc"),className:(0,j.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","oidc"===ae?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:"OIDC"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep legacy password login."},{value:"sso",title:`${"saml"===ae?"SAML":"OIDC"} only`,desc:"Require SSO for dashboard access."},{value:"both",title:"Both",desc:"Allow password or SSO login."}].map(a=>{let b=Q.authMode,c="password"===a.value?"password"===b:"sso"===a.value?"sso"===b||"saml"===b||"oidc"===b:"both"===b;return(0,d.jsxs)("button",{type:"button",onClick:()=>aZ("authMode",a.value),className:(0,j.cn)("text-left rounded-lg border p-3 transition-colors",c?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:B||W||ak,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),"saml"===ae?(0,d.jsxs)("div",{className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg/80 overflow-hidden",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>ar(a=>!a),className:"w-full p-3 flex items-center justify-between gap-2 text-left hover:bg-surface/50 transition-colors",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary text-lg",children:"menu_book"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-semibold text-xs sm:text-sm text-text-main",children:"IdP Setup Guidelines & Provider Configuration Instructions"}),(0,d.jsx)("p",{className:"text-[11px] text-text-muted",children:"Click to view setup steps for AWS IAM Identity Center, Okta, Entra ID, Keycloak, & Authentik"})]})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted transition-transform text-lg",style:{transform:aq?"rotate(180deg)":"none"},children:"expand_more"})]}),aq&&(0,d.jsxs)("div",{className:"p-4 border-t border-border bg-surface/30 text-xs text-text-main flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"p-2.5 rounded border border-primary/20 bg-primary/5 text-primary text-xs",children:[(0,d.jsx)("p",{className:"font-semibold mb-1",children:"\uD83D\uDD11 Required Service Provider (SP) Values for your IdP Setup:"}),(0,d.jsxs)("ul",{className:"list-disc pl-4 space-y-1 font-mono text-[11px]",children:[(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Assertion Consumer Service (ACS) URL:"})," ",(0,d.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded break-all",children:ac})]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"SP Entity ID / Audience URI:"})," ",(0,d.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded break-all",children:ag.samlIssuer||"urn:10router:sp"})]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"NameID Format:"})," ",(0,d.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded",children:"EmailAddress"})," or ",(0,d.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded",children:"Unspecified"})]})]})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 pt-1",children:[(0,d.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,d.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,d.jsx)("span",{children:"☁️"})," AWS IAM Identity Center"]}),(0,d.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,d.jsxs)("li",{children:["Applications → ",(0,d.jsx)("b",{children:"Add application"})," → Select ",(0,d.jsx)("b",{children:"Add custom SAML 2.0 application"}),"."]}),(0,d.jsxs)("li",{children:["Set ",(0,d.jsx)("b",{children:"Application ACS URL"})," to ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ac}),"."]}),(0,d.jsxs)("li",{children:["Set ",(0,d.jsx)("b",{children:"Application SAML audience"})," to ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ag.samlIssuer||"urn:10router:sp"}),"."]}),(0,d.jsxs)("li",{children:["Under ",(0,d.jsx)("i",{children:"Attribute mappings"}),", map ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:"Subject"})," or ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:"email"})," to ",(0,d.jsxs)("code",{className:"text-text-main font-mono",children:["$","{user:email}"]}),"."]}),(0,d.jsxs)("li",{children:["Download ",(0,d.jsx)("b",{children:"IAM Identity Center SAML metadata XML"})," file and use 1-Click Import below!"]})]})]}),(0,d.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,d.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,d.jsx)("span",{children:"\uD83D\uDD37"})," Microsoft Entra ID (Azure AD)"]}),(0,d.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,d.jsxs)("li",{children:["Enterprise Applications → ",(0,d.jsx)("b",{children:"New application"})," → ",(0,d.jsx)("b",{children:"Create your own application"}),"."]}),(0,d.jsxs)("li",{children:["Select ",(0,d.jsx)("b",{children:"Single sign-on"})," → ",(0,d.jsx)("b",{children:"SAML"}),"."]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Identifier (Entity ID):"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ag.samlIssuer||"urn:10router:sp"})]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Reply URL (ACS):"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ac})]}),(0,d.jsxs)("li",{children:["Download ",(0,d.jsx)("b",{children:"Federation Metadata XML"})," and import or copy X.509 Certificate."]})]})]}),(0,d.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,d.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,d.jsx)("span",{children:"\uD83D\uDFE2"})," Okta / Auth0"]}),(0,d.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,d.jsxs)("li",{children:["Applications → ",(0,d.jsx)("b",{children:"Create App Integration"})," → Select ",(0,d.jsx)("b",{children:"SAML 2.0"}),"."]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Single Sign-On URL:"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ac})]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Audience URI (SP Entity ID):"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ag.samlIssuer||"urn:10router:sp"})]}),(0,d.jsxs)("li",{children:["Name ID format: ",(0,d.jsx)("i",{children:"EmailAddress"}),"."]}),(0,d.jsx)("li",{children:"Download Identity Provider metadata XML or copy the X.509 cert."})]})]}),(0,d.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,d.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,d.jsx)("span",{children:"\uD83D\uDEE1️"})," Keycloak / Authentik"]}),(0,d.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,d.jsxs)("li",{children:["Clients → ",(0,d.jsx)("b",{children:"Create client"})," → Select ",(0,d.jsx)("b",{children:"SAML"}),"."]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Client ID:"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ag.samlIssuer||"urn:10router:sp"})]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:"Master SAML Processing URL:"})," ",(0,d.jsx)("code",{className:"text-text-main font-mono",children:ac})]}),(0,d.jsx)("li",{children:"Export SAML Descriptor XML or copy IDP Certificate PEM."})]})]})]})]})]}),(0,d.jsxs)("div",{className:"p-3 rounded-lg border border-dashed border-primary/40 bg-primary/5 flex flex-col sm:flex-row sm:items-center justify-between gap-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm text-text-main",children:"1-Click IdP Metadata XML Import"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Auto-fill SSO URL, Issuer & Cert from XML metadata"})]}),(0,d.jsx)(f.$n,{type:"button",variant:"outline",size:"sm",icon:"upload_file",onClick:()=>as.current?.click(),children:"Upload Metadata XML"}),(0,d.jsx)("input",{ref:as,type:"file",accept:".xml,application/xml,text/xml",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(as.current&&(as.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{try{let b=a.target?.result||"",c=new DOMParser().parseFromString(b,"text/xml");if(c.querySelector("parsererror"))return void aj({type:"error",message:"Unable to parse valid SAML IdP metadata from XML file"});let d=c.documentElement.getAttribute("entityID")||"",e=Array.from(c.querySelectorAll("SingleSignOnService, *|SingleSignOnService")),f="";for(let a of e){let b=a.getAttribute("Binding")||"",c=a.getAttribute("Location")||"";if(c&&(f=c,b.includes("HTTP-Redirect")))break}let g=Array.from(c.querySelectorAll("X509Certificate, *|X509Certificate")),h="";g.length>0&&(h=g[0].textContent.trim()),ah(a=>({...a,samlEntryPoint:f||a.samlEntryPoint,samlIssuer:a.samlIssuer||"urn:10router:sp",samlCert:h||a.samlCert})),aj({type:"success",message:`IdP Metadata imported! (SSO URL: ${f?"found":"not found"}, EntityID: ${d?"found":"not found"}, Cert: ${h?"found":"not found"})`})}catch(a){aj({type:"error",message:"Error reading IdP Metadata XML file"})}},c.readAsText(b)}})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Single Sign-On Service URL (samlEntryPoint)"}),(0,d.jsx)(f.pd,{placeholder:"https://idp.example.com/app/saml/sso/...",value:ag.samlEntryPoint,onChange:a=>a0("samlEntryPoint",a.target.value),disabled:B||ak})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SP Entity ID / Audience (samlIssuer)"}),(0,d.jsx)(f.pd,{placeholder:"urn:10router:sp",value:ag.samlIssuer,onChange:a=>a0("samlIssuer",a.target.value),disabled:B||ak})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP X.509 Certificate (samlCert)"}),(0,d.jsx)(f.$n,{type:"button",variant:"outline",size:"sm",icon:"file_upload",onClick:()=>at.current?.click(),children:"Upload Certificate"}),(0,d.jsx)("input",{ref:at,type:"file",accept:".crt,.pem,.cer,text/plain",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(at.current&&(at.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{let b=a.target?.result||"";ah(a=>({...a,samlCert:b.trim()})),aj({type:"success",message:"Certificate file loaded into configuration."})},c.readAsText(b)}})]}),(0,d.jsx)("textarea",{rows:4,placeholder:"-----BEGIN CERTIFICATE-----\nMIIC...\n-----END CERTIFICATE-----",value:ag.samlCert,onChange:a=>a0("samlCert",a.target.value),className:"w-full p-2.5 rounded-lg border border-border bg-bg text-xs font-mono text-text-main focus:outline-none focus:border-primary",disabled:B||ak}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Paste raw Base64 certificate or PEM block."})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(f.pd,{placeholder:"Sign in with SAML SSO",value:ag.samlLoginLabel,onChange:a=>a0("samlLoginLabel",a.target.value),disabled:B||ak})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Email Claim Attribute"}),(0,d.jsx)(f.pd,{placeholder:"email",value:ag.samlAttributeEmail,onChange:a=>a0("samlAttributeEmail",a.target.value),disabled:B||ak})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Display Name Claim"}),(0,d.jsx)(f.pd,{placeholder:"name",value:ag.samlAttributeName,onChange:a=>a0("samlAttributeName",a.target.value),disabled:B||ak})]})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 p-3 rounded-lg border border-border bg-bg text-xs sm:text-sm text-text-muted",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-text-main",children:"ACS Callback URL"}),(0,d.jsx)("code",{className:"block break-all font-mono text-xs",children:ac})]}),(0,d.jsx)(f.$n,{type:"button",variant:"outline",size:"sm",icon:"content_copy",onClick:()=>{navigator.clipboard.writeText(ac),aj({type:"success",message:"ACS URL copied to clipboard!"})},children:"Copy"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-text-main",children:"SP XML Metadata"}),(0,d.jsx)("code",{className:"block break-all font-mono text-xs",children:ad})]}),(0,d.jsxs)("a",{href:ad,target:"_blank",rel:"noopener noreferrer",download:"10router-sp-metadata.xml",className:"inline-flex items-center gap-1 text-xs font-medium text-primary hover:underline",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"download"}),"Download XML"]})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(f.$n,{type:"button",variant:"primary",loading:ak,onClick:()=>a1(Q.authMode),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,d.jsx)(f.$n,{type:"button",variant:"outline",loading:am,onClick:a2,className:"w-full sm:w-auto",children:"Test SAML settings"})]}),ao.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ao.type?"text-red-500":"text-green-500"}`,children:ao.message}),ai.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ai.type?"text-red-500":"text-green-500"}`,children:ai.message})]}):(0,d.jsxs)("div",{className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(f.pd,{placeholder:"https://auth.example.com/application/o/10router/",value:Q.oidcIssuerUrl,onChange:a=>aZ("oidcIssuerUrl",a.target.value),disabled:B||W})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(f.pd,{placeholder:"10router-dashboard",value:Q.oidcClientId,onChange:a=>aZ("oidcClientId",a.target.value),disabled:B||W})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:S,onChange:a=>T(a.target.value),disabled:B||W}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(f.pd,{placeholder:"openid profile email",value:Q.oidcScopes,onChange:a=>aZ("oidcScopes",a.target.value),disabled:B||W})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(f.pd,{placeholder:"Sign in with OIDC",value:Q.oidcLoginLabel,onChange:a=>aZ("oidcLoginLabel",a.target.value),disabled:B||W})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:"/api/auth/oidc/callback"})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(f.$n,{type:"button",variant:"primary",loading:W,onClick:()=>a$(),className:"w-full sm:w-auto",children:"Save OIDC settings"}),(0,d.jsx)(f.$n,{type:"button",variant:"outline",loading:Y,onClick:a_,className:"w-full sm:w-auto",children:"Test connection"})]}),$.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===$.type?"text-red-500":"text-green-500"}`,children:$.message}),U.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===U.type?"text-red-500":"text-green-500"}`,children:U.message})]}),"oidc"===z.authMode||"saml"===z.authMode||"sso"===z.authMode?(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["SSO login (","saml"===z.ssoType?"SAML 2.0":"OIDC",") is currently active. Password login is disabled until you switch back."]}):null,"both"===z.authMode&&(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["Password and SSO login (","saml"===z.ssoType?"SAML 2.0":"OIDC",") are both active."]})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through accounts to distribute load"})]}),(0,d.jsx)(f.lM,{checked:"round-robin"===z.fallbackStrategy,onChange:()=>aU("round-robin"===z.fallbackStrategy?"fill-first":"round-robin"),disabled:B})]}),"round-robin"===z.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(f.pd,{type:"number",min:"1",max:"10",value:z.stickyRoundRobinLimit||3,onChange:a=>aW(a.target.value),disabled:B,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(f.lM,{checked:"round-robin"===z.comboStrategy,onChange:()=>aV("round-robin"===z.comboStrategy?"fallback":"round-robin"),disabled:B})]}),"round-robin"===z.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(f.pd,{type:"number",min:"1",max:"100",value:z.comboStickyRoundRobinLimit||1,onChange:a=>aX(a.target.value),disabled:B,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===z.fallbackStrategy?`Currently distributing requests across all available accounts with ${z.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===z.comboStrategy?` Combos rotate after ${z.comboStickyRoundRobinLimit||1} call${1===(z.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"device_hub"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Providers")})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("Disabled providers sort last")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Push providers with all connections disabled behind those with no connections"})]}),(0,d.jsx)(f.lM,{checked:!0===z.providerDisabledLastSort,onChange:aM})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("Show community welfare providers")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Show free community gateways with no recharge entry (GoRouter / TaBiAI)"})]}),(0,d.jsx)(f.lM,{checked:!1!==z.showCommunityProviders,onChange:aN})]})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"science"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Experimental")})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("Fetch models from GitHub JSON")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Show a Fetch Models button on providers that publish a model JSON catalog"})]}),(0,d.jsx)(f.lM,{checked:!0===z.modelJsonImport,onChange:aL})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("CodeBuddy CN OAuth import / export")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,o.Tl)("Show Import / Export buttons on the CodeBuddy CN page (experimental)")})]}),(0,d.jsx)(f.lM,{checked:!0===z.codeBuddyOAuthImport,onChange:aO})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,o.Tl)("CodeBuddy CN auto daily check-in")}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,o.Tl)("Automatically check in accounts once a day (random 00:00–06:00 local)")})]}),(0,d.jsx)(f.lM,{checked:!0===z.codeBuddyCheckin,onChange:aP})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:(0,o.Tl)("When enabled, the Import / Export buttons on the CodeBuddy CN page are replaced")})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Network")})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(f.lM,{checked:!0===z.outboundProxyEnabled,onChange:()=>aS(!0!==z.outboundProxyEnabled),disabled:B||aF})]}),!0===z.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:aQ,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(f.pd,{placeholder:"http://127.0.0.1:7897",value:aB.outboundProxyUrl,onChange:a=>aC(b=>({...b,outboundProxyUrl:a.target.value})),disabled:B||aF}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(f.pd,{placeholder:"localhost,127.0.0.1",value:aB.outboundNoProxy,onChange:a=>aC(b=>({...b,outboundNoProxy:a.target.value})),disabled:B||aF}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(f.$n,{type:"button",variant:"secondary",loading:aH,disabled:B||aF,onClick:aR,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(f.$n,{type:"submit",variant:"primary",loading:aF,className:"w-full sm:w-auto",children:"Apply"})]})]}),aD.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aD.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aD.message})]})]}),(0,d.jsxs)(f.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,o.Tl)("Observability")})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(f.lM,{checked:a9,onChange:a3,disabled:B})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>w(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(f.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:bb,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[k.vQ.name," v",k.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:aJ?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(h.default,{hideTrigger:!0,isOpen:t,onClose:a=>{u(!1),q(a)}}),(0,d.jsx)(g.ConfirmModal,{isOpen:v,onClose:()=>w(!1),onConfirm:ba,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:x}),(0,d.jsxs)(g.default,{isOpen:N.open,onClose:()=>O({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>O({open:!1,mode:"",password:""}),disabled:J,children:"Cancel"}),(0,d.jsx)(f.$n,{variant:"primary",onClick:a8,loading:J,disabled:!N.password,children:"Confirm"})]}),children:[(0,d.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===N.mode?"export":"import"," the database."]}),(0,d.jsx)(f.pd,{type:"password",value:N.password,onChange:a=>O(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&N.password&&a8()},placeholder:"Current password",autoFocus:!0})]})]})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},76933:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78027:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\profile\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},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")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,2430,4613,4665,9140,9463,6070,869,7239,6457,4123,1377,412,1564],()=>b(b.s=78027));module.exports=c})();
1
+ (()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(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\\\\profile\\\\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\\profile\\page.js","default")},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")},59562:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},61377:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>s});var e=c(48249),f=c(67484),g=c(94579),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020),m=c(51126),n=c(818),o=c(79750),p=c(90351),q=c(99258),r=a([g]);function s(){let{theme:a,setTheme:b,isDark:c}=(0,j.D)(),[d,r]=(0,f.useState)(()=>(function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${m.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,m.QC)(b)})()),[s,t]=(0,f.useState)(!0),[u,v]=(0,f.useState)(!1),[w,x]=(0,f.useState)(!1),[y,z]=(0,f.useState)(!1),[A,B]=(0,f.useState)({fallbackStrategy:"fill-first"}),[C,D]=(0,f.useState)(!0),[E,F]=(0,f.useState)({current:"",new:"",confirm:""}),[G,H]=(0,f.useState)({type:"",message:""}),[I,J]=(0,f.useState)(!1),[K,L]=(0,f.useState)(!1),[M,N]=(0,f.useState)({type:"",message:""}),[O,P]=(0,f.useState)({open:!1,mode:"",password:""}),Q=(0,f.useRef)(null),[R,S]=(0,f.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[T,U]=(0,f.useState)(""),[V,W]=(0,f.useState)({type:"",message:""}),[X,Y]=(0,f.useState)(!1),[Z,$]=(0,f.useState)(!1),[_,aa]=(0,f.useState)({type:"",message:""}),[ab,ac]=(0,f.useState)(!1),ad="/api/auth/saml/acs",ae="/api/auth/saml/metadata",[af,ag]=(0,f.useState)("saml"),[ah,ai]=(0,f.useState)({samlEntryPoint:"",samlIssuer:"urn:10router:sp",samlCert:"",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[aj,ak]=(0,f.useState)({type:"",message:""}),[al,am]=(0,f.useState)(!1),[an,ao]=(0,f.useState)(!1),[ap,aq]=(0,f.useState)({type:"",message:""}),[ar,as]=(0,f.useState)(!1),at=(0,f.useRef)(null),au=(0,f.useRef)(null),av=(0,f.useRef)(null),aw=(0,f.useRef)(null),ax=(0,f.useRef)(null),[ay,az]=(0,f.useState)({type:"",message:""}),[aA,aB]=(0,f.useState)(!1),[aC,aD]=(0,f.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aE,aF]=(0,f.useState)({type:"",message:""}),[aG,aH]=(0,f.useState)(!1),[aI,aJ]=(0,f.useState)(!1),[aK,aL]=(0,f.useState)(!1),aM=async()=>{let a=!0!==A.providerDisabledLastSort;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerDisabledLastSort:a})}),c=await b.json();b.ok&&B(a=>({...a,...c}))}catch(a){console.log("Error toggling provider disabled-last sort:",a)}},aN=async()=>{let a=!1===A.showCommunityProviders;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({showCommunityProviders:a})}),c=await b.json();b.ok&&B(a=>({...a,...c}))}catch(a){console.log("Error toggling show-community-providers:",a)}},aO=async()=>{let a=!0!==A.codeBuddyOAuthImport;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({codeBuddyOAuthImport:a})}),c=await b.json();b.ok&&B(a=>({...a,...c}))}catch(a){console.log("Error toggling codebuddy OAuth import:",a)}},aP=async()=>{let a=!0!==A.codeBuddyCheckin;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({codeBuddyCheckin:a})}),c=await b.json();b.ok&&B(a=>({...a,...c}))}catch(a){console.log("Error toggling codebuddy auto check-in:",a)}},aQ=async()=>{let a=!0!==A.codeBuddyIntlSession;try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({codeBuddyIntlSession:a})}),c=await b.json();b.ok&&B(a=>({...a,...c}))}catch(a){console.log("Error toggling codebuddy intl daily session:",a)}},aR=async a=>{if(a.preventDefault(),!0===A.outboundProxyEnabled){aH(!0),aF({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:aC.outboundProxyUrl,outboundNoProxy:aC.outboundNoProxy})}),b=await a.json();a.ok?(B(a=>({...a,...b})),aF({type:"success",message:"Proxy settings applied"})):aF({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){aF({type:"error",message:"An error occurred"})}finally{aH(!1)}}},aS=async()=>{if(!0!==A.outboundProxyEnabled)return;let a=(aC.outboundProxyUrl||"").trim();if(!a)return void aF({type:"error",message:"Please enter a Proxy URL to test"});aJ(!0),aF({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?aF({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):aF({type:"error",message:c?.error||"Proxy test failed"})}catch(a){aF({type:"error",message:"An error occurred"})}finally{aJ(!1)}},aT=async a=>{aH(!0),aF({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(B(a=>({...a,...c})),aD(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),aF({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):aF({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){aF({type:"error",message:"An error occurred"})}finally{aH(!1)}},aU=async a=>{if(a.preventDefault(),E.new!==E.confirm)return void H({type:"error",message:"Passwords do not match"});J(!0),H({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:E.current,newPassword:E.new})}),b=await a.json();a.ok?(H({type:"success",message:"Password updated successfully"}),F({current:"",new:"",confirm:""})):H({type:"error",message:b.error||"Failed to update password"})}catch(a){H({type:"error",message:"An error occurred"})}finally{J(!1)}},aV=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&B(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},aW=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&B(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},aX=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&B(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},aY=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&B(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},aZ=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&B(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},a$=(a,b)=>{S(c=>({...c,[a]:b}))},a_=async(a=R.authMode||"password")=>{let b=R.oidcIssuerUrl.trim(),c=R.oidcClientId.trim(),d=R.oidcScopes.trim(),e=R.oidcLoginLabel.trim(),f=T.trim();if("password"!==a&&(!b||!c||!f)&&!A.oidcConfigured)return void W({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});Y(!0),W({type:"",message:""}),aa({type:"",message:""});try{let g={authMode:a,ssoType:"oidc",oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(B(a=>({...a,...i})),S({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),U(""),W({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):W({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){W({type:"error",message:"An error occurred"})}finally{Y(!1)}},a0=async()=>{let a=R.oidcIssuerUrl.trim(),b=R.oidcClientId.trim(),c=R.oidcScopes.trim(),d=T.trim();if(!a||!b)return void aa({type:"error",message:"Issuer URL and client ID are required to test the connection."});$(!0),W({type:"",message:""}),aa({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:R.authMode||A.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:R.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void aa({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;aa({type:"success",message:a})}else aa({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){aa({type:"error",message:"An error occurred"})}finally{$(!1)}},a1=(a,b)=>{ai(c=>({...c,[a]:b}))},a2=async(a=R.authMode||"password")=>{am(!0),ak({type:"",message:""}),aq({type:"",message:""});try{let b={authMode:a,ssoType:"saml",samlEntryPoint:ah.samlEntryPoint.trim(),samlIssuer:ah.samlIssuer.trim()||"urn:10router:sp",samlCert:ah.samlCert.trim(),samlLoginLabel:ah.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:ah.samlAttributeEmail.trim()||"email",samlAttributeName:ah.samlAttributeName.trim()||"name"},c=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json();c.ok?(B(a=>({...a,...d})),ai({samlEntryPoint:d?.samlEntryPoint||b.samlEntryPoint,samlIssuer:d?.samlIssuer||b.samlIssuer,samlCert:d?.samlCert||b.samlCert,samlLoginLabel:d?.samlLoginLabel||b.samlLoginLabel,samlAttributeEmail:d?.samlAttributeEmail||b.samlAttributeEmail,samlAttributeName:d?.samlAttributeName||b.samlAttributeName}),ak({type:"success",message:"sso"===a||"saml"===a?"SAML SSO login enabled":"both"===a?"Password and SAML SSO login enabled":"SAML 2.0 settings saved"})):ak({type:"error",message:d.error||"Failed to save SAML settings"})}catch{ak({type:"error",message:"An error occurred while saving SAML settings"})}finally{am(!1)}},a3=async()=>{ao(!0),ak({type:"",message:""}),aq({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:ah.samlEntryPoint.trim(),samlIssuer:ah.samlIssuer.trim(),samlCert:ah.samlCert.trim()})}),b=await a.json();a.ok&&b.ok?aq({type:"success",message:b.message||"SAML configuration verified!"}):aq({type:"error",message:b.error||"SAML configuration test failed"})}catch{aq({type:"error",message:"An error occurred while testing SAML configuration"})}finally{ao(!1)}},a4=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&B(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},a5=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();B(b)}catch(a){console.error("Failed to reload settings:",a)}},a6=async a=>{L(!0),N({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`10router-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),N({type:"success",message:"Database backup downloaded"})}catch(a){N({type:"error",message:a.message||"Failed to export database"})}finally{L(!1)}},a7=a=>/\\.(sqlite|sqlite3|db)$/i.test(a.name)||"application/x-sqlite3"===a.type||"application/vnd.sqlite3"===a.type||"application/octet-stream"===a.type,a8=a=>/\\.(json)$/i.test(a.name)||"application/json"===a.type,a9=async(a,b=null)=>{aB(!0),az({type:"",message:""});try{let c,d=a8(a)&&!a7(a),e={};if(b&&(e["x-9r-password"]=b),d){let b;try{let c=await a.text();b=JSON.parse(c)}catch{aB(!1),az({type:"error",message:(0,q.Tl)("Invalid JSON usage file")});return}c=JSON.stringify(Array.isArray(b)?{usageHistory:b}:b),e["Content-Type"]="application/json"}else{let b=new FormData;b.append("file",a),c=b}let f=await fetch("/api/settings/database/import-usage",{method:"POST",body:c,headers:e}),g=await f.json();if(!f.ok){if(401===f.status&&!b){ax.current=a,P({open:!0,mode:"usage-import",password:""});return}throw Error(g.error||"Failed to import usage")}az({type:"success",message:`${(0,q.Tl)("Imported")} ${g.imported} ${(0,q.Tl)("usage records")} (${(0,q.Tl)("skipped")} ${g.skipped}, ${(0,q.Tl)("total")} ${g.total})`})}catch(a){az({type:"error",message:a.message||"Failed to import usage"})}finally{aB(!1)}},ba=async a=>{let b=Q.current;if(b){L(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await a5(),N({type:"success",message:"Database imported successfully"})}catch(a){N({type:"error",message:a.message||"Invalid backup file"})}finally{Q.current=null,L(!1)}}},bb=async()=>{let{mode:a,password:b}=O;if(P({open:!1,mode:"",password:""}),"export"===a)await a6(b);else if("import"===a)await ba(b);else if("usage-import"===a){let a=ax.current;ax.current=null,a&&await a9(a,b)}},bc=!0===A.enableObservability,bd=async()=>{z(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}z(!1),x(!1)},be=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&window.location.assign("/login")}catch(a){console.error("Failed to logout:",a)}};return(0,e.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,e.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,e.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,e.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(c=>(0,e.jsxs)("button",{type:"button",onClick:()=>b(c),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",a===c?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===c?"light_mode":"dark"===c?"dark_mode":"contrast"}),(0,e.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:c})]},c))})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,e.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.10router/db/data.sqlite"})]})}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,e.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:()=>P({open:!0,mode:"export",password:""}),loading:K,className:"w-full sm:w-auto",children:"Download Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>av.current?.click(),disabled:K,className:"w-full sm:w-auto",children:"Import Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"history",onClick:()=>aw.current?.click(),loading:aA,className:"w-full sm:w-auto",children:(0,q.Tl)("Import Usage")}),(0,e.jsx)("input",{ref:av,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];av.current&&(av.current.value=""),b&&(Q.current=b,N({type:"",message:""}),P({open:!0,mode:"import",password:""}))}}),(0,e.jsx)("input",{ref:aw,type:"file",accept:".sqlite,.db,.sqlite3,.json,application/json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(aw.current&&(aw.current.value=""),b){if(!a7(b)&&!a8(b))return void az({type:"error",message:(0,q.Tl)("Only SQLite (.sqlite/.db) or JSON (.json) usage files can be imported")});a9(b)}}})]}),M.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===M.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:M.message}),ay.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===ay.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:ay.message})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Language")})]}),(0,e.jsxs)("button",{onClick:()=>v(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,e.jsx)("span",{className:"text-sm text-text-muted",children:(0,q.Tl)("Display language")}),(0,e.jsx)("span",{className:"text-2xl",children:n.h[d]||"\uD83C\uDF10"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-between gap-4 mt-3 p-3 rounded-lg bg-bg border border-border",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"text-sm font-medium",children:(0,q.Tl)("Regional currency")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"Show costs in local currency (\xa5/NT$/₩/₫); off → $"})]}),(0,e.jsx)(g.lM,{checked:s,onChange:()=>{let a=!(0,o.i)();"u">typeof localStorage&&localStorage.setItem("useRegionalCurrency",a?"1":"0"),t(a)}})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-primary/10 text-primary shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Security")})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("Require login")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,q.Tl)("When ON, dashboard requires password. When OFF, access without login.")})]}),(0,e.jsx)(g.lM,{checked:!0===A.requireLogin,onChange:()=>aZ(!A.requireLogin),disabled:C})]}),!0===A.requireLogin&&(0,e.jsxs)("form",{onSubmit:aU,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[A.hasPassword&&(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,e.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:E.current,onChange:a=>F({...E,current:a.target.value}),required:!0})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,e.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:E.new,onChange:a=>F({...E,new:a.target.value}),required:!0})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,e.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:E.confirm,onChange:a=>F({...E,confirm:a.target.value}),required:!0})]})]}),G.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===G.type?"text-red-500":"text-green-500"}`,children:G.message}),(0,e.jsx)("div",{className:"pt-2",children:(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:I,className:"w-full sm:w-auto",children:A.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("button",{type:"button",onClick:()=>ac(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Single Sign-On (SSO)")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"sso"===A.authMode||"oidc"===A.authMode||"saml"===A.authMode?`${"saml"===A.ssoType?"SAML 2.0":"OIDC"} SSO active`:"both"===A.authMode?`Password + ${"saml"===A.ssoType?"SAML 2.0":"OIDC"} active`:"Optional SSO via Okta, Entra ID, Keycloak, or OIDC"})]}),(0,e.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:ab?"expand_less":"expand_more"})]}),ab&&(0,e.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,q.Tl)("Configure enterprise Single Sign-On (SSO) for dashboard access using SAML 2.0 or OIDC.")}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SSO Protocol"}),(0,e.jsxs)("div",{className:"flex p-1 rounded-lg bg-black/5 dark:bg-white/5 border border-border",children:[(0,e.jsx)("button",{type:"button",onClick:()=>ag("saml"),className:(0,k.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","saml"===af?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:"SAML 2.0"}),(0,e.jsx)("button",{type:"button",onClick:()=>ag("oidc"),className:(0,k.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","oidc"===af?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:"OIDC"})]})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,e.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep legacy password login."},{value:"sso",title:`${"saml"===af?"SAML":"OIDC"} only`,desc:"Require SSO for dashboard access."},{value:"both",title:"Both",desc:"Allow password or SSO login."}].map(a=>{let b=R.authMode,c="password"===a.value?"password"===b:"sso"===a.value?"sso"===b||"saml"===b||"oidc"===b:"both"===b;return(0,e.jsxs)("button",{type:"button",onClick:()=>a$("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",c?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:C||X||al,children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),"saml"===af?(0,e.jsxs)("div",{className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"rounded-lg border border-border bg-bg/80 overflow-hidden",children:[(0,e.jsxs)("button",{type:"button",onClick:()=>as(a=>!a),className:"w-full p-3 flex items-center justify-between gap-2 text-left hover:bg-surface/50 transition-colors",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-primary text-lg",children:"menu_book"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-xs sm:text-sm text-text-main",children:"IdP Setup Guidelines & Provider Configuration Instructions"}),(0,e.jsx)("p",{className:"text-[11px] text-text-muted",children:"Click to view setup steps for AWS IAM Identity Center, Okta, Entra ID, Keycloak, & Authentik"})]})]}),(0,e.jsx)("span",{className:"material-symbols-outlined text-text-muted transition-transform text-lg",style:{transform:ar?"rotate(180deg)":"none"},children:"expand_more"})]}),ar&&(0,e.jsxs)("div",{className:"p-4 border-t border-border bg-surface/30 text-xs text-text-main flex flex-col gap-3",children:[(0,e.jsxs)("div",{className:"p-2.5 rounded border border-primary/20 bg-primary/5 text-primary text-xs",children:[(0,e.jsx)("p",{className:"font-semibold mb-1",children:"\uD83D\uDD11 Required Service Provider (SP) Values for your IdP Setup:"}),(0,e.jsxs)("ul",{className:"list-disc pl-4 space-y-1 font-mono text-[11px]",children:[(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Assertion Consumer Service (ACS) URL:"})," ",(0,e.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded break-all",children:ad})]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"SP Entity ID / Audience URI:"})," ",(0,e.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded break-all",children:ah.samlIssuer||"urn:10router:sp"})]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"NameID Format:"})," ",(0,e.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded",children:"EmailAddress"})," or ",(0,e.jsx)("code",{className:"bg-bg px-1 py-0.5 rounded",children:"Unspecified"})]})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 pt-1",children:[(0,e.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,e.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,e.jsx)("span",{children:"☁️"})," AWS IAM Identity Center"]}),(0,e.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,e.jsxs)("li",{children:["Applications → ",(0,e.jsx)("b",{children:"Add application"})," → Select ",(0,e.jsx)("b",{children:"Add custom SAML 2.0 application"}),"."]}),(0,e.jsxs)("li",{children:["Set ",(0,e.jsx)("b",{children:"Application ACS URL"})," to ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ad}),"."]}),(0,e.jsxs)("li",{children:["Set ",(0,e.jsx)("b",{children:"Application SAML audience"})," to ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ah.samlIssuer||"urn:10router:sp"}),"."]}),(0,e.jsxs)("li",{children:["Under ",(0,e.jsx)("i",{children:"Attribute mappings"}),", map ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:"Subject"})," or ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:"email"})," to ",(0,e.jsxs)("code",{className:"text-text-main font-mono",children:["$","{user:email}"]}),"."]}),(0,e.jsxs)("li",{children:["Download ",(0,e.jsx)("b",{children:"IAM Identity Center SAML metadata XML"})," file and use 1-Click Import below!"]})]})]}),(0,e.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,e.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,e.jsx)("span",{children:"\uD83D\uDD37"})," Microsoft Entra ID (Azure AD)"]}),(0,e.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,e.jsxs)("li",{children:["Enterprise Applications → ",(0,e.jsx)("b",{children:"New application"})," → ",(0,e.jsx)("b",{children:"Create your own application"}),"."]}),(0,e.jsxs)("li",{children:["Select ",(0,e.jsx)("b",{children:"Single sign-on"})," → ",(0,e.jsx)("b",{children:"SAML"}),"."]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Identifier (Entity ID):"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ah.samlIssuer||"urn:10router:sp"})]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Reply URL (ACS):"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ad})]}),(0,e.jsxs)("li",{children:["Download ",(0,e.jsx)("b",{children:"Federation Metadata XML"})," and import or copy X.509 Certificate."]})]})]}),(0,e.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,e.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,e.jsx)("span",{children:"\uD83D\uDFE2"})," Okta / Auth0"]}),(0,e.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,e.jsxs)("li",{children:["Applications → ",(0,e.jsx)("b",{children:"Create App Integration"})," → Select ",(0,e.jsx)("b",{children:"SAML 2.0"}),"."]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Single Sign-On URL:"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ad})]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Audience URI (SP Entity ID):"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ah.samlIssuer||"urn:10router:sp"})]}),(0,e.jsxs)("li",{children:["Name ID format: ",(0,e.jsx)("i",{children:"EmailAddress"}),"."]}),(0,e.jsx)("li",{children:"Download Identity Provider metadata XML or copy the X.509 cert."})]})]}),(0,e.jsxs)("div",{className:"p-3 rounded border border-border bg-bg/50 flex flex-col gap-1.5",children:[(0,e.jsxs)("p",{className:"font-semibold text-text-main flex items-center gap-1.5",children:[(0,e.jsx)("span",{children:"\uD83D\uDEE1️"})," Keycloak / Authentik"]}),(0,e.jsxs)("ol",{className:"list-decimal pl-4 text-text-muted space-y-1",children:[(0,e.jsxs)("li",{children:["Clients → ",(0,e.jsx)("b",{children:"Create client"})," → Select ",(0,e.jsx)("b",{children:"SAML"}),"."]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Client ID:"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ah.samlIssuer||"urn:10router:sp"})]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("b",{children:"Master SAML Processing URL:"})," ",(0,e.jsx)("code",{className:"text-text-main font-mono",children:ad})]}),(0,e.jsx)("li",{children:"Export SAML Descriptor XML or copy IDP Certificate PEM."})]})]})]})]})]}),(0,e.jsxs)("div",{className:"p-3 rounded-lg border border-dashed border-primary/40 bg-primary/5 flex flex-col sm:flex-row sm:items-center justify-between gap-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-medium text-sm text-text-main",children:"1-Click IdP Metadata XML Import"}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"Auto-fill SSO URL, Issuer & Cert from XML metadata"})]}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",size:"sm",icon:"upload_file",onClick:()=>at.current?.click(),children:"Upload Metadata XML"}),(0,e.jsx)("input",{ref:at,type:"file",accept:".xml,application/xml,text/xml",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(at.current&&(at.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{try{let b=a.target?.result||"",c=new DOMParser().parseFromString(b,"text/xml");if(c.querySelector("parsererror"))return void ak({type:"error",message:"Unable to parse valid SAML IdP metadata from XML file"});let d=c.documentElement.getAttribute("entityID")||"",e=Array.from(c.querySelectorAll("SingleSignOnService, *|SingleSignOnService")),f="";for(let a of e){let b=a.getAttribute("Binding")||"",c=a.getAttribute("Location")||"";if(c&&(f=c,b.includes("HTTP-Redirect")))break}let g=Array.from(c.querySelectorAll("X509Certificate, *|X509Certificate")),h="";g.length>0&&(h=g[0].textContent.trim()),ai(a=>({...a,samlEntryPoint:f||a.samlEntryPoint,samlIssuer:a.samlIssuer||"urn:10router:sp",samlCert:h||a.samlCert})),ak({type:"success",message:`IdP Metadata imported! (SSO URL: ${f?"found":"not found"}, EntityID: ${d?"found":"not found"}, Cert: ${h?"found":"not found"})`})}catch(a){ak({type:"error",message:"Error reading IdP Metadata XML file"})}},c.readAsText(b)}})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Single Sign-On Service URL (samlEntryPoint)"}),(0,e.jsx)(g.pd,{placeholder:"https://idp.example.com/app/saml/sso/...",value:ah.samlEntryPoint,onChange:a=>a1("samlEntryPoint",a.target.value),disabled:C||al})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SP Entity ID / Audience (samlIssuer)"}),(0,e.jsx)(g.pd,{placeholder:"urn:10router:sp",value:ah.samlIssuer,onChange:a=>a1("samlIssuer",a.target.value),disabled:C||al})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP X.509 Certificate (samlCert)"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",size:"sm",icon:"file_upload",onClick:()=>au.current?.click(),children:"Upload Certificate"}),(0,e.jsx)("input",{ref:au,type:"file",accept:".crt,.pem,.cer,text/plain",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(au.current&&(au.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{let b=a.target?.result||"";ai(a=>({...a,samlCert:b.trim()})),ak({type:"success",message:"Certificate file loaded into configuration."})},c.readAsText(b)}})]}),(0,e.jsx)("textarea",{rows:4,placeholder:"-----BEGIN CERTIFICATE-----\nMIIC...\n-----END CERTIFICATE-----",value:ah.samlCert,onChange:a=>a1("samlCert",a.target.value),className:"w-full p-2.5 rounded-lg border border-border bg-bg text-xs font-mono text-text-main focus:outline-none focus:border-primary",disabled:C||al}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"Paste raw Base64 certificate or PEM block."})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,e.jsx)(g.pd,{placeholder:"Sign in with SAML SSO",value:ah.samlLoginLabel,onChange:a=>a1("samlLoginLabel",a.target.value),disabled:C||al})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Email Claim Attribute"}),(0,e.jsx)(g.pd,{placeholder:"email",value:ah.samlAttributeEmail,onChange:a=>a1("samlAttributeEmail",a.target.value),disabled:C||al})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Display Name Claim"}),(0,e.jsx)(g.pd,{placeholder:"name",value:ah.samlAttributeName,onChange:a=>a1("samlAttributeName",a.target.value),disabled:C||al})]})]})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 p-3 rounded-lg border border-border bg-bg text-xs sm:text-sm text-text-muted",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-medium text-text-main",children:"ACS Callback URL"}),(0,e.jsx)("code",{className:"block break-all font-mono text-xs",children:ad})]}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",size:"sm",icon:"content_copy",onClick:async()=>{await (0,p.e)(ad),ak({type:"success",message:"ACS URL copied to clipboard!"})},children:"Copy"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-between gap-2 pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-medium text-text-main",children:"SP XML Metadata"}),(0,e.jsx)("code",{className:"block break-all font-mono text-xs",children:ae})]}),(0,e.jsxs)("a",{href:ae,target:"_blank",rel:"noopener noreferrer",download:"10router-sp-metadata.xml",className:"inline-flex items-center gap-1 text-xs font-medium text-primary hover:underline",children:[(0,e.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"download"}),"Download XML"]})]})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,e.jsx)(g.$n,{type:"button",variant:"primary",loading:al,onClick:()=>a2(R.authMode),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:an,onClick:a3,className:"w-full sm:w-auto",children:"Test SAML settings"})]}),ap.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ap.type?"text-red-500":"text-green-500"}`,children:ap.message}),aj.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aj.type?"text-red-500":"text-green-500"}`,children:aj.message})]}):(0,e.jsxs)("div",{className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,e.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/10router/",value:R.oidcIssuerUrl,onChange:a=>a$("oidcIssuerUrl",a.target.value),disabled:C||X})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,e.jsx)(g.pd,{placeholder:"10router-dashboard",value:R.oidcClientId,onChange:a=>a$("oidcClientId",a.target.value),disabled:C||X})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,e.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:T,onChange:a=>U(a.target.value),disabled:C||X}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,e.jsx)(g.pd,{placeholder:"openid profile email",value:R.oidcScopes,onChange:a=>a$("oidcScopes",a.target.value),disabled:C||X})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,e.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:R.oidcLoginLabel,onChange:a=>a$("oidcLoginLabel",a.target.value),disabled:C||X})]})]}),(0,e.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,e.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,e.jsx)("code",{className:"block break-all font-mono",children:"/api/auth/oidc/callback"})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,e.jsx)(g.$n,{type:"button",variant:"primary",loading:X,onClick:()=>a_(),className:"w-full sm:w-auto",children:"Save OIDC settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:Z,onClick:a0,className:"w-full sm:w-auto",children:"Test connection"})]}),_.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===_.type?"text-red-500":"text-green-500"}`,children:_.message}),V.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===V.type?"text-red-500":"text-green-500"}`,children:V.message})]}),"oidc"===A.authMode||"saml"===A.authMode||"sso"===A.authMode?(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["SSO login (","saml"===A.ssoType?"SAML 2.0":"OIDC",") is currently active. Password login is disabled until you switch back."]}):null,"both"===A.authMode&&(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["Password and SSO login (","saml"===A.ssoType?"SAML 2.0":"OIDC",") are both active."]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-blue-500/10 text-blue-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Round Robin"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through accounts to distribute load"})]}),(0,e.jsx)(g.lM,{checked:"round-robin"===A.fallbackStrategy,onChange:()=>aV("round-robin"===A.fallbackStrategy?"fill-first":"round-robin"),disabled:C})]}),"round-robin"===A.fallbackStrategy&&(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,e.jsx)(g.pd,{type:"number",min:"1",max:"10",value:A.stickyRoundRobinLimit||3,onChange:a=>aX(a.target.value),disabled:C,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,e.jsx)(g.lM,{checked:"round-robin"===A.comboStrategy,onChange:()=>aW("round-robin"===A.comboStrategy?"fallback":"round-robin"),disabled:C})]}),"round-robin"===A.comboStrategy&&(0,e.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,e.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,e.jsx)(g.pd,{type:"number",min:"1",max:"100",value:A.comboStickyRoundRobinLimit||1,onChange:a=>aY(a.target.value),disabled:C,className:"w-20 text-center"})]}),(0,e.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===A.fallbackStrategy?`Currently distributing requests across all available accounts with ${A.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===A.comboStrategy?` Combos rotate after ${A.comboStickyRoundRobinLimit||1} call${1===(A.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"device_hub"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Providers")})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("Disabled providers sort last")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Push providers with all connections disabled behind those with no connections"})]}),(0,e.jsx)(g.lM,{checked:!0===A.providerDisabledLastSort,onChange:aM})]}),(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("Show community welfare providers")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Show free community gateways with no recharge entry (GoRouter / TaBiAI)"})]}),(0,e.jsx)(g.lM,{checked:!1!==A.showCommunityProviders,onChange:aN})]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-amber-500/10 text-amber-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"science"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Experimental")})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("OAuth import / export")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,q.Tl)("Show Import / Export buttons on OAuth provider pages (encrypted transfer, experimental)")})]}),(0,e.jsx)(g.lM,{checked:!0===A.codeBuddyOAuthImport,onChange:aO})]}),(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("CodeBuddy daily active session")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,q.Tl)("Send one free-tier chat request per account daily so the activity credits are granted")})]}),(0,e.jsx)(g.lM,{checked:!0===A.codeBuddyIntlSession,onChange:aQ})]}),(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:(0,q.Tl)("CodeBuddy CN auto daily check-in")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,q.Tl)("Automatically check in accounts daily (retries all day until confirmed)")})]}),(0,e.jsx)(g.lM,{checked:!0===A.codeBuddyCheckin,onChange:aP})]}),(0,e.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:(0,q.Tl)("Import / Export moved behind the check-in button — turn off auto check-in to show them again")})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-purple-500/10 text-purple-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Network")})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,e.jsx)(g.lM,{checked:!0===A.outboundProxyEnabled,onChange:()=>aT(!0!==A.outboundProxyEnabled),disabled:C||aG})]}),!0===A.outboundProxyEnabled&&(0,e.jsxs)("form",{onSubmit:aR,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,e.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:aC.outboundProxyUrl,onChange:a=>aD(b=>({...b,outboundProxyUrl:a.target.value})),disabled:C||aG}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,e.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,e.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:aC.outboundNoProxy,onChange:a=>aD(b=>({...b,outboundNoProxy:a.target.value})),disabled:C||aG}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,e.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,e.jsx)(g.$n,{type:"button",variant:"secondary",loading:aI,disabled:C||aG,onClick:aS,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:aG,className:"w-full sm:w-auto",children:"Apply"})]})]}),aE.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aE.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aE.message})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,e.jsx)("div",{className:"size-10 rounded-lg flex items-center justify-center bg-orange-500/10 text-orange-500 shrink-0",children:(0,e.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,e.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:(0,q.Tl)("Observability")})]}),(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,e.jsx)(g.lM,{checked:bc,onChange:a4,disabled:C})]})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,e.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>x(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,e.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:be,children:"Logout"})]}),(0,e.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,e.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,e.jsx)("p",{className:"mt-1",children:aK?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,e.jsx)(i.default,{hideTrigger:!0,isOpen:u,onClose:a=>{v(!1),r(a)}}),(0,e.jsx)(h.ConfirmModal,{isOpen:w,onClose:()=>x(!1),onConfirm:bd,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:y}),(0,e.jsxs)(h.default,{isOpen:O.open,onClose:()=>P({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.$n,{variant:"ghost",onClick:()=>P({open:!1,mode:"",password:""}),disabled:K,children:"Cancel"}),(0,e.jsx)(g.$n,{variant:"primary",onClick:bb,loading:K,disabled:!O.password,children:"Confirm"})]}),children:[(0,e.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===O.mode?"export":"import"," the database."]}),(0,e.jsx)(g.pd,{type:"password",value:O.password,onChange:a=>P(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&O.password&&bb()},placeholder:"Current password",autoFocus:!0})]})]})}g=(r.then?(await r)():r)[0],d()}catch(a){d(a)}})},61778:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\profile\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},76933:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},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")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,2430,4613,8410,877,5781,7805,3879,6070,869,7239,6457,4123,1377,6960,8990],()=>b(b.s=61778));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/1220.js","../../../../chunks/1260.js","../../../../chunks/1377.js","../../../../chunks/1564.js","../../../../chunks/1636.js","../../../../chunks/1813.js","../../../../chunks/1937.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/2179.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2732.js","../../../../chunks/295.js","../../../../chunks/318.js","../../../../chunks/3212.js","../../../../chunks/3225.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3943.js","../../../../chunks/3962.js","../../../../chunks/4037.js","../../../../chunks/4049.js","../../../../chunks/4055.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4293.js","../../../../chunks/4613.js","../../../../chunks/4665.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4985.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5433.js","../../../../chunks/5573.js","../../../../chunks/5612.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6212.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/653.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6877.js","../../../../chunks/6922.js","../../../../chunks/698.js","../../../../chunks/7211.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7322.js","../../../../chunks/7598.js","../../../../chunks/7774.js","../../../../chunks/7828.js","../../../../chunks/7913.js","../../../../chunks/7965.js","../../../../chunks/8145.js","../../../../chunks/8292.js","../../../../chunks/8363.js","../../../../chunks/8444.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/869.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/9140.js","../../../../chunks/9463.js","../../../../chunks/9528.js","../../../../chunks/9609.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/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/1159.js","../../../../chunks/1220.js","../../../../chunks/1260.js","../../../../chunks/1377.js","../../../../chunks/1813.js","../../../../chunks/1937.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/2112.js","../../../../chunks/2120.js","../../../../chunks/2132.js","../../../../chunks/2179.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2732.js","../../../../chunks/3225.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3651.js","../../../../chunks/3662.js","../../../../chunks/3879.js","../../../../chunks/3901.js","../../../../chunks/3943.js","../../../../chunks/3962.js","../../../../chunks/4037.js","../../../../chunks/4049.js","../../../../chunks/4055.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4293.js","../../../../chunks/436.js","../../../../chunks/4613.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4840.js","../../../../chunks/4862.js","../../../../chunks/4985.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/5433.js","../../../../chunks/5485.js","../../../../chunks/5573.js","../../../../chunks/5612.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6212.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/653.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6871.js","../../../../chunks/6922.js","../../../../chunks/6960.js","../../../../chunks/698.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7322.js","../../../../chunks/7774.js","../../../../chunks/7805.js","../../../../chunks/7828.js","../../../../chunks/7843.js","../../../../chunks/7965.js","../../../../chunks/8145.js","../../../../chunks/8292.js","../../../../chunks/8410.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/8546.js","../../../../chunks/8635.js","../../../../chunks/869.js","../../../../chunks/877.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8990.js","../../../../chunks/937.js","../../../../chunks/939.js","../../../../chunks/9528.js","../../../../chunks/9609.js","../../../../chunks/9679.js","../../../../chunks/9713.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}