tokenhop 1.0.1 → 1.0.3

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 (566) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +8 -8
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +29 -29
  6. package/app/.next-cli-build/required-server-files.json +1 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  88. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  91. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  93. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  94. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  95. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  96. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  98. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  99. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  100. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  101. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  102. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  103. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tool-settings/[toolId]/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tool-settings/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  117. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
  146. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/combos/[id]/headroom/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/combos/[id]/headroom/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/gateway/status/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/home/live-routes/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/home/quota/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/home/quota/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/home/summary/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/settings/config/export/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/settings/config/import/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/settings/config/import/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/settings/environment/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/shell/savings-milestone/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/shell/summary/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/shell/summary/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/translator/send/route.js +9 -1
  281. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/translator/translate/route.js +9 -1
  283. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  291. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +9 -1
  293. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +9 -1
  295. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/usage/last-activity/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/usage/savings/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +9 -1
  318. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  320. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  354. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  356. package/app/.next-cli-build/server/app/callback.html +1 -1
  357. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  358. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  359. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  360. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
  361. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
  362. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +11 -11
  363. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +11 -11
  364. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +11 -11
  365. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
  367. package/app/.next-cli-build/server/app/dashboard/combos.rsc +11 -11
  368. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +11 -11
  369. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +11 -11
  370. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  371. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  372. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +9 -9
  373. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  374. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
  375. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  376. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
  377. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +11 -11
  378. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +11 -11
  379. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +11 -11
  380. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  381. package/app/.next-cli-build/server/app/dashboard/media-providers.html +1 -1
  382. package/app/.next-cli-build/server/app/dashboard/media-providers.rsc +10 -10
  383. package/app/.next-cli-build/server/app/dashboard/media-providers.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/__PAGE__.segment.rsc +10 -10
  384. package/app/.next-cli-build/server/app/dashboard/media-providers.segments/_full.segment.rsc +10 -10
  385. package/app/.next-cli-build/server/app/dashboard/media-providers.segments/_tree.segment.rsc +2 -2
  386. package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
  387. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +11 -11
  388. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +11 -11
  389. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +11 -11
  390. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  391. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  392. package/app/.next-cli-build/server/app/dashboard/profile.rsc +10 -10
  393. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +10 -10
  394. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +10 -10
  395. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  396. package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
  397. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +11 -11
  398. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +11 -11
  399. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +11 -11
  400. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  401. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
  402. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +10 -10
  403. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +10 -10
  404. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +10 -10
  405. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  406. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
  407. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +10 -10
  408. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +10 -10
  409. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +10 -10
  410. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  411. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  412. package/app/.next-cli-build/server/app/dashboard/quota.rsc +11 -11
  413. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +11 -11
  414. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +11 -11
  415. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  416. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  417. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  419. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  420. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  421. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  422. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  423. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  424. package/app/.next-cli-build/server/app/dashboard/settings.html +2 -2
  425. package/app/.next-cli-build/server/app/dashboard/settings.rsc +11 -11
  426. package/app/.next-cli-build/server/app/dashboard/settings.segments/!KGRhc2hib2FyZCk/dashboard/settings/__PAGE__.segment.rsc +11 -11
  427. package/app/.next-cli-build/server/app/dashboard/settings.segments/_full.segment.rsc +11 -11
  428. package/app/.next-cli-build/server/app/dashboard/settings.segments/_tree.segment.rsc +2 -2
  429. package/app/.next-cli-build/server/app/dashboard/skills.html +2 -2
  430. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  431. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +8 -8
  432. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  433. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  434. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +11 -11
  436. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +11 -11
  437. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +11 -11
  438. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  439. package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
  440. package/app/.next-cli-build/server/app/dashboard/translator.rsc +11 -11
  441. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +11 -11
  442. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +11 -11
  443. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  444. package/app/.next-cli-build/server/app/dashboard/ui-kit.html +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/ui-kit.rsc +10 -10
  446. package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/!KGRhc2hib2FyZCk/dashboard/ui-kit/__PAGE__.segment.rsc +10 -10
  447. package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/_full.segment.rsc +10 -10
  448. package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/_tree.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/usage.rsc +11 -11
  451. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +11 -11
  452. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +11 -11
  453. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  454. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  455. package/app/.next-cli-build/server/app/dashboard.rsc +11 -11
  456. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +11 -11
  457. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +11 -11
  458. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  459. package/app/.next-cli-build/server/app/index.html +1 -1
  460. package/app/.next-cli-build/server/app/index.rsc +5 -5
  461. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  462. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  463. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  464. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  465. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  466. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  467. package/app/.next-cli-build/server/app/landing.html +1 -1
  468. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  469. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  470. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  471. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  472. package/app/.next-cli-build/server/app/login/page.js +1 -1
  473. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  474. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  475. package/app/.next-cli-build/server/app/login.html +1 -1
  476. package/app/.next-cli-build/server/app/login.rsc +5 -5
  477. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  478. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  480. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/page.js +1 -1
  482. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  484. package/app/.next-cli-build/server/app/skills/[...slug]/route.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app-paths-manifest.json +8 -8
  486. package/app/.next-cli-build/server/chunks/{6734.js → 1004.js} +1 -1
  487. package/app/.next-cli-build/server/chunks/{4037.js → 1215.js} +1 -1
  488. package/app/.next-cli-build/server/chunks/1533.js +1 -1
  489. package/app/.next-cli-build/server/chunks/2217.js +1 -1
  490. package/app/.next-cli-build/server/chunks/2380.js +3 -3
  491. package/app/.next-cli-build/server/chunks/24.js +1 -1
  492. package/app/.next-cli-build/server/chunks/2460.js +1 -1
  493. package/app/.next-cli-build/server/chunks/257.js +10 -0
  494. package/app/.next-cli-build/server/chunks/2592.js +1 -1
  495. package/app/.next-cli-build/server/chunks/2705.js +9 -0
  496. package/app/.next-cli-build/server/chunks/318.js +2 -10
  497. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  498. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  499. package/app/.next-cli-build/server/chunks/4334.js +1 -1
  500. package/app/.next-cli-build/server/chunks/5230.js +1 -0
  501. package/app/.next-cli-build/server/chunks/5260.js +1 -1
  502. package/app/.next-cli-build/server/chunks/5559.js +9 -0
  503. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  504. package/app/.next-cli-build/server/chunks/5649.js +1 -0
  505. package/app/.next-cli-build/server/chunks/5827.js +1 -1
  506. package/app/.next-cli-build/server/chunks/5869.js +9 -0
  507. package/app/.next-cli-build/server/chunks/5908.js +1 -0
  508. package/app/.next-cli-build/server/chunks/620.js +1 -1
  509. package/app/.next-cli-build/server/chunks/{1854.js → 6355.js} +1 -1
  510. package/app/.next-cli-build/server/chunks/6493.js +1 -0
  511. package/app/.next-cli-build/server/chunks/6496.js +1 -1
  512. package/app/.next-cli-build/server/chunks/7485.js +9 -0
  513. package/app/.next-cli-build/server/chunks/{3676.js → 7695.js} +1 -1
  514. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  515. package/app/.next-cli-build/server/chunks/7819.js +1 -1
  516. package/app/.next-cli-build/server/chunks/8171.js +1 -1
  517. package/app/.next-cli-build/server/chunks/8261.js +1 -0
  518. package/app/.next-cli-build/server/chunks/878.js +1 -0
  519. package/app/.next-cli-build/server/chunks/8895.js +10 -10
  520. package/app/.next-cli-build/server/chunks/8954.js +1 -0
  521. package/app/.next-cli-build/server/chunks/9016.js +9 -0
  522. package/app/.next-cli-build/server/chunks/9343.js +1 -1
  523. package/app/.next-cli-build/server/chunks/9421.js +1 -1
  524. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  525. package/app/.next-cli-build/server/chunks/9578.js +1 -1
  526. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  527. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  528. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  529. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  530. package/app/.next-cli-build/server/pages/404.html +1 -1
  531. package/app/.next-cli-build/server/pages/500.html +1 -1
  532. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  533. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  534. package/app/.next-cli-build/static/chunks/{198-0c7f5eadfd257db1.js → 198-7c5bbea89ef8bc14.js} +1 -1
  535. package/app/.next-cli-build/static/chunks/{3670-90f5cd325f460eb5.js → 3670-d6dc44bc181c9b8a.js} +1 -1
  536. package/app/.next-cli-build/static/chunks/{6174.f1da2912aec81c15.js → 6174.a18fedfa3d765b1e.js} +1 -1
  537. package/app/.next-cli-build/static/chunks/7899-a12f962af02edf7f.js +1 -0
  538. package/app/.next-cli-build/static/chunks/8105-71d1aea9708976db.js +1 -0
  539. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-084fc21b1dbae00d.js → page-1df6ad7d9adfc2a7.js} +1 -1
  540. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-de53f51d191eec46.js → page-25d06b77bd1a5edb.js} +1 -1
  541. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-243d3da0a2c6cbe9.js → page-5bb99ecaf48bde39.js} +1 -1
  542. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/ui-kit/{page-998f8c5a36dac961.js → page-1bc393f267badc04.js} +1 -1
  543. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-96ebd2b46f1f8d39.js → layout-a94f45e334f1841b.js} +1 -1
  544. package/app/.next-cli-build/static/chunks/app/landing/{page-bcaea5febe1c68c0.js → page-98f05847e3372b16.js} +1 -1
  545. package/app/.next-cli-build/static/chunks/app/{layout-c266f1acedfb4651.js → layout-29d74e164758a126.js} +1 -1
  546. package/app/.next-cli-build/static/chunks/{webpack-8693ccf029e9af63.js → webpack-1e19a4b05298b49d.js} +1 -1
  547. package/app/.next-cli-build/static/css/{9f0b95a0d0bc5e51.css → ffa1d9c3cbb4e959.css} +1 -1
  548. package/app/package.json +4 -5
  549. package/app/server.js +1 -1
  550. package/package.json +1 -1
  551. package/app/.next-cli-build/server/chunks/1764.js +0 -1
  552. package/app/.next-cli-build/server/chunks/3306.js +0 -1
  553. package/app/.next-cli-build/server/chunks/3558.js +0 -1
  554. package/app/.next-cli-build/server/chunks/368.js +0 -1
  555. package/app/.next-cli-build/server/chunks/4199.js +0 -2
  556. package/app/.next-cli-build/server/chunks/4903.js +0 -1
  557. package/app/.next-cli-build/server/chunks/6000.js +0 -1
  558. package/app/.next-cli-build/server/chunks/6403.js +0 -1
  559. package/app/.next-cli-build/server/chunks/6565.js +0 -1
  560. package/app/.next-cli-build/server/chunks/7901.js +0 -1
  561. package/app/.next-cli-build/server/chunks/8372.js +0 -1
  562. package/app/.next-cli-build/server/chunks/9219.js +0 -1
  563. package/app/.next-cli-build/static/chunks/7899-83edd7bbf1a98c4a.js +0 -1
  564. package/app/.next-cli-build/static/chunks/8105-bdd81b911fed8537.js +0 -1
  565. /package/app/.next-cli-build/static/{J4xdfHpBUAMOCO5dsemSj → gdVYVwJMM6JES9Y1KPQyw}/_buildManifest.js +0 -0
  566. /package/app/.next-cli-build/static/{J4xdfHpBUAMOCO5dsemSj → gdVYVwJMM6JES9Y1KPQyw}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1764.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1854.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3306.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3558.js","../../../../chunks/3593.js","../../../../chunks/3676.js","../../../../chunks/368.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4037.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4199.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4903.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/6000.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6403.js","../../../../chunks/6427.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6565.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6734.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7901.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8372.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9219.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1215.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/257.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/2705.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/5230.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5559.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5649.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/5869.js","../../../../chunks/5908.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6355.js","../../../../chunks/6427.js","../../../../chunks/6493.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7485.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7695.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8261.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/878.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8954.js","../../../../chunks/8988.js","../../../../chunks/9016.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1,5 +1,5 @@
