@rabbi696/ezrouter 0.6.41 → 0.6.42

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 (401) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +5 -5
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ha/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/models/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  41. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  42. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  43. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  44. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  45. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  46. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  47. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  48. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  50. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  51. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  52. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  53. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
  54. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  55. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  56. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  57. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  58. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  59. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  60. package/app/.next-cli-build/server/app/api/settings/provider-order/route.js +1 -1
  61. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  62. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  63. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  64. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  65. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  66. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  67. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  68. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  69. package/app/.next-cli-build/server/app/api/wakeup/route.js +1 -1
  70. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/callback.html +1 -1
  72. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  73. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  74. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  75. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
  76. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  77. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  78. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  80. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  81. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  82. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  85. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  86. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
  88. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  90. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  91. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  92. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  93. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  94. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  95. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  96. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  97. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
  98. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  100. package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
  101. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  102. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  105. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  106. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
  108. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  110. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +5 -5
  111. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  112. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  115. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +5 -5
  116. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  117. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +3 -3
  118. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +1 -1
  119. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  120. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
  121. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  122. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  123. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  124. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  125. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
  126. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  127. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
  128. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  129. package/app/.next-cli-build/server/app/dashboard/ha.html +1 -1
  130. package/app/.next-cli-build/server/app/dashboard/ha.rsc +4 -4
  131. package/app/.next-cli-build/server/app/dashboard/ha.segments/!KGRhc2hib2FyZCk/dashboard/ha/__PAGE__.segment.rsc +1 -1
  132. package/app/.next-cli-build/server/app/dashboard/ha.segments/!KGRhc2hib2FyZCk/dashboard/ha.segment.rsc +1 -1
  133. package/app/.next-cli-build/server/app/dashboard/ha.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  134. package/app/.next-cli-build/server/app/dashboard/ha.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  135. package/app/.next-cli-build/server/app/dashboard/ha.segments/_full.segment.rsc +4 -4
  136. package/app/.next-cli-build/server/app/dashboard/ha.segments/_head.segment.rsc +1 -1
  137. package/app/.next-cli-build/server/app/dashboard/ha.segments/_index.segment.rsc +3 -3
  138. package/app/.next-cli-build/server/app/dashboard/ha.segments/_tree.segment.rsc +1 -1
  139. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  140. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +5 -5
  141. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  142. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  143. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  144. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  145. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  146. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +5 -5
  147. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  148. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +3 -3
  149. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +1 -1
  150. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  151. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +5 -5
  152. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  153. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  154. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  155. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  156. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  157. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +5 -5
  158. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  159. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +3 -3
  160. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +1 -1
  161. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  162. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +5 -5
  163. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  164. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  165. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  166. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  167. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +5 -5
  168. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  169. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +3 -3
  170. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +1 -1
  171. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  172. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  173. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  174. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  175. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  176. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  177. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  178. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  179. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  180. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
  181. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  182. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  183. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  184. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  185. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  186. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  187. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  188. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  189. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  190. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
  191. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  192. package/app/.next-cli-build/server/app/dashboard/models.html +1 -1
  193. package/app/.next-cli-build/server/app/dashboard/models.rsc +5 -5
  194. package/app/.next-cli-build/server/app/dashboard/models.segments/!KGRhc2hib2FyZCk/dashboard/models/__PAGE__.segment.rsc +2 -2
  195. package/app/.next-cli-build/server/app/dashboard/models.segments/!KGRhc2hib2FyZCk/dashboard/models.segment.rsc +1 -1
  196. package/app/.next-cli-build/server/app/dashboard/models.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  197. package/app/.next-cli-build/server/app/dashboard/models.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  198. package/app/.next-cli-build/server/app/dashboard/models.segments/_full.segment.rsc +5 -5
  199. package/app/.next-cli-build/server/app/dashboard/models.segments/_head.segment.rsc +1 -1
  200. package/app/.next-cli-build/server/app/dashboard/models.segments/_index.segment.rsc +3 -3
  201. package/app/.next-cli-build/server/app/dashboard/models.segments/_tree.segment.rsc +1 -1
  202. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  203. package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
  204. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  205. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  206. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  207. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  208. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  209. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  210. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
  211. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  212. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  213. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  214. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  215. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  216. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  217. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  218. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  219. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  220. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  221. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
  222. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  223. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  224. package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
  225. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  226. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  227. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  228. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  229. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  230. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  231. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
  232. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  233. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  234. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  235. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  236. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  237. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  238. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  239. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  240. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  241. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
  242. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  243. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  244. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
  245. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  246. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  247. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  248. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  249. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
  250. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  251. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
  252. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  253. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  254. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  255. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  256. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  257. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  258. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  259. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  260. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  261. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
  262. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  263. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  264. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +5 -5
  265. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  266. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  267. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  268. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  269. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +5 -5
  270. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  271. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +3 -3
  272. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +1 -1
  273. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  274. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  275. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  276. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  277. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  278. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
  279. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  280. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  281. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  282. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  283. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  284. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  285. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  286. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  287. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  288. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  289. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  290. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  291. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  292. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
  293. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  294. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  295. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
  296. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  297. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  298. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  299. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  300. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
  301. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  302. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
  303. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  304. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  305. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  306. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  307. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  308. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  309. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  310. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  311. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  312. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
  313. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  314. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  315. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  316. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  317. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  318. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  319. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  320. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  321. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  322. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
  323. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  324. package/app/.next-cli-build/server/app/dashboard/wakeup.html +1 -1
  325. package/app/.next-cli-build/server/app/dashboard/wakeup.rsc +4 -4
  326. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup/__PAGE__.segment.rsc +1 -1
  327. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup.segment.rsc +1 -1
  328. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  329. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  330. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_full.segment.rsc +4 -4
  331. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_head.segment.rsc +1 -1
  332. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_index.segment.rsc +3 -3
  333. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_tree.segment.rsc +1 -1
  334. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  335. package/app/.next-cli-build/server/app/dashboard.rsc +5 -5
  336. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  337. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  338. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  339. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
  340. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  341. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
  342. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  343. package/app/.next-cli-build/server/app/index.html +1 -1
  344. package/app/.next-cli-build/server/app/index.rsc +3 -3
  345. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  346. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  347. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  348. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
  349. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  350. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  351. package/app/.next-cli-build/server/app/landing.html +1 -1
  352. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  353. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  354. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  355. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
  356. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  357. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  358. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  359. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  360. package/app/.next-cli-build/server/app/login.html +1 -1
  361. package/app/.next-cli-build/server/app/login.rsc +4 -4
  362. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  363. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  364. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
  365. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  366. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  367. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  368. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  369. package/app/.next-cli-build/server/app-paths-manifest.json +5 -5
  370. package/app/.next-cli-build/server/chunks/3158.js +1 -1
  371. package/app/.next-cli-build/server/chunks/412.js +3 -3
  372. package/app/.next-cli-build/server/chunks/5461.js +1 -1
  373. package/app/.next-cli-build/server/chunks/6247.js +1 -1
  374. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  375. package/app/.next-cli-build/server/chunks/7099.js +1 -1
  376. package/app/.next-cli-build/server/chunks/7302.js +1 -1
  377. package/app/.next-cli-build/server/chunks/820.js +1 -1
  378. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  379. package/app/.next-cli-build/server/chunks/8595.js +1 -1
  380. package/app/.next-cli-build/server/chunks/869.js +1 -1
  381. package/app/.next-cli-build/server/chunks/9316.js +1 -1
  382. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  383. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  384. package/app/.next-cli-build/server/pages/404.html +1 -1
  385. package/app/.next-cli-build/server/pages/500.html +1 -1
  386. package/app/.next-cli-build/static/chunks/{1321-2700dacdd135a136.js → 1321-1246d6f3b918d4bc.js} +1 -1
  387. package/app/.next-cli-build/static/chunks/5497-1ba81d95d4584076.js +17 -0
  388. package/app/.next-cli-build/static/chunks/{6509-bd6614151dd5819e.js → 6509-78b2485f6f70fcd5.js} +1 -1
  389. package/app/.next-cli-build/static/chunks/7480.d76814f5ea203790.js +1 -0
  390. package/app/.next-cli-build/static/chunks/{9302-26f641401b99d6de.js → 9302-de202be09b31a1c6.js} +1 -1
  391. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-0395142c7a5a6ca1.js → page-157d8cfcebff334d.js} +1 -1
  392. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-ca999387e31b0852.js → page-d2b903fd630783ae.js} +1 -1
  393. package/app/.next-cli-build/static/chunks/{webpack-2b5989671b0ec413.js → webpack-198c4bc657d3f353.js} +1 -1
  394. package/app/CHANGELOG.md +16 -0
  395. package/app/package.json +1 -1
  396. package/app/public/CHANGELOG.md +16 -0
  397. package/package.json +1 -1
  398. package/app/.next-cli-build/static/chunks/5497-aac418ac6129b39a.js +0 -17
  399. package/app/.next-cli-build/static/chunks/7480.79f14104c6bc60ff.js +0 -1
  400. /package/app/.next-cli-build/static/{h5kQbRNcO-joUF-j_-ShV → khTLgisBxsllXM4S-8uCR}/_buildManifest.js +0 -0
  401. /package/app/.next-cli-build/static/{h5kQbRNcO-joUF-j_-ShV → khTLgisBxsllXM4S-8uCR}/_ssgManifest.js +0 -0
@@ -11,11 +11,11 @@ d:I[27123,[],"default",1]
11
11
  :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
12
12
  :HL["/_next/static/css/0288d77679ae04b4.css","style"]
13
13
  :HL["/_next/static/css/7c2bb65b7ba381c7.css","style"]
14
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0288d77679ae04b4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/7c2bb65b7ba381c7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],"$L2"]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"h5kQbRNcO-joUF-j_-ShV"}
14
+ 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0288d77679ae04b4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/7c2bb65b7ba381c7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],"$L2"]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"khTLgisBxsllXM4S-8uCR"}
15
15
  e:[]
16
16
  8:"$We"
17
- f:I[21110,["8255","static/chunks/8255-4b8056424537c3cc.js","2592","static/chunks/2592-e0ab03156b53ed8b.js","8105","static/chunks/8105-78428422cda12d8a.js","801","static/chunks/801-000c65bead05e7c4.js","1321","static/chunks/1321-2700dacdd135a136.js","5497","static/chunks/5497-aac418ac6129b39a.js","9305","static/chunks/app/(dashboard)/layout-416e133981180cf3.js"],"ThemeProvider"]
18
- 10:I[94635,["8255","static/chunks/8255-4b8056424537c3cc.js","4115","static/chunks/4115-203686e82233c6c7.js","8105","static/chunks/8105-78428422cda12d8a.js","1321","static/chunks/1321-2700dacdd135a136.js","7177","static/chunks/app/layout-2546107f4005f159.js"],"RuntimeI18nProvider"]
17
+ f:I[21110,["8255","static/chunks/8255-4b8056424537c3cc.js","2592","static/chunks/2592-e0ab03156b53ed8b.js","8105","static/chunks/8105-78428422cda12d8a.js","801","static/chunks/801-000c65bead05e7c4.js","1321","static/chunks/1321-1246d6f3b918d4bc.js","5497","static/chunks/5497-1ba81d95d4584076.js","9305","static/chunks/app/(dashboard)/layout-416e133981180cf3.js"],"ThemeProvider"]
18
+ 10:I[94635,["8255","static/chunks/8255-4b8056424537c3cc.js","4115","static/chunks/4115-203686e82233c6c7.js","8105","static/chunks/8105-78428422cda12d8a.js","1321","static/chunks/1321-1246d6f3b918d4bc.js","7177","static/chunks/app/layout-2546107f4005f159.js"],"RuntimeI18nProvider"]
19
19
  2:["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('theme');var t=s?(JSON.parse(s).state||{}).theme:'system';t=t||'system';var m=window.matchMedia('(prefers-color-scheme: dark)').matches;if(t==='dark'||(t==='system'&&m)){document.documentElement.classList.add('dark')}var c=document.cookie.split(';').find(function(x){return x.trim().indexOf('locale=')===0});var l=c?decodeURIComponent(c.split('=')[1].trim()):'en';if(['ar','fa','he','ur'].indexOf(l)!==-1){document.documentElement.setAttribute('dir','rtl');document.documentElement.setAttribute('lang',l)}else{document.documentElement.setAttribute('dir','ltr');document.documentElement.setAttribute('lang',l||'en')}}catch(e){}})();"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"var d=document,r=d.documentElement,f=function(){r.classList.add('fonts-loaded')};if(d.fonts&&d.fonts.load){d.fonts.load('24px \"Material Symbols Outlined\"').then(f).catch(f);setTimeout(f,3000)}else{f()}"}}]]}],["$","body",null,{"className":"__variable_d8ebd1 __variable_59f4ba font-sans antialiased","children":[["$","$Lf",null,{"children":["$","$L10",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]}],false]}]]}]
