@techysy/10router 1.2.0 → 1.2.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 (1046) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +4 -3
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +2 -2
  5. package/app/.next-cli-build/routes-manifest.json +6 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/experimental/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  79. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  90. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  91. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  92. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  93. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  94. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  109. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/verify-password/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  119. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/keys/rotate/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/keys/rotate/route.js.nft.json +1 -1
  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 +2 -2
  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/caps/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/models/caps/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/models/custom/bulk/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/network/egress-region/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/network/egress-region/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/qoder/checkin/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/qoder-cn/checkin/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/transfer/export/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/transfer/import/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  293. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  295. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  299. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  301. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  303. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  305. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  307. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  309. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  311. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  313. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/security/status/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/security/status/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  335. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  357. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/usage/dashboard/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/quotas/route.js +1 -0
  373. package/app/.next-cli-build/server/app/api/usage/quotas/route.js.nft.json +1 -0
  374. package/app/.next-cli-build/server/app/api/usage/quotas/route_client-reference-manifest.js +1 -0
  375. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  396. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  436. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  438. package/app/.next-cli-build/server/app/callback.html +1 -1
  439. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  440. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  441. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  442. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
  443. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  445. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +8 -8
  446. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  447. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  448. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  450. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  451. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  452. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  455. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
  456. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  457. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  460. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  461. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  462. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  463. package/app/.next-cli-build/server/app/dashboard/experimental.html +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/experimental.rsc +8 -8
  465. package/app/.next-cli-build/server/app/dashboard/experimental.segments/!KGRhc2hib2FyZCk/dashboard/experimental/__PAGE__.segment.rsc +8 -8
  466. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_full.segment.rsc +8 -8
  467. package/app/.next-cli-build/server/app/dashboard/experimental.segments/_tree.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  470. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +8 -8
  471. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  472. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  475. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +8 -8
  476. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  477. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  480. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
  481. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  482. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  485. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
  486. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  487. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  488. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  489. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  490. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
  491. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  492. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  495. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
  496. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  497. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  498. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +8 -8
  500. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +8 -8
  501. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  503. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  504. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  505. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
  506. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  507. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  509. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  513. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  514. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +6 -6
  516. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  518. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +8 -8
  519. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  520. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  521. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  522. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +8 -8
  523. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +8 -8
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
  525. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  528. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +8 -8
  529. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  530. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  531. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  533. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
  534. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  535. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  536. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  537. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  538. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
  539. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  540. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  541. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  542. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  543. package/app/.next-cli-build/server/app/index.html +1 -1
  544. package/app/.next-cli-build/server/app/index.rsc +6 -6
  545. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  546. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  547. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  548. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  549. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  550. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  551. package/app/.next-cli-build/server/app/landing.html +1 -1
  552. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  553. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  554. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  555. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  556. package/app/.next-cli-build/server/app/login/page.js +1 -1
  557. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  558. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  559. package/app/.next-cli-build/server/app/login.html +1 -1
  560. package/app/.next-cli-build/server/app/login.rsc +7 -7
  561. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  562. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  563. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +7 -7
  564. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  565. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  566. package/app/.next-cli-build/server/app/page.js +1 -1
  567. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  569. package/app/.next-cli-build/server/app-paths-manifest.json +4 -3
  570. package/app/.next-cli-build/server/chunks/112.js +1 -1
  571. package/app/.next-cli-build/server/chunks/1219.js +4 -0
  572. package/app/.next-cli-build/server/chunks/1261.js +1 -0
  573. package/app/.next-cli-build/server/chunks/1330.js +1 -1
  574. package/app/.next-cli-build/server/chunks/1710.js +6 -0
  575. package/app/.next-cli-build/server/chunks/2132.js +1 -1
  576. package/app/.next-cli-build/server/chunks/2182.js +9 -0
  577. package/app/.next-cli-build/server/chunks/241.js +1 -1
  578. package/app/.next-cli-build/server/chunks/2926.js +1 -0
  579. package/app/.next-cli-build/server/chunks/3245.js +1 -0
  580. package/app/.next-cli-build/server/chunks/3256.js +1 -0
  581. package/app/.next-cli-build/server/chunks/3433.js +120 -0
  582. package/app/.next-cli-build/server/chunks/3792.js +1 -0
  583. package/app/.next-cli-build/server/chunks/3885.js +1 -0
  584. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  585. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  586. package/app/.next-cli-build/server/chunks/4125.js +1 -1
  587. package/app/.next-cli-build/server/chunks/4177.js +1 -0
  588. package/app/.next-cli-build/server/chunks/4282.js +1 -0
  589. package/app/.next-cli-build/server/chunks/4293.js +1 -1
  590. package/app/.next-cli-build/server/chunks/4575.js +1 -0
  591. package/app/.next-cli-build/server/chunks/4746.js +1 -0
  592. package/app/.next-cli-build/server/chunks/4803.js +9 -0
  593. package/app/.next-cli-build/server/chunks/4927.js +85 -0
  594. package/app/.next-cli-build/server/chunks/4990.js +1 -1
  595. package/app/.next-cli-build/server/chunks/5182.js +1 -1
  596. package/app/.next-cli-build/server/chunks/5210.js +304 -0
  597. package/app/.next-cli-build/server/chunks/5330.js +2 -2
  598. package/app/.next-cli-build/server/chunks/539.js +1 -0
  599. package/app/.next-cli-build/server/chunks/5433.js +1 -1
  600. package/app/.next-cli-build/server/chunks/5485.js +1 -1
  601. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  602. package/app/.next-cli-build/server/chunks/5692.js +5 -0
  603. package/app/.next-cli-build/server/chunks/5781.js +1 -1
  604. package/app/.next-cli-build/server/chunks/595.js +1 -1
  605. package/app/.next-cli-build/server/chunks/6103.js +1 -0
  606. package/app/.next-cli-build/server/chunks/6133.js +6 -0
  607. package/app/.next-cli-build/server/chunks/6252.js +9 -0
  608. package/app/.next-cli-build/server/chunks/6326.js +1 -1
  609. package/app/.next-cli-build/server/chunks/6457.js +1 -4
  610. package/app/.next-cli-build/server/chunks/6492.js +1 -0
  611. package/app/.next-cli-build/server/chunks/653.js +1 -1
  612. package/app/.next-cli-build/server/chunks/6756.js +1 -1
  613. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  614. package/app/.next-cli-build/server/chunks/6875.js +1 -0
  615. package/app/.next-cli-build/server/chunks/6947.js +1 -0
  616. package/app/.next-cli-build/server/chunks/6956.js +1 -0
  617. package/app/.next-cli-build/server/chunks/6960.js +1 -1
  618. package/app/.next-cli-build/server/chunks/6982.js +1 -1
  619. package/app/.next-cli-build/server/chunks/7067.js +1 -1
  620. package/app/.next-cli-build/server/chunks/7122.js +1 -1
  621. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  622. package/app/.next-cli-build/server/chunks/7274.js +12 -5
  623. package/app/.next-cli-build/server/chunks/7568.js +1 -0
  624. package/app/.next-cli-build/server/chunks/7726.js +1 -0
  625. package/app/.next-cli-build/server/chunks/7753.js +1 -0
  626. package/app/.next-cli-build/server/chunks/7775.js +1 -0
  627. package/app/.next-cli-build/server/chunks/8062.js +9 -0
  628. package/app/.next-cli-build/server/chunks/8172.js +1 -0
  629. package/app/.next-cli-build/server/chunks/8410.js +1 -1
  630. package/app/.next-cli-build/server/chunks/8469.js +9 -0
  631. package/app/.next-cli-build/server/chunks/8595.js +1 -0
  632. package/app/.next-cli-build/server/chunks/8658.js +1 -0
  633. package/app/.next-cli-build/server/chunks/8672.js +1 -0
  634. package/app/.next-cli-build/server/chunks/8689.js +1 -0
  635. package/app/.next-cli-build/server/chunks/869.js +1 -1
  636. package/app/.next-cli-build/server/chunks/8749.js +44 -0
  637. package/app/.next-cli-build/server/chunks/8838.js +1 -1
  638. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  639. package/app/.next-cli-build/server/chunks/9046.js +1 -0
  640. package/app/.next-cli-build/server/chunks/9154.js +1 -0
  641. package/app/.next-cli-build/server/chunks/9489.js +7 -0
  642. package/app/.next-cli-build/server/chunks/9539.js +1 -1
  643. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  644. package/app/.next-cli-build/server/chunks/9628.js +1 -0
  645. package/app/.next-cli-build/server/instrumentation.js +1 -1
  646. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  647. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  648. package/app/.next-cli-build/server/middleware.js +8 -8
  649. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  650. package/app/.next-cli-build/server/pages/404.html +1 -1
  651. package/app/.next-cli-build/server/pages/500.html +1 -1
  652. package/app/.next-cli-build/static/Qmgbf1CsCnKFbpB4QvL8M/_buildManifest.js +1 -0
  653. package/app/.next-cli-build/static/chunks/{1321-23084daf91733d47.js → 1321-502b5305b875636f.js} +1 -1
  654. package/app/.next-cli-build/static/chunks/{5497-d050b53817def025.js → 5497-10ab12f860a6a157.js} +1 -1
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-93f4c31ccd56a895.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-18da0e8d40af56ac.js → page-d3edcb35175434d5.js} +4 -4
  657. package/app/.next-cli-build/static/chunks/app/_global-error/page-72924bfdaa66606d.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-72924bfdaa66606d.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-72924bfdaa66606d.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-72924bfdaa66606d.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-72924bfdaa66606d.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-72924bfdaa66606d.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-72924bfdaa66606d.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-72924bfdaa66606d.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-72924bfdaa66606d.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-72924bfdaa66606d.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-72924bfdaa66606d.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-72924bfdaa66606d.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/auth/verify-password/route-72924bfdaa66606d.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-72924bfdaa66606d.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-72924bfdaa66606d.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-72924bfdaa66606d.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-72924bfdaa66606d.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-72924bfdaa66606d.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-72924bfdaa66606d.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-72924bfdaa66606d.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-72924bfdaa66606d.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-72924bfdaa66606d.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-72924bfdaa66606d.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-72924bfdaa66606d.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-72924bfdaa66606d.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-72924bfdaa66606d.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-72924bfdaa66606d.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-72924bfdaa66606d.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-72924bfdaa66606d.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-72924bfdaa66606d.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-72924bfdaa66606d.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-72924bfdaa66606d.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-72924bfdaa66606d.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/combos/route-72924bfdaa66606d.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-72924bfdaa66606d.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-72924bfdaa66606d.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-72924bfdaa66606d.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-72924bfdaa66606d.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-72924bfdaa66606d.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-72924bfdaa66606d.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/health/route-72924bfdaa66606d.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/init/route-72924bfdaa66606d.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-72924bfdaa66606d.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/keys/rotate/route-72924bfdaa66606d.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/keys/route-72924bfdaa66606d.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/locale/route-72924bfdaa66606d.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-72924bfdaa66606d.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-72924bfdaa66606d.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-72924bfdaa66606d.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-72924bfdaa66606d.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-72924bfdaa66606d.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-72924bfdaa66606d.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-72924bfdaa66606d.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-72924bfdaa66606d.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-72924bfdaa66606d.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/models/caps/route-72924bfdaa66606d.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/models/custom/bulk/route-72924bfdaa66606d.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-72924bfdaa66606d.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-72924bfdaa66606d.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/models/route-72924bfdaa66606d.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/models/test/route-72924bfdaa66606d.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/network/egress-region/route-72924bfdaa66606d.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-72924bfdaa66606d.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-72924bfdaa66606d.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-72924bfdaa66606d.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-72924bfdaa66606d.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-72924bfdaa66606d.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-72924bfdaa66606d.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-72924bfdaa66606d.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-72924bfdaa66606d.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-72924bfdaa66606d.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-72924bfdaa66606d.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-72924bfdaa66606d.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-72924bfdaa66606d.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-72924bfdaa66606d.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-72924bfdaa66606d.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-72924bfdaa66606d.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-72924bfdaa66606d.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder/checkin/route-72924bfdaa66606d.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder-cn/checkin/route-72924bfdaa66606d.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/export/route-72924bfdaa66606d.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/import/route-72924bfdaa66606d.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-72924bfdaa66606d.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-72924bfdaa66606d.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/pricing/route-72924bfdaa66606d.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-72924bfdaa66606d.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-72924bfdaa66606d.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-72924bfdaa66606d.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-72924bfdaa66606d.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-72924bfdaa66606d.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-72924bfdaa66606d.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-72924bfdaa66606d.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-72924bfdaa66606d.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-72924bfdaa66606d.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/providers/route-72924bfdaa66606d.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-72924bfdaa66606d.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-72924bfdaa66606d.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-72924bfdaa66606d.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-72924bfdaa66606d.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-72924bfdaa66606d.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-72924bfdaa66606d.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-72924bfdaa66606d.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-72924bfdaa66606d.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-72924bfdaa66606d.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-72924bfdaa66606d.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-72924bfdaa66606d.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-72924bfdaa66606d.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-72924bfdaa66606d.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-72924bfdaa66606d.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-72924bfdaa66606d.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-72924bfdaa66606d.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-72924bfdaa66606d.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/security/status/route-72924bfdaa66606d.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-72924bfdaa66606d.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-72924bfdaa66606d.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-72924bfdaa66606d.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-72924bfdaa66606d.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/settings/route-72924bfdaa66606d.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-72924bfdaa66606d.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/tags/route-72924bfdaa66606d.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-72924bfdaa66606d.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-72924bfdaa66606d.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-72924bfdaa66606d.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-72924bfdaa66606d.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-72924bfdaa66606d.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-72924bfdaa66606d.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-72924bfdaa66606d.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-72924bfdaa66606d.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-72924bfdaa66606d.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-72924bfdaa66606d.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-72924bfdaa66606d.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-72924bfdaa66606d.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-72924bfdaa66606d.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-72924bfdaa66606d.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-72924bfdaa66606d.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-72924bfdaa66606d.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/dashboard/route-72924bfdaa66606d.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-72924bfdaa66606d.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-72924bfdaa66606d.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-72924bfdaa66606d.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/usage/quotas/route-72924bfdaa66606d.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-72924bfdaa66606d.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-72924bfdaa66606d.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-72924bfdaa66606d.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-72924bfdaa66606d.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-72924bfdaa66606d.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-72924bfdaa66606d.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-72924bfdaa66606d.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-72924bfdaa66606d.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-72924bfdaa66606d.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-72924bfdaa66606d.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-72924bfdaa66606d.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-72924bfdaa66606d.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-72924bfdaa66606d.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-72924bfdaa66606d.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-72924bfdaa66606d.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-72924bfdaa66606d.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-72924bfdaa66606d.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-72924bfdaa66606d.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1/route-72924bfdaa66606d.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-72924bfdaa66606d.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-72924bfdaa66606d.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-72924bfdaa66606d.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-72924bfdaa66606d.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-72924bfdaa66606d.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-72924bfdaa66606d.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-72924bfdaa66606d.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-72924bfdaa66606d.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/version/route-72924bfdaa66606d.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-72924bfdaa66606d.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/version/update/route-72924bfdaa66606d.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/login/page-38ed66b1e6930f46.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-72924bfdaa66606d.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/page-72924bfdaa66606d.js +1 -0
  831. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-72924bfdaa66606d.js +1 -0
  832. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-72924bfdaa66606d.js +1 -0
  833. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-72924bfdaa66606d.js +1 -0
  834. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-72924bfdaa66606d.js +1 -0
  835. package/app/.next-cli-build/static/css/ab87cc8491e8d0fb.css +1 -0
  836. package/app/package.json +1 -1
  837. package/app/public/i18n/changelog/en.md +72 -46
  838. package/app/public/i18n/changelog/zh-CN.md +72 -46
  839. package/app/public/i18n/changelog/zh-TW.md +72 -46
  840. package/app/public/i18n/literals/zh-CN.json +22 -0
  841. package/app/public/i18n/literals/zh-TW.json +25 -0
  842. package/cli.js +9 -1
  843. package/package.json +1 -1
  844. package/src/cli/api/client.js +9 -2
  845. package/src/cli/menus/settings.js +1 -1
  846. package/app/.next-cli-build/server/chunks/1260.js +0 -1
  847. package/app/.next-cli-build/server/chunks/1281.js +0 -1
  848. package/app/.next-cli-build/server/chunks/2179.js +0 -1
  849. package/app/.next-cli-build/server/chunks/3662.js +0 -1
  850. package/app/.next-cli-build/server/chunks/3962.js +0 -1
  851. package/app/.next-cli-build/server/chunks/4037.js +0 -1
  852. package/app/.next-cli-build/server/chunks/4126.js +0 -1
  853. package/app/.next-cli-build/server/chunks/6051.js +0 -1
  854. package/app/.next-cli-build/server/chunks/6212.js +0 -1
  855. package/app/.next-cli-build/server/chunks/6520.js +0 -1
  856. package/app/.next-cli-build/server/chunks/6871.js +0 -1
  857. package/app/.next-cli-build/server/chunks/7180.js +0 -6
  858. package/app/.next-cli-build/server/chunks/7365.js +0 -1
  859. package/app/.next-cli-build/server/chunks/75.js +0 -1
  860. package/app/.next-cli-build/server/chunks/8145.js +0 -1
  861. package/app/.next-cli-build/server/chunks/8546.js +0 -1
  862. package/app/.next-cli-build/server/chunks/8635.js +0 -7
  863. package/app/.next-cli-build/server/chunks/9713.js +0 -1
  864. package/app/.next-cli-build/server/chunks/9896.js +0 -1
  865. package/app/.next-cli-build/server/chunks/9927.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-48878e82a437e813.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/_global-error/page-45a30f9960975021.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-45a30f9960975021.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-45a30f9960975021.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-45a30f9960975021.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-45a30f9960975021.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-45a30f9960975021.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-45a30f9960975021.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-45a30f9960975021.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-45a30f9960975021.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-45a30f9960975021.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-45a30f9960975021.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-45a30f9960975021.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/auth/verify-password/route-45a30f9960975021.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-45a30f9960975021.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-45a30f9960975021.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-45a30f9960975021.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-45a30f9960975021.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-45a30f9960975021.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-45a30f9960975021.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-45a30f9960975021.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-45a30f9960975021.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-45a30f9960975021.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-45a30f9960975021.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-45a30f9960975021.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-45a30f9960975021.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-45a30f9960975021.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-45a30f9960975021.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-45a30f9960975021.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-45a30f9960975021.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-45a30f9960975021.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-45a30f9960975021.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-45a30f9960975021.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-45a30f9960975021.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/combos/route-45a30f9960975021.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-45a30f9960975021.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-45a30f9960975021.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-45a30f9960975021.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-45a30f9960975021.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-45a30f9960975021.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-45a30f9960975021.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/health/route-45a30f9960975021.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/init/route-45a30f9960975021.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-45a30f9960975021.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/keys/rotate/route-45a30f9960975021.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/keys/route-45a30f9960975021.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/locale/route-45a30f9960975021.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-45a30f9960975021.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-45a30f9960975021.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-45a30f9960975021.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-45a30f9960975021.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-45a30f9960975021.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-45a30f9960975021.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-45a30f9960975021.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-45a30f9960975021.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-45a30f9960975021.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/models/caps/route-45a30f9960975021.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/models/custom/bulk/route-45a30f9960975021.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-45a30f9960975021.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-45a30f9960975021.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/models/route-45a30f9960975021.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/models/test/route-45a30f9960975021.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/network/egress-region/route-45a30f9960975021.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-45a30f9960975021.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-45a30f9960975021.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/checkin/route-45a30f9960975021.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/export/route-45a30f9960975021.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-45a30f9960975021.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-45a30f9960975021.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-45a30f9960975021.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-45a30f9960975021.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-45a30f9960975021.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-45a30f9960975021.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-45a30f9960975021.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-45a30f9960975021.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-45a30f9960975021.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-45a30f9960975021.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-45a30f9960975021.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-45a30f9960975021.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder/checkin/route-45a30f9960975021.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/oauth/qoder-cn/checkin/route-45a30f9960975021.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/export/route-45a30f9960975021.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/oauth/transfer/import/route-45a30f9960975021.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-45a30f9960975021.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-45a30f9960975021.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/pricing/route-45a30f9960975021.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-45a30f9960975021.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-45a30f9960975021.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-45a30f9960975021.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-45a30f9960975021.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-45a30f9960975021.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-45a30f9960975021.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-45a30f9960975021.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-45a30f9960975021.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-45a30f9960975021.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/providers/route-45a30f9960975021.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-45a30f9960975021.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-45a30f9960975021.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-45a30f9960975021.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-45a30f9960975021.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-45a30f9960975021.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-45a30f9960975021.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-45a30f9960975021.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-45a30f9960975021.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-45a30f9960975021.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-45a30f9960975021.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-45a30f9960975021.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-45a30f9960975021.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-45a30f9960975021.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-45a30f9960975021.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-45a30f9960975021.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-45a30f9960975021.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-45a30f9960975021.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/security/status/route-45a30f9960975021.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/settings/database/import-usage/route-45a30f9960975021.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-45a30f9960975021.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-45a30f9960975021.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-45a30f9960975021.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/settings/route-45a30f9960975021.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-45a30f9960975021.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/tags/route-45a30f9960975021.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-45a30f9960975021.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-45a30f9960975021.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-45a30f9960975021.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-45a30f9960975021.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-45a30f9960975021.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-45a30f9960975021.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-45a30f9960975021.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-45a30f9960975021.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-45a30f9960975021.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-45a30f9960975021.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-45a30f9960975021.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-45a30f9960975021.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-45a30f9960975021.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-45a30f9960975021.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-45a30f9960975021.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-45a30f9960975021.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/usage/dashboard/route-45a30f9960975021.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-45a30f9960975021.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-45a30f9960975021.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-45a30f9960975021.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-45a30f9960975021.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-45a30f9960975021.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-45a30f9960975021.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-45a30f9960975021.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-45a30f9960975021.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-45a30f9960975021.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-45a30f9960975021.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-45a30f9960975021.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-45a30f9960975021.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-45a30f9960975021.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-45a30f9960975021.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-45a30f9960975021.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-45a30f9960975021.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-45a30f9960975021.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-45a30f9960975021.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-45a30f9960975021.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-45a30f9960975021.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-45a30f9960975021.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/v1/route-45a30f9960975021.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-45a30f9960975021.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-45a30f9960975021.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-45a30f9960975021.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-45a30f9960975021.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-45a30f9960975021.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-45a30f9960975021.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-45a30f9960975021.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-45a30f9960975021.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/version/route-45a30f9960975021.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-45a30f9960975021.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/version/update/route-45a30f9960975021.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/login/page-f1945d5fab85c48f.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-45a30f9960975021.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/page-45a30f9960975021.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-45a30f9960975021.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-45a30f9960975021.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-45a30f9960975021.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-45a30f9960975021.js +0 -1
  1044. package/app/.next-cli-build/static/css/6e249fe05f9d7227.css +0 -1
  1045. package/app/.next-cli-build/static/mzc6AVdJokpIsYjtjKON0/_buildManifest.js +0 -1
  1046. /package/app/.next-cli-build/static/{mzc6AVdJokpIsYjtjKON0 → Qmgbf1CsCnKFbpB4QvL8M}/_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")},10972:(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},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:()=>t});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(36753),q=c(90351),r=c(99258),s=a([g]);function t(){let{theme:a,setTheme:b,isDark:c}=(0,j.D)(),[d,s]=(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)})()),[t,u]=(0,f.useState)(!0),[v,w]=(0,f.useState)(!0),[x,y]=(0,f.useState)(!1),[z,A]=(0,f.useState)(!1),[B,C]=(0,f.useState)(!1),[D,E]=(0,f.useState)(!1),[F,G]=(0,f.useState)({fallbackStrategy:"fill-first"}),[H,I]=(0,f.useState)(!0),[J,K]=(0,f.useState)({current:"",new:"",confirm:""}),[L,M]=(0,f.useState)({type:"",message:""}),[N,O]=(0,f.useState)(!1),[P,Q]=(0,f.useState)(!1),[R,S]=(0,f.useState)({type:"",message:""}),[T,U]=(0,f.useState)({open:!1,mode:"",password:""}),V=(0,f.useRef)(null),[W,X]=(0,f.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[Y,Z]=(0,f.useState)(""),[$,_]=(0,f.useState)({type:"",message:""}),[aa,ab]=(0,f.useState)(!1),[ac,ad]=(0,f.useState)(!1),[ae,af]=(0,f.useState)({type:"",message:""}),[ag,ah]=(0,f.useState)(!1),ai="/api/auth/saml/acs",aj="/api/auth/saml/metadata",[ak,al]=(0,f.useState)("saml"),[am,an]=(0,f.useState)({samlEntryPoint:"",samlIssuer:"urn:10router:sp",samlCert:"",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[ao,ap]=(0,f.useState)({type:"",message:""}),[aq,ar]=(0,f.useState)(!1),[as,at]=(0,f.useState)(!1),[au,av]=(0,f.useState)({type:"",message:""}),[aw,ax]=(0,f.useState)(!1),ay=(0,f.useRef)(null),az=(0,f.useRef)(null),aA=(0,f.useRef)(null),aB=(0,f.useRef)(null),aC=(0,f.useRef)(null),[aD,aE]=(0,f.useState)({type:"",message:""}),[aF,aG]=(0,f.useState)(!1),[aH,aI]=(0,f.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aJ,aK]=(0,f.useState)({type:"",message:""}),[aL,aM]=(0,f.useState)(!1),[aN,aO]=(0,f.useState)(!1),[aP,aQ]=(0,f.useState)(!1),aR=async()=>{let a=!1===F.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&&G(a=>({...a,...c}))}catch(a){console.log("Error toggling show-community-providers:",a)}},aS=async a=>{if(a.preventDefault(),!0===F.outboundProxyEnabled){aM(!0),aK({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:aH.outboundProxyUrl,outboundNoProxy:aH.outboundNoProxy})}),b=await a.json();a.ok?(G(a=>({...a,...b})),aK({type:"success",message:"Proxy settings applied"})):aK({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){aK({type:"error",message:"An error occurred"})}finally{aM(!1)}}},aT=async()=>{if(!0!==F.outboundProxyEnabled)return;let a=(aH.outboundProxyUrl||"").trim();if(!a)return void aK({type:"error",message:"Please enter a Proxy URL to test"});aO(!0),aK({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?aK({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):aK({type:"error",message:c?.error||"Proxy test failed"})}catch(a){aK({type:"error",message:"An error occurred"})}finally{aO(!1)}},aU=async a=>{aM(!0),aK({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?(G(a=>({...a,...c})),aI(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),aK({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):aK({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){aK({type:"error",message:"An error occurred"})}finally{aM(!1)}},aV=async a=>{if(a.preventDefault(),J.new!==J.confirm)return void M({type:"error",message:"Passwords do not match"});O(!0),M({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:J.current,newPassword:J.new})}),b=await a.json();a.ok?(M({type:"success",message:"Password updated successfully"}),K({current:"",new:"",confirm:""})):M({type:"error",message:b.error||"Failed to update password"})}catch(a){M({type:"error",message:"An error occurred"})}finally{O(!1)}},aW=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&G(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},aX=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&G(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",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({stickyRoundRobinLimit:b})})).ok&&G(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},aZ=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&&G(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},a$=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&G(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},a_=(a,b)=>{X(c=>({...c,[a]:b}))},a0=async(a=W.authMode||"password")=>{let b=W.oidcIssuerUrl.trim(),c=W.oidcClientId.trim(),d=W.oidcScopes.trim(),e=W.oidcLoginLabel.trim(),f=Y.trim();if("password"!==a&&(!b||!c||!f)&&!F.oidcConfigured)return void _({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});ab(!0),_({type:"",message:""}),af({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?(G(a=>({...a,...i})),X({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"}),Z(""),_({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):_({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){_({type:"error",message:"An error occurred"})}finally{ab(!1)}},a1=async()=>{let a=W.oidcIssuerUrl.trim(),b=W.oidcClientId.trim(),c=W.oidcScopes.trim(),d=Y.trim();if(!a||!b)return void af({type:"error",message:"Issuer URL and client ID are required to test the connection."});ad(!0),_({type:"",message:""}),af({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:W.authMode||F.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:W.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void af({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}.`;af({type:"success",message:a})}else af({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ad(!1)}},a2=(a,b)=>{an(c=>({...c,[a]:b}))},a3=async(a=W.authMode||"password")=>{ar(!0),ap({type:"",message:""}),av({type:"",message:""});try{let b={authMode:a,ssoType:"saml",samlEntryPoint:am.samlEntryPoint.trim(),samlIssuer:am.samlIssuer.trim()||"urn:10router:sp",samlCert:am.samlCert.trim(),samlLoginLabel:am.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:am.samlAttributeEmail.trim()||"email",samlAttributeName:am.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?(G(a=>({...a,...d})),an({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}),ap({type:"success",message:"sso"===a||"saml"===a?"SAML SSO login enabled":"both"===a?"Password and SAML SSO login enabled":"SAML 2.0 settings saved"})):ap({type:"error",message:d.error||"Failed to save SAML settings"})}catch{ap({type:"error",message:"An error occurred while saving SAML settings"})}finally{ar(!1)}},a4=async()=>{at(!0),ap({type:"",message:""}),av({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:am.samlEntryPoint.trim(),samlIssuer:am.samlIssuer.trim(),samlCert:am.samlCert.trim()})}),b=await a.json();a.ok&&b.ok?av({type:"success",message:b.message||"SAML configuration verified!"}):av({type:"error",message:b.error||"SAML configuration test failed"})}catch{av({type:"error",message:"An error occurred while testing SAML configuration"})}finally{at(!1)}},a5=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&G(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},a6=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();G(b)}catch(a){console.error("Failed to reload settings:",a)}},a7=async a=>{Q(!0),S({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);let i=Array.isArray(c?.credentialErrors)?c.credentialErrors:[];i.length>0?S({type:"error",message:(0,r.Tl)("Backup downloaded, but {count} connection(s) could not be decrypted — their credentials are stored as ciphertext and can only be restored with the original key.").replace("{count}",String(i.length))}):S({type:"success",message:"Database backup downloaded"})}catch(a){S({type:"error",message:a.message||"Failed to export database"})}finally{Q(!1)}},a8=a=>/\\.(sqlite|sqlite3|db)$/i.test(a.name)||"application/x-sqlite3"===a.type||"application/vnd.sqlite3"===a.type||"application/octet-stream"===a.type,a9=a=>/\\.(json)$/i.test(a.name)||"application/json"===a.type,ba=async(a,b=null)=>{aG(!0),aE({type:"",message:""});try{let c,d=a9(a)&&!a8(a),e={};if(b&&(e["x-9r-password"]=b),d){let b;try{let c=await a.text();b=JSON.parse(c)}catch{aG(!1),aE({type:"error",message:(0,r.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){aC.current=a,U({open:!0,mode:"usage-import",password:""});return}throw Error(g.error||"Failed to import usage")}aE({type:"success",message:`${(0,r.Tl)("Imported")} ${g.imported} ${(0,r.Tl)("usage records")} (${(0,r.Tl)("skipped")} ${g.skipped}, ${(0,r.Tl)("total")} ${g.total})`})}catch(a){aE({type:"error",message:a.message||"Failed to import usage"})}finally{aG(!1)}},bb=async a=>{let b=V.current;if(b){Q(!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 a6(),S({type:"success",message:"Database imported successfully"})}catch(a){S({type:"error",message:a.message||"Invalid backup file"})}finally{V.current=null,Q(!1)}}},bc=async()=>{let{mode:a,password:b}=T;if(U({open:!1,mode:"",password:""}),"export"===a)await a7(b);else if("import"===a)await bb(b);else if("usage-import"===a){let a=aC.current;aC.current=null,a&&await ba(a,b)}},bd=!0===F.enableObservability,be=async()=>{E(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}E(!1),A(!1)},bf=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:()=>U({open:!0,mode:"export",password:""}),loading:P,className:"w-full sm:w-auto",children:"Download Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>aA.current?.click(),disabled:P,className:"w-full sm:w-auto",children:"Import Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"history",onClick:()=>aB.current?.click(),loading:aF,className:"w-full sm:w-auto",children:(0,r.Tl)("Import Usage")}),(0,e.jsx)("input",{ref:aA,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];aA.current&&(aA.current.value=""),b&&(V.current=b,S({type:"",message:""}),U({open:!0,mode:"import",password:""}))}}),(0,e.jsx)("input",{ref:aB,type:"file",accept:".sqlite,.db,.sqlite3,.json,application/json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(aB.current&&(aB.current.value=""),b){if(!a8(b)&&!a9(b))return void aE({type:"error",message:(0,r.Tl)("Only SQLite (.sqlite/.db) or JSON (.json) usage files can be imported")});ba(b)}}})]}),(0,e.jsx)("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:(0,r.Tl)("The backup file contains provider credentials in readable form — store it like a password.")}),R.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===R.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:R.message}),aD.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===aD.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:aD.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,r.Tl)("Language")})]}),(0,e.jsxs)("button",{onClick:()=>y(!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,r.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,r.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:t,onChange:()=>{let a=!(0,o.i)();"u">typeof localStorage&&localStorage.setItem("useRegionalCurrency",a?"1":"0"),u(a)}})]}),(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,r.Tl)("Unit abbreviation")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"Large numbers as 亿/万 (zh) or M/B (en); off → full numbers"})]}),(0,e.jsx)(g.lM,{checked:v,onChange:()=>{let a=!(0,p.k)();"u">typeof localStorage&&localStorage.setItem("compactUnits",a?"1":"0"),w(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,r.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,r.Tl)("Require login")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,r.Tl)("When ON, dashboard requires password. When OFF, access without login.")})]}),(0,e.jsx)(g.lM,{checked:!1!==F.requireLogin,onChange:()=>{!1===F.requireLogin?a$(!0):C(!0)},disabled:H})]}),!1!==F.requireLogin&&(0,e.jsxs)("form",{onSubmit:aV,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[F.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:J.current,onChange:a=>K({...J,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:J.new,onChange:a=>K({...J,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:J.confirm,onChange:a=>K({...J,confirm:a.target.value}),required:!0})]})]}),L.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===L.type?"text-red-500":"text-green-500"}`,children:L.message}),(0,e.jsx)("div",{className:"pt-2",children:(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:N,className:"w-full sm:w-auto",children:F.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("button",{type:"button",onClick:()=>ah(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,r.Tl)("Single Sign-On (SSO)")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"sso"===F.authMode||"oidc"===F.authMode||"saml"===F.authMode?`${"saml"===F.ssoType?"SAML 2.0":"OIDC"} SSO active`:"both"===F.authMode?`Password + ${"saml"===F.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:ag?"expand_less":"expand_more"})]}),ag&&(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,r.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:()=>al("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"===ak?"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:()=>al("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"===ak?"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"===ak?"SAML":"OIDC"} only`,desc:"Require SSO for dashboard access."},{value:"both",title:"Both",desc:"Allow password or SSO login."}].map(a=>{let b=W.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:H||aa||aq,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"===ak?(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:()=>ax(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:aw?"rotate(180deg)":"none"},children:"expand_more"})]}),aw&&(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:ai})]}),(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:am.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:ai}),"."]}),(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:am.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:am.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:ai})]}),(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:ai})]}),(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:am.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:am.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:ai})]}),(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:()=>ay.current?.click(),children:"Upload Metadata XML"}),(0,e.jsx)("input",{ref:ay,type:"file",accept:".xml,application/xml,text/xml",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(ay.current&&(ay.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 ap({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()),an(a=>({...a,samlEntryPoint:f||a.samlEntryPoint,samlIssuer:a.samlIssuer||"urn:10router:sp",samlCert:h||a.samlCert})),ap({type:"success",message:`IdP Metadata imported! (SSO URL: ${f?"found":"not found"}, EntityID: ${d?"found":"not found"}, Cert: ${h?"found":"not found"})`})}catch(a){ap({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:am.samlEntryPoint,onChange:a=>a2("samlEntryPoint",a.target.value),disabled:H||aq})]}),(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:am.samlIssuer,onChange:a=>a2("samlIssuer",a.target.value),disabled:H||aq})]}),(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:()=>az.current?.click(),children:"Upload Certificate"}),(0,e.jsx)("input",{ref:az,type:"file",accept:".crt,.pem,.cer,text/plain",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(az.current&&(az.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{let b=a.target?.result||"";an(a=>({...a,samlCert:b.trim()})),ap({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:am.samlCert,onChange:a=>a2("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:H||aq}),(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:am.samlLoginLabel,onChange:a=>a2("samlLoginLabel",a.target.value),disabled:H||aq})]}),(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:am.samlAttributeEmail,onChange:a=>a2("samlAttributeEmail",a.target.value),disabled:H||aq})]}),(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:am.samlAttributeName,onChange:a=>a2("samlAttributeName",a.target.value),disabled:H||aq})]})]})]}),(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:ai})]}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",size:"sm",icon:"content_copy",onClick:async()=>{await (0,q.e)(ai),ap({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:aj})]}),(0,e.jsxs)("a",{href:aj,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:aq,onClick:()=>a3(W.authMode),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:as,onClick:a4,className:"w-full sm:w-auto",children:"Test SAML settings"})]}),au.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===au.type?"text-red-500":"text-green-500"}`,children:au.message}),ao.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ao.type?"text-red-500":"text-green-500"}`,children:ao.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:W.oidcIssuerUrl,onChange:a=>a_("oidcIssuerUrl",a.target.value),disabled:H||aa})]}),(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:W.oidcClientId,onChange:a=>a_("oidcClientId",a.target.value),disabled:H||aa})]}),(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:Y,onChange:a=>Z(a.target.value),disabled:H||aa}),(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:W.oidcScopes,onChange:a=>a_("oidcScopes",a.target.value),disabled:H||aa})]}),(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:W.oidcLoginLabel,onChange:a=>a_("oidcLoginLabel",a.target.value),disabled:H||aa})]})]}),(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:aa,onClick:()=>a0(),className:"w-full sm:w-auto",children:"Save OIDC settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:ac,onClick:a1,className:"w-full sm:w-auto",children:"Test connection"})]}),ae.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ae.type?"text-red-500":"text-green-500"}`,children:ae.message}),$.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===$.type?"text-red-500":"text-green-500"}`,children:$.message})]}),"oidc"===F.authMode||"saml"===F.authMode||"sso"===F.authMode?(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["SSO login (","saml"===F.ssoType?"SAML 2.0":"OIDC",") is currently active. Password login is disabled until you switch back."]}):null,"both"===F.authMode&&(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["Password and SSO login (","saml"===F.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"===F.fallbackStrategy,onChange:()=>aW("round-robin"===F.fallbackStrategy?"fill-first":"round-robin"),disabled:H})]}),"round-robin"===F.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:F.stickyRoundRobinLimit||3,onChange:a=>aY(a.target.value),disabled:H,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"===F.comboStrategy,onChange:()=>aX("round-robin"===F.comboStrategy?"fallback":"round-robin"),disabled:H})]}),"round-robin"===F.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:F.comboStickyRoundRobinLimit||1,onChange:a=>aZ(a.target.value),disabled:H,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"===F.fallbackStrategy?`Currently distributing requests across all available accounts with ${F.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===F.comboStrategy?` Combos rotate after ${F.comboStickyRoundRobinLimit||1} call${1===(F.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,r.Tl)("Providers")})]}),(0,e.jsx)("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,r.Tl)("Show trial providers")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,r.Tl)("Show public unauthenticated trial channels (e.g. OpenCode Free)")})]}),(0,e.jsx)(g.lM,{checked:!1!==F.showCommunityProviders,onChange:aR})]})})]}),(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,r.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===F.outboundProxyEnabled,onChange:()=>aU(!0!==F.outboundProxyEnabled),disabled:H||aL})]}),!0===F.outboundProxyEnabled&&(0,e.jsxs)("form",{onSubmit:aS,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:aH.outboundProxyUrl,onChange:a=>aI(b=>({...b,outboundProxyUrl:a.target.value})),disabled:H||aL}),(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:aH.outboundNoProxy,onChange:a=>aI(b=>({...b,outboundNoProxy:a.target.value})),disabled:H||aL}),(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:aN,disabled:H||aL,onClick:aT,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:aL,className:"w-full sm:w-auto",children:"Apply"})]})]}),aJ.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aJ.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aJ.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,r.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:bd,onChange:a5,disabled:H})]})]}),(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:()=>A(!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:bf,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:aP?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,e.jsx)(i.default,{hideTrigger:!0,isOpen:x,onClose:a=>{y(!1),s(a)}}),(0,e.jsx)(h.ConfirmModal,{isOpen:B,onClose:()=>C(!1),onConfirm:()=>{C(!1),a$(!1)},title:(0,r.Tl)("Turn off the log-in check?"),message:(0,r.Tl)("Anyone who can reach this port will be able to manage every provider, key and credential without a password. The dashboard keeps a warning banner while it is off."),confirmText:(0,r.Tl)("Turn it off"),cancelText:(0,r.Tl)("Cancel"),variant:"danger"}),(0,e.jsx)(h.ConfirmModal,{isOpen:z,onClose:()=>A(!1),onConfirm:be,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:D}),(0,e.jsxs)(h.default,{isOpen:T.open,onClose:()=>U({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.$n,{variant:"ghost",onClick:()=>U({open:!1,mode:"",password:""}),disabled:P,children:"Cancel"}),(0,e.jsx)(g.$n,{variant:"primary",onClick:bc,loading:P,disabled:!T.password,children:"Confirm"})]}),children:[(0,e.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===T.mode?"export":"import"," the database."]}),(0,e.jsx)(g.pd,{type:"password",value:T.password,onChange:a=>U(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&T.password&&bc()},placeholder:"Current password",autoFocus:!0})]})]})}g=(s.then?(await s)():s)[0],d()}catch(a){d(a)}})},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")},98995:a=>{"use strict";a.exports=require("node:module")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,2430,4613,8410,877,5781,7274,1330,6070,869,7239,6457,4123,7365,6960,112],()=>b(b.s=10972));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")},37485:(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},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:()=>u});var e=c(48249),f=c(67484),g=c(94579),h=c(95145),i=c(8210),j=c(267),k=c(42118),l=c(71404),m=c(12020),n=c(51126),o=c(818),p=c(79750),q=c(36753),r=c(90351),s=c(99258),t=a([g]);function u(){let{theme:a,setTheme:b,isDark:c}=(0,k.D)(),[d,t]=(0,f.useState)(()=>(function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${n.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,n.QC)(b)})()),[u,v]=(0,f.useState)(!0),[w,x]=(0,f.useState)(!0),[y,z]=(0,f.useState)(!1),[A,B]=(0,f.useState)(!1),[C,D]=(0,f.useState)(!1),[E,F]=(0,f.useState)(!1),[G,H]=(0,f.useState)({open:!1,value:"",confirm:"",error:"",loading:!1}),[I,J]=(0,f.useState)({loading:!1,message:"",type:""}),[K,L]=(0,f.useState)(!1),[M,N]=(0,f.useState)({fallbackStrategy:"fill-first"}),[O,P]=(0,f.useState)(!0),[Q,R]=(0,f.useState)({current:"",new:"",confirm:""}),[S,T]=(0,f.useState)({type:"",message:""}),[U,V]=(0,f.useState)(!1),[W,X]=(0,f.useState)(!1),[Y,Z]=(0,f.useState)({type:"",message:""}),[$,_]=(0,f.useState)({open:!1,mode:"",password:""}),aa=(0,f.useRef)(null),[ab,ac]=(0,f.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[ad,ae]=(0,f.useState)(""),[af,ag]=(0,f.useState)({type:"",message:""}),[ah,ai]=(0,f.useState)(!1),[aj,ak]=(0,f.useState)(!1),[al,am]=(0,f.useState)({type:"",message:""}),[an,ao]=(0,f.useState)(!1),ap="/api/auth/saml/acs",aq="/api/auth/saml/metadata",[ar,as]=(0,f.useState)("saml"),[at,au]=(0,f.useState)({samlEntryPoint:"",samlIssuer:"urn:10router:sp",samlCert:"",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[av,aw]=(0,f.useState)({type:"",message:""}),[ax,ay]=(0,f.useState)(!1),[az,aA]=(0,f.useState)(!1),[aB,aC]=(0,f.useState)({type:"",message:""}),[aD,aE]=(0,f.useState)(!1),aF=(0,f.useRef)(null),aG=(0,f.useRef)(null),aH=(0,f.useRef)(null),aI=(0,f.useRef)(null),aJ=(0,f.useRef)(null),[aK,aL]=(0,f.useState)({type:"",message:""}),[aM,aN]=(0,f.useState)(!1),[aO,aP]=(0,f.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aQ,aR]=(0,f.useState)({type:"",message:""}),[aS,aT]=(0,f.useState)(!1),[aU,aV]=(0,f.useState)(!1),[aW,aX]=(0,f.useState)(!1),aY=async()=>{let a=!1===M.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&&N(a=>({...a,...c}))}catch(a){console.log("Error toggling show-community-providers:",a)}},aZ=async a=>{if(a.preventDefault(),!0===M.outboundProxyEnabled){aT(!0),aR({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:aO.outboundProxyUrl,outboundNoProxy:aO.outboundNoProxy})}),b=await a.json();a.ok?(N(a=>({...a,...b})),aR({type:"success",message:"Proxy settings applied"})):aR({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){aR({type:"error",message:"An error occurred"})}finally{aT(!1)}}},a$=async()=>{if(!0!==M.outboundProxyEnabled)return;let a=(aO.outboundProxyUrl||"").trim();if(!a)return void aR({type:"error",message:"Please enter a Proxy URL to test"});aV(!0),aR({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?aR({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):aR({type:"error",message:c?.error||"Proxy test failed"})}catch(a){aR({type:"error",message:"An error occurred"})}finally{aV(!1)}},a_=async a=>{aT(!0),aR({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?(N(a=>({...a,...c})),aP(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),aR({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):aR({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){aR({type:"error",message:"An error occurred"})}finally{aT(!1)}},a0=async a=>{if(a.preventDefault(),!Q.new.trim())return void T({type:"error",message:(0,s.Tl)("Password cannot be empty")});if(Q.new!==Q.confirm)return void T({type:"error",message:"Passwords do not match"});V(!0),T({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:Q.current,newPassword:Q.new})}),b=await a.json();a.ok?(T({type:"success",message:"Password updated successfully"}),R({current:"",new:"",confirm:""})):T({type:"error",message:b.error||"Failed to update password"})}catch(a){T({type:"error",message:"An error occurred"})}finally{V(!1)}},a1=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&N(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},a2=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&N(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},a3=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&&N(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},a4=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&&N(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},a5=async a=>{try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})});if(!b.ok){let a=await b.json().catch(()=>({}));a?.code==="PASSWORD_REQUIRED"&&H({open:!0,value:"",confirm:"",error:"",loading:!1});return}b.ok&&(N(b=>({...b,requireLogin:a,...a?{hideLoginOffBanner:!1}:{}})),window.dispatchEvent(new Event(i.f)))}catch(a){console.error("Failed to update require login:",a)}},a6=async()=>{let{value:a,confirm:b}=G;if(!a.trim())return void H(a=>({...a,error:(0,s.Tl)("Password cannot be empty")}));if(a!==b)return void H(a=>({...a,error:(0,s.Tl)("Passwords do not match")}));H(a=>({...a,loading:!0,error:""}));try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({newPassword:a,requireLogin:!0})}),c=await b.json().catch(()=>({}));if(!b.ok)return void H(a=>({...a,loading:!1,error:c?.error||(0,s.Tl)("Failed to update password")}));N(a=>({...a,requireLogin:!0,hasPassword:!0,hideLoginOffBanner:!1})),H({open:!1,value:"",confirm:"",error:"",loading:!1}),window.dispatchEvent(new Event(i.f))}catch{H(a=>({...a,loading:!1,error:(0,s.Tl)("An error occurred")}))}},a7=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({autoUpdateCheck:a})})).ok&&(N(b=>({...b,autoUpdateCheck:a})),J({loading:!1,message:"",type:""}))}catch(a){console.error("Failed to update automatic update check:",a)}},a8=async()=>{J({loading:!0,message:"",type:""});try{let a=await fetch("/api/version?check=1",{cache:"no-store"}),b=a.ok?await a.json():null;b?.latestVersion?b.hasUpdate?J({loading:!1,type:"info",message:(0,s.Tl)("New version available: v${latest} (installed v${current})").replace("${latest}",b.latestVersion).replace("${current}",b.currentVersion)}):J({loading:!1,type:"ok",message:(0,s.Tl)("You are on the latest version (v${current}).").replace("${current}",b.currentVersion)}):J({loading:!1,type:"error",message:(0,s.Tl)("Could not reach the update server. Try again later.")})}catch{J({loading:!1,type:"error",message:(0,s.Tl)("Could not reach the update server. Try again later.")})}},a9=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({hideLoginOffBanner:a})})).ok&&(N(b=>({...b,hideLoginOffBanner:a})),window.dispatchEvent(new Event(i.f)))}catch(a){console.error("Failed to update login-off banner:",a)}},ba=(a,b)=>{ac(c=>({...c,[a]:b}))},bb=async(a=ab.authMode||"password")=>{let b=ab.oidcIssuerUrl.trim(),c=ab.oidcClientId.trim(),d=ab.oidcScopes.trim(),e=ab.oidcLoginLabel.trim(),f=ad.trim();if("password"!==a&&(!b||!c||!f)&&!M.oidcConfigured)return void ag({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});ai(!0),ag({type:"",message:""}),am({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?(N(a=>({...a,...i})),ac({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"}),ae(""),ag({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):ag({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){ag({type:"error",message:"An error occurred"})}finally{ai(!1)}},bc=async()=>{let a=ab.oidcIssuerUrl.trim(),b=ab.oidcClientId.trim(),c=ab.oidcScopes.trim(),d=ad.trim();if(!a||!b)return void am({type:"error",message:"Issuer URL and client ID are required to test the connection."});ak(!0),ag({type:"",message:""}),am({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:ab.authMode||M.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:ab.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void am({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}.`;am({type:"success",message:a})}else am({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){am({type:"error",message:"An error occurred"})}finally{ak(!1)}},bd=(a,b)=>{au(c=>({...c,[a]:b}))},be=async(a=ab.authMode||"password")=>{ay(!0),aw({type:"",message:""}),aC({type:"",message:""});try{let b={authMode:a,ssoType:"saml",samlEntryPoint:at.samlEntryPoint.trim(),samlIssuer:at.samlIssuer.trim()||"urn:10router:sp",samlCert:at.samlCert.trim(),samlLoginLabel:at.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:at.samlAttributeEmail.trim()||"email",samlAttributeName:at.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?(N(a=>({...a,...d})),au({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}),aw({type:"success",message:"sso"===a||"saml"===a?"SAML SSO login enabled":"both"===a?"Password and SAML SSO login enabled":"SAML 2.0 settings saved"})):aw({type:"error",message:d.error||"Failed to save SAML settings"})}catch{aw({type:"error",message:"An error occurred while saving SAML settings"})}finally{ay(!1)}},bf=async()=>{aA(!0),aw({type:"",message:""}),aC({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:at.samlEntryPoint.trim(),samlIssuer:at.samlIssuer.trim(),samlCert:at.samlCert.trim()})}),b=await a.json();a.ok&&b.ok?aC({type:"success",message:b.message||"SAML configuration verified!"}):aC({type:"error",message:b.error||"SAML configuration test failed"})}catch{aC({type:"error",message:"An error occurred while testing SAML configuration"})}finally{aA(!1)}},bg=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&N(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},bh=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();N(b)}catch(a){console.error("Failed to reload settings:",a)}},bi=async a=>{X(!0),Z({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-10r-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);let i=Array.isArray(c?.credentialErrors)?c.credentialErrors:[];i.length>0?Z({type:"error",message:(0,s.Tl)("Backup downloaded, but {count} connection(s) could not be decrypted — their credentials are stored as ciphertext and can only be restored with the original key.").replace("{count}",String(i.length))}):Z({type:"success",message:"Database backup downloaded"})}catch(a){Z({type:"error",message:a.message||"Failed to export database"})}finally{X(!1)}},bj=a=>/\\.(sqlite|sqlite3|db)$/i.test(a.name)||"application/x-sqlite3"===a.type||"application/vnd.sqlite3"===a.type||"application/octet-stream"===a.type,bk=a=>/\\.(json)$/i.test(a.name)||"application/json"===a.type,bl=async(a,b=null)=>{aN(!0),aL({type:"",message:""});try{let c,d=bk(a)&&!bj(a),e={};if(b&&(e["x-10r-password"]=b),d){let b;try{let c=await a.text();b=JSON.parse(c)}catch{aN(!1),aL({type:"error",message:(0,s.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){aJ.current=a,_({open:!0,mode:"usage-import",password:""});return}throw Error(g.error||"Failed to import usage")}aL({type:"success",message:`${(0,s.Tl)("Imported")} ${g.imported} ${(0,s.Tl)("usage records")} (${(0,s.Tl)("skipped")} ${g.skipped}, ${(0,s.Tl)("total")} ${g.total})`})}catch(a){aL({type:"error",message:a.message||"Failed to import usage"})}finally{aN(!1)}},bm=async a=>{let b=aa.current;if(b){X(!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 bh(),Z({type:"success",message:"Database imported successfully"})}catch(a){Z({type:"error",message:a.message||"Invalid backup file"})}finally{aa.current=null,X(!1)}}},bn=async()=>{let{mode:a,password:b}=$;if(_({open:!1,mode:"",password:""}),"export"===a)await bi(b);else if("import"===a)await bm(b);else if("usage-import"===a){let a=aJ.current;aJ.current=null,a&&await bl(a,b)}},bo=!0===M.enableObservability,bp=async()=>{L(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}L(!1),B(!1)},bq=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,l.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:()=>_({open:!0,mode:"export",password:""}),loading:W,className:"w-full sm:w-auto",children:"Download Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>aH.current?.click(),disabled:W,className:"w-full sm:w-auto",children:"Import Backup"}),(0,e.jsx)(g.$n,{variant:"outline",icon:"history",onClick:()=>aI.current?.click(),loading:aM,className:"w-full sm:w-auto",children:(0,s.Tl)("Import Usage")}),(0,e.jsx)("input",{ref:aH,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];aH.current&&(aH.current.value=""),b&&(aa.current=b,Z({type:"",message:""}),_({open:!0,mode:"import",password:""}))}}),(0,e.jsx)("input",{ref:aI,type:"file",accept:".sqlite,.db,.sqlite3,.json,application/json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(aI.current&&(aI.current.value=""),b){if(!bj(b)&&!bk(b))return void aL({type:"error",message:(0,s.Tl)("Only SQLite (.sqlite/.db) or JSON (.json) usage files can be imported")});bl(b)}}})]}),(0,e.jsx)("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:(0,s.Tl)("The backup file contains provider credentials in readable form — store it like a password.")}),Y.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===Y.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:Y.message}),aK.message&&(0,e.jsx)("p",{className:`text-sm ${"error"===aK.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:aK.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,s.Tl)("Language")})]}),(0,e.jsxs)("button",{onClick:()=>z(!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,s.Tl)("Display language")}),(0,e.jsx)("span",{className:"text-2xl",children:o.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,s.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:u,onChange:()=>{let a=!(0,p.i)();"u">typeof localStorage&&localStorage.setItem("useRegionalCurrency",a?"1":"0"),v(a)}})]}),(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,s.Tl)("Unit abbreviation")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"Large numbers as 亿/万 (zh) or M/B (en); off → full numbers"})]}),(0,e.jsx)(g.lM,{checked:w,onChange:()=>{let a=!(0,q.k)();"u">typeof localStorage&&localStorage.setItem("compactUnits",a?"1":"0"),x(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,s.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,s.Tl)("Require login")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,s.Tl)("When ON, dashboard requires password. When OFF, access without login.")})]}),(0,e.jsx)(g.lM,{checked:!1!==M.requireLogin,onChange:()=>{!1===M.requireLogin?a5(!0):D(!0)},disabled:O})]}),!1===M.requireLogin&&(0,e.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pl-3 border-l-2 border-red-500/40",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,s.Tl)("Show the log-in-off warning banner")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,s.Tl)("The red banner at the top of every page while the log-in check is off. Turning log-in back on shows it again next time.")})]}),(0,e.jsx)(g.lM,{checked:!0!==M.hideLoginOffBanner,onChange:()=>{!0===M.hideLoginOffBanner?a9(!1):F(!0)},disabled:O})]}),!1!==M.requireLogin&&(0,e.jsxs)("form",{onSubmit:a0,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[M.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:Q.current,onChange:a=>R({...Q,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:Q.new,onChange:a=>R({...Q,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:Q.confirm,onChange:a=>R({...Q,confirm:a.target.value}),required:!0})]})]}),S.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===S.type?"text-red-500":"text-green-500"}`,children:S.message}),(0,e.jsx)("div",{className:"pt-2",children:(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:U,className:"w-full sm:w-auto",children:M.hasPassword?"Update Password":"Set Password"})})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 pt-4 border-t border-border/50",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,s.Tl)("Check for updates automatically")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,s.Tl)("When OFF, 10Router no longer contacts the update server on its own or shows new-version notices — including security fixes. You can still check by hand.")})]}),(0,e.jsx)(g.lM,{checked:!1!==M.autoUpdateCheck,onChange:()=>a7(!1===M.autoUpdateCheck),disabled:O})]}),(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,e.jsx)(g.$n,{type:"button",variant:"secondary",size:"sm",onClick:a8,loading:I.loading,children:(0,s.Tl)("Check now")}),I.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===I.type?"text-red-500":"info"===I.type?"text-primary":"text-green-500"}`,children:I.message})]})]})]})]}),(0,e.jsxs)(g.Zp,{children:[(0,e.jsxs)("button",{type:"button",onClick:()=>ao(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,s.Tl)("Single Sign-On (SSO)")}),(0,e.jsx)("p",{className:"text-xs text-text-muted",children:"sso"===M.authMode||"oidc"===M.authMode||"saml"===M.authMode?`${"saml"===M.ssoType?"SAML 2.0":"OIDC"} SSO active`:"both"===M.authMode?`Password + ${"saml"===M.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:an?"expand_less":"expand_more"})]}),an&&(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,s.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:()=>as("saml"),className:(0,l.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","saml"===ar?"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:()=>as("oidc"),className:(0,l.cn)("flex-1 py-1.5 px-3 rounded-md font-medium text-xs sm:text-sm transition-all text-center","oidc"===ar?"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"===ar?"SAML":"OIDC"} only`,desc:"Require SSO for dashboard access."},{value:"both",title:"Both",desc:"Allow password or SSO login."}].map(a=>{let b=ab.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:()=>ba("authMode",a.value),className:(0,l.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:O||ah||ax,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"===ar?(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:()=>aE(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:aD?"rotate(180deg)":"none"},children:"expand_more"})]}),aD&&(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:ap})]}),(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:at.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:ap}),"."]}),(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:at.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:at.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:ap})]}),(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:ap})]}),(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:at.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:at.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:ap})]}),(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:()=>aF.current?.click(),children:"Upload Metadata XML"}),(0,e.jsx)("input",{ref:aF,type:"file",accept:".xml,application/xml,text/xml",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(aF.current&&(aF.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 aw({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()),au(a=>({...a,samlEntryPoint:f||a.samlEntryPoint,samlIssuer:a.samlIssuer||"urn:10router:sp",samlCert:h||a.samlCert})),aw({type:"success",message:`IdP Metadata imported! (SSO URL: ${f?"found":"not found"}, EntityID: ${d?"found":"not found"}, Cert: ${h?"found":"not found"})`})}catch(a){aw({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:at.samlEntryPoint,onChange:a=>bd("samlEntryPoint",a.target.value),disabled:O||ax})]}),(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:at.samlIssuer,onChange:a=>bd("samlIssuer",a.target.value),disabled:O||ax})]}),(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:()=>aG.current?.click(),children:"Upload Certificate"}),(0,e.jsx)("input",{ref:aG,type:"file",accept:".crt,.pem,.cer,text/plain",className:"hidden",onChange:a=>{let b=a.target.files?.[0];if(aG.current&&(aG.current.value=""),!b)return;let c=new FileReader;c.onload=a=>{let b=a.target?.result||"";au(a=>({...a,samlCert:b.trim()})),aw({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:at.samlCert,onChange:a=>bd("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:O||ax}),(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:at.samlLoginLabel,onChange:a=>bd("samlLoginLabel",a.target.value),disabled:O||ax})]}),(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:at.samlAttributeEmail,onChange:a=>bd("samlAttributeEmail",a.target.value),disabled:O||ax})]}),(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:at.samlAttributeName,onChange:a=>bd("samlAttributeName",a.target.value),disabled:O||ax})]})]})]}),(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:ap})]}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",size:"sm",icon:"content_copy",onClick:async()=>{await (0,r.e)(ap),aw({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:aq})]}),(0,e.jsxs)("a",{href:aq,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:ax,onClick:()=>be(ab.authMode),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:az,onClick:bf,className:"w-full sm:w-auto",children:"Test SAML settings"})]}),aB.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aB.type?"text-red-500":"text-green-500"}`,children:aB.message}),av.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===av.type?"text-red-500":"text-green-500"}`,children:av.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:ab.oidcIssuerUrl,onChange:a=>ba("oidcIssuerUrl",a.target.value),disabled:O||ah})]}),(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:ab.oidcClientId,onChange:a=>ba("oidcClientId",a.target.value),disabled:O||ah})]}),(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:ad,onChange:a=>ae(a.target.value),disabled:O||ah}),(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:ab.oidcScopes,onChange:a=>ba("oidcScopes",a.target.value),disabled:O||ah})]}),(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:ab.oidcLoginLabel,onChange:a=>ba("oidcLoginLabel",a.target.value),disabled:O||ah})]})]}),(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:ah,onClick:()=>bb(),className:"w-full sm:w-auto",children:"Save OIDC settings"}),(0,e.jsx)(g.$n,{type:"button",variant:"outline",loading:aj,onClick:bc,className:"w-full sm:w-auto",children:"Test connection"})]}),al.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===al.type?"text-red-500":"text-green-500"}`,children:al.message}),af.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===af.type?"text-red-500":"text-green-500"}`,children:af.message})]}),"oidc"===M.authMode||"saml"===M.authMode||"sso"===M.authMode?(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["SSO login (","saml"===M.ssoType?"SAML 2.0":"OIDC",") is currently active. Password login is disabled until you switch back."]}):null,"both"===M.authMode&&(0,e.jsxs)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:["Password and SSO login (","saml"===M.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"===M.fallbackStrategy,onChange:()=>a1("round-robin"===M.fallbackStrategy?"fill-first":"round-robin"),disabled:O})]}),"round-robin"===M.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:M.stickyRoundRobinLimit||3,onChange:a=>a3(a.target.value),disabled:O,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"===M.comboStrategy,onChange:()=>a2("round-robin"===M.comboStrategy?"fallback":"round-robin"),disabled:O})]}),"round-robin"===M.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:M.comboStickyRoundRobinLimit||1,onChange:a=>a4(a.target.value),disabled:O,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"===M.fallbackStrategy?`Currently distributing requests across all available accounts with ${M.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===M.comboStrategy?` Combos rotate after ${M.comboStickyRoundRobinLimit||1} call${1===(M.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,s.Tl)("Providers")})]}),(0,e.jsx)("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,s.Tl)("Show trial providers")}),(0,e.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:(0,s.Tl)("Show public unauthenticated trial channels (e.g. OpenCode Free)")})]}),(0,e.jsx)(g.lM,{checked:!1!==M.showCommunityProviders,onChange:aY})]})})]}),(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,s.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===M.outboundProxyEnabled,onChange:()=>a_(!0!==M.outboundProxyEnabled),disabled:O||aS})]}),!0===M.outboundProxyEnabled&&(0,e.jsxs)("form",{onSubmit:aZ,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:aO.outboundProxyUrl,onChange:a=>aP(b=>({...b,outboundProxyUrl:a.target.value})),disabled:O||aS}),(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:aO.outboundNoProxy,onChange:a=>aP(b=>({...b,outboundNoProxy:a.target.value})),disabled:O||aS}),(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:aU,disabled:O||aS,onClick:a$,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,e.jsx)(g.$n,{type:"submit",variant:"primary",loading:aS,className:"w-full sm:w-auto",children:"Apply"})]})]}),aQ.message&&(0,e.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aQ.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aQ.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,s.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:bo,onChange:bg,disabled:O})]})]}),(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:()=>B(!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:bq,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:[m.vQ.name," v",m.vQ.version]}),(0,e.jsx)("p",{className:"mt-1",children:aW?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,e.jsx)(j.default,{hideTrigger:!0,isOpen:y,onClose:a=>{z(!1),t(a)}}),(0,e.jsx)(h.ConfirmModal,{isOpen:C,onClose:()=>D(!1),onConfirm:()=>{D(!1),a5(!1)},title:(0,s.Tl)("Turn off the log-in check?"),message:(0,s.Tl)("Anyone who can reach this port will be able to manage every provider, key and credential without a password. The dashboard keeps a warning banner while it is off."),confirmText:(0,s.Tl)("Turn it off"),cancelText:(0,s.Tl)("Cancel"),variant:"danger"}),(0,e.jsx)(h.ConfirmModal,{isOpen:E,onClose:()=>F(!1),onConfirm:()=>{F(!1),a9(!0)},title:(0,s.Tl)("Hide the log-in-off warning?"),message:(0,s.Tl)("The dashboard stays open to anyone who can reach this port — hiding the banner only removes the reminder, not the risk. It comes back automatically if you turn the log-in check on and off again."),confirmText:(0,s.Tl)("Hide it"),cancelText:(0,s.Tl)("Cancel"),variant:"danger"}),(0,e.jsx)(h.ConfirmModal,{isOpen:A,onClose:()=>B(!1),onConfirm:bp,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:K}),(0,e.jsxs)(h.default,{isOpen:G.open,onClose:()=>H({open:!1,value:"",confirm:"",error:"",loading:!1}),title:(0,s.Tl)("Set a password to turn on the log-in check"),size:"sm",footer:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.$n,{variant:"ghost",onClick:()=>H({open:!1,value:"",confirm:"",error:"",loading:!1}),disabled:G.loading,children:(0,s.Tl)("Cancel")}),(0,e.jsx)(g.$n,{variant:"primary",onClick:a6,loading:G.loading,children:(0,s.Tl)("Set password and turn on")})]}),children:[(0,e.jsx)("p",{className:"text-text-muted mb-3 text-sm",children:(0,s.Tl)("You have not set a dashboard password of your own yet. Choose one now — you will need it to sign in from then on.")}),(0,e.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,e.jsx)(g.pd,{type:"password",value:G.value,onChange:a=>H(b=>({...b,value:a.target.value,error:""})),placeholder:(0,s.Tl)("New password"),autoFocus:!0}),(0,e.jsx)(g.pd,{type:"password",value:G.confirm,onChange:a=>H(b=>({...b,confirm:a.target.value,error:""})),onKeyDown:a=>{"Enter"===a.key&&a6()},placeholder:(0,s.Tl)("Confirm new password")}),G.error&&(0,e.jsx)("p",{className:"text-xs text-red-500",children:G.error})]})]}),(0,e.jsxs)(h.default,{isOpen:$.open,onClose:()=>_({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.$n,{variant:"ghost",onClick:()=>_({open:!1,mode:"",password:""}),disabled:W,children:"Cancel"}),(0,e.jsx)(g.$n,{variant:"primary",onClick:bn,loading:W,disabled:!$.password,children:"Confirm"})]}),children:[(0,e.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===$.mode?"export":"import"," the database."]}),(0,e.jsx)(g.pd,{type:"password",value:$.password,onChange:a=>_(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&$.password&&bn()},placeholder:"Current password",autoFocus:!0})]})]})}g=(t.then?(await t)():t)[0],d()}catch(a){d(a)}})},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")},98995:a=>{"use strict";a.exports=require("node:module")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2391,7568,2430,4613,8410,877,1330,6070,869,5781,7274,7239,1219,4123,8172,6960,112],()=>b(b.s=37485));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/package.json","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/112.js","../../../../chunks/1159.js","../../../../chunks/1220.js","../../../../chunks/1260.js","../../../../chunks/1281.js","../../../../chunks/1330.js","../../../../chunks/1531.js","../../../../chunks/1813.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/271.js","../../../../chunks/2732.js","../../../../chunks/2812.js","../../../../chunks/3225.js","../../../../chunks/3500.js","../../../../chunks/3535.js","../../../../chunks/3593.js","../../../../chunks/3651.js","../../../../chunks/3662.js","../../../../chunks/3943.js","../../../../chunks/3962.js","../../../../chunks/4037.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4126.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/4990.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/5433.js","../../../../chunks/5485.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6051.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6212.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/6520.js","../../../../chunks/653.js","../../../../chunks/6756.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6871.js","../../../../chunks/6922.js","../../../../chunks/6960.js","../../../../chunks/698.js","../../../../chunks/6982.js","../../../../chunks/7067.js","../../../../chunks/7122.js","../../../../chunks/7180.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7274.js","../../../../chunks/7322.js","../../../../chunks/7365.js","../../../../chunks/75.js","../../../../chunks/7774.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/808.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/8920.js","../../../../chunks/8988.js","../../../../chunks/939.js","../../../../chunks/9528.js","../../../../chunks/9539.js","../../../../chunks/9609.js","../../../../chunks/9713.js","../../../../chunks/9896.js","../../../../chunks/9927.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/112.js","../../../../chunks/1159.js","../../../../chunks/1219.js","../../../../chunks/1220.js","../../../../chunks/1261.js","../../../../chunks/1330.js","../../../../chunks/1531.js","../../../../chunks/1710.js","../../../../chunks/1813.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/2112.js","../../../../chunks/2120.js","../../../../chunks/2132.js","../../../../chunks/2182.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/271.js","../../../../chunks/2732.js","../../../../chunks/2812.js","../../../../chunks/2926.js","../../../../chunks/3225.js","../../../../chunks/3245.js","../../../../chunks/3256.js","../../../../chunks/3433.js","../../../../chunks/3500.js","../../../../chunks/3535.js","../../../../chunks/3593.js","../../../../chunks/3651.js","../../../../chunks/3792.js","../../../../chunks/3885.js","../../../../chunks/3943.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4177.js","../../../../chunks/4282.js","../../../../chunks/4293.js","../../../../chunks/436.js","../../../../chunks/4575.js","../../../../chunks/4613.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4927.js","../../../../chunks/4990.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5210.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5485.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5692.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/6133.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/6492.js","../../../../chunks/653.js","../../../../chunks/6756.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6922.js","../../../../chunks/6947.js","../../../../chunks/6956.js","../../../../chunks/6960.js","../../../../chunks/698.js","../../../../chunks/6982.js","../../../../chunks/7067.js","../../../../chunks/7122.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7274.js","../../../../chunks/7322.js","../../../../chunks/7568.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/8062.js","../../../../chunks/808.js","../../../../chunks/8172.js","../../../../chunks/8292.js","../../../../chunks/8410.js","../../../../chunks/8469.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/8595.js","../../../../chunks/8658.js","../../../../chunks/8672.js","../../../../chunks/8689.js","../../../../chunks/869.js","../../../../chunks/8749.js","../../../../chunks/877.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9046.js","../../../../chunks/9154.js","../../../../chunks/939.js","../../../../chunks/9489.js","../../../../chunks/9528.js","../../../../chunks/9539.js","../../../../chunks/9609.js","../../../../chunks/9628.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}