1
1
  (()=>{var a={};a.id=7508,a.ids=[7508],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")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12994:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>f,Yh:()=>e,jz:()=>g});var d=c(80751);c(31223);let e=a=>a.endsWith("/v1")?a:`${a}/v1`,f=a=>a.endsWith("/v1")?a.slice(0,-3):a,g=({format:a,value:b})=>"json"===a?JSON.stringify(b,null,2):"toml"===a&&"string"!=typeof b?(0,d.q)(b):b},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},33873:a=>{"use strict";a.exports=require("path")},39637:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"0060495accae09fdf7e6f8507201c96a80aeaee962":()=>d.GET,"40790c62b1d7dfcb0a2abd807e9f19510b060bea58":()=>d.DELETE,"40ae5711a1ab91be49dfa4e501dcbdd64498af702b":()=>d.POST,"40d29ea2055274e58ef0c06592a422db97f991c862":()=>d.PATCH});var d=c(95735)},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72287:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/opencode-settings/route",pathname:"/api/cli-tools/opencode-settings",filename:"route",bundlePath:"app/api/cli-tools/opencode-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/opencode-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(95735),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/opencode-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},77351:(a,b,c)=>{"use strict";c.d(b,{Z:()=>j});var d=c(86601);let e=Symbol("singleComment"),f=Symbol("multiComment"),g=()=>"",h=(a,b,c)=>a.slice(b,c).replace(/[^ \t\r\n]/g," "),i=(a,b)=>{let c=b-1,d=0;for(;"\\"===a[c];)--c,d+=1;return!!(d%2)};function j(a,b){let c=JSON.parse(function(a,{whitespace:b=!0,trailingCommas:c=!1}={}){if("string"!=typeof a)throw TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof a}\``);let d=b?h:g,j=!1,k=!1,l=0,m="",n="",o=-1;for(let b=0;b<a.length;b++){let g=a[b],h=a[b+1];if(!k&&'"'===g&&(i(a,b)||(j=!j)),!j)if(k||g+h!=="//")if(k===e&&g+h===`\r
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},33873:a=>{"use strict";a.exports=require("path")},38708:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"005b38619044a02911ee527438786885b6434e2f83":()=>d.GET,"40136b9afe0a181c9dcbe6aecfb851c90d3ad26d40":()=>d.DELETE,"40178b01ae5e75f961229749ea48adfec714eba998":()=>d.POST,"4050cbc2e99328d3682bb7a863fd324426ba931a0b":()=>d.PATCH});var d=c(95735)},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72287:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/opencode-settings/route",pathname:"/api/cli-tools/opencode-settings",filename:"route",bundlePath:"app/api/cli-tools/opencode-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/opencode-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(95735),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/opencode-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},77351:(a,b,c)=>{"use strict";c.d(b,{Z:()=>j});var d=c(86601);let e=Symbol("singleComment"),f=Symbol("multiComment"),g=()=>"",h=(a,b,c)=>a.slice(b,c).replace(/[^ \t\r\n]/g," "),i=(a,b)=>{let c=b-1,d=0;for(;"\\"===a[c];)--c,d+=1;return!!(d%2)};function j(a,b){let c=JSON.parse(function(a,{whitespace:b=!0,trailingCommas:c=!1}={}){if("string"!=typeof a)throw TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof a}\``);let d=b?h:g,j=!1,k=!1,l=0,m="",n="",o=-1;for(let b=0;b<a.length;b++){let g=a[b],h=a[b+1];if(!k&&'"'===g&&(i(a,b)||(j=!j)),!j)if(k||g+h!=="//")if(k===e&&g+h===`\r
3
3
  `){k=!1,m+=d(a,l,++b),l=b;continue}else if(k===e&&g===`
4
4
  `)k=!1,m+=d(a,l,b),l=b;else if(k||g+h!=="/*")if(k===f&&g+h==="*/"){k=!1,m+=d(a,l,++b+1),l=b+1;continue}else c&&!k&&(-1===o?","===g&&(n+=m+a.slice(l,b),m="",l=b,o=b):"}"===g||"]"===g?(m+=a.slice(l,b),n+=d(m,0,1)+m.slice(1),m="",l=b,o=-1):" "!==g&&" "!==g&&g!==`\r`&&g!==`
5
5
  `&&(m+=a.slice(l,b),l=b,o=-1));else{m+=a.slice(l,b),l=b,k=f,b++;continue}else m+=a.slice(l,b),l=b,k=e,b++}return n+m+(k===e?d(a,l):a.slice(l))}((0,d.xi)(a),{trailingCommas:b?.allowTrailingComma}));return(0,d.$Z)(a,c,b),c}},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},80751:(a,b,c)=>{"use strict";c.d(b,{M:()=>u,q:()=>v});var d=c(86601);let e=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;var f=class a extends Date{#a=!1;#b=!1;#c=null;constructor(a){let b=!0,c=!0,d="Z";if("string"==typeof a){let f=a.match(e);f?(f[1]||(b=!1,a=`0000-01-01T${a}`),(c=!!f[2])&&" "===a[10]&&(a=a.replace(" ","T")),f[2]&&+f[2]>23?a="":(d=f[3]||null,a=a.toUpperCase(),!d&&c&&(a+="Z"))):a=""}super(a),isNaN(this.getTime())||(this.#a=b,this.#b=c,this.#c=d)}isDateTime(){return this.#a&&this.#b}isLocal(){return!this.#a||!this.#b||!this.#c}isDate(){return this.#a&&!this.#b}isTime(){return this.#b&&!this.#a}isValid(){return this.#a||this.#b}toISOString(){let a=super.toISOString();if(this.isDate())return a.slice(0,10);if(this.isTime())return a.slice(11,23);if(null===this.#c)return a.slice(0,-1);if("Z"===this.#c)return a;let b=60*this.#c.slice(1,3)+ +this.#c.slice(4,6);return b="-"===this.#c[0]?b:-b,new Date(this.getTime()-6e4*b).toISOString().slice(0,-1)+this.#c}static wrapAsOffsetDateTime(b,c="Z"){let d=new a(b);return d.#c=c,d}static wrapAsLocalDateTime(b){let c=new a(b);return c.#c=null,c}static wrapAsLocalDate(b){let c=new a(b);return c.#b=!1,c.#c=null,c}static wrapAsLocalTime(b){let c=new a(b);return c.#a=!1,c.#c=null,c}},g=class extends Error{line;column;codeblock;constructor(a,b){let[c,d]=function(a,b){let c=a.slice(0,b).split(/\r\n|\n|\r/g);return[c.length,c.pop().length+1]}(b.toml,b.ptr),e=function(a,b,c){let d=a.split(/\r\n|\n|\r/g),e="",f=(0|Math.log10(b+1))+1;for(let a=b-1;a<=b+1;a++){let g=d[a-1];g&&(e+=a.toString().padEnd(f," "),e+=": ",e+=g,e+=`
@@ -17,4 +17,4 @@ ${e}`,b),this.line=c,this.column=d,this.codeblock=e}};function h(a,b=0){let c=a.
17
17
  ${g}`:`[${b}]`),g&&h?`${g}
18
18
  ${h}`:g||h}(0,a,"",b,c);return d[d.length-1]===`
19
19
  `?d:d+`
20
- `}(a);return b.whitespace.start+c+b.whitespace.end}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},95735:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>A,GET:()=>x,PATCH:()=>z,POST:()=>y});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(31223),p=c(24586),q=c(12994),r=c(24424);let s=(0,g.promisify)(f.exec),t=()=>k().join(m().homedir(),".config","opencode"),u=()=>k().join(t(),"opencode.json"),v=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await s(a?"where opencode":"which opencode",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(u()),!0}catch{return!1}}},w=async()=>{try{let a=(await i().readFile(u(),"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(a)}catch(a){return a.code,null}};async function x(){try{if(!await v())return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await w(),b=(0,p.f)(a?.provider),c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasTokenhop:!!(0,p.f)(a?.provider),configPath:u(),opencode:{models:Object.keys(c),activeModel:(0,p.NO)(a?.model)?.model??null,baseURL:b?.options?.baseURL||null}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),j=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===j.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=t(),l=u();await i().mkdir(k,{recursive:!0});let m=await (0,n.JG)(l)??{},r=function({baseUrl:a,apiKey:b,models:c,activeModel:d,subagentModel:e}){if(!c?.length)return null;let f={};for(let a of c)a&&"string"==typeof a&&(f[a]={name:a,modalities:{input:["text","image"],output:["text"]}});return[{file:"~/.config/opencode/opencode.json",format:"json",merge:!0,value:{provider:{[p.u3]:{npm:"@ai-sdk/openai-compatible",options:{baseURL:(0,q.Yh)(a),apiKey:b||o.Hc.defaultApiKey},models:f}},model:""===d?"":(0,p.lv)(d||c[0]),agent:{explorer:{description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:(0,p.lv)(e||d||c[0])}}}}]}({baseUrl:b,apiKey:c,models:j,activeModel:g,subagentModel:h})[0].value,s=r.provider[p.u3];m.provider||(m.provider={});let v=[...[...p.jh].reverse(),p.u3].map(a=>m.provider[a]).filter(Boolean);(0,p.zi)(m.provider);let w=v.length>1?v.reduce((a,b)=>({...a,...b,options:{...a.options,...b.options},models:{...a.models,...b.models}})):v[0]??{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let[a,b]of(w.options={...w.options,...s.options},w.models=w.models||{},Object.entries(s.models)))w.models[a]=b;for(let a of(m.provider[p.u3]=w,m.model&&(m.model=(0,p.ic)(m.model)),Object.values(m.agent??{})))"string"==typeof a?.model&&(a.model=(0,p.ic)(a.model));return m.model=r.model,m.agent={...m.agent,explorer:r.agent.explorer},await i().writeFile(l,JSON.stringify(m,null,2)),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:l})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error applying opencode settings:",b),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function z(a){try{let{clearActiveModel:b}=await a.json(),c=u(),d=await (0,n.JG)(c);if(!d)return e.NextResponse.json({success:!0,message:"No config file found"});return!0===b&&(0,p.NO)(d.model)&&(d.model=""),await i().writeFile(c,JSON.stringify(d,null,2)),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error patching opencode settings:",b),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function A(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=u(),f=await (0,n.JG)(d);if(!f)return e.NextResponse.json({success:!0,message:"No config file to reset"});let g=p.fK.filter(a=>f.provider?.[a]?.models);if(c&&g.length>0)for(let a of g){let b=f.provider[a];delete b.models[c];let d=Object.keys(b.models);0===d.length?(delete f.provider[a],(0,p.NO)(f.model)?.key===a&&delete f.model):f.model===`${a}/${c}`&&(f.model=`${a}/${d[0]}`)}else{for(let a of p.fK)f.provider&&delete f.provider[a];(0,p.NO)(f.model)&&delete f.model}return(0,p.NO)(f.agent?.explorer?.model)&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await i().writeFile(d,JSON.stringify(f,null,2)),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:`${p.eU} settings removed from OpenCode`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting opencode settings:",b),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,r.D)([x,y,z,A]),(0,d.A)(x,"0060495accae09fdf7e6f8507201c96a80aeaee962",null),(0,d.A)(y,"40ae5711a1ab91be49dfa4e501dcbdd64498af702b",null),(0,d.A)(z,"40d29ea2055274e58ef0c06592a422db97f991c862",null),(0,d.A)(A,"40790c62b1d7dfcb0a2abd807e9f19510b060bea58",null)},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=72287));module.exports=c})();
20
+ `}(a);return b.whitespace.start+c+b.whitespace.end}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},95735:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>A,GET:()=>x,PATCH:()=>z,POST:()=>y});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(31223),p=c(24586),q=c(12994),r=c(24424);let s=(0,g.promisify)(f.exec),t=()=>k().join(m().homedir(),".config","opencode"),u=()=>k().join(t(),"opencode.json"),v=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await s(a?"where opencode":"which opencode",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(u()),!0}catch{return!1}}},w=async()=>{try{let a=(await i().readFile(u(),"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(a)}catch(a){return a.code,null}};async function x(){try{if(!await v())return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await w(),b=(0,p.f)(a?.provider),c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasTokenhop:!!(0,p.f)(a?.provider),configPath:u(),opencode:{models:Object.keys(c),activeModel:(0,p.NO)(a?.model)?.model??null,baseURL:b?.options?.baseURL||null}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),j=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===j.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=t(),l=u();await i().mkdir(k,{recursive:!0});let m=await (0,n.JG)(l)??{},r=function({baseUrl:a,apiKey:b,models:c,activeModel:d,subagentModel:e}){if(!c?.length)return null;let f={};for(let a of c)a&&"string"==typeof a&&(f[a]={name:a,modalities:{input:["text","image"],output:["text"]}});return[{file:"~/.config/opencode/opencode.json",format:"json",merge:!0,value:{provider:{[p.u3]:{npm:"@ai-sdk/openai-compatible",options:{baseURL:(0,q.Yh)(a),apiKey:b||o.Hc.defaultApiKey},models:f}},model:""===d?"":(0,p.lv)(d||c[0]),agent:{explorer:{description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:(0,p.lv)(e||d||c[0])}}}}]}({baseUrl:b,apiKey:c,models:j,activeModel:g,subagentModel:h})[0].value,s=r.provider[p.u3];m.provider||(m.provider={});let v=[...[...p.jh].reverse(),p.u3].map(a=>m.provider[a]).filter(Boolean);(0,p.zi)(m.provider);let w=v.length>1?v.reduce((a,b)=>({...a,...b,options:{...a.options,...b.options},models:{...a.models,...b.models}})):v[0]??{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let[a,b]of(w.options={...w.options,...s.options},w.models=w.models||{},Object.entries(s.models)))w.models[a]=b;for(let a of(m.provider[p.u3]=w,m.model&&(m.model=(0,p.ic)(m.model)),Object.values(m.agent??{})))"string"==typeof a?.model&&(a.model=(0,p.ic)(a.model));return m.model=r.model,m.agent={...m.agent,explorer:r.agent.explorer},await i().writeFile(l,JSON.stringify(m,null,2)),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:l})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error applying opencode settings:",b),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function z(a){try{let{clearActiveModel:b}=await a.json(),c=u(),d=await (0,n.JG)(c);if(!d)return e.NextResponse.json({success:!0,message:"No config file found"});return!0===b&&(0,p.NO)(d.model)&&(d.model=""),await i().writeFile(c,JSON.stringify(d,null,2)),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error patching opencode settings:",b),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function A(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=u(),f=await (0,n.JG)(d);if(!f)return e.NextResponse.json({success:!0,message:"No config file to reset"});let g=p.fK.filter(a=>f.provider?.[a]?.models);if(c&&g.length>0)for(let a of g){let b=f.provider[a];delete b.models[c];let d=Object.keys(b.models);0===d.length?(delete f.provider[a],(0,p.NO)(f.model)?.key===a&&delete f.model):f.model===`${a}/${c}`&&(f.model=`${a}/${d[0]}`)}else{for(let a of p.fK)f.provider&&delete f.provider[a];(0,p.NO)(f.model)&&delete f.model}return(0,p.NO)(f.agent?.explorer?.model)&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await i().writeFile(d,JSON.stringify(f,null,2)),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:`${p.eU} settings removed from OpenCode`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting opencode settings:",b),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,r.D)([x,y,z,A]),(0,d.A)(x,"005b38619044a02911ee527438786885b6434e2f83",null),(0,d.A)(y,"40178b01ae5e75f961229749ea48adfec714eba998",null),(0,d.A)(z,"4050cbc2e99328d3682bb7a863fd324426ba931a0b",null),(0,d.A)(A,"40136b9afe0a181c9dcbe6aecfb851c90d3ad26d40",null)},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=72287));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1764.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1854.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3306.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3558.js","../../../../chunks/3593.js","../../../../chunks/3676.js","../../../../chunks/368.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4037.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4199.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4903.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/6000.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6403.js","../../../../chunks/6427.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6565.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6734.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7901.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8372.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9219.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1215.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/257.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/2705.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/5230.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5559.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5649.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/5869.js","../../../../chunks/5908.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6355.js","../../../../chunks/6427.js","../../../../chunks/6493.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7485.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7695.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8261.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/878.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8954.js","../../../../chunks/8988.js","../../../../chunks/9016.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=9513,a.ids=[9513],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3662:(a,b,c)=>{c.d(b,{LY:()=>d,O:()=>e,t2:()=>g,x6:()=>f});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f="out of extra usage",g=[{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:f,cooldownMs:0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{text:"not supported when using codex with a chatgpt account",cooldownMs:12e4},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16087:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/combos/[id]/headroom/route",pathname:"/api/combos/[id]/headroom",filename:"route",bundlePath:"app/api/combos/[id]/headroom/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/combos/[id]/headroom/route.js",nextConfigOutput:"standalone",userland:()=>c(53277),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/combos/[id]/headroom/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},27950:(a,b,c)=>{c.d(b,{A:()=>d,N:()=>e});let d={snapshotTtlMs:36e5,floor:.05,maxConnections:1e3,maxWindowsPerConnection:32,profileRecheckMs:864e5,poller:{tickMs:6e4,staleMs:9e5,failureCooldownMs:9e5},shortWindowKinds:["requests","tokens","input-tokens","output-tokens"]},e={claude:{pro:1,default_claude_max_5x:5,default_claude_max_20x:20},codex:{plus:1,team:1,business:1,prolite:5,pro:20},github:{copilot_pro:1,copilot_pro_plus:4.7,copilot_max:13.3},"gemini-cli":{free:1,"g1-pro-tier":1.5,"g1-ultra-tier":2},antigravity:{"free-tier":1,"legacy-tier":1,"g1-pro-tier":1.5,"g1-ultra-tier":5},kiro:{free:.05,pro:1,pro_plus:2,pro_max:5,power:10},cursor:{free:.1,pro:1,pro_plus:3,ultra:20,team:1,business:1,enterprise:1}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},38775:(a,b,c)=>{c.d(b,{Xh:()=>i,d_:()=>k,mA:()=>j});var d=c(89718),e=c(40669),f=c(7819);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"},h=new Set(Object.keys(g));for(let a of f.default)for(let b of(h.add(a.id),a.alias&&h.add(a.alias),a.aliases||[]))h.add(b);function i(a){let b=(0,e.Xh)(a);return b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b}async function j(a){let b=i(a);if(!b.isAlias){if(!h.has(b.providerAlias)){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===b.providerAlias);if(a)return{provider:a.id,model:b.model};let c=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===b.providerAlias);if(c)return{provider:c.id,model:b.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===b.providerAlias);if(e)return{provider:e.id,model:b.model}}return{provider:b.provider,model:b.model}}return await (0,d.Dj)(b.model)?{provider:null,model:b.model}:(0,e.js)(a,d.OM)}async function k(a){if("string"!=typeof a||a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}},40669:(a,b,c)=>{c.d(b,{Xh:()=>g,js:()=>i,sc:()=>h});var d=c(7819);let e={el:"elevenlabs",jina:"jina-ai","jina-ai":"jina-ai",polly:"aws-polly","aws-polly":"aws-polly"};for(let a of d.default)for(let b of(e[a.id]=a.id,a.alias&&(e[a.alias]=a.id),a.aliases||[]))e[b]=a.id;let f={"grok-build":"gcli/grok-build"};function g(a){if(!a)return{provider:null,model:null,isAlias:!1,providerAlias:null};if(a.includes("/")){let b=a.indexOf("/"),c=a.slice(0,b),d=a.slice(b+1);return{provider:e[c]||c,model:d,isAlias:!1,providerAlias:c}}return{provider:null,model:a,isAlias:!0,providerAlias:null}}function h(a,b){var c,d;if(!b)return null;let f=b[a];if(!f)return null;if("string"==typeof f&&f.includes("/")){let a=f.indexOf("/");return{provider:e[c=f.slice(0,a)]||c,model:f.slice(a+1)}}return"object"==typeof f&&f.provider&&f.model?{provider:e[d=f.provider]||d,model:f.model}:null}async function i(a,b){let c=g(a);if(!c.isAlias)return{provider:c.provider,model:c.model};let d="function"==typeof b?await b():b,e=h(c.model,d)||h(c.model,f);return e||{provider:function(a){if(!a)return"openai";let b=a.toLowerCase();return j.find(([a])=>a.test(b))?.[1]||"openai"}(c.model),model:c.model}}let j=[[/^codex-auto-review$/,"codex"],[/^claude-/,"anthropic"],[/^gemini-/,"gemini"],[/^gpt-/,"openai"],[/^o[134]/,"openai"],[/^deepseek-/,"openrouter"]]},41704:(a,b,c)=>{c.d(b,{GJ:()=>z,HK:()=>p,P:()=>t,PA:()=>s,RG:()=>r,S2:()=>u,Vv:()=>B,X8:()=>A,_P:()=>o,dV:()=>q,tU:()=>v});var d=c(70900),e=c(27950),f=c(96773);let g=new Map,h=new Set(["5h","7d","day","month","requests","tokens","input-tokens","output-tokens"]),i=new Set(["__proto__","constructor","prototype"]);function j(a){if("number"==typeof a)return Number.isFinite(a)?a:null;if("string"==typeof a&&a.trim()){let b=Number(a);return Number.isFinite(b)?b:null}return null}function k(a){return Number.isFinite(a)?a:Date.now()}function l(a,b=a.windows){return{...a,windows:b.map(a=>({...a}))}}function m(a,b){return a.resetsAt>0?a.resetsAt>b:a.observedAt+e.A.snapshotTtlMs>b}function n(a,b,c,d,f,h){try{if("string"!=typeof a||!a.trim()||"string"!=typeof b||!b.trim())return null;let i=k(h),n=g.get(a),o=function(a,b,c){if(!Array.isArray(a))return[];let d=[];for(let e of a){if(!e||"object"!=typeof e)continue;let a=u(e.kind),f=s(e.usedFraction,"used01");if(!a||null===f)continue;let g=j(e.observedAt)??c;d.push({kind:a,usedFraction:f,resetsAt:t(e.resetsAt,c)||0,observedAt:g,source:b})}return d}(c,f,i),p=n?.windows?n.windows.filter(a=>m(a,i)):[];for(let a of o){let b=a.kind.toLowerCase(),c=p.findIndex(a=>a.kind.toLowerCase()===b);c<0?p.push(a):a.observedAt>=p[c].observedAt&&p.splice(c,1,a)}p.sort((a,b)=>b.observedAt-a.observedAt);let q=v(d),r={provider:b.trim().toLowerCase(),windows:p.slice(0,e.A.maxWindowsPerConnection),planTier:q??n?.planTier??null,updatedAt:i};return!function(a,b){let c;if(g.has(a)||g.size<e.A.maxConnections)return;let d=1/0;for(let[a,f]of g)!f.windows.some(a=>m(a,b))&&f.updatedAt+e.A.snapshotTtlMs<=b?g.delete(a):f.updatedAt<d&&(c=a,d=f.updatedAt);g.size>=e.A.maxConnections&&void 0!==c&&g.delete(c)}(a,i),g.set(a,r),l(r)}catch{return null}}function o(a,b,c,d=Date.now()){return n(a,b,c,null,"header",d)}function p(a,b,c,d={},e=Date.now()){return n(a,b,c,d?.planTier??null,"probe",e)}function q(a,b=Date.now()){try{let c=g.get(a);if(!c)return null;let d=k(b),f=c.windows.filter(a=>m(a,d));if(0===f.length&&c.updatedAt+e.A.snapshotTtlMs<=d)return g.delete(a),null;return l(c,f)}catch{return null}}function r(a,b){let c=g.get(a);c?.planTier===b&&g.set(a,{...c,planTier:null})}function s(a,b){let c,d=j(a);if(null===d)return null;switch(b){case"used01":c=d;break;case"used100":c=d/100;break;case"remaining01":c=1-d;break;case"remaining100":c=1-d/100;break;default:return null}return Math.min(1,Math.max(0,c))}function t(a,b=Date.now()){try{let c;if(null==a||""===a)return 0;let d=k(b);if("number"==typeof a){if(!Number.isFinite(a))return 0;c=a<1e12?1e3*a:a}else{if("string"!=typeof a)return 0;let b=a.trim();if(!b)return 0;if((0,f.g)(b))return null;let d=j(b);c=null!==d?d<1e12?1e3*d:d:Date.parse(b)}if(!Number.isFinite(c)||c<d-864e5||c>d+3456e7)return 0;return c}catch{return 0}}function u(a){if("string"!=typeof a)return null;let b=a.trim();if(!b||b.length>128)return null;let c=b.toLowerCase();if(h.has(c))return c;if(!c.startsWith("model:"))return null;let d=b.slice(b.indexOf(":")+1).trim();if(!d||i.has(d.toLowerCase()))return null;let e=`model:${d}`;return e.length<=128?e:null}function v(a){if("string"!=typeof a)return null;let b=a.trim().toLowerCase();return!b||b.length>64||i.has(b)?null:b}function w(a,b){if(h.has(a))return!0;if(a.toLowerCase().startsWith("model:")&&b){let c=a.slice(a.indexOf(":")+1).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean);if(0===c.length)return!1;let d=b.split(/[^a-z0-9]+/).filter(Boolean),e=d.length-c.length;for(let a=0;a<=e;a++)if(c.every((b,c)=>b===d[a+c]))return!0}return!1}function x(a,b,c){try{if(!b||"object"!=typeof b)return{headroom:1,source:"static",stale:!0};let a="string"==typeof c?c.trim().toLowerCase():"",d=null;for(let c of Array.isArray(b.windows)?b.windows:[]){if(!c||"object"!=typeof c)continue;let b=u(c.kind),e=s(c.usedFraction,"used01");if(!b||null===e||!w(b,a))continue;let f=1-e;(!d||f<d.headroom)&&(d={headroom:f,source:"probe"===c.source?"probe":"header",stale:!1})}return d??{headroom:1,source:"static",stale:!1}}catch{return{headroom:1,source:"static",stale:!b}}}let y=new Set(e.A.shortWindowKinds);function z(a,b,c=Date.now()){try{if(!a||"object"!=typeof a||!Array.isArray(a.windows))return 0;let e=k(c),f="string"==typeof b?b.trim().toLowerCase():"",g=0;for(let b of a.windows){if(!b||"object"!=typeof b)continue;let a=u(b.kind),c=s(b.usedFraction,"used01"),h=j(b.observedAt);if(!a||null===c||c<1||null===h)continue;let i=j(b.resetsAt)??0;if(!m({resetsAt:i,observedAt:h},e)||!w(a,f))continue;let k=(0,d.hE)(),l=h+k.cooldowns.rateLimitCapMs,n=l;i>0?n=Math.min(i,l):y.has(a)&&(n=h+k.cooldowns.transientMs),n>e&&n>g&&(g=n)}return g}catch{return 0}}function A(a,b,c,d=Date.now()){let e={headroom:1,source:"static",connectionId:null};try{if(!Array.isArray(b))return e;let f="string"==typeof a?a.trim().toLowerCase():"",g=new Set,h=null;for(let a of b){if("string"!=typeof a||!a.trim()||g.has(a))continue;g.add(a);let b=q(a,d);if(b&&b.provider!==f)continue;let{headroom:e,source:i}=b?x(f,b,c):{headroom:1,source:"static"};(!h||e>h.headroom)&&(h={headroom:e,source:i,connectionId:a})}return h??e}catch{return e}}function B(a={}){try{let b=a&&"object"==typeof a?a:{},{manualWeight:c,provider:d,planTier:f,snapshot:g,model:h}=b,i=Number.isFinite(c)&&c>=0?c:null,j="string"==typeof d?d.trim().toLowerCase():"",k=v(f)??v(g?.planTier),l=1,m="default";null!==i?(l=i,m="manual"):k&&Object.hasOwn(e.N,j)&&Object.hasOwn(e.N[j],k)&&(l=e.N[j][k],m="plan");let n=x(j,g,h);if(0===i)return{weight:0,base:l,baseSource:m,headroom:n.headroom,headroomSource:n.source,belowFloor:!1};let o=Number.isFinite(b.floor)?b.floor:e.A.floor,p=Math.min(1,Math.max(0,o)),q=n.headroom<p;return{weight:q?0:l*n.headroom,base:l,baseSource:m,headroom:n.headroom,headroomSource:n.source,belowFloor:q}}catch{return{weight:1,base:1,baseSource:"default",headroom:1,headroomSource:"static",belowFloor:!1}}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},47293:(a,b,c)=>{c.d(b,{A:()=>f});let d=new Uint8Array(16);var e=c(50122);let f=function(a,b,c){return b||a||!crypto.randomUUID?function(a,b,c){let f=(a=a||{}).random??a.rng?.()??crypto.getRandomValues(d);if(f.length<16)throw Error("Random bytes length must be >= 16");if(f[6]=15&f[6]|64,f[8]=63&f[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=f[a];return b}return(0,e.k)(f)}(a,b,c):crypto.randomUUID()}},50122:(a,b,c)=>{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()}},51829:(a,b,c)=>{c.d(b,{S:()=>k,d:()=>j});var d=c(89718),e=c(41704),f=c(38775);let g={headroom:1,source:"static"};function h(a){let b=Number(a?.headroom),c=a?.source;return{headroom:Number.isFinite(b)&&b>=0?b:1,source:"header"===c||"probe"===c?c:"static"}}async function i(a){let b=new Map;for(let{id:c,provider:d}of(await a({isActive:!0})))b.has(d)||b.set(d,[]),b.get(d).push(c);return b}async function j({getProviderConnections:a=d.getProviderConnections}={}){let b;try{b=await i(a)}catch{return()=>g}let c=new Map;return a=>{if("string"!=typeof a)return g;if(!c.has(a)){let d=g;try{d=h(function(a,b){if(!a.includes("/")){let{provider:c}=(0,f.Xh)(`${a}/`),d=b.get(c);return d?h((0,e.X8)(c,d,null)):g}let{provider:c,model:d,isAlias:i}=(0,f.Xh)(a),j=!i&&c?b.get(c):null;return j?h((0,e.X8)(c,j,d)):g}(a,b))}catch{}c.set(a,d)}return c.get(a)}}async function k(a={}){let b=await j(a);return a=>b(a).headroom}},53277:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>g});var d=c(23211),e=c(89718),f=c(51829);async function g(a,{params:b}){try{let{id:a}=await b,c=await (0,e.L)(a);if(!c)return d.NextResponse.json({error:"Combo not found"},{status:404});let g=await (0,f.d)(),h=Array.isArray(c.models)?c.models:[],i=Object.fromEntries(h.map(a=>[a,g(a)]));return d.NextResponse.json({headroom:Object.fromEntries(h.map(a=>[a,i[a].headroom])),quotaByModel:i})}catch(a){return console.log("Error fetching combo headroom:",a),d.NextResponse.json({error:"Failed to fetch combo headroom"},{status:500})}}},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70900:(a,b,c)=>{c.d(b,{OC:()=>h,Uw:()=>f,aj:()=>j,hE:()=>k});let d=[502,503,504];function e(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}let f={retryPolicy:{502:{tries:3,delayMs:3e3},503:{tries:3,delayMs:2e3},504:{tries:2,delayMs:3e3}},cooldowns:{rateLimitCapMs:18e5,longMs:12e4,shortMs:5e3,transientMs:3e4},backoff:{startMs:2e3,maxMs:3e5,levels:15},streamTimeouts:{firstChunkMs:2e5,stallMs:36e4,connectMs:6e4}};function g(a,b){return Number.isFinite(a)?a:b}function h(a,b){if(429===Number(b))return{attempts:0,delayMs:0};let c=a?.retryPolicy?.[b];return c?{attempts:Math.max(0,g(c.tries??c.attempts,0)),delayMs:Math.max(0,g(c.delayMs,0))}:{attempts:0,delayMs:0}}let i=null;function j(a){i=a&&"object"==typeof a?a:null}function k(){return function(a={}){let b=a&&"object"==typeof a?a:{},c={};for(let a of d){let d=f.retryPolicy[a],e=b.retryPolicy?.[a];c[a]=e&&"object"==typeof e?{tries:g(e.tries,d.tries),delayMs:g(e.delayMs,d.delayMs)}:{...d}}let h={};for(let[a,c]of Object.entries(f.cooldowns))h[a]=g(b.cooldowns?.[a],c);let i={};for(let[a,c]of Object.entries(f.backoff))i[a]=g(b.backoff?.[a],c);let j=b.streamTimeouts&&"object"==typeof b.streamTimeouts?b.streamTimeouts:{},k={};for(let[a,b]of Object.entries(f.streamTimeouts))k[a]=g(j[a],b);return k.firstChunkMs=e("STREAM_FIRST_CHUNK_TIMEOUT_MS",k.firstChunkMs),k.stallMs=e("STREAM_STALL_TIMEOUT_MS",k.stallMs),k.connectMs=e("FETCH_CONNECT_TIMEOUT_MS",k.connectMs),{retryPolicy:c,cooldowns:h,backoff:i,streamTimeouts:k}}(i||{})}},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},80099:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},89718:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fk:()=>d.fk,fv:()=>d.fv,getProviderConnections:()=>d.P,getSettings:()=>d.mt,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,ln:()=>d.ln,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(79421)},94735:a=>{a.exports=require("events")},96773:(a,b,c)=>{c.d(b,{J:()=>g,g:()=>f});let d=/^(?:\d+(?:\.\d+)?(?:ns|us|µs|μs|ms|s|m|h))+$/i,e={ns:1e-6,us:.001,µs:.001,μs:.001,ms:1,s:1e3,m:6e4,h:36e5};function f(a){return"string"==typeof a&&d.test(a)}function g(a){if("string"!=typeof a)return null;let b=a.trim();if(!b||!f(b))return null;let c=0;for(let[,a,d]of b.matchAll(/(\d+(?:\.\d+)?)(ns|us|µs|μs|ms|s|m|h)/gi))c+=Number(a)*e[d.toLowerCase()];return Number.isFinite(c)?c:null}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6561,9421,7819],()=>b(b.s=16087));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=9513,a.ids=[9513],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3662:(a,b,c)=>{c.d(b,{LY:()=>d,O:()=>e,t2:()=>g,x6:()=>f});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f="out of extra usage",g=[{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:f,cooldownMs:0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{text:"not supported when using codex with a chatgpt account",cooldownMs:12e4},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16087:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/combos/[id]/headroom/route",pathname:"/api/combos/[id]/headroom",filename:"route",bundlePath:"app/api/combos/[id]/headroom/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/combos/[id]/headroom/route.js",nextConfigOutput:"standalone",userland:()=>c(53277),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/combos/[id]/headroom/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},27950:(a,b,c)=>{c.d(b,{A:()=>d,N:()=>e});let d={snapshotTtlMs:36e5,floor:.05,maxConnections:1e3,maxWindowsPerConnection:32,profileRecheckMs:864e5,poller:{tickMs:6e4,staleMs:9e5,failureCooldownMs:9e5},shortWindowKinds:["requests","tokens","input-tokens","output-tokens"]},e={claude:{pro:1,default_claude_max_5x:5,default_claude_max_20x:20},codex:{plus:1,team:1,business:1,prolite:5,pro:20},github:{copilot_pro:1,copilot_pro_plus:4.7,copilot_max:13.3},"gemini-cli":{free:1,"g1-pro-tier":1.5,"g1-ultra-tier":2},antigravity:{"free-tier":1,"legacy-tier":1,"g1-pro-tier":1.5,"g1-ultra-tier":5},kiro:{free:.05,pro:1,pro_plus:2,pro_max:5,power:10},cursor:{free:.1,pro:1,pro_plus:3,ultra:20,team:1,business:1,enterprise:1}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},38775:(a,b,c)=>{c.d(b,{Xh:()=>i,d_:()=>k,mA:()=>j});var d=c(89718),e=c(40669),f=c(7819);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"},h=new Set(Object.keys(g));for(let a of f.default)for(let b of(h.add(a.id),a.alias&&h.add(a.alias),a.aliases||[]))h.add(b);function i(a){let b=(0,e.Xh)(a);return b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b}async function j(a){let b=i(a);if(!b.isAlias){if(!h.has(b.providerAlias)){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===b.providerAlias);if(a)return{provider:a.id,model:b.model};let c=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===b.providerAlias);if(c)return{provider:c.id,model:b.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===b.providerAlias);if(e)return{provider:e.id,model:b.model}}return{provider:b.provider,model:b.model}}return await (0,d.Dj)(b.model)?{provider:null,model:b.model}:(0,e.js)(a,d.OM)}async function k(a){if("string"!=typeof a||a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}},40669:(a,b,c)=>{c.d(b,{Xh:()=>g,js:()=>i,sc:()=>h});var d=c(7819);let e={el:"elevenlabs",jina:"jina-ai","jina-ai":"jina-ai",polly:"aws-polly","aws-polly":"aws-polly"};for(let a of d.default)for(let b of(e[a.id]=a.id,a.alias&&(e[a.alias]=a.id),a.aliases||[]))e[b]=a.id;let f={"grok-build":"gcli/grok-build"};function g(a){if(!a)return{provider:null,model:null,isAlias:!1,providerAlias:null};if(a.includes("/")){let b=a.indexOf("/"),c=a.slice(0,b),d=a.slice(b+1);return{provider:e[c]||c,model:d,isAlias:!1,providerAlias:c}}return{provider:null,model:a,isAlias:!0,providerAlias:null}}function h(a,b){var c,d;if(!b)return null;let f=b[a];if(!f)return null;if("string"==typeof f&&f.includes("/")){let a=f.indexOf("/");return{provider:e[c=f.slice(0,a)]||c,model:f.slice(a+1)}}return"object"==typeof f&&f.provider&&f.model?{provider:e[d=f.provider]||d,model:f.model}:null}async function i(a,b){let c=g(a);if(!c.isAlias)return{provider:c.provider,model:c.model};let d="function"==typeof b?await b():b,e=h(c.model,d)||h(c.model,f);return e||{provider:function(a){if(!a)return"openai";let b=a.toLowerCase();return j.find(([a])=>a.test(b))?.[1]||"openai"}(c.model),model:c.model}}let j=[[/^codex-auto-review$/,"codex"],[/^claude-/,"anthropic"],[/^gemini-/,"gemini"],[/^gpt-/,"openai"],[/^o[134]/,"openai"],[/^deepseek-/,"openrouter"]]},41004:(a,b,c)=>{c.d(b,{C8:()=>u,DR:()=>t,IK:()=>n,KV:()=>r,O9:()=>k,Ps:()=>i,SA:()=>q,Uc:()=>o,cI:()=>s,eo:()=>p,gx:()=>e,h9:()=>l,ii:()=>f,pH:()=>m,v1:()=>g,xM:()=>j});var d=c(31223);c(3662);let e={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},f="/api/combos/probe",g={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function h(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}let i=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",j=h("STREAM_STALL_TIMEOUT_MS",36e4),k=h("COMBO_STREAM_PROBE_MAX_BYTES",262144),l=h("COMBO_STREAM_PROBE_MAX_MS",1e4);h("STREAM_FIRST_CHUNK_TIMEOUT_MS",2e5);let m=h("FETCH_CONNECT_TIMEOUT_MS",6e4),n=h("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),o=64e3,p=32e3,q=`${d.qt.headerPrefix}token-saver`,r=`${d.qx.headerPrefix}token-saver`,s={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function t(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:null!=a.attempts?a.attempts:a.tries||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let u=["Please write a 5-10 word title for the following conversation:"]},41704:(a,b,c)=>{c.d(b,{GJ:()=>z,HK:()=>p,P:()=>t,PA:()=>s,RG:()=>r,S2:()=>u,Vv:()=>B,X8:()=>A,_P:()=>o,dV:()=>q,tU:()=>v});var d=c(70900),e=c(27950),f=c(96773);let g=new Map,h=new Set(["5h","7d","day","month","requests","tokens","input-tokens","output-tokens"]),i=new Set(["__proto__","constructor","prototype"]);function j(a){if("number"==typeof a)return Number.isFinite(a)?a:null;if("string"==typeof a&&a.trim()){let b=Number(a);return Number.isFinite(b)?b:null}return null}function k(a){return Number.isFinite(a)?a:Date.now()}function l(a,b=a.windows){return{...a,windows:b.map(a=>({...a}))}}function m(a,b){return a.resetsAt>0?a.resetsAt>b:a.observedAt+e.A.snapshotTtlMs>b}function n(a,b,c,d,f,h){try{if("string"!=typeof a||!a.trim()||"string"!=typeof b||!b.trim())return null;let i=k(h),n=g.get(a),o=function(a,b,c){if(!Array.isArray(a))return[];let d=[];for(let e of a){if(!e||"object"!=typeof e)continue;let a=u(e.kind),f=s(e.usedFraction,"used01");if(!a||null===f)continue;let g=j(e.observedAt)??c;d.push({kind:a,usedFraction:f,resetsAt:t(e.resetsAt,c)||0,observedAt:g,source:b})}return d}(c,f,i),p=n?.windows?n.windows.filter(a=>m(a,i)):[];for(let a of o){let b=a.kind.toLowerCase(),c=p.findIndex(a=>a.kind.toLowerCase()===b);c<0?p.push(a):a.observedAt>=p[c].observedAt&&p.splice(c,1,a)}p.sort((a,b)=>b.observedAt-a.observedAt);let q=v(d),r={provider:b.trim().toLowerCase(),windows:p.slice(0,e.A.maxWindowsPerConnection),planTier:q??n?.planTier??null,updatedAt:i};return!function(a,b){let c;if(g.has(a)||g.size<e.A.maxConnections)return;let d=1/0;for(let[a,f]of g)!f.windows.some(a=>m(a,b))&&f.updatedAt+e.A.snapshotTtlMs<=b?g.delete(a):f.updatedAt<d&&(c=a,d=f.updatedAt);g.size>=e.A.maxConnections&&void 0!==c&&g.delete(c)}(a,i),g.set(a,r),l(r)}catch{return null}}function o(a,b,c,d=Date.now()){return n(a,b,c,null,"header",d)}function p(a,b,c,d={},e=Date.now()){return n(a,b,c,d?.planTier??null,"probe",e)}function q(a,b=Date.now()){try{let c=g.get(a);if(!c)return null;let d=k(b),f=c.windows.filter(a=>m(a,d));if(0===f.length&&c.updatedAt+e.A.snapshotTtlMs<=d)return g.delete(a),null;return l(c,f)}catch{return null}}function r(a,b){let c=g.get(a);c?.planTier===b&&g.set(a,{...c,planTier:null})}function s(a,b){let c,d=j(a);if(null===d)return null;switch(b){case"used01":c=d;break;case"used100":c=d/100;break;case"remaining01":c=1-d;break;case"remaining100":c=1-d/100;break;default:return null}return Math.min(1,Math.max(0,c))}function t(a,b=Date.now()){try{let c;if(null==a||""===a)return 0;let d=k(b);if("number"==typeof a){if(!Number.isFinite(a))return 0;c=a<1e12?1e3*a:a}else{if("string"!=typeof a)return 0;let b=a.trim();if(!b)return 0;if((0,f.g)(b))return null;let d=j(b);c=null!==d?d<1e12?1e3*d:d:Date.parse(b)}if(!Number.isFinite(c)||c<d-864e5||c>d+3456e7)return 0;return c}catch{return 0}}function u(a){if("string"!=typeof a)return null;let b=a.trim();if(!b||b.length>128)return null;let c=b.toLowerCase();if(h.has(c))return c;if(!c.startsWith("model:"))return null;let d=b.slice(b.indexOf(":")+1).trim();if(!d||i.has(d.toLowerCase()))return null;let e=`model:${d}`;return e.length<=128?e:null}function v(a){if("string"!=typeof a)return null;let b=a.trim().toLowerCase();return!b||b.length>64||i.has(b)?null:b}function w(a,b){if(h.has(a))return!0;if(a.toLowerCase().startsWith("model:")&&b){let c=a.slice(a.indexOf(":")+1).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean);if(0===c.length)return!1;let d=b.split(/[^a-z0-9]+/).filter(Boolean),e=d.length-c.length;for(let a=0;a<=e;a++)if(c.every((b,c)=>b===d[a+c]))return!0}return!1}function x(a,b,c){try{if(!b||"object"!=typeof b)return{headroom:1,source:"static",stale:!0};let a="string"==typeof c?c.trim().toLowerCase():"",d=null;for(let c of Array.isArray(b.windows)?b.windows:[]){if(!c||"object"!=typeof c)continue;let b=u(c.kind),e=s(c.usedFraction,"used01");if(!b||null===e||!w(b,a))continue;let f=1-e;(!d||f<d.headroom)&&(d={headroom:f,source:"probe"===c.source?"probe":"header",stale:!1})}return d??{headroom:1,source:"static",stale:!1}}catch{return{headroom:1,source:"static",stale:!b}}}let y=new Set(e.A.shortWindowKinds);function z(a,b,c=Date.now()){try{if(!a||"object"!=typeof a||!Array.isArray(a.windows))return 0;let e=k(c),f="string"==typeof b?b.trim().toLowerCase():"",g=0;for(let b of a.windows){if(!b||"object"!=typeof b)continue;let a=u(b.kind),c=s(b.usedFraction,"used01"),h=j(b.observedAt);if(!a||null===c||c<1||null===h)continue;let i=j(b.resetsAt)??0;if(!m({resetsAt:i,observedAt:h},e)||!w(a,f))continue;let k=(0,d.hE)(),l=h+k.cooldowns.rateLimitCapMs,n=l;i>0?n=Math.min(i,l):y.has(a)&&(n=h+k.cooldowns.transientMs),n>e&&n>g&&(g=n)}return g}catch{return 0}}function A(a,b,c,d=Date.now()){let e={headroom:1,source:"static",connectionId:null};try{if(!Array.isArray(b))return e;let f="string"==typeof a?a.trim().toLowerCase():"",g=new Set,h=null;for(let a of b){if("string"!=typeof a||!a.trim()||g.has(a))continue;g.add(a);let b=q(a,d);if(b&&b.provider!==f)continue;let{headroom:e,source:i}=b?x(f,b,c):{headroom:1,source:"static"};(!h||e>h.headroom)&&(h={headroom:e,source:i,connectionId:a})}return h??e}catch{return e}}function B(a={}){try{let b=a&&"object"==typeof a?a:{},{manualWeight:c,provider:d,planTier:f,snapshot:g,model:h}=b,i=Number.isFinite(c)&&c>=0?c:null,j="string"==typeof d?d.trim().toLowerCase():"",k=v(f)??v(g?.planTier),l=1,m="default";null!==i?(l=i,m="manual"):k&&Object.hasOwn(e.N,j)&&Object.hasOwn(e.N[j],k)&&(l=e.N[j][k],m="plan");let n=x(j,g,h);if(0===i)return{weight:0,base:l,baseSource:m,headroom:n.headroom,headroomSource:n.source,belowFloor:!1};let o=Number.isFinite(b.floor)?b.floor:e.A.floor,p=Math.min(1,Math.max(0,o)),q=n.headroom<p;return{weight:q?0:l*n.headroom,base:l,baseSource:m,headroom:n.headroom,headroomSource:n.source,belowFloor:q}}catch{return{weight:1,base:1,baseSource:"default",headroom:1,headroomSource:"static",belowFloor:!1}}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},47293:(a,b,c)=>{c.d(b,{A:()=>f});let d=new Uint8Array(16);var e=c(50122);let f=function(a,b,c){return b||a||!crypto.randomUUID?function(a,b,c){let f=(a=a||{}).random??a.rng?.()??crypto.getRandomValues(d);if(f.length<16)throw Error("Random bytes length must be >= 16");if(f[6]=15&f[6]|64,f[8]=63&f[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=f[a];return b}return(0,e.k)(f)}(a,b,c):crypto.randomUUID()}},50122:(a,b,c)=>{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()}},51829:(a,b,c)=>{c.d(b,{S:()=>k,d:()=>j});var d=c(89718),e=c(41704),f=c(38775);let g={headroom:1,source:"static"};function h(a){let b=Number(a?.headroom),c=a?.source;return{headroom:Number.isFinite(b)&&b>=0?b:1,source:"header"===c||"probe"===c?c:"static"}}async function i(a){let b=new Map;for(let{id:c,provider:d}of(await a({isActive:!0})))b.has(d)||b.set(d,[]),b.get(d).push(c);return b}async function j({getProviderConnections:a=d.getProviderConnections}={}){let b;try{b=await i(a)}catch{return()=>g}let c=new Map;return a=>{if("string"!=typeof a)return g;if(!c.has(a)){let d=g;try{d=h(function(a,b){if(!a.includes("/")){let{provider:c}=(0,f.Xh)(`${a}/`),d=b.get(c);return d?h((0,e.X8)(c,d,null)):g}let{provider:c,model:d,isAlias:i}=(0,f.Xh)(a),j=!i&&c?b.get(c):null;return j?h((0,e.X8)(c,j,d)):g}(a,b))}catch{}c.set(a,d)}return c.get(a)}}async function k(a={}){let b=await j(a);return a=>b(a).headroom}},53277:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>g});var d=c(23211),e=c(89718),f=c(51829);async function g(a,{params:b}){try{let{id:a}=await b,c=await (0,e.L)(a);if(!c)return d.NextResponse.json({error:"Combo not found"},{status:404});let g=await (0,f.d)(),h=Array.isArray(c.models)?c.models:[],i=Object.fromEntries(h.map(a=>[a,g(a)]));return d.NextResponse.json({headroom:Object.fromEntries(h.map(a=>[a,i[a].headroom])),quotaByModel:i})}catch(a){return console.log("Error fetching combo headroom:",a),d.NextResponse.json({error:"Failed to fetch combo headroom"},{status:500})}}},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70900:(a,b,c)=>{c.d(b,{OC:()=>h,Uw:()=>f,aj:()=>j,hE:()=>k});let d=[502,503,504];function e(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}let f={retryPolicy:{502:{tries:3,delayMs:3e3},503:{tries:3,delayMs:2e3},504:{tries:2,delayMs:3e3}},cooldowns:{rateLimitCapMs:18e5,longMs:12e4,shortMs:5e3,transientMs:3e4},backoff:{startMs:2e3,maxMs:3e5,levels:15},streamTimeouts:{firstChunkMs:2e5,stallMs:36e4,connectMs:6e4}};function g(a,b){return Number.isFinite(a)?a:b}function h(a,b){if(429===Number(b))return{attempts:0,delayMs:0};let c=a?.retryPolicy?.[b];return c?{attempts:Math.max(0,g(c.tries??c.attempts,0)),delayMs:Math.max(0,g(c.delayMs,0))}:{attempts:0,delayMs:0}}let i=null;function j(a){i=a&&"object"==typeof a?a:null}function k(){return function(a={}){let b=a&&"object"==typeof a?a:{},c={};for(let a of d){let d=f.retryPolicy[a],e=b.retryPolicy?.[a];c[a]=e&&"object"==typeof e?{tries:g(e.tries,d.tries),delayMs:g(e.delayMs,d.delayMs)}:{...d}}let h={};for(let[a,c]of Object.entries(f.cooldowns))h[a]=g(b.cooldowns?.[a],c);let i={};for(let[a,c]of Object.entries(f.backoff))i[a]=g(b.backoff?.[a],c);let j=b.streamTimeouts&&"object"==typeof b.streamTimeouts?b.streamTimeouts:{},k={};for(let[a,b]of Object.entries(f.streamTimeouts))k[a]=g(j[a],b);return k.firstChunkMs=e("STREAM_FIRST_CHUNK_TIMEOUT_MS",k.firstChunkMs),k.stallMs=e("STREAM_STALL_TIMEOUT_MS",k.stallMs),k.connectMs=e("FETCH_CONNECT_TIMEOUT_MS",k.connectMs),{retryPolicy:c,cooldowns:h,backoff:i,streamTimeouts:k}}(i||{})}},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},80099:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},89718:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fk:()=>d.fk,fv:()=>d.fv,getProviderConnections:()=>d.P,getSettings:()=>d.mt,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,ln:()=>d.ln,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(79421)},94735:a=>{a.exports=require("events")},96773:(a,b,c)=>{c.d(b,{J:()=>g,g:()=>f});let d=/^(?:\d+(?:\.\d+)?(?:ns|us|µs|μs|ms|s|m|h))+$/i,e={ns:1e-6,us:.001,µs:.001,μs:.001,ms:1,s:1e3,m:6e4,h:36e5};function f(a){return"string"==typeof a&&d.test(a)}function g(a){if("string"!=typeof a)return null;let b=a.trim();if(!b||!f(b))return null;let c=0;for(let[,a,d]of b.matchAll(/(\d+(?:\.\d+)?)(ns|us|µs|μs|ms|s|m|h)/gi))c+=Number(a)*e[d.toLowerCase()];return Number.isFinite(c)?c:null}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,6561,9421,7819],()=>b(b.s=16087));module.exports=c})();