20
20
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0a0a0a"}]]
21
21
  11:I[86869,[],"IconMark"]
@@ -3,4 +3,4 @@
3
3
  3:I[90484,[],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[86869,[],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0a0a0a"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"EzRouter - AI Infrastructure Management"}],["$","meta","1",{"name":"description","content":"One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly."}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","link","3",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","4",{"rel":"icon","href":"/favicon.svg"}],["$","$L5","5",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"h5kQbRNcO-joUF-j_-ShV"}
6
+ 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0a0a0a"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"EzRouter - AI Infrastructure Management"}],["$","meta","1",{"name":"description","content":"One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly."}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","link","3",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","4",{"rel":"icon","href":"/favicon.svg"}],["$","$L5","5",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"khTLgisBxsllXM4S-8uCR"}
@@ -1,8 +1,8 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[21110,["8255","static/chunks/8255-4b8056424537c3cc.js","2592","static/chunks/2592-e0ab03156b53ed8b.js","8105","static/chunks/8105-78428422cda12d8a.js","801","static/chunks/801-000c65bead05e7c4.js","1321","static/chunks/1321-2700dacdd135a136.js","5497","static/chunks/5497-aac418ac6129b39a.js","9305","static/chunks/app/(dashboard)/layout-416e133981180cf3.js"],"ThemeProvider"]
3
- 3:I[94635,["8255","static/chunks/8255-4b8056424537c3cc.js","4115","static/chunks/4115-203686e82233c6c7.js","8105","static/chunks/8105-78428422cda12d8a.js","1321","static/chunks/1321-2700dacdd135a136.js","7177","static/chunks/app/layout-2546107f4005f159.js"],"RuntimeI18nProvider"]
2
+ 2:I[21110,["8255","static/chunks/8255-4b8056424537c3cc.js","2592","static/chunks/2592-e0ab03156b53ed8b.js","8105","static/chunks/8105-78428422cda12d8a.js","801","static/chunks/801-000c65bead05e7c4.js","1321","static/chunks/1321-1246d6f3b918d4bc.js","5497","static/chunks/5497-1ba81d95d4584076.js","9305","static/chunks/app/(dashboard)/layout-416e133981180cf3.js"],"ThemeProvider"]
3
+ 3:I[94635,["8255","static/chunks/8255-4b8056424537c3cc.js","4115","static/chunks/4115-203686e82233c6c7.js","8105","static/chunks/8105-78428422cda12d8a.js","1321","static/chunks/1321-1246d6f3b918d4bc.js","7177","static/chunks/app/layout-2546107f4005f159.js"],"RuntimeI18nProvider"]
4
4
  4:I[57121,[],""]
5
5
  5:I[74581,[],""]
6
6
  :HL["/_next/static/css/0288d77679ae04b4.css","style"]
7
7
  :HL["/_next/static/css/7c2bb65b7ba381c7.css","style"]
8
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0288d77679ae04b4.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/7c2bb65b7ba381c7.css","precedence":"next"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('theme');var t=s?(JSON.parse(s).state||{}).theme:'system';t=t||'system';var m=window.matchMedia('(prefers-color-scheme: dark)').matches;if(t==='dark'||(t==='system'&&m)){document.documentElement.classList.add('dark')}var c=document.cookie.split(';').find(function(x){return x.trim().indexOf('locale=')===0});var l=c?decodeURIComponent(c.split('=')[1].trim()):'en';if(['ar','fa','he','ur'].indexOf(l)!==-1){document.documentElement.setAttribute('dir','rtl');document.documentElement.setAttribute('lang',l)}else{document.documentElement.setAttribute('dir','ltr');document.documentElement.setAttribute('lang',l||'en')}}catch(e){}})();"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"var d=document,r=d.documentElement,f=function(){r.classList.add('fonts-loaded')};if(d.fonts&&d.fonts.load){d.fonts.load('24px \"Material Symbols Outlined\"').then(f).catch(f);setTimeout(f,3000)}else{f()}"}}]]}],["$","body",null,{"className":"__variable_d8ebd1 __variable_59f4ba font-sans antialiased","children":[["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}]}]}]}],false]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"h5kQbRNcO-joUF-j_-ShV"}
8
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0288d77679ae04b4.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/7c2bb65b7ba381c7.css","precedence":"next"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('theme');var t=s?(JSON.parse(s).state||{}).theme:'system';t=t||'system';var m=window.matchMedia('(prefers-color-scheme: dark)').matches;if(t==='dark'||(t==='system'&&m)){document.documentElement.classList.add('dark')}var c=document.cookie.split(';').find(function(x){return x.trim().indexOf('locale=')===0});var l=c?decodeURIComponent(c.split('=')[1].trim()):'en';if(['ar','fa','he','ur'].indexOf(l)!==-1){document.documentElement.setAttribute('dir','rtl');document.documentElement.setAttribute('lang',l)}else{document.documentElement.setAttribute('dir','ltr');document.documentElement.setAttribute('lang',l||'en')}}catch(e){}})();"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"var d=document,r=d.documentElement,f=function(){r.classList.add('fonts-loaded')};if(d.fonts&&d.fonts.load){d.fonts.load('24px \"Material Symbols Outlined\"').then(f).catch(f);setTimeout(f,3000)}else{f()}"}}]]}],["$","body",null,{"className":"__variable_d8ebd1 __variable_59f4ba font-sans antialiased","children":[["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}]}]}]}],false]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"khTLgisBxsllXM4S-8uCR"}
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[90484,[],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"h5kQbRNcO-joUF-j_-ShV"}
4
+ 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"khTLgisBxsllXM4S-8uCR"}
5
5
  4:null
@@ -2,4 +2,4 @@
2
2
  2:I[57121,[],""]
3
3
  3:I[74581,[],""]
4
4
  4:[]
5
- 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"h5kQbRNcO-joUF-j_-ShV"}
5
+ 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"khTLgisBxsllXM4S-8uCR"}
@@ -3,4 +3,4 @@
3
3
  :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
4
4
  :HL["/_next/static/css/0288d77679ae04b4.css","style"]
5
5
  :HL["/_next/static/css/7c2bb65b7ba381c7.css","style"]
6
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"h5kQbRNcO-joUF-j_-ShV"}
6
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"khTLgisBxsllXM4S-8uCR"}
@@ -1 +1 @@
1
- (()=>{var a={};a.id=552,a.ids=[552,869,4574,4755,7136,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16655:(a,b,c)=>{"use strict";c.d(b,{oF:()=>d.oF,tm:()=>d.tm,vF:()=>d.vF});var d=c(7547)},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,hO:()=>h,oc:()=>j});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126};function h(){let a=Number.parseInt(process.env.PORT,10);return Number.isFinite(a)&&a>0?a:g.appPort}let i={maxLines:500,pollIntervalMs:1e3,streamTimeoutMs:5e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,catchUpWindowMs:18e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"},antigravity:{settingsKey:"antigravityAutoPing",quotaKey:"gemini_session",minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gemini-3.8-flash-low",pingText:"hi",pingMaxTokens:1}}}},33440:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>L,patchFetch:()=>K,routeModule:()=>G,serverHooks:()=>J,workAsyncStorage:()=>H,workUnitAsyncStorage:()=>I});var d={};c.r(d),c.d(d,{GET:()=>E,PUT:()=>F});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998),x=c(16655),y=c(7547),z=c(30869),A=c(40615),B=c(11847);c(2081);var C=c(63825),D=c(48981);async function E(){try{let a=await (0,w.OM)(),b=await (0,x.vF)(),c=await (0,y.Br)(),d=(await (0,w.uv)()).filter(a=>a?.id&&"llm"===(a.kind||a.type||"llm")),e=new Map(d.map(a=>[`${(0,A.wG)(a.providerAlias)||a.providerAlias}/${a.id}`,a])),f=new Map;try{let[a,b]=await Promise.all(["function"==typeof w.Fh?(0,w.Fh)():[],"function"==typeof w.getProviderConnections?(0,w.getProviderConnections)():[]]),c=new Map((a||[]).map(a=>[a.id,a])),d=new Map((b||[]).filter(a=>c.has(a.provider)).map(a=>[a.provider,a.providerSpecificData||{}]));for(let b of a||[]){let a=function({providerId:a,providerSpecificData:b,node:c}={}){let d=b?.prefix;if("string"==typeof d&&d.trim())return d.trim();let e=c?.prefix;if("string"==typeof e&&e.trim())return e.trim();if(!a)return"";let f=(0,A.wG)(a);return"string"==typeof f&&f.trim()?f.trim():a}({providerId:b.id,providerSpecificData:d.get(b.id),node:b});a&&f.set(b.id,a)}}catch(a){console.log("Could not fetch provider nodes, falling back to provider aliases:",a)}let g=(0,A.wG)("opencode"),h=new Map((await (0,D._)()).map(a=>[a.id,a])),i=new Set(z.eh.filter(a=>a.provider===g).map(a=>a.model)),j=[...z.eh,...Array.from(h.values()).filter(a=>!i.has(a.id)).map(a=>({provider:g,model:a.id,name:a.name}))].filter(a=>!(b[(0,A.wG)(a.provider)||a.provider]||b[a.provider]||[]).includes(a.model)).map(b=>{let d=`${b.provider}/${b.model}`,g=f.get(b.provider)||(0,A.wG)(b.provider)||b.provider,i=`${g}/${b.model}`,j=A.js[b.provider]||b.provider,k="opencode"===j?h.get(b.model)?.capabilities:void 0,l=c[`${g}|${b.model}`]||c[`${b.provider}|${b.model}`],m=e.get(i),{caps:n,capsSource:o}=(0,B.getCapabilitiesWithSource)(b.provider,b.model),p=k?{...n,...k,...l||{}}:{...n,...m?.caps||{},...l||{}};return{...b,name:m?.name||(0,C.X)(b.model,b.name),fullModel:d,routedModel:i,alias:a[d]||b.model,capsSource:o,caps:{...(0,B.pickClientCaps)(p),tools:p.tools,imageOutput:p.imageOutput,...l||{}},...l?{capsOverridden:!0}:{}}}),k=new Set(j.map(a=>a.fullModel)),l=new Set(j.map(a=>a.routedModel));for(let e of d.filter(a=>!(!a?.id||"llm"!==(a.kind||a.type||"llm")||l.has(`${a.providerAlias}/${a.id}`)||(b[(0,A.wG)(a.providerAlias)||a.providerAlias]||b[a.providerAlias]||[]).includes(a.id))&&!k.has(`${a.providerAlias}/${a.id}`))){let b=`${e.providerAlias}/${e.id}`,d=f.get(e.providerAlias)||e.providerAlias,g=`${d}/${e.id}`,h=A.js[e.providerAlias]||e.providerAlias,i=c[`${e.providerAlias}|${e.id}`]||c[`${h}|${e.id}`],{caps:k,capsSource:l}=(0,B.getCapabilitiesWithSource)(h,e.id),m={...k,...e.caps||{},...i||{}};j.push({provider:d,model:e.id,name:e.name||e.id,fullModel:g,routedModel:g,storageFullModel:b,alias:a[b]||a[g]||e.id,capsSource:{...l,...Object.hasOwn(e.caps||{},"contextWindow")?{contextWindow:`custom:${g}`}:{},...Object.hasOwn(e.caps||{},"maxOutput")?{maxOutput:`custom:${g}`}:{}},caps:{...(0,B.pickClientCaps)(m),tools:m.tools,imageOutput:m.imageOutput,...e.caps||{},...i||{}},...i?{capsOverridden:!0}:{}})}return v.NextResponse.json({models:j})}catch(a){return console.log("Error fetching models:",a),v.NextResponse.json({error:"Failed to fetch models"},{status:500})}}async function F(a){try{let{model:b,alias:c}=await a.json();if(!b||!c)return v.NextResponse.json({error:"Model and alias required"},{status:400});let d=await (0,w.OM)();if(Object.entries(d).find(([a,d])=>d===c&&a!==b))return v.NextResponse.json({error:"Alias already in use"},{status:400});return await (0,w.o5)(b,c),v.NextResponse.json({success:!0,model:b,alias:c})}catch(a){return console.log("Error updating alias:",a),v.NextResponse.json({error:"Failed to update alias"},{status:500})}}let G=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/models/route",pathname:"/api/models",filename:"route",bundlePath:"app/api/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/models/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:H,workUnitAsyncStorage:I,serverHooks:J}=G;function K(){return(0,g.patchFetch)({workAsyncStorage:H,workUnitAsyncStorage:I})}async function L(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),G.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/models/route";"/index"===d&&(d="/");let e=await G.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||G.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===G.isDev||!J,N=J&&!M;H&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await G.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>G.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>G.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await G.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await G.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await G.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},39006:a=>{"use strict";a.exports={rE:"0.6.41"}},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},48981:(a,b,c)=>{"use strict";let d;c.d(b,{_:()=>i});var e=c(40615),f=c(11847);let g=new Set(["deepseek-v4-flash-free"]);async function h(){let a=e.AI_PROVIDERS.opencode;try{let b=await fetch(a.modelsFetcher.url,{headers:{"x-opencode-client":"desktop"},cache:"no-store",signal:AbortSignal.timeout(3e3)});if(!b.ok)return[];let c=await b.json();return(Array.isArray(c?.models)?c.models:Array.isArray(c?.data)?c.data:[]).flatMap(a=>{let b=a?.id||a?.name;if("string"!=typeof b||"big-pickle"!==b&&!b.endsWith("-free")||g.has(b))return[];let c=(0,f.getCapabilitiesForModel)("opencode",b),d=f.PROVIDER_CAPABILITIES.opencode[b];return Number.isFinite(a.limit?.context)&&a.limit.context>0&&d?.contextWindow==null&&(c.contextWindow=a.limit.context),Number.isFinite(a.limit?.output)&&a.limit.output>0&&d?.maxOutput==null&&(c.maxOutput=a.limit.output),a.capabilities?.reasoning?.supported&&(c.reasoning=!0),a.capabilities?.tools?.supported&&(c.tools=!0),[{id:b,name:a.name||b,capabilities:c}]})}catch{return[]}}function i(){return(!d||d.expiresAt<=Date.now())&&(d={models:h(),expiresAt:Date.now()+6e4}),d.models}},50122:(a,b,c)=>{"use strict";c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63825:(a,b,c)=>{"use strict";c.d(b,{X:()=>j});let d={ai:"AI",claude:"Claude",deepseek:"DeepSeek",gemma:"Gemma",gemini:"Gemini",glm:"GLM",gpt:"GPT",grok:"Grok",hf:"HF",kimi:"Kimi",llama:"Llama",mimo:"MiMo",mistral:"Mistral",mixtral:"Mixtral",moonshot:"Moonshot",nova:"Nova",oss:"OSS",phi:"Phi",qwen:"Qwen",stt:"STT",tts:"TTS",vl:"VL"},e=new Set(["gpt"]),f=/^(19|20)\d{6}$/,g=/^v\d+([.\d]*)$/i,h=/^([A-Za-z]+)(\d[.\d]*)$/,i=a=>a.charAt(0).toUpperCase()+a.slice(1);function j(a,b){let c="string"==typeof a?a.trim():"",j="string"==typeof b?b.trim():"";return c&&j&&j!==c?j:function(a){let b,c,j=-1===(c=(b="string"==typeof a?a.trim():"").lastIndexOf("/"))?b:b.slice(c+1);if(!j)return"";let k=j.split(/[-_\s]+/).filter(Boolean),l=[];for(let a=0;a<k.length;a+=1){let b=k[a];if(f.test(b))continue;let c=b;for(;/^\d+$/.test(c)&&/^\d+$/.test(k[a+1]||"")&&!f.test(k[a+1]);)a+=1,c=`${c}.${k[a]}`;l.push(c)}if(0===l.length)return j;let m="",n=!1;for(let a of l){let b,c=a.toLowerCase(),f=d[c];if(!f){let b=a.match(h),c=b?d[b[1].toLowerCase()]:null;if(c){m=(m?`${m} ${c}`:c)+(e.has(b[1].toLowerCase())?`-${b[2]}`:` ${b[2]}`),n=!1;continue}}b=f||(g.test(a)?i(a):/^\d/.test(a)?a.toUpperCase():i(a));let j=/^\d/.test(a)||g.test(a);m?m+=n&&j?`-${b}`:` ${b}`:m=b,n=!!f&&e.has(c)}return m||j}(c||j)}},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81329:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,KC:()=>d.KC,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS,zc:()=>i});var d=c(29485);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}},h={"gemini-live":{label:"Gemini Live (realtime WebSocket)",desc:"Streams audio over bidiGenerateContent and returns incremental transcription segments"}};function i(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(h,a.trim())}Object.freeze(Object.keys(h))},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},94755:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6834,6332,1522,1541,5781,7547,4646,1847,9761],()=>b(b.s=33440));module.exports=c})();
1
+ (()=>{var a={};a.id=552,a.ids=[552,869,4574,4755,7136,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16655:(a,b,c)=>{"use strict";c.d(b,{oF:()=>d.oF,tm:()=>d.tm,vF:()=>d.vF});var d=c(7547)},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,hO:()=>h,oc:()=>j});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126};function h(){let a=Number.parseInt(process.env.PORT,10);return Number.isFinite(a)&&a>0?a:g.appPort}let i={maxLines:500,pollIntervalMs:1e3,streamTimeoutMs:5e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,catchUpWindowMs:18e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"},antigravity:{settingsKey:"antigravityAutoPing",quotaKey:"gemini_session",minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gemini-3.8-flash-low",pingText:"hi",pingMaxTokens:1}}}},33440:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>L,patchFetch:()=>K,routeModule:()=>G,serverHooks:()=>J,workAsyncStorage:()=>H,workUnitAsyncStorage:()=>I});var d={};c.r(d),c.d(d,{GET:()=>E,PUT:()=>F});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998),x=c(16655),y=c(7547),z=c(30869),A=c(40615),B=c(11847);c(2081);var C=c(63825),D=c(48981);async function E(){try{let a=await (0,w.OM)(),b=await (0,x.vF)(),c=await (0,y.Br)(),d=(await (0,w.uv)()).filter(a=>a?.id&&"llm"===(a.kind||a.type||"llm")),e=new Map(d.map(a=>[`${(0,A.wG)(a.providerAlias)||a.providerAlias}/${a.id}`,a])),f=new Map;try{let[a,b]=await Promise.all(["function"==typeof w.Fh?(0,w.Fh)():[],"function"==typeof w.getProviderConnections?(0,w.getProviderConnections)():[]]),c=new Map((a||[]).map(a=>[a.id,a])),d=new Map((b||[]).filter(a=>c.has(a.provider)).map(a=>[a.provider,a.providerSpecificData||{}]));for(let b of a||[]){let a=function({providerId:a,providerSpecificData:b,node:c}={}){let d=b?.prefix;if("string"==typeof d&&d.trim())return d.trim();let e=c?.prefix;if("string"==typeof e&&e.trim())return e.trim();if(!a)return"";let f=(0,A.wG)(a);return"string"==typeof f&&f.trim()?f.trim():a}({providerId:b.id,providerSpecificData:d.get(b.id),node:b});a&&f.set(b.id,a)}}catch(a){console.log("Could not fetch provider nodes, falling back to provider aliases:",a)}let g=(0,A.wG)("opencode"),h=new Map((await (0,D._)()).map(a=>[a.id,a])),i=new Set(z.eh.filter(a=>a.provider===g).map(a=>a.model)),j=[...z.eh,...Array.from(h.values()).filter(a=>!i.has(a.id)).map(a=>({provider:g,model:a.id,name:a.name}))].filter(a=>!(b[(0,A.wG)(a.provider)||a.provider]||b[a.provider]||[]).includes(a.model)).map(b=>{let d=`${b.provider}/${b.model}`,g=f.get(b.provider)||(0,A.wG)(b.provider)||b.provider,i=`${g}/${b.model}`,j=A.js[b.provider]||b.provider,k="opencode"===j?h.get(b.model)?.capabilities:void 0,l=c[`${g}|${b.model}`]||c[`${b.provider}|${b.model}`],m=e.get(i),{caps:n,capsSource:o}=(0,B.getCapabilitiesWithSource)(b.provider,b.model),p=k?{...n,...k,...l||{}}:{...n,...m?.caps||{},...l||{}};return{...b,name:m?.name||(0,C.X)(b.model,b.name),fullModel:d,routedModel:i,alias:a[d]||b.model,capsSource:o,caps:{...(0,B.pickClientCaps)(p),tools:p.tools,imageOutput:p.imageOutput,...l||{}},...l?{capsOverridden:!0}:{}}}),k=new Set(j.map(a=>a.fullModel)),l=new Set(j.map(a=>a.routedModel));for(let e of d.filter(a=>!(!a?.id||"llm"!==(a.kind||a.type||"llm")||l.has(`${a.providerAlias}/${a.id}`)||(b[(0,A.wG)(a.providerAlias)||a.providerAlias]||b[a.providerAlias]||[]).includes(a.id))&&!k.has(`${a.providerAlias}/${a.id}`))){let b=`${e.providerAlias}/${e.id}`,d=f.get(e.providerAlias)||e.providerAlias,g=`${d}/${e.id}`,h=A.js[e.providerAlias]||e.providerAlias,i=c[`${e.providerAlias}|${e.id}`]||c[`${h}|${e.id}`],{caps:k,capsSource:l}=(0,B.getCapabilitiesWithSource)(h,e.id),m={...k,...e.caps||{},...i||{}};j.push({provider:d,model:e.id,name:e.name||e.id,fullModel:g,routedModel:g,storageFullModel:b,alias:a[b]||a[g]||e.id,capsSource:{...l,...Object.hasOwn(e.caps||{},"contextWindow")?{contextWindow:`custom:${g}`}:{},...Object.hasOwn(e.caps||{},"maxOutput")?{maxOutput:`custom:${g}`}:{}},caps:{...(0,B.pickClientCaps)(m),tools:m.tools,imageOutput:m.imageOutput,...e.caps||{},...i||{}},...i?{capsOverridden:!0}:{}})}return v.NextResponse.json({models:j})}catch(a){return console.log("Error fetching models:",a),v.NextResponse.json({error:"Failed to fetch models"},{status:500})}}async function F(a){try{let{model:b,alias:c}=await a.json();if(!b||!c)return v.NextResponse.json({error:"Model and alias required"},{status:400});let d=await (0,w.OM)();if(Object.entries(d).find(([a,d])=>d===c&&a!==b))return v.NextResponse.json({error:"Alias already in use"},{status:400});return await (0,w.o5)(b,c),v.NextResponse.json({success:!0,model:b,alias:c})}catch(a){return console.log("Error updating alias:",a),v.NextResponse.json({error:"Failed to update alias"},{status:500})}}let G=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/models/route",pathname:"/api/models",filename:"route",bundlePath:"app/api/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/models/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:H,workUnitAsyncStorage:I,serverHooks:J}=G;function K(){return(0,g.patchFetch)({workAsyncStorage:H,workUnitAsyncStorage:I})}async function L(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),G.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/models/route";"/index"===d&&(d="/");let e=await G.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||G.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===G.isDev||!J,N=J&&!M;H&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await G.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>G.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>G.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await G.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await G.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await G.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},39006:a=>{"use strict";a.exports={rE:"0.6.42"}},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},48981:(a,b,c)=>{"use strict";let d;c.d(b,{_:()=>i});var e=c(40615),f=c(11847);let g=new Set(["deepseek-v4-flash-free"]);async function h(){let a=e.AI_PROVIDERS.opencode;try{let b=await fetch(a.modelsFetcher.url,{headers:{"x-opencode-client":"desktop"},cache:"no-store",signal:AbortSignal.timeout(3e3)});if(!b.ok)return[];let c=await b.json();return(Array.isArray(c?.models)?c.models:Array.isArray(c?.data)?c.data:[]).flatMap(a=>{let b=a?.id||a?.name;if("string"!=typeof b||"big-pickle"!==b&&!b.endsWith("-free")||g.has(b))return[];let c=(0,f.getCapabilitiesForModel)("opencode",b),d=f.PROVIDER_CAPABILITIES.opencode[b];return Number.isFinite(a.limit?.context)&&a.limit.context>0&&d?.contextWindow==null&&(c.contextWindow=a.limit.context),Number.isFinite(a.limit?.output)&&a.limit.output>0&&d?.maxOutput==null&&(c.maxOutput=a.limit.output),a.capabilities?.reasoning?.supported&&(c.reasoning=!0),a.capabilities?.tools?.supported&&(c.tools=!0),[{id:b,name:a.name||b,capabilities:c}]})}catch{return[]}}function i(){return(!d||d.expiresAt<=Date.now())&&(d={models:h(),expiresAt:Date.now()+6e4}),d.models}},50122:(a,b,c)=>{"use strict";c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63825:(a,b,c)=>{"use strict";c.d(b,{X:()=>j});let d={ai:"AI",claude:"Claude",deepseek:"DeepSeek",gemma:"Gemma",gemini:"Gemini",glm:"GLM",gpt:"GPT",grok:"Grok",hf:"HF",kimi:"Kimi",llama:"Llama",mimo:"MiMo",mistral:"Mistral",mixtral:"Mixtral",moonshot:"Moonshot",nova:"Nova",oss:"OSS",phi:"Phi",qwen:"Qwen",stt:"STT",tts:"TTS",vl:"VL"},e=new Set(["gpt"]),f=/^(19|20)\d{6}$/,g=/^v\d+([.\d]*)$/i,h=/^([A-Za-z]+)(\d[.\d]*)$/,i=a=>a.charAt(0).toUpperCase()+a.slice(1);function j(a,b){let c="string"==typeof a?a.trim():"",j="string"==typeof b?b.trim():"";return c&&j&&j!==c?j:function(a){let b,c,j=-1===(c=(b="string"==typeof a?a.trim():"").lastIndexOf("/"))?b:b.slice(c+1);if(!j)return"";let k=j.split(/[-_\s]+/).filter(Boolean),l=[];for(let a=0;a<k.length;a+=1){let b=k[a];if(f.test(b))continue;let c=b;for(;/^\d+$/.test(c)&&/^\d+$/.test(k[a+1]||"")&&!f.test(k[a+1]);)a+=1,c=`${c}.${k[a]}`;l.push(c)}if(0===l.length)return j;let m="",n=!1;for(let a of l){let b,c=a.toLowerCase(),f=d[c];if(!f){let b=a.match(h),c=b?d[b[1].toLowerCase()]:null;if(c){m=(m?`${m} ${c}`:c)+(e.has(b[1].toLowerCase())?`-${b[2]}`:` ${b[2]}`),n=!1;continue}}b=f||(g.test(a)?i(a):/^\d/.test(a)?a.toUpperCase():i(a));let j=/^\d/.test(a)||g.test(a);m?m+=n&&j?`-${b}`:` ${b}`:m=b,n=!!f&&e.has(c)}return m||j}(c||j)}},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81329:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,KC:()=>d.KC,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS,zc:()=>i});var d=c(29485);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}},h={"gemini-live":{label:"Gemini Live (realtime WebSocket)",desc:"Streams audio over bidiGenerateContent and returns incremental transcription segments"}};function i(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(h,a.trim())}Object.freeze(Object.keys(h))},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},94755:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6834,6332,1522,1541,5781,7547,4646,1847,9761],()=>b(b.s=33440));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=4286,a.ids=[4286,8944,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},4630:(a,b,c)=>{"use strict";c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},7066:a=>{"use strict";a.exports=require("node:tty")},8086:a=>{"use strict";a.exports=require("module")},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")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},28730:(a,b,c)=>{"use strict";let d;c.d(b,{Ch:()=>l,Cn:()=>r,Co:()=>B,Ds:()=>m,Ic:()=>y,J5:()=>v,K:()=>w,NA:()=>E,Ok:()=>i,QH:()=>s,Wu:()=>D,buildKimiHeaders:()=>F,dw:()=>u,go:()=>k,iO:()=>C,ix:()=>G,j5:()=>z,nZ:()=>x,sX:()=>n,uR:()=>t,x0:()=>p,zv:()=>A});var e=c(21820),f=c(4630),g=c(92675),h=c(8086);let i={hostname:"inference-api.nousresearch.com",chatCompletionsPath:"/v1/chat/completions",tags:["product=ezrouter","client=ezrouter","user=ezrouter"]},j=f.xq["gemini-cli"]?.cliVersion,k=f.xq["gemini-cli"]?.apiClient,l=f.xq.codex?.cliVersion,m="gpt-6-sol";function n(a="unknown"){let b;return`GeminiCLI/${j}/${a||"unknown"} (${(0,e.platform)()}; ${"ia32"===(b=(0,e.arch)())?"x86":b}; terminal)`}let o=f.xq.github?.copilot||{},p={VSCODE_VERSION:o.vscodeVersion,COPILOT_CHAT_VERSION:o.chatVersion,USER_AGENT:o.userAgent,API_VERSION:o.apiVersion,AUTO_API_VERSION:o.autoApiVersion,AUTO_TIMEOUT_MS:o.autoTimeoutMs,AUTO_SESSION_REFRESH_WINDOW_MS:o.autoSessionRefreshWindowMs};function q(){let a=(0,e.platform)(),b=(0,e.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let r={ideType:9,platform:q(),pluginType:2},s="_ide",t="_ide",u=new Set(["Task","TaskOutput","TaskStop","TaskCreate","TaskGet","TaskUpdate","TaskList","Bash","Glob","Grep","Read","Edit","Write","NotebookEdit","WebFetch","WebSearch","AskUserQuestion","Skill","EnterPlanMode","ExitPlanMode"]),v=new Set(["browser_subagent","command_status","find_by_name","generate_image","grep_search","list_dir","list_resources","multi_replace_file_content","notify_user","read_resource","read_terminal","read_url_content","replace_file_content","run_command","search_web","send_command_input","task_boundary","view_content_chunk","view_file","write_to_file"]),w={"User-Agent":g.Of},x={"gemini-cli":{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"},antigravity:{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"}},y={"Content-Type":"application/json","User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1","Client-Metadata":JSON.stringify({ideType:9,platform:q(),pluginType:2})},z={"Content-Type":"application/json","User-Agent":g.Of},A={ideType:9,platform:q(),pluginType:2},B="You are Claude Code, Anthropic's official CLI for Claude.",C=[{from:"You are a Claude agent, built on Anthropic's Claude Agent SDK.",to:""},{from:/You are Claude Code(?:,\s*Anthropic's official CLI for Claude)?\.?/gi,to:"You are an AI coding assistant."},{from:/interactive agent that helps users with software engineering tasks/gi,to:"AI coding assistant that helps users with software engineering tasks"},{from:/Dual-use security tools \(C2 frameworks, credential testing, exploit development\) require clear authorization context/gi,to:"Dual-use security tools require clear authorization context"},{from:/was pasted into the message by the user from somewhere else and may contain instructions the user did not write/gi,to:"comes from user-pasted content and may contain untrusted instructions"},{from:/You are a coding agent running in the Codex CLI(?:,\s*a terminal-based coding assistant)?\.?/gi,to:"You are a coding assistant."},{from:/^[ \t]*You are Hermes Agent, built by Nous Research\. Be direct:[^\n]*/gm,to:"You are an AI assistant."},{from:/^[ \t]*<!-- End Hermes runtime environment -->[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*# Google model operational directives[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*If a tool, install, or network call fails and blocks the real path[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*When the user asks you to build, run, or verify something, the deliverable is a working artifact[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*For help with Hermes Agent itself[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*Mid-turn, the user can steer you: Hermes delivers their message[^\n]*(?:\r?\n)?/gm,to:""},{from:/(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes(?:\s+Agent)?[^.\n]*?\bNous Research\b[^.\n]*\.?|(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes(?:\s+Agent)?\s*[,:;\u2014\u2013-]?[^.\n]*?\b(?:AI assistant|AI agent)\b[^.\n]*\.?|(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes\s+Agent\b(?=\s*(?:[.!?\n]|$))/gi,to:"You are an AI assistant."},{from:/^x-anthropic-billing-header:[^\n]*(?:\r?\n)*/gim,to:""},{from:"Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases.",to:""},{from:"Text inside <pasted_content> tags was pasted into the message by the user from somewhere else and may contain instructions the user did not write.",to:""},{from:"pasted into the message by the user from somewhere else and may contain instructions the user did not write",to:""},{from:"You are Claude Code, Anthropic's official CLI for Claude, running within the Claude Agent SDK.",to:"You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding."},{from:"You are Claude Code, Anthropic's official CLI for Claude.",to:"You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding."},{from:"You are Claude Code",to:"You are Antigravity"},{from:/solve coding tasks\.\s*Be concise, practical, and tool-aware\./gi,to:"work on their coding tasks. Keep responses concise and practical, and use the available tools when they help."},{from:/You are a personal assistant running inside OpenClaw\./gi,to:"You are a personal assistant that runs inside OpenClaw."},{from:/You are a coding agent running in the Codex CLI(?:,\s*a terminal-based coding assistant)?\.?/gi,to:"You are a coding assistant."},{from:/(?<![\/\\\w.~@:-])opencode(?![\/\\:\-@\w]|(?:\.[a-zA-Z0-9_\-]))/gi,to:a=>"OpenCode"===a?"Antigravity":"OPENCODE"===a?"ANTIGRAVITY":"antigravity"}],D=Object.fromEntries(Object.entries(f.sr).filter(([,a])=>a.refreshLeadMs).map(([a,b])=>[a,b.refreshLeadMs])),E={google:{token:"https://oauth2.googleapis.com/token",auth:"https://accounts.google.com/o/oauth2/auth"},openai:{token:f.sr.codex?.tokenUrl,auth:f.sr.codex?.authorizeUrl},anthropic:{token:f.sr.claude?.tokenUrl,auth:"https://api.anthropic.com/v1/oauth/authorize"},iflow:{token:f.sr.iflow?.tokenUrl,auth:f.sr.iflow?.authorizeUrl},github:{token:f.sr.github?.tokenUrl,auth:f.sr.github?.authorizeUrl,deviceCode:f.sr.github?.deviceCodeUrl},"frontier-for-all":{token:f.sr["frontier-for-all"]?.tokenUrl,auth:f.sr["frontier-for-all"]?.deviceCodeUrl,deviceCode:f.sr["frontier-for-all"]?.deviceCodeUrl,deviceToken:f.sr["frontier-for-all"]?.deviceTokenUrl,revoke:f.sr["frontier-for-all"]?.revokeUrl}};function F(a){let b=(0,e.platform)(),c=(0,e.arch)(),f=`${b} ${c}`;"darwin"===b?f=`macOS ${c}`:"win32"===b?f=`Windows ${c}`:"linux"===b&&(f=`Linux ${c}`);let g="unknown";try{g=(0,e.hostname)()||"unknown"}catch{g="unknown"}let i="string"==typeof a&&a.trim()?a.trim():`kimi-${Date.now()}`;return{"X-Msh-Platform":"9router","X-Msh-Version":function(){if(d)return d;try{d=(0,h.createRequire)("file:///Volumes/Files/Projects/EzRouter/EzRouter/open-sse/config/appConstants.js")("../../package.json").version||"0.0.0"}catch{d=process.env.npm_package_version||"0.0.0"}return d}(),"X-Msh-Device-Name":g,"X-Msh-Device-Model":f,"X-Msh-Device-Id":i}}let G=64},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")},38944:(a,b,c)=>{"use strict";c.d(b,{S$:()=>h,Z_:()=>e,e:()=>f,s5:()=>g});let d=new(c(16698)).AsyncLocalStorage;function e(a){let b=a?.providerSpecificData||{};return{connectionProxyEnabled:!0===b.connectionProxyEnabled,connectionProxyUrl:b.connectionProxyUrl||"",connectionNoProxy:b.connectionNoProxy||"",vercelRelayUrl:b.vercelRelayUrl||"",proxyPoolId:b.connectionProxyPoolId||null,strictProxy:!0===b.strictProxy}}function f(a,b){return a?d.run(a,b):b()}function g(){return d.getStore()||null}async function h(){await c.e(9843).then(c.bind(c,89843))}},40610:a=>{"use strict";a.exports=require("node:dns")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},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")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},91645:a=>{"use strict";a.exports=require("net")},92072:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>K,patchFetch:()=>J,routeModule:()=>F,serverHooks:()=>I,workAsyncStorage:()=>G,workUnitAsyncStorage:()=>H});var d={};c.r(d),c.d(d,{GET:()=>E});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(89718),x=c(71998),y=c(9001),z=c(40615),A=c(98320);c(68658);let B=["id","provider","authType","name","email","displayName","priority","globalPriority","isActive","defaultModel","testStatus","lastError","lastErrorAt","errorCode","expiresAt","lastUsedAt","consecutiveUseCount","createdAt","updatedAt","quotaPauseThresholds","lastQuotaSnapshot"],C=["baseUrl","azureEndpoint","deployment","apiVersion","accountId","region","projectId","resourceUrl","proxyPoolId","proxyPoolIds","proxyRotateStrategy","connectionProxyEnabled","connectionProxyUrl","connectionNoProxy","githubLogin","githubName","githubEmail","githubUserId","username","firstName","lastName","authMethod","authKind","profileArn","fastMode","codexFastMode","codexUltrafastMode","nodeName","quotaEnabled","quotaPath"];function D(a,b){let c=Number.parseInt(a,10);return Number.isFinite(c)&&c>0?c:b}async function E(a){if(!await requireAuth(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{var b;await (0,y.PY)();let{searchParams:c}=new URL(a.url),d=c.get("provider")||"all",e=c.get("accountStatus")||"all",f=c.get("sort")||"priority",g=D(c.get("page"),1),h=Math.min(D(c.get("pageSize"),20),500),i="1"===c.get("includeUnsupported"),j=await (0,w.mt)(),k=j?.customQuotaSources&&"object"==typeof j.customQuotaSources?j.customQuotaSources:{},l=await (0,w.getProviderConnections)(),m=await (0,x.Fh)(),n=new Map(m.map(a=>[a.id,a])),o=l.filter(a=>(function(a,b,c={}){if(c[a.id])return!0;if((0,z.mq)(a.provider)||(0,z.gb)(a.provider))return b?.get(a.provider)?.quotaEnabled===!0;let d=String(a.authType||"").toLowerCase().replace(/[-_]/g,"");return z.wb.includes(a.provider)&&("oauth"===d||"accesstoken"===d||(0,A.xK)(a)||z.jO.includes(a.provider))})(a,n,k)),p=i?l:o,q=Array.from(new Set(o.map(a=>a.provider))).sort(),r=sanitizeProviderOrder(j.providerOrder),s=p.filter(a=>"all"===d||a.provider===d),t=(b=s.filter(a=>"active"===e?a.isActive??!0:"inactive"!==e||!(a.isActive??!0)),sortConnectionsByProviderOrder(b,{sort:f,providerOrder:r,usageOrder:z.wb})),u=t.length,E=Math.max(1,Math.ceil(u/h)),F=Math.min(g,E),G=(F-1)*h,H=t.slice(G,G+h).map(a=>({...function(a){var b;let c={};for(let b of B)void 0!==a[b]&&(c[b]=a[b]);if("unavailable"===c.testStatus&&(Object.entries(a).some(([a,b])=>a.startsWith("modelLock_")&&b&&new Date(b).getTime()>Date.now())||(c.testStatus="active")),c.name&&(c.name="string"!=typeof(b=c.name)||b.length<=16?b:/[a-zA-Z0-9_-]{32,}/.test(b)?`${b.slice(0,8)}***`:b),a.providerSpecificData){let b={};for(let c of C)void 0!==a.providerSpecificData[c]&&(b[c]=a.providerSpecificData[c]);c.providerSpecificData=b}return c}(a),hasCustomQuota:!!k[a.id]}));return v.NextResponse.json({connections:H,providerOptions:q,providerOrder:r,pagination:{page:F,pageSize:h,total:u,totalPages:E},totals:{eligibleConnections:o.length,providerFilteredConnections:s.length}})}catch(a){return console.log("Error fetching providers for client:",a),v.NextResponse.json({error:"Failed to fetch providers"},{status:500})}}let F=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/client/route",pathname:"/api/providers/client",filename:"route",bundlePath:"app/api/providers/client/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/client/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:G,workUnitAsyncStorage:H,serverHooks:I}=F;function J(){return(0,g.patchFetch)({workAsyncStorage:G,workUnitAsyncStorage:H})}async function K(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),F.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/client/route";"/index"===d&&(d="/");let e=await F.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||F.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===F.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await F.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>F.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>F.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await F.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await F.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await F.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},92990:(a,b,c)=>{"use strict";c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>s,SK:()=>F,Td:()=>A,Tx:()=>q,V1:()=>J,WN:()=>t,Ww:()=>L,YT:()=>n,Z2:()=>K,ZL:()=>m,_0:()=>H,aV:()=>u,cD:()=>o,eD:()=>G,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>E,qp:()=>B,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={...f.sr.muse},E={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J={...f.sr["frontier-for-all"]},K={clientId:"hermes-cli",portalBaseUrl:"https://portal.nousresearch.com",deviceCodeUrl:"https://portal.nousresearch.com/api/oauth/device/code",tokenUrl:"https://portal.nousresearch.com/api/oauth/token",agentKeyUrl:"https://portal.nousresearch.com/api/oauth/agent-key",inferenceBaseUrl:"https://inference-api.nousresearch.com/v1",scope:"inference:invoke inference:mint_agent_key"},L=3e5},94652:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,9095,2193,7774,6834,6332,1522,1541,5781,7547,4646,1847,9843,9865,9761,4767,8129,9013,7699,6588,8658,5697,5974,6643,2109,369,7099],()=>b(b.s=92072));module.exports=c})();
1
+ (()=>{var a={};a.id=4286,a.ids=[4286,8944,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},4630:(a,b,c)=>{"use strict";c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},7066:a=>{"use strict";a.exports=require("node:tty")},8086:a=>{"use strict";a.exports=require("module")},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")},17684:(a,b,c)=>{"use strict";function d(a){if(!Array.isArray(a))return[];let b=new Set,c=[];for(let d of a){if("string"!=typeof d)continue;let a=d.trim();if(a&&!(a.length>200)&&!b.has(a)&&(b.add(a),c.push(a),c.length>=500))break}return c}function e(a,b={}){let c,{sort:f,providerOrder:g,usageOrder:h}=b,i=Array.isArray(a)?[...a]:[],j=(c=new Map,d(g).forEach((a,b)=>{c.has(a)||c.set(a,b)}),c),k=a=>j.has(a)?j.get(a):Number.MAX_SAFE_INTEGER;return"provider"===f?i.sort((a,b)=>{let c=k(a.provider)-k(b.provider);if(0!==c)return c;let d=Array.isArray(h)?h.indexOf(a.provider):-1,e=Array.isArray(h)?h.indexOf(b.provider):-1;return d!==e?d-e:(a.provider||"").localeCompare(b.provider||"")}):i.sort((a,b)=>{let c=k(a.provider)-k(b.provider);if(0!==c)return c;let d=a.priority??Number.MAX_SAFE_INTEGER,e=b.priority??Number.MAX_SAFE_INTEGER;return d!==e?d-e:(a.provider||"").localeCompare(b.provider||"")})}c.d(b,{$L:()=>d,Gf:()=>e})},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},28730:(a,b,c)=>{"use strict";let d;c.d(b,{Ch:()=>l,Cn:()=>r,Co:()=>B,Ds:()=>m,Ic:()=>y,J5:()=>v,K:()=>w,NA:()=>E,Ok:()=>i,QH:()=>s,Wu:()=>D,buildKimiHeaders:()=>F,dw:()=>u,go:()=>k,iO:()=>C,ix:()=>G,j5:()=>z,nZ:()=>x,sX:()=>n,uR:()=>t,x0:()=>p,zv:()=>A});var e=c(21820),f=c(4630),g=c(92675),h=c(8086);let i={hostname:"inference-api.nousresearch.com",chatCompletionsPath:"/v1/chat/completions",tags:["product=ezrouter","client=ezrouter","user=ezrouter"]},j=f.xq["gemini-cli"]?.cliVersion,k=f.xq["gemini-cli"]?.apiClient,l=f.xq.codex?.cliVersion,m="gpt-6-sol";function n(a="unknown"){let b;return`GeminiCLI/${j}/${a||"unknown"} (${(0,e.platform)()}; ${"ia32"===(b=(0,e.arch)())?"x86":b}; terminal)`}let o=f.xq.github?.copilot||{},p={VSCODE_VERSION:o.vscodeVersion,COPILOT_CHAT_VERSION:o.chatVersion,USER_AGENT:o.userAgent,API_VERSION:o.apiVersion,AUTO_API_VERSION:o.autoApiVersion,AUTO_TIMEOUT_MS:o.autoTimeoutMs,AUTO_SESSION_REFRESH_WINDOW_MS:o.autoSessionRefreshWindowMs};function q(){let a=(0,e.platform)(),b=(0,e.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let r={ideType:9,platform:q(),pluginType:2},s="_ide",t="_ide",u=new Set(["Task","TaskOutput","TaskStop","TaskCreate","TaskGet","TaskUpdate","TaskList","Bash","Glob","Grep","Read","Edit","Write","NotebookEdit","WebFetch","WebSearch","AskUserQuestion","Skill","EnterPlanMode","ExitPlanMode"]),v=new Set(["browser_subagent","command_status","find_by_name","generate_image","grep_search","list_dir","list_resources","multi_replace_file_content","notify_user","read_resource","read_terminal","read_url_content","replace_file_content","run_command","search_web","send_command_input","task_boundary","view_content_chunk","view_file","write_to_file"]),w={"User-Agent":g.Of},x={"gemini-cli":{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"},antigravity:{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"}},y={"Content-Type":"application/json","User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1","Client-Metadata":JSON.stringify({ideType:9,platform:q(),pluginType:2})},z={"Content-Type":"application/json","User-Agent":g.Of},A={ideType:9,platform:q(),pluginType:2},B="You are Claude Code, Anthropic's official CLI for Claude.",C=[{from:"You are a Claude agent, built on Anthropic's Claude Agent SDK.",to:""},{from:/You are Claude Code(?:,\s*Anthropic's official CLI for Claude)?\.?/gi,to:"You are an AI coding assistant."},{from:/interactive agent that helps users with software engineering tasks/gi,to:"AI coding assistant that helps users with software engineering tasks"},{from:/Dual-use security tools \(C2 frameworks, credential testing, exploit development\) require clear authorization context/gi,to:"Dual-use security tools require clear authorization context"},{from:/was pasted into the message by the user from somewhere else and may contain instructions the user did not write/gi,to:"comes from user-pasted content and may contain untrusted instructions"},{from:/You are a coding agent running in the Codex CLI(?:,\s*a terminal-based coding assistant)?\.?/gi,to:"You are a coding assistant."},{from:/^[ \t]*You are Hermes Agent, built by Nous Research\. Be direct:[^\n]*/gm,to:"You are an AI assistant."},{from:/^[ \t]*<!-- End Hermes runtime environment -->[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*# Google model operational directives[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*If a tool, install, or network call fails and blocks the real path[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*When the user asks you to build, run, or verify something, the deliverable is a working artifact[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*For help with Hermes Agent itself[^\n]*(?:\r?\n)?/gm,to:""},{from:/^[ \t]*Mid-turn, the user can steer you: Hermes delivers their message[^\n]*(?:\r?\n)?/gm,to:""},{from:/(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes(?:\s+Agent)?[^.\n]*?\bNous Research\b[^.\n]*\.?|(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes(?:\s+Agent)?\s*[,:;\u2014\u2013-]?[^.\n]*?\b(?:AI assistant|AI agent)\b[^.\n]*\.?|(?:^|(?<=[.!?]\s))(?:You are\s+)?Hermes\s+Agent\b(?=\s*(?:[.!?\n]|$))/gi,to:"You are an AI assistant."},{from:/^x-anthropic-billing-header:[^\n]*(?:\r?\n)*/gim,to:""},{from:"Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases.",to:""},{from:"Text inside <pasted_content> tags was pasted into the message by the user from somewhere else and may contain instructions the user did not write.",to:""},{from:"pasted into the message by the user from somewhere else and may contain instructions the user did not write",to:""},{from:"You are Claude Code, Anthropic's official CLI for Claude, running within the Claude Agent SDK.",to:"You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding."},{from:"You are Claude Code, Anthropic's official CLI for Claude.",to:"You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding."},{from:"You are Claude Code",to:"You are Antigravity"},{from:/solve coding tasks\.\s*Be concise, practical, and tool-aware\./gi,to:"work on their coding tasks. Keep responses concise and practical, and use the available tools when they help."},{from:/You are a personal assistant running inside OpenClaw\./gi,to:"You are a personal assistant that runs inside OpenClaw."},{from:/You are a coding agent running in the Codex CLI(?:,\s*a terminal-based coding assistant)?\.?/gi,to:"You are a coding assistant."},{from:/(?<![\/\\\w.~@:-])opencode(?![\/\\:\-@\w]|(?:\.[a-zA-Z0-9_\-]))/gi,to:a=>"OpenCode"===a?"Antigravity":"OPENCODE"===a?"ANTIGRAVITY":"antigravity"}],D=Object.fromEntries(Object.entries(f.sr).filter(([,a])=>a.refreshLeadMs).map(([a,b])=>[a,b.refreshLeadMs])),E={google:{token:"https://oauth2.googleapis.com/token",auth:"https://accounts.google.com/o/oauth2/auth"},openai:{token:f.sr.codex?.tokenUrl,auth:f.sr.codex?.authorizeUrl},anthropic:{token:f.sr.claude?.tokenUrl,auth:"https://api.anthropic.com/v1/oauth/authorize"},iflow:{token:f.sr.iflow?.tokenUrl,auth:f.sr.iflow?.authorizeUrl},github:{token:f.sr.github?.tokenUrl,auth:f.sr.github?.authorizeUrl,deviceCode:f.sr.github?.deviceCodeUrl},"frontier-for-all":{token:f.sr["frontier-for-all"]?.tokenUrl,auth:f.sr["frontier-for-all"]?.deviceCodeUrl,deviceCode:f.sr["frontier-for-all"]?.deviceCodeUrl,deviceToken:f.sr["frontier-for-all"]?.deviceTokenUrl,revoke:f.sr["frontier-for-all"]?.revokeUrl}};function F(a){let b=(0,e.platform)(),c=(0,e.arch)(),f=`${b} ${c}`;"darwin"===b?f=`macOS ${c}`:"win32"===b?f=`Windows ${c}`:"linux"===b&&(f=`Linux ${c}`);let g="unknown";try{g=(0,e.hostname)()||"unknown"}catch{g="unknown"}let i="string"==typeof a&&a.trim()?a.trim():`kimi-${Date.now()}`;return{"X-Msh-Platform":"9router","X-Msh-Version":function(){if(d)return d;try{d=(0,h.createRequire)("file:///Volumes/Files/Projects/EzRouter/EzRouter/open-sse/config/appConstants.js")("../../package.json").version||"0.0.0"}catch{d=process.env.npm_package_version||"0.0.0"}return d}(),"X-Msh-Device-Name":g,"X-Msh-Device-Model":f,"X-Msh-Device-Id":i}}let G=64},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")},38944:(a,b,c)=>{"use strict";c.d(b,{S$:()=>h,Z_:()=>e,e:()=>f,s5:()=>g});let d=new(c(16698)).AsyncLocalStorage;function e(a){let b=a?.providerSpecificData||{};return{connectionProxyEnabled:!0===b.connectionProxyEnabled,connectionProxyUrl:b.connectionProxyUrl||"",connectionNoProxy:b.connectionNoProxy||"",vercelRelayUrl:b.vercelRelayUrl||"",proxyPoolId:b.connectionProxyPoolId||null,strictProxy:!0===b.strictProxy}}function f(a,b){return a?d.run(a,b):b()}function g(){return d.getStore()||null}async function h(){await c.e(9843).then(c.bind(c,89843))}},40610:a=>{"use strict";a.exports=require("node:dns")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},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")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},91645:a=>{"use strict";a.exports=require("net")},92072:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>N,patchFetch:()=>M,routeModule:()=>I,serverHooks:()=>L,workAsyncStorage:()=>J,workUnitAsyncStorage:()=>K});var d={};c.r(d),c.d(d,{GET:()=>H});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(89718),x=c(71998),y=c(9001),z=c(40615),A=c(98320),B=c(68658),C=c(17684);async function D(a){return!!(await (0,B.gN)(a)||await (0,B.wR)(a))}let E=["id","provider","authType","name","email","displayName","priority","globalPriority","isActive","defaultModel","testStatus","lastError","lastErrorAt","errorCode","expiresAt","lastUsedAt","consecutiveUseCount","createdAt","updatedAt","quotaPauseThresholds","lastQuotaSnapshot"],F=["baseUrl","azureEndpoint","deployment","apiVersion","accountId","region","projectId","resourceUrl","proxyPoolId","proxyPoolIds","proxyRotateStrategy","connectionProxyEnabled","connectionProxyUrl","connectionNoProxy","githubLogin","githubName","githubEmail","githubUserId","username","firstName","lastName","authMethod","authKind","profileArn","fastMode","codexFastMode","codexUltrafastMode","nodeName","quotaEnabled","quotaPath"];function G(a,b){let c=Number.parseInt(a,10);return Number.isFinite(c)&&c>0?c:b}async function H(a){if(!await D(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{var b;await (0,y.PY)();let{searchParams:c}=new URL(a.url),d=c.get("provider")||"all",e=c.get("accountStatus")||"all",f=c.get("sort")||"priority",g=G(c.get("page"),1),h=Math.min(G(c.get("pageSize"),20),500),i="1"===c.get("includeUnsupported"),j=await (0,w.mt)(),k=j?.customQuotaSources&&"object"==typeof j.customQuotaSources?j.customQuotaSources:{},l=await (0,w.getProviderConnections)(),m=await (0,x.Fh)(),n=new Map(m.map(a=>[a.id,a])),o=l.filter(a=>(function(a,b,c={}){if(c[a.id])return!0;if((0,z.mq)(a.provider)||(0,z.gb)(a.provider))return b?.get(a.provider)?.quotaEnabled===!0;let d=String(a.authType||"").toLowerCase().replace(/[-_]/g,"");return z.wb.includes(a.provider)&&("oauth"===d||"accesstoken"===d||(0,A.xK)(a)||z.jO.includes(a.provider))})(a,n,k)),p=i?l:o,q=Array.from(new Set(o.map(a=>a.provider))).sort(),r=(0,C.$L)(j.providerOrder),s=p.filter(a=>"all"===d||a.provider===d),t=(b=s.filter(a=>"active"===e?a.isActive??!0:"inactive"!==e||!(a.isActive??!0)),(0,C.Gf)(b,{sort:f,providerOrder:r,usageOrder:z.wb})),u=t.length,B=Math.max(1,Math.ceil(u/h)),D=Math.min(g,B),H=(D-1)*h,I=t.slice(H,H+h).map(a=>({...function(a){var b;let c={};for(let b of E)void 0!==a[b]&&(c[b]=a[b]);if("unavailable"===c.testStatus&&(Object.entries(a).some(([a,b])=>a.startsWith("modelLock_")&&b&&new Date(b).getTime()>Date.now())||(c.testStatus="active")),c.name&&(c.name="string"!=typeof(b=c.name)||b.length<=16?b:/[a-zA-Z0-9_-]{32,}/.test(b)?`${b.slice(0,8)}***`:b),a.providerSpecificData){let b={};for(let c of F)void 0!==a.providerSpecificData[c]&&(b[c]=a.providerSpecificData[c]);c.providerSpecificData=b}return c}(a),hasCustomQuota:!!k[a.id]}));return v.NextResponse.json({connections:I,providerOptions:q,providerOrder:r,pagination:{page:D,pageSize:h,total:u,totalPages:B},totals:{eligibleConnections:o.length,providerFilteredConnections:s.length}})}catch(a){return console.log("Error fetching providers for client:",a),v.NextResponse.json({error:"Failed to fetch providers"},{status:500})}}let I=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/client/route",pathname:"/api/providers/client",filename:"route",bundlePath:"app/api/providers/client/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/client/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:J,workUnitAsyncStorage:K,serverHooks:L}=I;function M(){return(0,g.patchFetch)({workAsyncStorage:J,workUnitAsyncStorage:K})}async function N(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),I.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/client/route";"/index"===d&&(d="/");let e=await I.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[H]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||I.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===I.isDev||!J,N=J&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await I.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>I.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await I.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await I.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},92990:(a,b,c)=>{"use strict";c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>s,SK:()=>F,Td:()=>A,Tx:()=>q,V1:()=>J,WN:()=>t,Ww:()=>L,YT:()=>n,Z2:()=>K,ZL:()=>m,_0:()=>H,aV:()=>u,cD:()=>o,eD:()=>G,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>E,qp:()=>B,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={...f.sr.muse},E={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J={...f.sr["frontier-for-all"]},K={clientId:"hermes-cli",portalBaseUrl:"https://portal.nousresearch.com",deviceCodeUrl:"https://portal.nousresearch.com/api/oauth/device/code",tokenUrl:"https://portal.nousresearch.com/api/oauth/token",agentKeyUrl:"https://portal.nousresearch.com/api/oauth/agent-key",inferenceBaseUrl:"https://inference-api.nousresearch.com/v1",scope:"inference:invoke inference:mint_agent_key"},L=3e5},94652:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,9095,2193,7774,6834,6332,1522,1541,5781,7547,4646,1847,9843,9865,9761,4767,8129,9013,7699,6588,8658,5697,5974,6643,2109,369,7099],()=>b(b.s=92072));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=8648,a.ids=[869,8648,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,hO:()=>h,oc:()=>j});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126};function h(){let a=Number.parseInt(process.env.PORT,10);return Number.isFinite(a)&&a>0?a:g.appPort}let i={maxLines:500,pollIntervalMs:1e3,streamTimeoutMs:5e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,catchUpWindowMs:18e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"},antigravity:{settingsKey:"antigravityAutoPing",quotaKey:"gemini_session",minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gemini-3.8-flash-low",pingText:"hi",pingMaxTokens:1}}}},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},39006:a=>{"use strict";a.exports={rE:"0.6.41"}},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},57729:(a,b,c)=>{"use strict";c.d(b,{F8:()=>f,ob:()=>e});var d=c(40615);function e(a){if("string"!=typeof a)return a;let b=a.trim();if(d.AI_PROVIDERS[b])return b;let c=b.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"");if(d.AI_PROVIDERS[c])return c;let e=Object.values(d.AI_PROVIDERS).find(a=>a.name?.toLowerCase()===b.toLowerCase());return e?.id||b}function f(a,b={},c=null){let d=c&&"object"==typeof c?{...c}:{};if("ollama-local"===a){let a=(d.baseUrl||b.baseUrl||b.baseURL||b.ollamaHostUrl||"").trim();a&&(d.baseUrl=a)}return Object.keys(d).length>0?d:null}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81329:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,KC:()=>d.KC,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS,zc:()=>i});var d=c(29485);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}},h={"gemini-live":{label:"Gemini Live (realtime WebSocket)",desc:"Streams audio over bidiGenerateContent and returns incremental transcription segments"}};function i(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(h,a.trim())}Object.freeze(Object.keys(h))},81787:a=>{"use strict";a.exports=require("bun:sqlite")},85012:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>F,POST:()=>G,dynamic:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998),x=c(30869),y=c(40615),z=c(57729),A=c(68658);let B="force-dynamic";async function C(a){return!!(await (0,A.gN)(a)||await (0,A.wR)(a))}async function D(a){if(null==a||""===a||"__none__"===a)return{proxyPoolId:null};let b=String(a).trim();return b?await (0,w.hr)(b)?{proxyPoolId:b}:{error:"Proxy pool not found"}:{proxyPoolId:null}}async function E(a){if(null==a||""===a)return{proxyPoolIds:null};let b=(Array.isArray(a)?a:String(a).split(",").map(a=>a.trim()).filter(Boolean)).map(a=>String(a||"").trim()).filter(a=>a&&"__none__"!==a);if(0===b.length)return{proxyPoolIds:null};for(let a of b)if(!await (0,w.hr)(a))return{error:`Proxy pool "${a}" not found`};return{proxyPoolIds:b}}async function F(a){if(!await C(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let b=new URL(a.url),c=b.searchParams.get("provider")||"",d=(b.searchParams.get("q")||"").toLowerCase().trim(),e=b.searchParams.has("page")||b.searchParams.has("pageSize"),f=Math.max(1,parseInt(b.searchParams.get("page")||"1",10)||1),g=Math.min(200,Math.max(1,parseInt(b.searchParams.get("pageSize")||"100",10)||100)),h=await (0,w.getProviderConnections)(),i={};try{for(let a of(await (0,w.Fh)()))a.id&&a.name&&(i[a.id]=a.name)}catch{}let j=h.map(a=>{let b=(0,y.mq)(a.provider)||(0,y.gb)(a.provider)?a.name||i[a.provider]||a.providerSpecificData?.nodeName||a.provider:a.name;return{...a,name:b,apiKey:void 0,accessToken:void 0,refreshToken:void 0,idToken:void 0}});c&&(j=j.filter(a=>a.provider===c)),d&&(j=j.filter(a=>[a.email,a.name,a.displayName,a.id].filter(Boolean).some(a=>String(a).toLowerCase().includes(d))));let k=j.length,l=e?j.slice((f-1)*g,f*g):j;return v.NextResponse.json({connections:l,total:k,page:e?f:1,pageSize:e?g:k})}catch(a){return console.log("Error fetching providers:",a),v.NextResponse.json({error:"Failed to fetch providers"},{status:500})}}async function G(a){if(!await C(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let b=await a.json(),c=(0,z.ob)(b.provider),{apiKey:d,name:e,displayName:f,priority:g,globalPriority:h,defaultModel:i,testStatus:j}=b,k=function(a={}){let b=a?.connectionProxyEnabled===!0,c="string"==typeof a?.connectionProxyUrl?a.connectionProxyUrl.trim():"",d="string"==typeof a?.connectionNoProxy?a.connectionNoProxy.trim():"";return b&&!c?{error:"Connection proxy URL is required when connection proxy is enabled"}:{connectionProxyEnabled:b,connectionProxyUrl:c,connectionNoProxy:d}}(b);if(k.error)return v.NextResponse.json({error:k.error},{status:400});let l=await D(b.proxyPoolId);if(l.error)return v.NextResponse.json({error:l.error},{status:400});let m=l.proxyPoolId,n=await E(b.proxyPoolIds);if(n.error)return v.NextResponse.json({error:n.error},{status:400});let o=n.proxyPoolIds,p=!!y.br[c],q=!!y.AI_PROVIDERS[c]?.authModes?.includes("apikey"),r=x.fg[c]||y.nJ[c]||q||p||(0,y.mq)(c)||(0,y.gb)(c)||(0,y.gC)(c)||(0,y.AR)(c);if(!c||!r)return v.NextResponse.json({error:"Invalid provider"},{status:400});let s=y.AI_PROVIDERS[c]?.apiKeyOptionalWith,t=!!(s&&b.providerSpecificData?.[s]),u=""===d&&((0,y.mq)(c)||(0,y.gb)(c));if(!d&&"ollama-local"!==c&&!t&&!u)return v.NextResponse.json({error:`${p?"Cookie value":"API Key"} is required`},{status:400});let A=e||f||y.AI_PROVIDERS[c]?.name;if(!A)return v.NextResponse.json({error:"Name is required"},{status:400});let B=(0,z.F8)(c,b,b.providerSpecificData);if((0,y.mq)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"OpenAI Compatible node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,apiType:a.apiType,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name,clientIdentityProfile:a.clientIdentityProfile||"default",clientIdentityHeaders:a.clientIdentityHeaders||{},quotaEnabled:!0===a.quotaEnabled,quotaPath:a.quotaPath||"/credits"}}else if((0,y.gb)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Anthropic Compatible node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name,clientIdentityProfile:a.clientIdentityProfile||"default",clientIdentityHeaders:a.clientIdentityHeaders||{},quotaEnabled:!0===a.quotaEnabled,quotaPath:a.quotaPath||"/credits"}}else if((0,y.gC)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Custom Embedding node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name}}else if((0,y.AR)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Custom Video node not found"},{status:404});B={prefix:a.prefix,baseUrl:a.baseUrl,nodeName:a.name}}let C={...B||{},connectionProxyEnabled:k.connectionProxyEnabled,connectionProxyUrl:k.connectionProxyUrl,connectionNoProxy:k.connectionNoProxy};null!==m&&(C.proxyPoolId=m),null!==o&&(C.proxyPoolIds=o),b.proxyRotateStrategy&&(C.proxyRotateStrategy=String(b.proxyRotateStrategy).trim());let F={...await (0,w.createProviderConnection)({provider:c,authType:p?"cookie":"apikey",name:A,apiKey:d||"",priority:g||1,globalPriority:h||null,defaultModel:i||null,providerSpecificData:C,isActive:!0,testStatus:j||"unknown",allowOverwrite:!!b.id||!0===b.allowOverwrite||!0===b.overwrite})};return delete F.apiKey,v.NextResponse.json({connection:F},{status:201})}catch(a){if(a?.code==="PROVIDER_NAME_CONFLICT")return v.NextResponse.json({error:a.message,code:a.code,existingId:a.existingId,existingName:a.existingName},{status:409});return console.log("Error creating provider:",a),v.NextResponse.json({error:"Failed to create provider"},{status:500})}}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/route",pathname:"/api/providers",filename:"route",bundlePath:"app/api/providers/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),H.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/route";"/index"===d&&(d="/");let e=await H.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||H.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===H.isDev||!J,N=J&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await H.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>H.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>H.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await H.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,9095,2193,6834,6332,1522,1541,5781,7547,8658],()=>b(b.s=85012));module.exports=c})();
1
+ (()=>{var a={};a.id=8648,a.ids=[869,8648,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>i,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,hO:()=>h,oc:()=>j});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126};function h(){let a=Number.parseInt(process.env.PORT,10);return Number.isFinite(a)&&a>0?a:g.appPort}let i={maxLines:500,pollIntervalMs:1e3,streamTimeoutMs:5e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,catchUpWindowMs:18e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"},antigravity:{settingsKey:"antigravityAutoPing",quotaKey:"gemini_session",minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gemini-3.8-flash-low",pingText:"hi",pingMaxTokens:1}}}},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},39006:a=>{"use strict";a.exports={rE:"0.6.42"}},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},57729:(a,b,c)=>{"use strict";c.d(b,{F8:()=>f,ob:()=>e});var d=c(40615);function e(a){if("string"!=typeof a)return a;let b=a.trim();if(d.AI_PROVIDERS[b])return b;let c=b.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"");if(d.AI_PROVIDERS[c])return c;let e=Object.values(d.AI_PROVIDERS).find(a=>a.name?.toLowerCase()===b.toLowerCase());return e?.id||b}function f(a,b={},c=null){let d=c&&"object"==typeof c?{...c}:{};if("ollama-local"===a){let a=(d.baseUrl||b.baseUrl||b.baseURL||b.ollamaHostUrl||"").trim();a&&(d.baseUrl=a)}return Object.keys(d).length>0?d:null}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,Pc:()=>d.Pc,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.mt,o5:()=>d.o5,op:()=>d.op,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.updateProviderConnection,uv:()=>d.uv,xN:()=>d.xN});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81329:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,KC:()=>d.KC,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS,zc:()=>i});var d=c(29485);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}},h={"gemini-live":{label:"Gemini Live (realtime WebSocket)",desc:"Streams audio over bidiGenerateContent and returns incremental transcription segments"}};function i(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(h,a.trim())}Object.freeze(Object.keys(h))},81787:a=>{"use strict";a.exports=require("bun:sqlite")},85012:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>F,POST:()=>G,dynamic:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998),x=c(30869),y=c(40615),z=c(57729),A=c(68658);let B="force-dynamic";async function C(a){return!!(await (0,A.gN)(a)||await (0,A.wR)(a))}async function D(a){if(null==a||""===a||"__none__"===a)return{proxyPoolId:null};let b=String(a).trim();return b?await (0,w.hr)(b)?{proxyPoolId:b}:{error:"Proxy pool not found"}:{proxyPoolId:null}}async function E(a){if(null==a||""===a)return{proxyPoolIds:null};let b=(Array.isArray(a)?a:String(a).split(",").map(a=>a.trim()).filter(Boolean)).map(a=>String(a||"").trim()).filter(a=>a&&"__none__"!==a);if(0===b.length)return{proxyPoolIds:null};for(let a of b)if(!await (0,w.hr)(a))return{error:`Proxy pool "${a}" not found`};return{proxyPoolIds:b}}async function F(a){if(!await C(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let b=new URL(a.url),c=b.searchParams.get("provider")||"",d=(b.searchParams.get("q")||"").toLowerCase().trim(),e=b.searchParams.has("page")||b.searchParams.has("pageSize"),f=Math.max(1,parseInt(b.searchParams.get("page")||"1",10)||1),g=Math.min(200,Math.max(1,parseInt(b.searchParams.get("pageSize")||"100",10)||100)),h=await (0,w.getProviderConnections)(),i={};try{for(let a of(await (0,w.Fh)()))a.id&&a.name&&(i[a.id]=a.name)}catch{}let j=h.map(a=>{let b=(0,y.mq)(a.provider)||(0,y.gb)(a.provider)?a.name||i[a.provider]||a.providerSpecificData?.nodeName||a.provider:a.name;return{...a,name:b,apiKey:void 0,accessToken:void 0,refreshToken:void 0,idToken:void 0}});c&&(j=j.filter(a=>a.provider===c)),d&&(j=j.filter(a=>[a.email,a.name,a.displayName,a.id].filter(Boolean).some(a=>String(a).toLowerCase().includes(d))));let k=j.length,l=e?j.slice((f-1)*g,f*g):j;return v.NextResponse.json({connections:l,total:k,page:e?f:1,pageSize:e?g:k})}catch(a){return console.log("Error fetching providers:",a),v.NextResponse.json({error:"Failed to fetch providers"},{status:500})}}async function G(a){if(!await C(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let b=await a.json(),c=(0,z.ob)(b.provider),{apiKey:d,name:e,displayName:f,priority:g,globalPriority:h,defaultModel:i,testStatus:j}=b,k=function(a={}){let b=a?.connectionProxyEnabled===!0,c="string"==typeof a?.connectionProxyUrl?a.connectionProxyUrl.trim():"",d="string"==typeof a?.connectionNoProxy?a.connectionNoProxy.trim():"";return b&&!c?{error:"Connection proxy URL is required when connection proxy is enabled"}:{connectionProxyEnabled:b,connectionProxyUrl:c,connectionNoProxy:d}}(b);if(k.error)return v.NextResponse.json({error:k.error},{status:400});let l=await D(b.proxyPoolId);if(l.error)return v.NextResponse.json({error:l.error},{status:400});let m=l.proxyPoolId,n=await E(b.proxyPoolIds);if(n.error)return v.NextResponse.json({error:n.error},{status:400});let o=n.proxyPoolIds,p=!!y.br[c],q=!!y.AI_PROVIDERS[c]?.authModes?.includes("apikey"),r=x.fg[c]||y.nJ[c]||q||p||(0,y.mq)(c)||(0,y.gb)(c)||(0,y.gC)(c)||(0,y.AR)(c);if(!c||!r)return v.NextResponse.json({error:"Invalid provider"},{status:400});let s=y.AI_PROVIDERS[c]?.apiKeyOptionalWith,t=!!(s&&b.providerSpecificData?.[s]),u=""===d&&((0,y.mq)(c)||(0,y.gb)(c));if(!d&&"ollama-local"!==c&&!t&&!u)return v.NextResponse.json({error:`${p?"Cookie value":"API Key"} is required`},{status:400});let A=e||f||y.AI_PROVIDERS[c]?.name;if(!A)return v.NextResponse.json({error:"Name is required"},{status:400});let B=(0,z.F8)(c,b,b.providerSpecificData);if((0,y.mq)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"OpenAI Compatible node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,apiType:a.apiType,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name,clientIdentityProfile:a.clientIdentityProfile||"default",clientIdentityHeaders:a.clientIdentityHeaders||{},quotaEnabled:!0===a.quotaEnabled,quotaPath:a.quotaPath||"/credits"}}else if((0,y.gb)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Anthropic Compatible node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name,clientIdentityProfile:a.clientIdentityProfile||"default",clientIdentityHeaders:a.clientIdentityHeaders||{},quotaEnabled:!0===a.quotaEnabled,quotaPath:a.quotaPath||"/credits"}}else if((0,y.gC)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Custom Embedding node not found"},{status:404});let b=a.providerSpecificData||{};B={prefix:a.prefix,baseUrl:b.effectiveBaseUrl||a.baseUrl,nodeName:a.name}}else if((0,y.AR)(c)){let a=await (0,w.Qu)(c);if(!a)return v.NextResponse.json({error:"Custom Video node not found"},{status:404});B={prefix:a.prefix,baseUrl:a.baseUrl,nodeName:a.name}}let C={...B||{},connectionProxyEnabled:k.connectionProxyEnabled,connectionProxyUrl:k.connectionProxyUrl,connectionNoProxy:k.connectionNoProxy};null!==m&&(C.proxyPoolId=m),null!==o&&(C.proxyPoolIds=o),b.proxyRotateStrategy&&(C.proxyRotateStrategy=String(b.proxyRotateStrategy).trim());let F={...await (0,w.createProviderConnection)({provider:c,authType:p?"cookie":"apikey",name:A,apiKey:d||"",priority:g||1,globalPriority:h||null,defaultModel:i||null,providerSpecificData:C,isActive:!0,testStatus:j||"unknown",allowOverwrite:!!b.id||!0===b.allowOverwrite||!0===b.overwrite})};return delete F.apiKey,v.NextResponse.json({connection:F},{status:201})}catch(a){if(a?.code==="PROVIDER_NAME_CONFLICT")return v.NextResponse.json({error:a.message,code:a.code,existingId:a.existingId,existingName:a.existingName},{status:409});return console.log("Error creating provider:",a),v.NextResponse.json({error:"Failed to create provider"},{status:500})}}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/route",pathname:"/api/providers",filename:"route",bundlePath:"app/api/providers/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),H.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/route";"/index"===d&&(d="/");let e=await H.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||H.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===H.isDev||!J,N=J&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await H.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>H.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>H.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await H.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,9095,2193,6834,6332,1522,1541,5781,7547,8658],()=>b(b.s=85012));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=5344,a.ids=[4755,5344,7136,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50122:(a,b,c)=>{"use strict";c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63316:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>H,patchFetch:()=>G,routeModule:()=>C,serverHooks:()=>F,workAsyncStorage:()=>D,workUnitAsyncStorage:()=>E});var d={};c.r(d),c.d(d,{GET:()=>A,PUT:()=>B,dynamic:()=>y});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(89718);function x(a){if(!Array.isArray(a))return[];let b=new Set,c=[];for(let d of a){if("string"!=typeof d)continue;let a=d.trim();if(a&&!(a.length>200)&&!b.has(a)&&(b.add(a),c.push(a),c.length>=500))break}return c}let y="force-dynamic",z={"Cache-Control":"no-store"};async function A(){try{let a=await (0,w.mt)();return v.NextResponse.json({order:x(a.providerOrder)},{headers:z})}catch(a){return console.log("Error reading provider order:",a),v.NextResponse.json({order:[]},{status:500,headers:z})}}async function B(a){try{let b=await a.json().catch(()=>({})),c=x(b?.order);if(b?.order!==void 0&&!Array.isArray(b.order))return v.NextResponse.json({error:"order must be an array of provider ids"},{status:400,headers:z});let d=await (0,w.Xx)({providerOrder:c});return v.NextResponse.json({order:x(d.providerOrder)},{headers:z})}catch(a){return console.log("Error saving provider order:",a),v.NextResponse.json({error:"Failed to save provider order"},{status:500,headers:z})}}let C=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/provider-order/route",pathname:"/api/settings/provider-order",filename:"route",bundlePath:"app/api/settings/provider-order/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/settings/provider-order/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:D,workUnitAsyncStorage:E,serverHooks:F}=C;function G(){return(0,g.patchFetch)({workAsyncStorage:D,workUnitAsyncStorage:E})}async function H(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),C.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/provider-order/route";"/index"===d&&(d="/");let e=await C.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||C.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===C.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await C.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>C.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>C.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await C.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),b}},k=await C.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await C.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},94755:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6834,6332,1522,1541,5781,7547],()=>b(b.s=63316));module.exports=c})();
1
+ (()=>{var a={};a.id=5344,a.ids=[4755,5344,7136,9718],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17684:(a,b,c)=>{"use strict";function d(a){if(!Array.isArray(a))return[];let b=new Set,c=[];for(let d of a){if("string"!=typeof d)continue;let a=d.trim();if(a&&!(a.length>200)&&!b.has(a)&&(b.add(a),c.push(a),c.length>=500))break}return c}function e(a,b={}){let c,{sort:f,providerOrder:g,usageOrder:h}=b,i=Array.isArray(a)?[...a]:[],j=(c=new Map,d(g).forEach((a,b)=>{c.has(a)||c.set(a,b)}),c),k=a=>j.has(a)?j.get(a):Number.MAX_SAFE_INTEGER;return"provider"===f?i.sort((a,b)=>{let c=k(a.provider)-k(b.provider);if(0!==c)return c;let d=Array.isArray(h)?h.indexOf(a.provider):-1,e=Array.isArray(h)?h.indexOf(b.provider):-1;return d!==e?d-e:(a.provider||"").localeCompare(b.provider||"")}):i.sort((a,b)=>{let c=k(a.provider)-k(b.provider);if(0!==c)return c;let d=a.priority??Number.MAX_SAFE_INTEGER,e=b.priority??Number.MAX_SAFE_INTEGER;return d!==e?d-e:(a.provider||"").localeCompare(b.provider||"")})}c.d(b,{$L:()=>d,Gf:()=>e})},21820:a=>{"use strict";a.exports=require("os")},26498:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>H,patchFetch:()=>G,routeModule:()=>C,serverHooks:()=>F,workAsyncStorage:()=>D,workUnitAsyncStorage:()=>E});var d={};c.r(d),c.d(d,{GET:()=>A,PUT:()=>B,dynamic:()=>y});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(89718),x=c(17684);let y="force-dynamic",z={"Cache-Control":"no-store"};async function A(){try{let a=await (0,w.mt)();return v.NextResponse.json({order:(0,x.$L)(a.providerOrder)},{headers:z})}catch(a){return console.log("Error reading provider order:",a),v.NextResponse.json({order:[]},{status:500,headers:z})}}async function B(a){try{let b=await a.json().catch(()=>({})),c=(0,x.$L)(b?.order);if(b?.order!==void 0&&!Array.isArray(b.order))return v.NextResponse.json({error:"order must be an array of provider ids"},{status:400,headers:z});let d=await (0,w.Xx)({providerOrder:c});return v.NextResponse.json({order:(0,x.$L)(d.providerOrder)},{headers:z})}catch(a){return console.log("Error saving provider order:",a),v.NextResponse.json({error:"Failed to save provider order"},{status:500,headers:z})}}let C=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/provider-order/route",pathname:"/api/settings/provider-order",filename:"route",bundlePath:"app/api/settings/provider-order/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/settings/provider-order/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:D,workUnitAsyncStorage:E,serverHooks:F}=C;function G(){return(0,g.patchFetch)({workAsyncStorage:D,workUnitAsyncStorage:E})}async function H(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),C.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/provider-order/route";"/index"===d&&(d="/");let e=await C.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||C.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===C.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await C.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>C.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>C.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await C.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),b}},k=await C.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await C.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},37067:a=>{"use strict";a.exports=require("node:http")},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50122:(a,b,c)=>{"use strict";c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,Br:()=>d.Br,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(7547)},94735:a=>{"use strict";a.exports=require("events")},94755:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6834,6332,1522,1541,5781,7547],()=>b(b.s=26498));module.exports=c})();