reflex-agent 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +97 -90
  3. package/.next/app-path-routes-manifest.json +3 -2
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/react-loadable-manifest.json +1 -1
  7. package/.next/routes-manifest.json +6 -0
  8. package/.next/server/app/_not-found/page.js +1 -1
  9. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  10. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/agents/[agentId]/page.js +2 -2
  12. package/.next/server/app/agents/[agentId]/page.js.nft.json +1 -1
  13. package/.next/server/app/agents/[agentId]/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/agents/[agentId]/respond/route.js +1 -1
  15. package/.next/server/app/api/agents/[agentId]/respond/route.js.nft.json +1 -1
  16. package/.next/server/app/api/agents/[agentId]/respond/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/images/[rootId]/[file]/route.js +1 -1
  18. package/.next/server/app/api/images/[rootId]/[file]/route_client-reference-manifest.js +1 -1
  19. package/.next/server/app/api/oauth/callback/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/oauth/start/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/roots/[id]/attachments/route.js +0 -0
  22. package/.next/server/app/api/roots/[id]/attachments/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js +1 -1
  24. package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js.nft.json +1 -1
  25. package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route_client-reference-manifest.js +1 -1
  26. package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js +1 -1
  27. package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js.nft.json +1 -1
  28. package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js +2 -2
  30. package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js.nft.json +1 -1
  31. package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route_client-reference-manifest.js +1 -1
  32. package/.next/server/app/api/roots/[id]/dashboard/route.js +1 -1
  33. package/.next/server/app/api/roots/[id]/dashboard/route.js.nft.json +1 -1
  34. package/.next/server/app/api/roots/[id]/dashboard/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app/api/roots/[id]/suggestions/route.js +1 -1
  36. package/.next/server/app/api/roots/[id]/suggestions/route.js.nft.json +1 -1
  37. package/.next/server/app/api/roots/[id]/suggestions/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app/api/utilities/[scope]/[id]/bundle.js/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/api/utilities/[scope]/[id]/host/route.js +1 -1
  40. package/.next/server/app/api/utilities/[scope]/[id]/host/route.js.nft.json +1 -1
  41. package/.next/server/app/api/utilities/[scope]/[id]/host/route_client-reference-manifest.js +1 -1
  42. package/.next/server/app/api/utilities/[scope]/[id]/host-api.mjs/route_client-reference-manifest.js +1 -1
  43. package/.next/server/app/api/utilities/[scope]/[id]/host-ui.mjs/route_client-reference-manifest.js +1 -1
  44. package/.next/server/app/api/utilities/[scope]/[id]/iframe/route_client-reference-manifest.js +1 -1
  45. package/.next/server/app/api/utilities/[scope]/[id]/style.css/route_client-reference-manifest.js +1 -1
  46. package/.next/server/app/api/utilities/install-archive/route_client-reference-manifest.js +1 -1
  47. package/.next/server/app/audit/page.js +2 -2
  48. package/.next/server/app/audit/page.js.nft.json +1 -1
  49. package/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  50. package/.next/server/app/dispatcher/page.js +2 -0
  51. package/.next/server/app/dispatcher/page.js.nft.json +1 -0
  52. package/.next/server/app/dispatcher/page_client-reference-manifest.js +1 -0
  53. package/.next/server/app/onboarding/page.js +3 -3
  54. package/.next/server/app/onboarding/page.js.nft.json +1 -1
  55. package/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  56. package/.next/server/app/page.js +2 -2
  57. package/.next/server/app/page.js.nft.json +1 -1
  58. package/.next/server/app/page_client-reference-manifest.js +1 -1
  59. package/.next/server/app/roots/[id]/chat/[topicId]/page.js +2 -2
  60. package/.next/server/app/roots/[id]/chat/[topicId]/page.js.nft.json +1 -1
  61. package/.next/server/app/roots/[id]/chat/[topicId]/page_client-reference-manifest.js +1 -1
  62. package/.next/server/app/roots/[id]/kb/[...slug]/page.js +2 -2
  63. package/.next/server/app/roots/[id]/kb/[...slug]/page.js.nft.json +1 -1
  64. package/.next/server/app/roots/[id]/kb/[...slug]/page_client-reference-manifest.js +1 -1
  65. package/.next/server/app/roots/[id]/memory/page.js +2 -2
  66. package/.next/server/app/roots/[id]/memory/page.js.nft.json +1 -1
  67. package/.next/server/app/roots/[id]/memory/page_client-reference-manifest.js +1 -1
  68. package/.next/server/app/roots/[id]/page.js +4 -4
  69. package/.next/server/app/roots/[id]/page.js.nft.json +1 -1
  70. package/.next/server/app/roots/[id]/page_client-reference-manifest.js +1 -1
  71. package/.next/server/app/roots/[id]/workflows/[wfId]/page.js +2 -2
  72. package/.next/server/app/roots/[id]/workflows/[wfId]/page.js.nft.json +1 -1
  73. package/.next/server/app/roots/[id]/workflows/[wfId]/page_client-reference-manifest.js +1 -1
  74. package/.next/server/app/roots/[id]/workflows/page.js +2 -2
  75. package/.next/server/app/roots/[id]/workflows/page.js.nft.json +1 -1
  76. package/.next/server/app/roots/[id]/workflows/page_client-reference-manifest.js +1 -1
  77. package/.next/server/app/roots/new/page.js +3 -3
  78. package/.next/server/app/roots/new/page.js.nft.json +1 -1
  79. package/.next/server/app/roots/new/page_client-reference-manifest.js +1 -1
  80. package/.next/server/app/settings/page.js +5 -5
  81. package/.next/server/app/settings/page.js.nft.json +1 -1
  82. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  83. package/.next/server/app/share/[id]/file/page.js +2 -2
  84. package/.next/server/app/share/[id]/file/page.js.nft.json +1 -1
  85. package/.next/server/app/share/[id]/file/page_client-reference-manifest.js +1 -1
  86. package/.next/server/app/share/[id]/page.js +2 -2
  87. package/.next/server/app/share/[id]/page.js.nft.json +1 -1
  88. package/.next/server/app/share/[id]/page_client-reference-manifest.js +1 -1
  89. package/.next/server/app/utilities/[scope]/[id]/page.js +2 -2
  90. package/.next/server/app/utilities/[scope]/[id]/page.js.nft.json +1 -1
  91. package/.next/server/app/utilities/[scope]/[id]/page_client-reference-manifest.js +1 -1
  92. package/.next/server/app/utilities/page.js +2 -2
  93. package/.next/server/app/utilities/page.js.nft.json +1 -1
  94. package/.next/server/app/utilities/page_client-reference-manifest.js +1 -1
  95. package/.next/server/app-paths-manifest.json +3 -2
  96. package/.next/server/chunks/1105.js +1 -1
  97. package/.next/server/chunks/1116.js +1 -1
  98. package/.next/server/chunks/1307.js +1 -0
  99. package/.next/server/chunks/1358.js +1 -1
  100. package/.next/server/chunks/1638.js +1 -1
  101. package/.next/server/chunks/174.js +1 -0
  102. package/.next/server/chunks/2485.js +3 -3
  103. package/.next/server/chunks/269.js +1 -1
  104. package/.next/server/chunks/285.js +40 -25
  105. package/.next/server/chunks/2884.js +3 -0
  106. package/.next/server/chunks/3240.js +1 -1
  107. package/.next/server/chunks/3332.js +1 -1
  108. package/.next/server/chunks/3377.js +1 -1
  109. package/.next/server/chunks/3834.js +1 -1
  110. package/.next/server/chunks/4031.js +2 -2
  111. package/.next/server/chunks/4066.js +1 -1
  112. package/.next/server/chunks/{7358.js → 4251.js} +36 -21
  113. package/.next/server/chunks/4578.js +1 -1
  114. package/.next/server/chunks/4602.js +4 -0
  115. package/.next/server/chunks/4611.js +1 -0
  116. package/.next/server/chunks/4812.js +1 -1
  117. package/.next/server/chunks/4840.js +1 -1
  118. package/.next/server/chunks/495.js +1 -0
  119. package/.next/server/chunks/5319.js +1 -1
  120. package/.next/server/chunks/569.js +1 -1
  121. package/.next/server/chunks/6142.js +1 -0
  122. package/.next/server/chunks/6720.js +1 -0
  123. package/.next/server/chunks/7220.js +1 -1
  124. package/.next/server/chunks/7430.js +1 -0
  125. package/.next/server/chunks/8511.js +1 -1
  126. package/.next/server/chunks/8576.js +2 -2
  127. package/.next/server/chunks/9098.js +1 -1
  128. package/.next/server/chunks/9179.js +2 -2
  129. package/.next/server/chunks/9809.js +1 -1
  130. package/.next/server/chunks/9835.js +1 -1
  131. package/.next/server/functions-config-manifest.json +3 -3
  132. package/.next/server/middleware-build-manifest.js +1 -1
  133. package/.next/server/middleware-manifest.json +5 -5
  134. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  135. package/.next/server/pages/500.html +1 -1
  136. package/.next/server/server-reference-manifest.js +1 -1
  137. package/.next/server/server-reference-manifest.json +1 -1
  138. package/.next/static/chunks/3845-66f364dff106ba18.js +1 -0
  139. package/.next/static/chunks/4108.738ffa1f849a5485.js +1 -0
  140. package/.next/static/chunks/5494-59e2a85639ebb34b.js +1 -0
  141. package/.next/static/chunks/{6560-d68897c384b289dc.js → 5968-21bac68b48bbccd3.js} +1 -1
  142. package/.next/static/chunks/{7037-7d9a908022d947da.js → 8151-e56a8e4752a0d552.js} +1 -1
  143. package/.next/static/chunks/8283-59e528f04d14b616.js +1 -0
  144. package/.next/static/chunks/{8775-c1985f74619ced58.js → 8775-890699c74c28df61.js} +1 -1
  145. package/.next/static/chunks/app/api/agents/[agentId]/respond/route-78f8e23cdd4112b9.js +1 -0
  146. package/.next/static/chunks/app/api/images/[rootId]/[file]/route-78f8e23cdd4112b9.js +1 -0
  147. package/.next/static/chunks/app/api/oauth/callback/route-78f8e23cdd4112b9.js +1 -0
  148. package/.next/static/chunks/app/api/oauth/start/route-78f8e23cdd4112b9.js +1 -0
  149. package/.next/static/chunks/app/api/roots/[id]/attachments/route-78f8e23cdd4112b9.js +1 -0
  150. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/send/route-78f8e23cdd4112b9.js +1 -0
  151. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stop/route-78f8e23cdd4112b9.js +1 -0
  152. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stream/route-78f8e23cdd4112b9.js +1 -0
  153. package/.next/static/chunks/app/api/roots/[id]/dashboard/route-78f8e23cdd4112b9.js +1 -0
  154. package/.next/static/chunks/app/api/roots/[id]/suggestions/route-78f8e23cdd4112b9.js +1 -0
  155. package/.next/static/chunks/app/api/utilities/[scope]/[id]/bundle.js/route-78f8e23cdd4112b9.js +1 -0
  156. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host/route-78f8e23cdd4112b9.js +1 -0
  157. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-api.mjs/route-78f8e23cdd4112b9.js +1 -0
  158. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-ui.mjs/route-78f8e23cdd4112b9.js +1 -0
  159. package/.next/static/chunks/app/api/utilities/[scope]/[id]/iframe/route-78f8e23cdd4112b9.js +1 -0
  160. package/.next/static/chunks/app/api/utilities/[scope]/[id]/style.css/route-78f8e23cdd4112b9.js +1 -0
  161. package/.next/static/chunks/app/api/utilities/install-archive/route-78f8e23cdd4112b9.js +1 -0
  162. package/.next/static/chunks/app/dispatcher/page-78f8e23cdd4112b9.js +1 -0
  163. package/.next/static/chunks/app/layout-186c97c612efcc2b.js +1 -0
  164. package/.next/static/chunks/app/onboarding/page-3917771d56a7020e.js +1 -0
  165. package/.next/static/chunks/app/page-298e012b6af8bfaa.js +1 -0
  166. package/.next/static/chunks/app/roots/[id]/chat/[topicId]/{page-ac80b75a50880fef.js → page-1048058013d15529.js} +1 -1
  167. package/.next/static/chunks/app/roots/[id]/kb/[...slug]/page-cc4904953269d69c.js +1 -0
  168. package/.next/static/chunks/app/roots/[id]/layout-78f8e23cdd4112b9.js +1 -0
  169. package/.next/static/chunks/app/roots/[id]/memory/{page-ae9c453a059a7c48.js → page-ba0c5cfb119f3d9f.js} +1 -1
  170. package/.next/static/chunks/app/roots/[id]/page-dad905d102ac2cdd.js +1 -0
  171. package/.next/static/chunks/app/roots/[id]/workflows/[wfId]/page-5248846e8f56270e.js +1 -0
  172. package/.next/static/chunks/app/roots/[id]/workflows/page-4ca8b986a2441bb6.js +1 -0
  173. package/.next/static/chunks/app/roots/new/{page-530bbb61fefeadc8.js → page-6d42e9ea5d2274c0.js} +1 -1
  174. package/.next/static/chunks/app/settings/page-7478ef9e4699d815.js +1 -0
  175. package/.next/static/chunks/app/share/[id]/page-f6c7d5ecdade71e6.js +1 -0
  176. package/.next/static/chunks/app/utilities/[scope]/[id]/page-4a0895c7ccc143ff.js +1 -0
  177. package/.next/static/chunks/app/utilities/page-35a987453b809462.js +1 -0
  178. package/.next/static/chunks/{webpack-bf73daacb1b20997.js → webpack-9a901eb0ce37db73.js} +1 -1
  179. package/.next/static/lsd-85A_MGaBztIdQYLgO/_buildManifest.js +1 -0
  180. package/.next/trace +90 -90
  181. package/.next/types/app/dispatcher/page.ts +84 -0
  182. package/.next/types/routes.d.ts +2 -1
  183. package/.next/types/validator.ts +9 -0
  184. package/package.json +1 -1
  185. package/.next/server/chunks/2258.js +0 -1
  186. package/.next/server/chunks/3966.js +0 -1
  187. package/.next/server/chunks/4201.js +0 -3
  188. package/.next/server/chunks/8133.js +0 -1
  189. package/.next/server/chunks/8309.js +0 -4
  190. package/.next/static/1JOww-AoS7M9R4-h4i1EK/_buildManifest.js +0 -1
  191. package/.next/static/chunks/1807-29ed83a7f19aa21e.js +0 -1
  192. package/.next/static/chunks/3908-7e7f22cd1d3c47ed.js +0 -1
  193. package/.next/static/chunks/4108.1e51cb6f9a9638b0.js +0 -1
  194. package/.next/static/chunks/6559-329fd074773ef4f2.js +0 -1
  195. package/.next/static/chunks/app/api/agents/[agentId]/respond/route-5d0cd3b754198853.js +0 -1
  196. package/.next/static/chunks/app/api/images/[rootId]/[file]/route-5d0cd3b754198853.js +0 -1
  197. package/.next/static/chunks/app/api/oauth/callback/route-5d0cd3b754198853.js +0 -1
  198. package/.next/static/chunks/app/api/oauth/start/route-5d0cd3b754198853.js +0 -1
  199. package/.next/static/chunks/app/api/roots/[id]/attachments/route-5d0cd3b754198853.js +0 -1
  200. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/send/route-5d0cd3b754198853.js +0 -1
  201. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stop/route-5d0cd3b754198853.js +0 -1
  202. package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stream/route-5d0cd3b754198853.js +0 -1
  203. package/.next/static/chunks/app/api/roots/[id]/dashboard/route-5d0cd3b754198853.js +0 -1
  204. package/.next/static/chunks/app/api/roots/[id]/suggestions/route-5d0cd3b754198853.js +0 -1
  205. package/.next/static/chunks/app/api/utilities/[scope]/[id]/bundle.js/route-5d0cd3b754198853.js +0 -1
  206. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host/route-5d0cd3b754198853.js +0 -1
  207. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-api.mjs/route-5d0cd3b754198853.js +0 -1
  208. package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-ui.mjs/route-5d0cd3b754198853.js +0 -1
  209. package/.next/static/chunks/app/api/utilities/[scope]/[id]/iframe/route-5d0cd3b754198853.js +0 -1
  210. package/.next/static/chunks/app/api/utilities/[scope]/[id]/style.css/route-5d0cd3b754198853.js +0 -1
  211. package/.next/static/chunks/app/api/utilities/install-archive/route-5d0cd3b754198853.js +0 -1
  212. package/.next/static/chunks/app/layout-0385fc4c09255a22.js +0 -1
  213. package/.next/static/chunks/app/onboarding/page-e49a9a7a81bdc74e.js +0 -1
  214. package/.next/static/chunks/app/page-d11913f531a6920e.js +0 -1
  215. package/.next/static/chunks/app/roots/[id]/kb/[...slug]/page-30c5a6767d469a99.js +0 -1
  216. package/.next/static/chunks/app/roots/[id]/layout-5d0cd3b754198853.js +0 -1
  217. package/.next/static/chunks/app/roots/[id]/page-074640697b6db60a.js +0 -1
  218. package/.next/static/chunks/app/roots/[id]/workflows/[wfId]/page-6e23d0a8b8bc570b.js +0 -1
  219. package/.next/static/chunks/app/roots/[id]/workflows/page-2a7d5c4f49b41e14.js +0 -1
  220. package/.next/static/chunks/app/settings/page-3b79c11349d439b5.js +0 -1
  221. package/.next/static/chunks/app/share/[id]/page-b5e74b24b29e3918.js +0 -1
  222. package/.next/static/chunks/app/utilities/[scope]/[id]/page-ec338e725c434ecd.js +0 -1
  223. package/.next/static/chunks/app/utilities/page-fb110c605c6dedb6.js +0 -1
  224. /package/.next/static/{1JOww-AoS7M9R4-h4i1EK → lsd-85A_MGaBztIdQYLgO}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/dispatcher/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2018":{"*":{"id":"4080","name":"*","chunks":[],"async":false}},"2604":{"*":{"id":"66188","name":"*","chunks":[],"async":false}},"3989":{"*":{"id":"6997","name":"*","chunks":[],"async":false}},"6287":{"*":{"id":"53869","name":"*","chunks":[],"async":false}},"7158":{"*":{"id":"64901","name":"*","chunks":[],"async":false}},"8190":{"*":{"id":"15620","name":"*","chunks":[],"async":false}},"8855":{"*":{"id":"20633","name":"*","chunks":[],"async":false}},"11888":{"*":{"id":"15499","name":"*","chunks":[],"async":false}},"12537":{"*":{"id":"57673","name":"*","chunks":[],"async":false}},"13270":{"*":{"id":"14360","name":"*","chunks":[],"async":false}},"13654":{"*":{"id":"94664","name":"*","chunks":[],"async":false}},"14884":{"*":{"id":"6912","name":"*","chunks":[],"async":false}},"16225":{"*":{"id":"21393","name":"*","chunks":[],"async":false}},"17280":{"*":{"id":"18282","name":"*","chunks":[],"async":false}},"18487":{"*":{"id":"87177","name":"*","chunks":[],"async":false}},"19078":{"*":{"id":"14848","name":"*","chunks":[],"async":false}},"21968":{"*":{"id":"19908","name":"*","chunks":[],"async":false}},"22121":{"*":{"id":"49289","name":"*","chunks":[],"async":false}},"23119":{"*":{"id":"76181","name":"*","chunks":[],"async":false}},"26121":{"*":{"id":"84709","name":"*","chunks":[],"async":false}},"26957":{"*":{"id":"41833","name":"*","chunks":[],"async":false}},"27237":{"*":{"id":"66643","name":"*","chunks":[],"async":false}},"28050":{"*":{"id":"66180","name":"*","chunks":[],"async":false}},"31157":{"*":{"id":"68232","name":"*","chunks":[],"async":false}},"31622":{"*":{"id":"13671","name":"*","chunks":[],"async":false}},"33705":{"*":{"id":"63921","name":"*","chunks":[],"async":false}},"33976":{"*":{"id":"90044","name":"*","chunks":[],"async":false}},"36998":{"*":{"id":"52920","name":"*","chunks":[],"async":false}},"39211":{"*":{"id":"39991","name":"*","chunks":[],"async":false}},"40284":{"*":{"id":"58352","name":"*","chunks":[],"async":false}},"40836":{"*":{"id":"85684","name":"*","chunks":[],"async":false}},"41923":{"*":{"id":"43151","name":"*","chunks":[],"async":false}},"43450":{"*":{"id":"99668","name":"*","chunks":[],"async":false}},"46109":{"*":{"id":"65597","name":"*","chunks":[],"async":false}},"47735":{"*":{"id":"31568","name":"*","chunks":[],"async":false}},"48572":{"*":{"id":"82064","name":"*","chunks":[],"async":false}},"49455":{"*":{"id":"81669","name":"*","chunks":[],"async":false}},"49833":{"*":{"id":"5147","name":"*","chunks":[],"async":false}},"51215":{"*":{"id":"86416","name":"*","chunks":[],"async":false}},"52713":{"*":{"id":"54225","name":"*","chunks":[],"async":false}},"53511":{"*":{"id":"71615","name":"*","chunks":[],"async":false}},"54400":{"*":{"id":"1056","name":"*","chunks":[],"async":false}},"54742":{"*":{"id":"77317","name":"*","chunks":[],"async":false}},"56360":{"*":{"id":"54972","name":"*","chunks":[],"async":false}},"59487":{"*":{"id":"26411","name":"*","chunks":[],"async":false}},"61550":{"*":{"id":"47178","name":"*","chunks":[],"async":false}},"62305":{"*":{"id":"61648","name":"*","chunks":[],"async":false}},"63739":{"*":{"id":"13829","name":"*","chunks":[],"async":false}},"67854":{"*":{"id":"53710","name":"*","chunks":[],"async":false}},"69050":{"*":{"id":"30544","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"23933","name":"*","chunks":[],"async":false}},"72073":{"*":{"id":"55499","name":"*","chunks":[],"async":false}},"73868":{"*":{"id":"12156","name":"*","chunks":[],"async":false}},"74287":{"*":{"id":"32283","name":"*","chunks":[],"async":false}},"83401":{"*":{"id":"567","name":"*","chunks":[],"async":false}},"85174":{"*":{"id":"84127","name":"*","chunks":[],"async":false}},"85201":{"*":{"id":"28834","name":"*","chunks":[],"async":false}},"85314":{"*":{"id":"13976","name":"*","chunks":[],"async":false}},"85980":{"*":{"id":"89338","name":"*","chunks":[],"async":false}},"86631":{"*":{"id":"61193","name":"*","chunks":[],"async":false}},"89061":{"*":{"id":"89343","name":"*","chunks":[],"async":false}},"89146":{"*":{"id":"44896","name":"*","chunks":[],"async":false}},"91074":{"*":{"id":"46013","name":"*","chunks":[],"async":false}},"93845":{"*":{"id":"71493","name":"*","chunks":[],"async":false}},"94904":{"*":{"id":"75266","name":"*","chunks":[],"async":false}},"96253":{"*":{"id":"51189","name":"*","chunks":[],"async":false}},"97369":{"*":{"id":"25211","name":"*","chunks":[],"async":false}},"97485":{"*":{"id":"97053","name":"*","chunks":[],"async":false}},"98346":{"*":{"id":"87634","name":"*","chunks":[],"async":false}},"98691":{"*":{"id":"87439","name":"*","chunks":[],"async":false}},"99412":{"*":{"id":"75731","name":"*","chunks":[],"async":false}},"99730":{"*":{"id":"6786","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/builtin/global-error.js":{"id":6287,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":6287,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/client-page.js":{"id":40836,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/client-page.js":{"id":40836,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/client-segment.js":{"id":85980,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/client-segment.js":{"id":85980,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46109,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46109,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/layout-router.js":{"id":26957,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/layout-router.js":{"id":26957,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":33705,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":33705,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/components/render-from-template-context.js":{"id":97369,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":97369,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/lib/framework/boundary-components.js":{"id":21968,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":21968,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":22121,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":22121,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/app-sidebar.tsx":{"id":61550,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","9411","static/chunks/9411-af5f758c57741929.js","951","static/chunks/951-5ff2aaad965fedb7.js","7177","static/chunks/app/layout-186c97c612efcc2b.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/globals.css":{"id":60290,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","9411","static/chunks/9411-af5f758c57741929.js","951","static/chunks/951-5ff2aaad965fedb7.js","7177","static/chunks/app/layout-186c97c612efcc2b.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/components/ui/sonner.tsx":{"id":43450,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","9411","static/chunks/9411-af5f758c57741929.js","951","static/chunks/951-5ff2aaad965fedb7.js","7177","static/chunks/app/layout-186c97c612efcc2b.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next-intl@4.12.0_next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6__react@19.2.6_typescript@6.0.3/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":52713,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","9411","static/chunks/9411-af5f758c57741929.js","951","static/chunks/951-5ff2aaad965fedb7.js","7177","static/chunks/app/layout-186c97c612efcc2b.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/agents/[agentId]/_components/agent-event-stream.tsx":{"id":40284,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/components/ui/separator.tsx":{"id":91074,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-accordion@1.2.12_@types+react-dom@19.2.3_@types+react@19.2.14__@types+r_dd042184823cb7783b305fbc0c6ee2dd/node_modules/@radix-ui/react-accordion/dist/index.mjs":{"id":96253,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@type_91d5036573779c1b9f41b61cd4660f3d/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs":{"id":28050,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-avatar@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_0ea80bc1497a6ecfd0bb5e124b1154c7/node_modules/@radix-ui/react-avatar/dist/index.mjs":{"id":94904,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-checkbox@1.3.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_36946c77eec45f5a9fc04b1442c78a6c/node_modules/@radix-ui/react-checkbox/dist/index.mjs":{"id":13270,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-collapsible@1.1.12_@types+react-dom@19.2.3_@types+react@19.2.14__@types_e6de6020dad09a1b58742342f76b372e/node_modules/@radix-ui/react-collapsible/dist/index.mjs":{"id":99730,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-context-menu@2.2.16_@types+react-dom@19.2.3_@types+react@19.2.14__@type_f37cfa1787d19448013098dea4e28ec1/node_modules/@radix-ui/react-context-menu/dist/index.mjs":{"id":89146,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_340425d8afbecb0b8c61fd2281bc18a1/node_modules/@radix-ui/react-dialog/dist/index.mjs":{"id":19078,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-dropdown-menu@2.1.16_@types+react-dom@19.2.3_@types+react@19.2.14__@typ_4a94a496ca8ecf7aa0a759c94ddf8d47/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs":{"id":67854,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-form@0.1.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@1_47bc6dc07b089b01a31e6ae276fc360e/node_modules/@radix-ui/react-form/dist/index.mjs":{"id":69050,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-hover-card@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+_613291aa3f9ccfdc80950d764372b215/node_modules/@radix-ui/react-hover-card/dist/index.mjs":{"id":63739,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-label@2.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_f0aed35acd5832478de9bf0eb04e4e73/node_modules/@radix-ui/react-label/dist/index.mjs":{"id":33976,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-menubar@1.1.16_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_c241a6baa37fac632bcc4c84e9bee107/node_modules/@radix-ui/react-menubar/dist/index.mjs":{"id":12537,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-navigation-menu@1.2.14_@types+react-dom@19.2.3_@types+react@19.2.14__@t_c2b468396dc2ba1a62f7bc4ec11745d1/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs":{"id":97485,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-one-time-password-field@0.1.8_@types+react-dom@19.2.3_@types+react@19.2_4f1c35a331f5409899cf6aa8a62bc07b/node_modules/@radix-ui/react-one-time-password-field/dist/index.mjs":{"id":41923,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-password-toggle-field@0.1.3_@types+react-dom@19.2.3_@types+react@19.2.1_ccd72623a720a0b92b4e37907f095b99/node_modules/@radix-ui/react-password-toggle-field/dist/index.mjs":{"id":73868,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-popover@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_70579f2082d5a15782122fa6c39e7d95/node_modules/@radix-ui/react-popover/dist/index.mjs":{"id":53511,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_266ca67294f168fbf2e025541d323e69/node_modules/@radix-ui/react-portal/dist/index.mjs":{"id":2018,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-progress@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_740b0bbe0b5580d832d94af6eeb5f557/node_modules/@radix-ui/react-progress/dist/index.mjs":{"id":18487,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-radio-group@1.3.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+_c07779e275d27cb5d99f86b5919e57c8/node_modules/@radix-ui/react-radio-group/dist/index.mjs":{"id":98346,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-scroll-area@1.2.10_@types+react-dom@19.2.3_@types+react@19.2.14__@types_3f2ac5445210224aefd6333ca2197426/node_modules/@radix-ui/react-scroll-area/dist/index.mjs":{"id":14884,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-select@2.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_682a989a3617012ce093f43297729adf/node_modules/@radix-ui/react-select/dist/index.mjs":{"id":85314,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-slider@1.3.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_4168059ceb0ad18c50e861ed8102d508/node_modules/@radix-ui/react-slider/dist/index.mjs":{"id":17280,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_fb4779bfc166cf9d3db05474981c0df1/node_modules/@radix-ui/react-switch/dist/index.mjs":{"id":8855,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_08684373bbac196273bdefb5472f93a8/node_modules/@radix-ui/react-tabs/dist/index.mjs":{"id":86631,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-toast@1.2.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_6625e53ff8dc545622ac4ae2f6193cc7/node_modules/@radix-ui/react-toast/dist/index.mjs":{"id":2604,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-toggle-group@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14__@type_f53932d1010514ee55ce15134943c7f6/node_modules/@radix-ui/react-toggle-group/dist/index.mjs":{"id":27237,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_1170d6428188a43ba2f1794b2158e623/node_modules/@radix-ui/react-toggle/dist/index.mjs":{"id":49455,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-toolbar@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_855b867db56c182beb12942ab20dad4c/node_modules/@radix-ui/react-toolbar/dist/index.mjs":{"id":39211,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/@radix-ui+react-tooltip@1.2.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_8c33d96ab4033e6041e8b8646beae976/node_modules/@radix-ui/react-tooltip/dist/index.mjs":{"id":56360,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/client/app-dir/link.js":{"id":54400,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/node_modules/.pnpm/next@15.5.18_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/esm/client/app-dir/link.js":{"id":54400,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/universal-chat-bar.tsx":{"id":89061,"name":"*","chunks":["4400","static/chunks/4400-cdb1f7913ae34e09.js","4678","static/chunks/4678-15402b9832b27389.js","9776","static/chunks/9776-e3882c1c63293e0a.js","6785","static/chunks/6785-9a72b10489bc9c60.js","3335","static/chunks/3335-5647a38ab2cfa88d.js","9411","static/chunks/9411-af5f758c57741929.js","2038","static/chunks/2038-0849f9c03cc8d6ab.js","5968","static/chunks/5968-21bac68b48bbccd3.js","8974","static/chunks/app/page-298e012b6af8bfaa.js"],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/onboarding/_components/wizard.tsx":{"id":7158,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/new/_components/directory-picker.tsx":{"id":71088,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/settings/_components/settings-form.tsx":{"id":98691,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/utility-iframe.tsx":{"id":93845,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/share/_components/share-auth-form.tsx":{"id":99412,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/share-button.tsx":{"id":54742,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/[scope]/[id]/_components/manifest-panel.tsx":{"id":11888,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/[scope]/[id]/_components/utility-frame.tsx":{"id":49833,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/curated-gallery.tsx":{"id":59487,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/install-from-archive-button.tsx":{"id":36998,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/install-from-github-button.tsx":{"id":85201,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/install-from-mcp-button.tsx":{"id":83401,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/install-via-agent-button.tsx":{"id":23119,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/utilities/_components/remove-utility-button.tsx":{"id":48572,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/chat/[topicId]/_components/chat-view.tsx":{"id":3989,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/chat/[topicId]/_components/delete-topic-button.tsx":{"id":16225,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/chat/[topicId]/_components/goal-badge.tsx":{"id":72073,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/kb/insert-image-button.tsx":{"id":51215,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/_components/root-viewer.tsx":{"id":31622,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/remove-root-button.tsx":{"id":26121,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/_components/add-utility-button.tsx":{"id":13654,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/_components/command-bar.tsx":{"id":8190,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/_components/dashboard.tsx":{"id":62305,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/_components/run-init-button.tsx":{"id":85174,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/workflows/[wfId]/_components/workflow-editor.tsx":{"id":47735,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/roots/[id]/workflows/_components/workflow-row.tsx":{"id":74287,"name":"*","chunks":[],"async":false},"/home/runner/work/reflex-agent/reflex-agent/app/_components/memory/memory-editor.tsx":{"id":31157,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/reflex-agent/reflex-agent/":[],"/home/runner/work/reflex-agent/reflex-agent/app/layout":[{"inlined":false,"path":"static/css/eef5a7cce3f3a4b3.css"}],"/home/runner/work/reflex-agent/reflex-agent/app/page":[],"/home/runner/work/reflex-agent/reflex-agent/app/dispatcher/page":[]},"rscModuleMapping":{"2018":{"*":{"id":"37550","name":"*","chunks":[],"async":false}},"2604":{"*":{"id":"41138","name":"*","chunks":[],"async":false}},"3989":{"*":{"id":"32471","name":"*","chunks":[],"async":false}},"6287":{"*":{"id":"47319","name":"*","chunks":[],"async":false}},"7158":{"*":{"id":"22660","name":"*","chunks":[],"async":false}},"8190":{"*":{"id":"90558","name":"*","chunks":[],"async":false}},"8855":{"*":{"id":"391","name":"*","chunks":[],"async":false}},"11888":{"*":{"id":"11255","name":"*","chunks":[],"async":false}},"12537":{"*":{"id":"24375","name":"*","chunks":[],"async":false}},"13270":{"*":{"id":"68146","name":"*","chunks":[],"async":false}},"13654":{"*":{"id":"574","name":"*","chunks":[],"async":false}},"14884":{"*":{"id":"65478","name":"*","chunks":[],"async":false}},"16225":{"*":{"id":"60231","name":"*","chunks":[],"async":false}},"17280":{"*":{"id":"73552","name":"*","chunks":[],"async":false}},"18487":{"*":{"id":"96623","name":"*","chunks":[],"async":false}},"19078":{"*":{"id":"68902","name":"*","chunks":[],"async":false}},"21968":{"*":{"id":"59118","name":"*","chunks":[],"async":false}},"22121":{"*":{"id":"84583","name":"*","chunks":[],"async":false}},"23119":{"*":{"id":"29279","name":"*","chunks":[],"async":false}},"26121":{"*":{"id":"62109","name":"*","chunks":[],"async":false}},"26957":{"*":{"id":"78767","name":"*","chunks":[],"async":false}},"27237":{"*":{"id":"60877","name":"*","chunks":[],"async":false}},"28050":{"*":{"id":"26922","name":"*","chunks":[],"async":false}},"31157":{"*":{"id":"45765","name":"*","chunks":[],"async":false}},"31622":{"*":{"id":"68334","name":"*","chunks":[],"async":false}},"33705":{"*":{"id":"75751","name":"*","chunks":[],"async":false}},"33976":{"*":{"id":"83594","name":"*","chunks":[],"async":false}},"36998":{"*":{"id":"72646","name":"*","chunks":[],"async":false}},"39211":{"*":{"id":"5637","name":"*","chunks":[],"async":false}},"40284":{"*":{"id":"95022","name":"*","chunks":[],"async":false}},"40836":{"*":{"id":"97654","name":"*","chunks":[],"async":false}},"41923":{"*":{"id":"85105","name":"*","chunks":[],"async":false}},"43450":{"*":{"id":"95422","name":"*","chunks":[],"async":false}},"46109":{"*":{"id":"73671","name":"*","chunks":[],"async":false}},"47735":{"*":{"id":"91334","name":"*","chunks":[],"async":false}},"48572":{"*":{"id":"61254","name":"*","chunks":[],"async":false}},"49455":{"*":{"id":"7671","name":"*","chunks":[],"async":false}},"49833":{"*":{"id":"22137","name":"*","chunks":[],"async":false}},"51215":{"*":{"id":"86673","name":"*","chunks":[],"async":false}},"52713":{"*":{"id":"11935","name":"*","chunks":[],"async":false}},"53511":{"*":{"id":"33309","name":"*","chunks":[],"async":false}},"54400":{"*":{"id":"20594","name":"*","chunks":[],"async":false}},"54742":{"*":{"id":"16805","name":"*","chunks":[],"async":false}},"56360":{"*":{"id":"36786","name":"*","chunks":[],"async":false}},"59487":{"*":{"id":"60937","name":"*","chunks":[],"async":false}},"60290":{"*":{"id":"44427","name":"*","chunks":[],"async":false}},"61550":{"*":{"id":"30849","name":"*","chunks":[],"async":false}},"62305":{"*":{"id":"64845","name":"*","chunks":[],"async":false}},"63739":{"*":{"id":"93099","name":"*","chunks":[],"async":false}},"67854":{"*":{"id":"69644","name":"*","chunks":[],"async":false}},"69050":{"*":{"id":"49186","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"87628","name":"*","chunks":[],"async":false}},"72073":{"*":{"id":"4396","name":"*","chunks":[],"async":false}},"73868":{"*":{"id":"41886","name":"*","chunks":[],"async":false}},"74287":{"*":{"id":"12340","name":"*","chunks":[],"async":false}},"83401":{"*":{"id":"77287","name":"*","chunks":[],"async":false}},"85174":{"*":{"id":"770","name":"*","chunks":[],"async":false}},"85201":{"*":{"id":"28487","name":"*","chunks":[],"async":false}},"85314":{"*":{"id":"97230","name":"*","chunks":[],"async":false}},"85980":{"*":{"id":"10432","name":"*","chunks":[],"async":false}},"86631":{"*":{"id":"4235","name":"*","chunks":[],"async":false}},"89061":{"*":{"id":"56925","name":"*","chunks":[],"async":false}},"89146":{"*":{"id":"65138","name":"*","chunks":[],"async":false}},"91074":{"*":{"id":"60524","name":"*","chunks":[],"async":false}},"93845":{"*":{"id":"73478","name":"*","chunks":[],"async":false}},"94904":{"*":{"id":"79008","name":"*","chunks":[],"async":false}},"96253":{"*":{"id":"50155","name":"*","chunks":[],"async":false}},"97369":{"*":{"id":"48609","name":"*","chunks":[],"async":false}},"97485":{"*":{"id":"67135","name":"*","chunks":[],"async":false}},"98346":{"*":{"id":"77372","name":"*","chunks":[],"async":false}},"98691":{"*":{"id":"71903","name":"*","chunks":[],"async":false}},"99412":{"*":{"id":"41664","name":"*","chunks":[],"async":false}},"99730":{"*":{"id":"60936","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1,9 +1,9 @@
1
- (()=>{var a={};a.id=9566,a.ids=[9566],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4734:(a,b,c)=>{"use strict";function d(a){throw Object.defineProperty(Error("cacheLife() is only available with the experimental.useCache config."),"__NEXT_ERROR_CODE",{value:"E627",enumerable:!1,configurable:!0})}Object.defineProperty(b,"F",{enumerable:!0,get:function(){return d}}),c(29294),c(63033)},4953:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(24688).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},4984:a=>{"use strict";a.exports=require("readline")},6382:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("cacheTag() is only available with the experimental.useCache config."),"__NEXT_ERROR_CODE",{value:"E628",enumerable:!1,configurable:!0})}Object.defineProperty(b,"z",{enumerable:!0,get:function(){return d}}),c(63033),c(18505)},7206:a=>{"use strict";a.exports=import("execa")},8086:a=>{"use strict";a.exports=require("module")},9310:(a,b,c)=>{"use strict";var d=c(74830);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}}),c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13374:(a,b,c)=>{"use strict";c.d(b,{SPACE_TEMPLATES:()=>r,XF:()=>n,UC:()=>o,_4:()=>s,m0:()=>p});var d=c(73024),e=c(76760),f=c.n(e),g=c(48161),h=c.n(g),i=c(24576),j=c(29163),k=c(56843),l=c(7188),m=c(11244);async function n(a,b){let c=a.build(b);for(let a of c.widgets){let c=(0,l.buildRecord)({id:a.id,title:a.title,...a.description?{description:a.description}:{},payload:a.payload});await (0,l.writeWidget)(b.rootPath,c)}let d=await (0,l.readLayout)(b.rootPath),e=c.widgets.filter(a=>!a.hidden).map(a=>a.id),f=c.widgets.filter(a=>a.hidden).map(a=>a.id),g=[...d.order.filter(a=>m.SYSTEM_WIDGET_IDS.includes(a)),...e,...d.order.filter(a=>!m.SYSTEM_WIDGET_IDS.includes(a)&&!e.includes(a))],h=[...d.hidden.filter(a=>!f.includes(a)),...f],i=(0,l.reconcileLayout)({...d,order:g,hidden:h},c.widgets.map(a=>a.id),m.SYSTEM_WIDGET_IDS);await (0,l.writeLayout)(b.rootPath,i);let j=0;for(let a of c.topics??[])await (0,k.OY)({root:b.rootPath,firstMessage:a.message,...b.settings.language?{language:b.settings.language}:{}}),j++;let n=0;for(let a of c.skills??[])await q(a)&&n++;return{widgetsCreated:c.widgets.length,topicsCreated:j,skillsInstalled:n}}function o(){return f().join(h().homedir(),"Reflex")}async function p(a){let b=a.baseDir??o(),c=f().join(b,a.template.defaultFolder);await d.promises.mkdir(c,{recursive:!0});let e=await (0,i._S)(c);return{rootPath:e.path,rootId:e.id}}async function q(a){let b=f().join((0,j._)(),"skills"),c=f().join(b,`${a.id}.md`);try{return await d.promises.access(c),!1}catch{}await d.promises.mkdir(b,{recursive:!0});let e=`---
1
+ (()=>{var a={};a.id=9566,a.ids=[9566],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4734:(a,b,c)=>{"use strict";function d(a){throw Object.defineProperty(Error("cacheLife() is only available with the experimental.useCache config."),"__NEXT_ERROR_CODE",{value:"E627",enumerable:!1,configurable:!0})}Object.defineProperty(b,"F",{enumerable:!0,get:function(){return d}}),c(29294),c(63033)},4953:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(24688).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},4984:a=>{"use strict";a.exports=require("readline")},6382:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("cacheTag() is only available with the experimental.useCache config."),"__NEXT_ERROR_CODE",{value:"E628",enumerable:!1,configurable:!0})}Object.defineProperty(b,"z",{enumerable:!0,get:function(){return d}}),c(63033),c(18505)},7206:a=>{"use strict";a.exports=import("execa")},8086:a=>{"use strict";a.exports=require("module")},9310:(a,b,c)=>{"use strict";var d=c(74830);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}}),c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13374:(a,b,c)=>{"use strict";c.d(b,{SPACE_TEMPLATES:()=>r,XF:()=>n,UC:()=>o,_4:()=>s,m0:()=>p});var d=c(73024),e=c(76760),f=c.n(e),g=c(48161),h=c.n(g),i=c(24576),j=c(29163),k=c(56843),l=c(7188),m=c(11244);async function n(a,b){let c=a.build(b);for(let a of c.widgets){let c=(0,l.buildRecord)({id:a.id,title:a.title,...a.description?{description:a.description}:{},payload:a.payload});await (0,l.writeWidget)(b.rootPath,c)}let d=await (0,l.readLayout)(b.rootPath),e=c.widgets.filter(a=>!a.hidden).map(a=>a.id),f=c.widgets.filter(a=>a.hidden).map(a=>a.id),g=[...d.order.filter(a=>m.SYSTEM_WIDGET_IDS.includes(a)),...e,...d.order.filter(a=>!m.SYSTEM_WIDGET_IDS.includes(a)&&!e.includes(a))],h=[...d.hidden.filter(a=>!f.includes(a)),...f],i=(0,l.reconcileLayout)({...d,order:g,hidden:h},c.widgets.map(a=>a.id),m.SYSTEM_WIDGET_IDS);await (0,l.writeLayout)(b.rootPath,i);let j=0;for(let a of c.topics??[])await (0,k.createTopic)({root:b.rootPath,firstMessage:a.message,...b.settings.language?{language:b.settings.language}:{}}),j++;let n=0;for(let a of c.skills??[])await q(a)&&n++;return{widgetsCreated:c.widgets.length,topicsCreated:j,skillsInstalled:n}}function o(){return f().join(h().homedir(),"Reflex")}async function p(a){let b=a.baseDir??o(),c=f().join(b,a.template.defaultFolder);await d.promises.mkdir(c,{recursive:!0});let e=await (0,i.addRoot)(c);return{rootPath:e.path,rootId:e.id}}async function q(a){let b=f().join((0,j._)(),"skills"),c=f().join(b,`${a.id}.md`);try{return await d.promises.access(c),!1}catch{}await d.promises.mkdir(b,{recursive:!0});let e=`---
2
2
  id: ${a.id}
3
3
  title: ${a.title}
4
4
  description: ${a.description.replace(/\n/g," ")}
5
5
  ---
6
6
 
7
7
  ${a.instructions.trim()}
8
- `;return await d.promises.writeFile(c,e,"utf8"),!0}let r=[{id:"finance",label:"Finance",emoji:"\uD83D\uDCB0",description:'Track expenses and income, monthly budget, savings goals. Say "bought X for Y" and Reflex sorts it into the cards.',defaultFolder:"Finance",build:()=>({widgets:[{id:"finance-month-kpi",title:"This month",description:"Income, expenses, remaining budget",payload:{kind:"kpi",data:{items:[{label:"Expenses",value:"0 ₽",delta:"flat"},{label:"Income",value:"0 ₽",delta:"flat"},{label:"Budget remaining",value:"0 ₽",hint:"of the monthly"}]}}},{id:"finance-savings-goals",title:"Savings goals",description:"What we're saving for",payload:{kind:"progress",data:{items:[{label:"Emergency fund",current:0,target:1e5,unit:"₽"}]}}},{id:"finance-habits",title:"Financial habits",description:"Monthly habits — tick them off as you complete them",payload:{kind:"checklist",data:{items:[{text:"Review the budget",done:!1},{text:"Log major expenses",done:!1},{text:"Move money to savings",done:!1}]}}}],topics:[{message:'Hi! I\'ll help you manage finances. Tell me about any purchase, income, or goal — I\'ll put it in the right card. For example: "bought groceries for 1200" or "salary 80000".'}],skills:[{id:"finance-helper",title:"Finance helper",description:"Sorts purchases and income into KPI/Progress cards",instructions:'## Finance helper\n\nYou are a personal finance assistant. When the user writes about money:\n 1. Recognize the type: expense / income / goal.\n 2. Save the fact to the KB via `<<reflex:kb>>` with `kind: "expense"|"income"|"goal"` and `meta.amount`, `meta.currency`, `meta.category`, `meta.date`.\n 3. Update the corresponding card via `<<reflex:widget-update>>`:\n - `finance-month-kpi`: recompute expenses/income for the current month from the KB.\n - `finance-savings-goals`: advance progress on the matching goal.\n 4. In chat — a short confirmation: "Logged expense 1200 ₽ — groceries". Nothing extra.\n 5. If the category is ambiguous (e.g. just "1500") — ask via `<<reflex:question>>`.'}]})},{id:"health",label:"Health",emoji:"\uD83E\uDE7A",description:'Daily habits, vitamins, workouts, symptoms. Say "took vitamin D" — it gets ticked off in the checklist.',defaultFolder:"Health",build:()=>({widgets:[{id:"health-daily-habits",title:"Daily habits",description:"Today's checklist",payload:{kind:"checklist",data:{items:[{text:"Vitamin D",done:!1},{text:"2 liters of water",done:!1},{text:"30-minute walk",done:!1},{text:"Exercise",done:!1}]}}},{id:"health-kpi",title:"Health — summary",payload:{kind:"kpi",data:{items:[{label:"Weight",value:"—",hint:"update once a week"},{label:"Steps (today)",value:"0"},{label:"Sleep",value:"—",hint:"hours last night"}]}}},{id:"health-goals",title:"Long-term goals",payload:{kind:"progress",data:{items:[{label:"Run 3 times a week",current:0,target:3,unit:"times"}]}}}],topics:[{message:'Tell me about your habits and health goals. I\'ll track progress. Say "took a vitamin", "slept 8 hours", "weight 72" — I\'ll sort it into the cards.'}],skills:[{id:"health-helper",title:"Health helper",description:"Logs habits, sleep, weight, workouts",instructions:'## Health helper\n\nYou help maintain a healthy lifestyle. When the user writes about habits/health:\n 1. Recognize: habit check / measurement (weight, sleep, steps) / workout / symptom / vitamin.\n 2. Write to the KB via `<<reflex:kb>>` with `kind: "habit"|"measurement"|"workout"|"symptom"` and `meta.date`, `meta.value`, `meta.unit`.\n 3. Update the cards:\n - `health-daily-habits`: tick the box for the mentioned item (if it doesn\'t exist — add it).\n - `health-kpi`: update the value for weight/sleep/steps.\n - `health-goals`: advance the counter for the mentioned goal.\n 4. In chat — a short supportive confirmation. No moralizing.\n 5. If something was skipped (yesterday a habit wasn\'t mentioned) — don\'t scold; a gentle reminder is fine.'}]})},{id:"study",label:"Study",emoji:"\uD83C\uDF93",description:"Courses, notes, spaced repetition. Drop in an article — Reflex makes a summary and review cards.",defaultFolder:"Study",build:()=>({widgets:[{id:"study-current-courses",title:"Current courses",description:"What I'm studying now",payload:{kind:"progress",data:{items:[]}}},{id:"study-weekly-checklist",title:"This week",payload:{kind:"checklist",data:{items:[{text:"Complete 1 lesson",done:!1},{text:"Do 5 reviews",done:!1},{text:"Write key ideas in the journal",done:!1}]}}},{id:"study-recent-notes",title:"Recent notes",payload:{kind:"kb-pinned",data:{items:[]}}}],topics:[{message:"Hi! I'll help you study: drop in links to articles, videos, or books — I'll make summaries and review cards. Tell me what you're studying right now."}],skills:[{id:"study-helper",title:"Study helper",description:"Makes summaries, review cards, tracks courses",instructions:'## Study helper\n\nYou are a study curator. When the user shares material:\n 1. Write a note to the KB via `<<reflex:kb>>` with `kind: "note"|"flashcard"|"course"`.\n 2. For long material — assemble a summary (3-5 key points) + 3-5 flashcard questions.\n 3. If a course/subject is mentioned — update `study-current-courses` (progress).\n 4. Add a fresh note to `study-recent-notes` (kb-pinned).\n 5. Once a week, suggest reviewing old cards (spaced-repetition style).'}]})},{id:"travel",label:"Travel",emoji:"✈️",description:"Trip planning, map points, routes, pre-flight checklists. Diary of impressions.",defaultFolder:"Travel",build:()=>({widgets:[{id:"travel-map",title:"Places",description:"Points on the map — add your cities and POIs",payload:{kind:"map",data:{points:[]}}},{id:"travel-prep-checklist",title:"Pre-trip packing",payload:{kind:"checklist",data:{items:[{text:"Passport valid ≥ 6 months",done:!1},{text:"Tickets",done:!1},{text:"Lodging booked",done:!1},{text:"Insurance",done:!1},{text:"Chargers and adapters",done:!1},{text:"Essential medications",done:!1}]}}},{id:"travel-trips",title:"Trip plans",description:"Where and when",payload:{kind:"link-list",data:{items:[]}}}],topics:[{message:"I'll help plan your trips. Tell me where you want to go — I'll add points to the map, assemble a packing checklist, and suggest a route."}],skills:[{id:"travel-helper",title:"Travel helper",description:"Plans trips, maintains a map of places, diary of impressions",instructions:'## Travel helper\n\nYou help plan and live through travels:\n 1. When a city / POI is mentioned — find the coordinates (WebSearch/WebFetch geocoding; don\'t invent) and update `travel-map` via `<<reflex:widget-update>>`.\n 2. When a trip is planned — add it to `travel-trips` (link-list) and review `travel-prep-checklist`.\n 3. After the trip — ask about impressions and save to the KB as `kind: "trip-log"` with meta.dates, meta.country, meta.cities.\n 4. N days before departure (if you know the date) — remind about the checklist.'}]})}];function s(a){return r.find(b=>b.id===a)}},13514:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>j,dynamic:()=>i});var d=c(63003),e=c(9310),f=c(17640),g=c(27808),h=c(22660);let i="force-dynamic";async function j({searchParams:a}){let{force:b}=await a,c=await (0,f.M)();c.onboardedAt&&!b&&(0,e.redirect)("/");let i=await (0,g.ME)();return(0,d.jsx)("main",{className:"min-h-screen bg-gradient-to-br from-violet-50 to-emerald-50 dark:from-violet-950/40 dark:to-emerald-950/40",children:(0,d.jsx)(h.OnboardingWizard,{templates:i,initialLanguage:c.language,initialName:c.userName})})}},13644:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return e},getSortedRoutes:function(){return d}});class c{insert(a){this._insert(a.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(a){void 0===a&&(a="/");let b=[...this.children.keys()].sort();null!==this.slugName&&b.splice(b.indexOf("[]"),1),null!==this.restSlugName&&b.splice(b.indexOf("[...]"),1),null!==this.optionalRestSlugName&&b.splice(b.indexOf("[[...]]"),1);let c=b.map(b=>this.children.get(b)._smoosh(""+a+b+"/")).reduce((a,b)=>[...a,...b],[]);if(null!==this.slugName&&c.push(...this.children.get("[]")._smoosh(a+"["+this.slugName+"]/")),!this.placeholder){let b="/"===a?"/":a.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+b+'" and "'+b+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});c.unshift(b)}return null!==this.restSlugName&&c.push(...this.children.get("[...]")._smoosh(a+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&c.push(...this.children.get("[[...]]")._smoosh(a+"[[..."+this.optionalRestSlugName+"]]/")),c}_insert(a,b,d){if(0===a.length){this.placeholder=!1;return}if(d)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let e=a[0];if(e.startsWith("[")&&e.endsWith("]")){let c=e.slice(1,-1),g=!1;if(c.startsWith("[")&&c.endsWith("]")&&(c=c.slice(1,-1),g=!0),c.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+c+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(c.startsWith("...")&&(c=c.substring(3),d=!0),c.startsWith("[")||c.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(c.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function f(a,c){if(null!==a&&a!==c)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+a+"' !== '"+c+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});b.forEach(a=>{if(a===c)throw Object.defineProperty(Error('You cannot have the same slug name "'+c+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(a.replace(/\W/g,"")===e.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+a+'" and "'+c+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),b.push(c)}if(d)if(g){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+a[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});f(this.optionalRestSlugName,c),this.optionalRestSlugName=c,e="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});f(this.restSlugName,c),this.restSlugName=c,e="[...]"}else{if(g)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});f(this.slugName,c),this.slugName=c,e="[]"}}this.children.has(e)||this.children.set(e,new c),this.children.get(e)._insert(a.slice(1),b,d)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function d(a){let b=new c;return a.forEach(a=>b.insert(a)),b.smoosh()}function e(a,b){let c={},e=[];for(let d=0;d<a.length;d++){let f=b(a[d]);c[f]=d,e[d]=f}return d(e).map(b=>a[c[b]])}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19356:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(42557).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},21820:a=>{"use strict";a.exports=require("os")},22660:(a,b,c)=>{"use strict";c.d(b,{OnboardingWizard:()=>d});let d=(0,c(54491).registerClientReference)(function(){throw Error("Attempted to call OnboardingWizard() from the server but OnboardingWizard is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/reflex-agent/reflex-agent/app/onboarding/_components/wizard.tsx","OnboardingWizard")},23401:(a,b,c)=>{let d={unstable_cache:c(38636).e,revalidateTag:c(93868).revalidateTag,revalidatePath:c(93868).revalidatePath,unstable_expireTag:c(93868).unstable_expireTag,unstable_expirePath:c(93868).unstable_expirePath,unstable_noStore:c(77915).M,unstable_cacheLife:c(4734).F,unstable_cacheTag:c(6382).z};a.exports=d,b.unstable_cache=d.unstable_cache,b.revalidatePath=d.revalidatePath,b.revalidateTag=d.revalidateTag,b.unstable_expireTag=d.unstable_expireTag,b.unstable_expirePath=d.unstable_expirePath,b.unstable_noStore=d.unstable_noStore,b.unstable_cacheLife=d.unstable_cacheLife,b.unstable_cacheTag=d.unstable_cacheTag},24688:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(88546),e=c(60703),f=c(61052),g=c(54144),h=c(44113),i=c(43909);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27808:(a,b,c)=>{"use strict";c.d(b,{ME:()=>m,TI:()=>n,fB:()=>l,lL:()=>i});var d=c(31776);c(428);var e=c(31421),f=c(23401),g=c(17640),h=c(13374);async function i(){let a=(await (0,g.M)()).harnesses.ollama.baseUrl.replace(/\/$/,""),[b,c,d]=await Promise.all([j("claude"),j("codex"),k(a)]);return{claudeCli:b,codexCli:c,ollama:{...d,baseUrl:a}}}async function j(a){return new Promise(b=>{try{let c=(0,e.spawn)(a,["--version"],{stdio:["ignore","pipe","ignore"]}),d="";c.stdout?.on("data",a=>{d+=a.toString()});let f=setTimeout(()=>{try{c.kill("SIGKILL")}catch{}b({available:!1})},3e3);c.on("close",a=>{clearTimeout(f),0===a&&d.trim()?b({available:!0,version:d.trim()}):b({available:!1})}),c.on("error",()=>{clearTimeout(f),b({available:!1})})}catch{b({available:!1})}})}async function k(a){try{let b=new AbortController,c=setTimeout(()=>b.abort(),2500),d=await fetch(`${a}/api/tags`,{signal:b.signal});if(clearTimeout(c),!d.ok)return{available:!1};let e=await d.json();return{available:!0,modelsCount:e.models?.length??0}}catch{return{available:!1}}}async function l(a){try{let b=await (0,g.M)(),c={...b,language:a.language||b.language,userName:a.userName,timezone:a.timezone,onboardedAt:new Date().toISOString(),uiMode:b.uiMode??"simple"};"ollama"===a.engine?c.assignments={...b.assignments,chat:{...b.assignments.chat,harness:"ollama",model:b.assignments.chat.model||"llama3.1:8b"},quick:{...b.assignments.quick,harness:"ollama",model:b.assignments.quick.model||"llama3.1:8b"}}:"codex"===a.engine&&(c.assignments={...b.assignments,chat:{...b.assignments.chat,harness:"codex",model:"gpt-5"},quick:{...b.assignments.quick,harness:"codex",model:"gpt-5-mini"}}),await (0,g.D)(c);let d=0,e=0,i=0,j=0;for(let b of a.templates){let a=(0,h._4)(b);if(!a)continue;let f=await (0,h.m0)({template:a}),g=await (0,h.XF)(a,{rootPath:f.rootPath,settings:c});d++,e+=g.widgetsCreated,i+=g.topicsCreated,j+=g.skillsInstalled}return(0,f.revalidatePath)("/"),(0,f.revalidatePath)("/settings"),{ok:!0,spacesCreated:d,widgetsCreated:e,topicsCreated:i,skillsInstalled:j}}catch(a){return{ok:!1,error:a instanceof Error?a.message:String(a),spacesCreated:0,widgetsCreated:0,topicsCreated:0,skillsInstalled:0}}}async function m(){let{SPACE_TEMPLATES:a}=await Promise.resolve().then(c.bind(c,13374));return a.map(({id:a,label:b,emoji:c,description:d})=>({id:a,label:b,emoji:c,description:d}))}async function n(){return{baseDir:(0,h.UC)()}}(0,c(97364).D)([i,l,m,n]),(0,d.A)(i,"00825c9e087dfc7a5bfb80bbe983c67c9c0a43cbd0",null),(0,d.A)(l,"408e1fc5784fe5e4f563c722aadceb7f7a713a693c",null),(0,d.A)(m,"00a77da323385aea55319b43c0403cb27a733d6105",null),(0,d.A)(n,"004dff427bfa54dbe4fa479cef2b68a58545710454",null)},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30717:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},31421:a=>{"use strict";a.exports=require("node:child_process")},33873:a=>{"use strict";a.exports=require("path")},36306:a=>{"use strict";a.exports=import("@tailwindcss/node")},38636:(a,b,c)=>{"use strict";Object.defineProperty(b,"e",{enumerable:!0,get:function(){return k}});let d=c(80269),e=c(18505),f=c(29294),g=c(63033),h=c(53875),i=0;async function j(a,b,c,e,f,g,i){await b.set(c,{kind:h.CachedRouteKind.FETCH,data:{headers:{},body:JSON.stringify(a),status:200,url:""},revalidate:"number"!=typeof f?d.CACHE_ONE_YEAR:f},{fetchCache:!0,tags:e,fetchIdx:g,fetchUrl:i})}function k(a,b,c={}){if(0===c.revalidate)throw Object.defineProperty(Error(`Invariant revalidate: 0 can not be passed to unstable_cache(), must be "false" or "> 0" ${a.toString()}`),"__NEXT_ERROR_CODE",{value:"E57",enumerable:!1,configurable:!0});let d=c.tags?(0,e.validateTags)(c.tags,`unstable_cache ${a.toString()}`):[];(0,e.validateRevalidate)(c.revalidate,`unstable_cache ${a.name||a.toString()}`);let l=`${a.toString()}-${Array.isArray(b)&&b.join(",")}`;return async(...b)=>{let e=f.workAsyncStorage.getStore(),k=g.workUnitAsyncStorage.getStore(),m=(null==e?void 0:e.incrementalCache)||globalThis.__incrementalCache;if(!m)throw Object.defineProperty(Error(`Invariant: incrementalCache missing in unstable_cache ${a.toString()}`),"__NEXT_ERROR_CODE",{value:"E469",enumerable:!1,configurable:!0});let n=k?(0,g.getCacheSignal)(k):null;n&&n.beginRead();try{let f=e&&k?function(a,b){switch(b.type){case"request":let c=b.url.pathname,d=new URLSearchParams(b.url.search),e=[...d.keys()].sort((a,b)=>a.localeCompare(b)).map(a=>`${a}=${d.get(a)}`).join("&");return`${c}${e.length?"?":""}${e}`;case"prerender":case"prerender-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":return a.route;default:return b}}(e,k):"",n=`${l}-${JSON.stringify(b)}`,o=await m.generateCacheKey(n),p=`unstable_cache ${f} ${a.name?` ${a.name}`:o}`,q=(e?e.nextFetchId:i)??1,r=null==k?void 0:k.implicitTags,s={type:"unstable-cache",phase:"render",implicitTags:r,draftMode:k&&e&&(0,g.getDraftModeProviderForCacheScope)(e,k)};if(e){e.nextFetchId=q+1;let f=!1;if(k)switch(k.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":"number"==typeof c.revalidate&&(k.revalidate<c.revalidate||(k.revalidate=c.revalidate));let i=k.tags;if(null===i)k.tags=d.slice();else for(let a of d)i.includes(a)||i.push(a);break;case"unstable-cache":f=!0}if(!f&&"force-no-store"!==e.fetchCache&&!e.isOnDemandRevalidate&&!m.isOnDemandRevalidate&&!e.isDraftMode){let f=await m.get(o,{kind:h.IncrementalCacheKind.FETCH,revalidate:c.revalidate,tags:d,softTags:null==r?void 0:r.tags,fetchIdx:q,fetchUrl:p});if(f&&f.value)if(f.value.kind!==h.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${n}`);else{let h=void 0!==f.value.data.body?JSON.parse(f.value.data.body):void 0;if(f.isStale){if(e.pendingRevalidates||(e.pendingRevalidates={}),!e.pendingRevalidates[n]){let f=g.workUnitAsyncStorage.run(s,a,...b).then(async a=>(await j(a,m,o,d,c.revalidate,q,p),a)).catch(a=>(console.error(`revalidating cache with key: ${n}`,a),h));e.isRevalidate&&f.catch(()=>{}),e.pendingRevalidates[n]=f}if(e.isRevalidate)return e.pendingRevalidates[n]}return h}}let l=await g.workUnitAsyncStorage.run(s,a,...b);return e.isDraftMode||(e.pendingRevalidates||(e.pendingRevalidates={}),e.pendingRevalidates[n]=j(l,m,o,d,c.revalidate,q,p)),l}{if(i+=1,!m.isOnDemandRevalidate){let a=await m.get(o,{kind:h.IncrementalCacheKind.FETCH,revalidate:c.revalidate,tags:d,fetchIdx:q,fetchUrl:p,softTags:null==r?void 0:r.tags});if(a&&a.value){if(a.value.kind!==h.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${n}`);else if(!a.isStale)return void 0!==a.value.data.body?JSON.parse(a.value.data.body):void 0}}let e=await g.workUnitAsyncStorage.run(s,a,...b);return await j(e,m,o,d,c.revalidate,q,p),e}}finally{n&&n.endRead()}}}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41842:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"007b54d3872433e92c600d6efc7d62743fc15c4ffd":()=>g.i,"4015684eef8bd59c3b7e3ce3bf81d8ed6d91f83f1d":()=>h.$z,"4069f32caf3a18a48f8d70067b1074fa8e8409d0af":()=>f.zm,"407d3f23553ab0c6f65caf8370db874b6a2bccab96":()=>h.MU,"40a9131651bb244c337fc90cf903559bceb65d01a1":()=>e.Pd,"40b15d5318f8f9018dd3fb090919046be6f0fa33ac":()=>f.DW,"40bbe5f66c54b92c4c005641fc8f32bc2a1a792495":()=>f.uX,"40e1dddb4a2fc40100dc7d3853e886d5048a14ebb4":()=>e.nY,"40e4efba60174266e5db5bda6d681afaa779b792a2":()=>f.u7,"601e9428efda95bd720171661f2fa659996ff3b886":()=>h.Tc,"604efdf4ed425affe7d832848450d5f4a97dfd8dc6":()=>e.L4,"60e2fb2c93964ad75cb4dd9bd052bc03806a464ff3":()=>e.OQ,"70f145662190e3745f0d75d441768f7392db3f22ea":()=>e.h$,"78bd4a9a34ab94026757e3ad90d7b1fcff5adb3ee0":()=>e.g3});var e=c(13415),f=c(3890),g=c(50995),h=c(15754),i=a([e,f,h]);[e,f,h]=i.then?(await i)():i,d()}catch(a){d(a)}})},42343:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},43490:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},48161:a=>{"use strict";a.exports=require("node:os")},49647:(a,b,c)=>{Promise.resolve().then(c.bind(c,99543))},57075:a=>{"use strict";a.exports=require("node:stream")},62481:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(42557).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63430:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return d.getSortedRouteObjects},getSortedRoutes:function(){return d.getSortedRoutes},isDynamicRoute:function(){return e.isDynamicRoute}});let d=c(13644),e=c(84832)},71152:a=>{"use strict";a.exports=require("esbuild")},71495:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(20498),e=c(52512),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},74830:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return k},RedirectType:function(){return e.RedirectType},forbidden:function(){return g.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return i.unstable_rethrow}});let d=c(71495),e=c(52512),f=c(42343),g=c(43490),h=c(30717),i=c(4953);class j extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class k extends URLSearchParams{append(){throw new j}delete(){throw new j}set(){throw new j}sort(){throw new j}}function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},77915:(a,b,c)=>{"use strict";Object.defineProperty(b,"M",{enumerable:!0,get:function(){return g}});let d=c(29294),e=c(63033),f=c(44113);function g(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(!a.forceStatic){if(a.isUnstableNoStore=!0,b)switch(b.type){case"prerender":case"prerender-client":case"prerender-runtime":return}(0,f.markCurrentScopeAsDynamic)(a,b,"unstable_noStore()")}}}},78474:a=>{"use strict";a.exports=require("node:events")},79428:a=>{"use strict";a.exports=require("buffer")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},80129:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>E.a,__next_app__:()=>K,handler:()=>M,pages:()=>J,routeModule:()=>L,tree:()=>I});var d=c(61597),e=c(99210),f=c(1082),g=c(15003),h=c(36265),i=c(11817),j=c(45136),k=c(41809),l=c(55745),m=c(88963),n=c(69153),o=c(48343),p=c(15808),q=c(21238),r=c(2555),s=c(261),t=c(34370),u=c(89583),v=c(26713),w=c(53875),x=c(7952),y=c(54532),z=c(80269),A=c(17851),B=c(57865),C=c(86439),D=c(47319),E=c.n(D),F=c(1859),G=c(20498),H={};for(let a in F)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(H[a]=()=>F[a]);c.d(b,H);let I={children:["",{children:["onboarding",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,13514)),"/home/runner/work/reflex-agent/reflex-agent/app/onboarding/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,79459)),"/home/runner/work/reflex-agent/reflex-agent/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,47319,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,82295,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,91570,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,72845,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,J=["/home/runner/work/reflex-agent/reflex-agent/app/onboarding/page.tsx"],K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/onboarding/page",pathname:"/onboarding",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:I},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var D;let H="/onboarding/page";"/index"===H&&(H="/");let N=(0,h.getRequestMeta)(a,"postponed"),O=(0,h.getRequestMeta)(a,"minimalMode"),P=await L.prepare(a,b,{srcPage:H,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,parsedUrl:T,pageIsDynamic:U,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,serverActionsManifest:Y,clientReferenceManifest:Z,subresourceIntegrityManifest:$,prerenderManifest:_,isDraftMode:aa,resolvedPathname:ab,revalidateOnlyGenerated:ac,routerServerContext:ad,nextConfig:ae,interceptionRoutePatterns:af}=P,ag=T.pathname||"/",ah=(0,s.normalizeAppPath)(H),{isOnDemandRevalidate:ai}=P,aj=L.match(ag,_),ak=!!_.routes[ab],al=!!(aj||ak||_.routes[ah]),am=a.headers["user-agent"]||"",an=(0,v.getBotType)(am),ao=(0,q.isHtmlBotRequest)(a),ap=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aq=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[u.RSC_HEADER]),ar=(0,t.getIsPossibleServerAction)(a),as=(0,m.checkIsAppPPREnabled)(ae.experimental.ppr)&&(null==(D=_.routes[ah]??_.dynamicRoutes[ah])?void 0:D.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?N:void 0,aw=as&&aq&&!ap,ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=!am||(0,q.shouldServeStreamingMetadata)(am,ae.htmlLimitedBots);ao&&as&&(al=!1,ay=!1);let az=!0===L.isDev||!al||"string"==typeof N||aw,aA=ao&&as,aB=null;aa||!al||az||ar||av||aw||(aB=ab);let aC=aB;!aC&&L.isDev&&(aC=ab),L.isDev||aa||!al||!aq||aw||(0,k.d)(a.headers);let aD={...F,tree:I,pages:J,GlobalError:E(),handler:M,routeModule:L,__next_app__:K};Y&&Z&&(0,p.setReferenceManifestsSingleton)({page:H,clientReferenceManifest:Z,serverActionsManifest:Y,serverModuleMap:(0,r.createServerModuleMap)({serverActionsManifest:Y})});let aE=a.method||"GET",aF=(0,g.getTracer)(),aG=aF.getActiveScopeSpan();try{let f=L.getVaryHeader(ab,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aF.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aE} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aE} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aD,Component:(0,j.T)(aD),params:S,routeModule:L,page:H,postponed:f,shouldWaitOnAllReady:aA,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||az,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,subresourceIntegrityManifest:$,serverActionsManifest:Y,clientReferenceManifest:Z,setIsrStatus:null==ad?void 0:ad.setIsrStatus,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:aa,isRevalidate:al&&!f&&!aw,botType:an,isOnDemandRevalidate:ai,isPossibleServerAction:ar,assetPrefix:ae.assetPrefix,nextConfigOutput:ae.output,crossOrigin:ae.crossOrigin,trailingSlash:ae.trailingSlash,previewProps:_.preview,deploymentId:ae.deploymentId,enableTainting:ae.experimental.taint,htmlLimitedBots:ae.htmlLimitedBots,devtoolSegmentExplorer:ae.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ae.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ae.experimental.cacheLife,basePath:ae.basePath,serverActions:ae.experimental.serverActions,...at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:at}:{},experimental:{isRoutePPREnabled:as,expireTime:ae.expireTime,staleTimes:ae.experimental.staleTimes,cacheComponents:!!ae.experimental.cacheComponents,clientSegmentCache:!!ae.experimental.clientSegmentCache,clientParamParsing:!!ae.experimental.clientParamParsing,dynamicOnHover:!!ae.experimental.dynamicOnHover,inlineCss:!!ae.experimental.inlineCss,authInterrupts:!!ae.experimental.authInterrupts,clientTraceMetadata:ae.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>L.onRequestError(a,b,d,ad),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[z.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,al&&(null==n?void 0:n.revalidate)===0&&!L.isDev&&!as){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ab}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
9
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},82649:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"004dff427bfa54dbe4fa479cef2b68a58545710454":()=>e.TI,"00825c9e087dfc7a5bfb80bbe983c67c9c0a43cbd0":()=>e.lL,"00a77da323385aea55319b43c0403cb27a733d6105":()=>e.ME,"402908ce555981aeb573460dea9cacb1928d7fd178":()=>d.Gh,"403eb9ba50804e9edc123d54957a0c65d551d37144":()=>d.rD,"407270149a5f9d10918bb1d5c8a88d073833e984f0":()=>d.AZ,"408e1fc5784fe5e4f563c722aadceb7f7a713a693c":()=>e.fB,"409693f35a96e7f1275954977fe1d0ab4283038cb4":()=>d.O1,"40d74dc436dbcd366c992c8e38b8c20b537f74312d":()=>d.summarizeYoutubeAction});var d=c(18746),e=c(27808)},84832:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isDynamicRoute",{enumerable:!0,get:function(){return g}});let d=c(8855),e=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,f=/\/\[[^/]+\](?=\/|$)/;function g(a,b){return(void 0===b&&(b=!0),(0,d.isInterceptionRouteAppPath)(a)&&(a=(0,d.extractInterceptionRouteInformation)(a).interceptedRoute),b)?f.test(a):e.test(a)}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},93868:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{revalidatePath:function(){return n},revalidateTag:function(){return k},unstable_expirePath:function(){return l},unstable_expireTag:function(){return m}});let d=c(44113),e=c(63430),f=c(80269),g=c(29294),h=c(63033),i=c(43909),j=c(32839);function k(a){return o([a],`revalidateTag ${a}`)}function l(a,b){if(a.length>f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH)return void console.warn(`Warning: expirePath received "${a}" which exceeded max length of ${f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/unstable_expirePath`);let c=`${f.NEXT_CACHE_IMPLICIT_TAG_ID}${a}`;return b?c+=`${c.endsWith("/")?"":"/"}${b}`:(0,e.isDynamicRoute)(a)&&console.warn(`Warning: a dynamic page path "${a}" was passed to "expirePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/unstable_expirePath`),o([c],`unstable_expirePath ${a}`)}function m(...a){return o(a,`unstable_expireTag ${a.join(", ")}`)}function n(a,b){if(a.length>f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH)return void console.warn(`Warning: revalidatePath received "${a}" which exceeded max length of ${f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);let c=`${f.NEXT_CACHE_IMPLICIT_TAG_ID}${a}`;return b?c+=`${c.endsWith("/")?"":"/"}${b}`:(0,e.isDynamicRoute)(a)&&console.warn(`Warning: a dynamic page path "${a}" was passed to "revalidatePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`),o([c],`revalidatePath ${a}`)}function o(a,b){let c=g.workAsyncStorage.getStore();if(!c||!c.incrementalCache)throw Object.defineProperty(Error(`Invariant: static generation store missing in ${b}`),"__NEXT_ERROR_CODE",{value:"E263",enumerable:!1,configurable:!0});let e=h.workUnitAsyncStorage.getStore();if(e){if("render"===e.phase)throw Object.defineProperty(Error(`Route ${c.route} used "${b}" during render which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E7",enumerable:!1,configurable:!0});switch(e.type){case"cache":case"private-cache":throw Object.defineProperty(Error(`Route ${c.route} used "${b}" inside a "use cache" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E181",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(Error(`Route ${c.route} used "${b}" inside a function cached with "unstable_cache(...)" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E306",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":let a=Object.defineProperty(Error(`Route ${c.route} used ${b} without first calling \`await connection()\`.`),"__NEXT_ERROR_CODE",{value:"E406",enumerable:!1,configurable:!0});return(0,d.abortAndThrowOnSynchronousRequestDataAccess)(c.route,b,a,e);case"prerender-client":throw Object.defineProperty(new j.InvariantError(`${b} must not be used within a client component. Next.js should be preventing ${b} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,d.postponeWithTracking)(c.route,b,e.dynamicTracking);case"prerender-legacy":e.revalidate=0;let f=Object.defineProperty(new i.DynamicServerError(`Route ${c.route} couldn't be rendered statically because it used \`${b}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.dynamicUsageDescription=b,c.dynamicUsageStack=f.stack,f}}for(let b of(c.pendingRevalidatedTags||(c.pendingRevalidatedTags=[]),a))c.pendingRevalidatedTags.includes(b)||c.pendingRevalidatedTags.push(b);c.pathWasRevalidated=!0}},96503:(a,b,c)=>{Promise.resolve().then(c.bind(c,22660))},99543:(a,b,c)=>{"use strict";c.d(b,{OnboardingWizard:()=>u});var d=c(64173),e=c(17240),f=c(87671),g=c(71813),h=c(69552),i=c(62261),j=c(42557);let k=(0,j.A)("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);var l=c(19356);let m=(0,j.A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);var n=c(9338);let o=(0,j.A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var p=c(62481),q=c(74868),r=c(44052),s=c(3265);s.callServer,s.findSourceMapURL;let t=(0,s.createServerReference)("408e1fc5784fe5e4f563c722aadceb7f7a713a693c",s.callServer,void 0,s.findSourceMapURL,"runOnboardingAction");function u({templates:a,initialLanguage:b,initialName:c}){let j=(0,g.c)("onboarding"),q=(0,f.useRouter)(),[s,u]=(0,e.useState)(0),[y,z]=(0,e.useState)(c),[A,B]=(0,e.useState)(b||"russian"),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)("claude"),[G,H]=(0,e.useState)({loading:!0,claudeAvailable:!1,codexAvailable:!1,ollamaAvailable:!1}),[I,J]=(0,e.useState)(new Set),[K,L]=(0,e.useTransition)(),M=(0,e.useMemo)(()=>0===s?y.trim().length>0&&A.trim().length>0:1===s?"claude"===E?G.claudeAvailable:"codex"===E?G.codexAvailable:G.ollamaAvailable:2!==s||I.size>0,[s,y,A,E,G,I]),N=[j("stepTitles.0"),j("stepTitles.1"),j("stepTitles.2"),j("stepTitles.3")];return(0,d.jsx)("div",{className:"min-h-screen flex flex-col items-center px-4 py-8",children:(0,d.jsxs)("div",{className:"w-full max-w-2xl space-y-4",children:[(0,d.jsxs)("header",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,d.jsx)(h.A,{className:"h-4 w-4 text-violet-600"}),(0,d.jsx)("span",{className:"font-medium",children:j("header.welcome")}),(0,d.jsx)("span",{className:"ml-auto text-xs",children:j("header.stepCounter",{current:s+1,total:4,title:N[s]})})]}),(0,d.jsx)(w,{current:s}),0===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step0.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step0.description")}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("label",{className:"text-xs font-medium",htmlFor:"name",children:j("step0.nameLabel")}),(0,d.jsx)("input",{id:"name",value:y,onChange:a=>z(a.target.value),autoFocus:!0,placeholder:j("step0.namePlaceholder"),className:"w-full rounded border bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-violet-400"})]}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("label",{className:"text-xs font-medium",htmlFor:"lang",children:j("step0.languageLabel")}),(0,d.jsxs)("select",{id:"lang",value:A,onChange:a=>B(a.target.value),className:"w-full rounded border bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-violet-400",children:[(0,d.jsx)("option",{value:"russian",children:j("step0.languageRu")}),(0,d.jsx)("option",{value:"english",children:j("step0.languageEn")}),(0,d.jsx)("option",{value:"espa\xf1ol",children:j("step0.languageEs")}),(0,d.jsx)("option",{value:"deutsch",children:j("step0.languageDe")}),(0,d.jsx)("option",{value:"fran\xe7ais",children:j("step0.languageFr")})]})]}),C&&(0,d.jsxs)("p",{className:"text-[11px] text-muted-foreground",children:[j("step0.timezoneDetected")," ",(0,d.jsx)("code",{className:"font-mono",children:C})]})]}),1===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step1.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step1.description")}),G.loading?(0,d.jsxs)("p",{className:"text-sm text-muted-foreground flex items-center gap-2",children:[(0,d.jsx)(i.A,{className:"h-4 w-4 animate-spin"}),j("step1.checking")]}):(0,d.jsxs)("div",{className:"grid gap-2",children:[(0,d.jsx)(x,{selected:"claude"===E,onSelect:()=>F("claude"),icon:(0,d.jsx)(k,{className:"h-5 w-5"}),title:j("step1.claudeTitle"),description:j("step1.claudeDescription"),installLinkLabel:j("step1.installLink"),status:G.claudeAvailable?{ok:!0,hint:G.claudeVersion??j("step1.claudeReady")}:{ok:!1,hint:j("step1.claudeMissing"),link:"https://docs.anthropic.com/claude/docs/claude-code"}}),(0,d.jsx)(x,{selected:"codex"===E,onSelect:()=>F("codex"),icon:(0,d.jsx)(l.A,{className:"h-5 w-5"}),title:j("step1.codexTitle"),description:j("step1.codexDescription"),installLinkLabel:j("step1.installLink"),status:G.codexAvailable?{ok:!0,hint:G.codexVersion??j("step1.codexReady")}:{ok:!1,hint:j("step1.codexMissing"),link:"https://github.com/openai/codex"}}),(0,d.jsx)(x,{selected:"ollama"===E,onSelect:()=>F("ollama"),icon:(0,d.jsx)(m,{className:"h-5 w-5"}),title:j("step1.ollamaTitle"),description:j("step1.ollamaDescription"),installLinkLabel:j("step1.installLink"),status:G.ollamaAvailable?{ok:!0,hint:j("step1.ollamaModels",{count:G.ollamaModels??"?"})}:{ok:!1,hint:j("step1.ollamaMissing"),link:"https://ollama.com/download"}})]})]}),2===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step2.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step2.description")}),(0,d.jsx)("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:a.map(a=>{let b=I.has(a.id);return(0,d.jsx)("li",{children:(0,d.jsx)("button",{type:"button",onClick:()=>{let b=new Set(I);b.has(a.id)?b.delete(a.id):b.add(a.id),J(b)},className:"w-full text-left rounded-lg border p-3 transition "+(b?"border-violet-500 bg-violet-50 dark:bg-violet-950/40":"hover:bg-accent"),children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)("span",{className:"text-2xl leading-none",children:a.emoji}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"font-medium flex items-center gap-1",children:[a.label,b&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 text-violet-600"})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground leading-snug mt-0.5",children:a.description})]})]})})},a.id)})}),(0,d.jsx)("p",{className:"text-[11px] text-muted-foreground",children:j("step2.folderHint")})]}),3===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step3.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step3.description")}),(0,d.jsxs)("ul",{className:"text-sm space-y-1",children:[(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.profileLabel")," ",(0,d.jsx)("strong",{children:y})," \xb7 ",A," \xb7 ",C||j("step3.empty")]}),(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.engineLabel")," ",(0,d.jsx)("strong",{children:"claude"===E?j("step3.engineClaude"):"codex"===E?j("step3.engineCodex"):j("step3.engineOllama")})]}),(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.spacesLabel")," ",[...I].map(b=>a.find(a=>a.id===b)?.label).filter(Boolean).join(" \xb7 ")||j("step3.empty")]})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:j("step3.footer")})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[s>0&&(0,d.jsxs)("button",{type:"button",onClick:()=>u(a=>a-1),className:"inline-flex items-center gap-1 rounded border px-3 py-2 text-sm hover:bg-accent",children:[(0,d.jsx)(o,{className:"h-4 w-4"}),j("nav.back")]}),(0,d.jsx)("div",{className:"ml-auto"}),s<3?(0,d.jsxs)("button",{type:"button",onClick:()=>u(a=>a+1),disabled:!M,className:"inline-flex items-center gap-1 rounded bg-violet-600 px-4 py-2 text-sm font-medium text-white hover:bg-violet-700 disabled:opacity-50",children:[j("nav.next"),(0,d.jsx)(p.A,{className:"h-4 w-4"})]}):(0,d.jsxs)("button",{type:"button",onClick:()=>{L(async()=>{let a=await t({userName:y.trim(),language:A.trim(),timezone:C.trim(),engine:E,templates:[...I]});if(!a.ok)return void r.oR.error(a.error??j("errors.generic"));r.oR.success(j("success.created",{spaces:a.spacesCreated,widgets:a.widgetsCreated})),q.push("/")})},disabled:K,className:"inline-flex items-center gap-1 rounded bg-emerald-600 px-4 py-2 text-sm font-medium text-white hover:bg-emerald-700 disabled:opacity-50",children:[K?(0,d.jsx)(i.A,{className:"h-4 w-4 animate-spin"}):(0,d.jsx)(h.A,{className:"h-4 w-4"}),j("nav.start")]})]})]})})}function v({children:a}){return(0,d.jsx)("section",{className:"rounded-xl border bg-card p-6 shadow-sm space-y-4",children:a})}function w({current:a}){return(0,d.jsx)("div",{className:"flex items-center gap-1",children:[0,1,2,3].map(b=>(0,d.jsx)("div",{className:"h-1 flex-1 rounded-full "+(b<=a?"bg-violet-600":"bg-muted")},b))})}function x({selected:a,onSelect:b,icon:c,title:e,description:f,status:g,installLinkLabel:h}){return(0,d.jsxs)("button",{type:"button",onClick:b,className:"w-full text-left rounded-lg border p-3 transition flex items-start gap-3 "+(a?"border-violet-500 bg-violet-50 dark:bg-violet-950/40":"hover:bg-accent"),children:[(0,d.jsx)("div",{className:"mt-0.5 text-violet-600",children:c}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"font-medium flex items-center gap-2",children:[e,a&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 text-violet-600"})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground leading-snug mt-0.5",children:f}),(0,d.jsxs)("div",{className:"mt-1.5 inline-flex items-center gap-1 text-[11px] "+(g.ok?"text-emerald-700":"text-amber-700"),children:[g.ok?(0,d.jsx)(n.A,{className:"h-3 w-3"}):(0,d.jsx)(q.A,{className:"h-3 w-3"}),(0,d.jsx)("span",{children:g.hint}),g.link&&(0,d.jsx)("a",{href:g.link,target:"_blank",rel:"noopener noreferrer",onClick:a=>a.stopPropagation(),className:"underline ml-1",children:h})]})]})]})}}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[9803,8404,9631,7229,4460,1105,7358,1358,285],()=>b(b.s=80129));module.exports=c})();
8
+ `;return await d.promises.writeFile(c,e,"utf8"),!0}let r=[{id:"finance",label:"Finance",emoji:"\uD83D\uDCB0",description:'Track expenses and income, monthly budget, savings goals. Say "bought X for Y" and Reflex sorts it into the cards.',defaultFolder:"Finance",build:()=>({widgets:[{id:"finance-month-kpi",title:"This month",description:"Income, expenses, remaining budget",payload:{kind:"kpi",data:{items:[{label:"Expenses",value:"0 ₽",delta:"flat"},{label:"Income",value:"0 ₽",delta:"flat"},{label:"Budget remaining",value:"0 ₽",hint:"of the monthly"}]}}},{id:"finance-savings-goals",title:"Savings goals",description:"What we're saving for",payload:{kind:"progress",data:{items:[{label:"Emergency fund",current:0,target:1e5,unit:"₽"}]}}},{id:"finance-habits",title:"Financial habits",description:"Monthly habits — tick them off as you complete them",payload:{kind:"checklist",data:{items:[{text:"Review the budget",done:!1},{text:"Log major expenses",done:!1},{text:"Move money to savings",done:!1}]}}}],topics:[{message:'Hi! I\'ll help you manage finances. Tell me about any purchase, income, or goal — I\'ll put it in the right card. For example: "bought groceries for 1200" or "salary 80000".'}],skills:[{id:"finance-helper",title:"Finance helper",description:"Sorts purchases and income into KPI/Progress cards",instructions:'## Finance helper\n\nYou are a personal finance assistant. When the user writes about money:\n 1. Recognize the type: expense / income / goal.\n 2. Save the fact to the KB via `<<reflex:kb>>` with `kind: "expense"|"income"|"goal"` and `meta.amount`, `meta.currency`, `meta.category`, `meta.date`.\n 3. Update the corresponding card via `<<reflex:widget-update>>`:\n - `finance-month-kpi`: recompute expenses/income for the current month from the KB.\n - `finance-savings-goals`: advance progress on the matching goal.\n 4. In chat — a short confirmation: "Logged expense 1200 ₽ — groceries". Nothing extra.\n 5. If the category is ambiguous (e.g. just "1500") — ask via `<<reflex:question>>`.'}]})},{id:"health",label:"Health",emoji:"\uD83E\uDE7A",description:'Daily habits, vitamins, workouts, symptoms. Say "took vitamin D" — it gets ticked off in the checklist.',defaultFolder:"Health",build:()=>({widgets:[{id:"health-daily-habits",title:"Daily habits",description:"Today's checklist",payload:{kind:"checklist",data:{items:[{text:"Vitamin D",done:!1},{text:"2 liters of water",done:!1},{text:"30-minute walk",done:!1},{text:"Exercise",done:!1}]}}},{id:"health-kpi",title:"Health — summary",payload:{kind:"kpi",data:{items:[{label:"Weight",value:"—",hint:"update once a week"},{label:"Steps (today)",value:"0"},{label:"Sleep",value:"—",hint:"hours last night"}]}}},{id:"health-goals",title:"Long-term goals",payload:{kind:"progress",data:{items:[{label:"Run 3 times a week",current:0,target:3,unit:"times"}]}}}],topics:[{message:'Tell me about your habits and health goals. I\'ll track progress. Say "took a vitamin", "slept 8 hours", "weight 72" — I\'ll sort it into the cards.'}],skills:[{id:"health-helper",title:"Health helper",description:"Logs habits, sleep, weight, workouts",instructions:'## Health helper\n\nYou help maintain a healthy lifestyle. When the user writes about habits/health:\n 1. Recognize: habit check / measurement (weight, sleep, steps) / workout / symptom / vitamin.\n 2. Write to the KB via `<<reflex:kb>>` with `kind: "habit"|"measurement"|"workout"|"symptom"` and `meta.date`, `meta.value`, `meta.unit`.\n 3. Update the cards:\n - `health-daily-habits`: tick the box for the mentioned item (if it doesn\'t exist — add it).\n - `health-kpi`: update the value for weight/sleep/steps.\n - `health-goals`: advance the counter for the mentioned goal.\n 4. In chat — a short supportive confirmation. No moralizing.\n 5. If something was skipped (yesterday a habit wasn\'t mentioned) — don\'t scold; a gentle reminder is fine.'}]})},{id:"study",label:"Study",emoji:"\uD83C\uDF93",description:"Courses, notes, spaced repetition. Drop in an article — Reflex makes a summary and review cards.",defaultFolder:"Study",build:()=>({widgets:[{id:"study-current-courses",title:"Current courses",description:"What I'm studying now",payload:{kind:"progress",data:{items:[]}}},{id:"study-weekly-checklist",title:"This week",payload:{kind:"checklist",data:{items:[{text:"Complete 1 lesson",done:!1},{text:"Do 5 reviews",done:!1},{text:"Write key ideas in the journal",done:!1}]}}},{id:"study-recent-notes",title:"Recent notes",payload:{kind:"kb-pinned",data:{items:[]}}}],topics:[{message:"Hi! I'll help you study: drop in links to articles, videos, or books — I'll make summaries and review cards. Tell me what you're studying right now."}],skills:[{id:"study-helper",title:"Study helper",description:"Makes summaries, review cards, tracks courses",instructions:'## Study helper\n\nYou are a study curator. When the user shares material:\n 1. Write a note to the KB via `<<reflex:kb>>` with `kind: "note"|"flashcard"|"course"`.\n 2. For long material — assemble a summary (3-5 key points) + 3-5 flashcard questions.\n 3. If a course/subject is mentioned — update `study-current-courses` (progress).\n 4. Add a fresh note to `study-recent-notes` (kb-pinned).\n 5. Once a week, suggest reviewing old cards (spaced-repetition style).'}]})},{id:"travel",label:"Travel",emoji:"✈️",description:"Trip planning, map points, routes, pre-flight checklists. Diary of impressions.",defaultFolder:"Travel",build:()=>({widgets:[{id:"travel-map",title:"Places",description:"Points on the map — add your cities and POIs",payload:{kind:"map",data:{points:[]}}},{id:"travel-prep-checklist",title:"Pre-trip packing",payload:{kind:"checklist",data:{items:[{text:"Passport valid ≥ 6 months",done:!1},{text:"Tickets",done:!1},{text:"Lodging booked",done:!1},{text:"Insurance",done:!1},{text:"Chargers and adapters",done:!1},{text:"Essential medications",done:!1}]}}},{id:"travel-trips",title:"Trip plans",description:"Where and when",payload:{kind:"link-list",data:{items:[]}}}],topics:[{message:"I'll help plan your trips. Tell me where you want to go — I'll add points to the map, assemble a packing checklist, and suggest a route."}],skills:[{id:"travel-helper",title:"Travel helper",description:"Plans trips, maintains a map of places, diary of impressions",instructions:'## Travel helper\n\nYou help plan and live through travels:\n 1. When a city / POI is mentioned — find the coordinates (WebSearch/WebFetch geocoding; don\'t invent) and update `travel-map` via `<<reflex:widget-update>>`.\n 2. When a trip is planned — add it to `travel-trips` (link-list) and review `travel-prep-checklist`.\n 3. After the trip — ask about impressions and save to the KB as `kind: "trip-log"` with meta.dates, meta.country, meta.cities.\n 4. N days before departure (if you know the date) — remind about the checklist.'}]})}];function s(a){return r.find(b=>b.id===a)}},13514:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>j,dynamic:()=>i});var d=c(63003),e=c(9310),f=c(17640),g=c(27808),h=c(22660);let i="force-dynamic";async function j({searchParams:a}){let{force:b}=await a,c=await (0,f.loadSettings)();c.onboardedAt&&!b&&(0,e.redirect)("/");let i=await (0,g.ME)();return(0,d.jsx)("main",{className:"min-h-screen bg-gradient-to-br from-violet-50 to-emerald-50 dark:from-violet-950/40 dark:to-emerald-950/40",children:(0,d.jsx)(h.OnboardingWizard,{templates:i,initialLanguage:c.language,initialName:c.userName})})}},13644:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return e},getSortedRoutes:function(){return d}});class c{insert(a){this._insert(a.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(a){void 0===a&&(a="/");let b=[...this.children.keys()].sort();null!==this.slugName&&b.splice(b.indexOf("[]"),1),null!==this.restSlugName&&b.splice(b.indexOf("[...]"),1),null!==this.optionalRestSlugName&&b.splice(b.indexOf("[[...]]"),1);let c=b.map(b=>this.children.get(b)._smoosh(""+a+b+"/")).reduce((a,b)=>[...a,...b],[]);if(null!==this.slugName&&c.push(...this.children.get("[]")._smoosh(a+"["+this.slugName+"]/")),!this.placeholder){let b="/"===a?"/":a.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+b+'" and "'+b+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});c.unshift(b)}return null!==this.restSlugName&&c.push(...this.children.get("[...]")._smoosh(a+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&c.push(...this.children.get("[[...]]")._smoosh(a+"[[..."+this.optionalRestSlugName+"]]/")),c}_insert(a,b,d){if(0===a.length){this.placeholder=!1;return}if(d)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let e=a[0];if(e.startsWith("[")&&e.endsWith("]")){let c=e.slice(1,-1),g=!1;if(c.startsWith("[")&&c.endsWith("]")&&(c=c.slice(1,-1),g=!0),c.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+c+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(c.startsWith("...")&&(c=c.substring(3),d=!0),c.startsWith("[")||c.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(c.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function f(a,c){if(null!==a&&a!==c)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+a+"' !== '"+c+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});b.forEach(a=>{if(a===c)throw Object.defineProperty(Error('You cannot have the same slug name "'+c+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(a.replace(/\W/g,"")===e.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+a+'" and "'+c+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),b.push(c)}if(d)if(g){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+a[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});f(this.optionalRestSlugName,c),this.optionalRestSlugName=c,e="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});f(this.restSlugName,c),this.restSlugName=c,e="[...]"}else{if(g)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});f(this.slugName,c),this.slugName=c,e="[]"}}this.children.has(e)||this.children.set(e,new c),this.children.get(e)._insert(a.slice(1),b,d)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function d(a){let b=new c;return a.forEach(a=>b.insert(a)),b.smoosh()}function e(a,b){let c={},e=[];for(let d=0;d<a.length;d++){let f=b(a[d]);c[f]=d,e[d]=f}return d(e).map(b=>a[c[b]])}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19356:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(42557).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},19461:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"00dfb266500c0eaed081327123e33e8e64405e0f8f":()=>g.i,"4053d45053f2c7bc3c29adf973764e1cc230de2e2c":()=>h.$z,"40612d8a985876661d52bf96513ec57b455a7eef24":()=>f.u7,"4067925ceefa3ab51f1e5cab20ea52f8116996ea2b":()=>h.MU,"4072cec53c65ee86dd91994ef736ff2278ba874f40":()=>f.DW,"40b0475980d1a0630816b3648256b590d039d3be98":()=>f.uX,"40d1dbabfe053eef3897784dbc3dc3de5f5a6c7c34":()=>e.nY,"40dfb206faae551ea32611e3f30cb7fe3aaf721f3b":()=>f.zm,"40e58a239c4b1c949afc6cfe3c2c39be7f6c32a669":()=>e.Pd,"604bbdcdb7e0e409d3a9fd95f1c96f76c951814d55":()=>e.L4,"605eca56e0a0dc186d2817b03a8956eac6b3462efc":()=>e.OQ,"60e87be335d37edd8a2aceae6ea407ba659ba1735a":()=>h.Tc,"700c82bac42f7e6cd514456ecb3e60e1f53e63165b":()=>e.h$,"7851bce53795cb179f10327067c4fd3bbad05858fc":()=>e.g3});var e=c(13415),f=c(3890),g=c(50995),h=c(15754),i=a([e,f,h]);[e,f,h]=i.then?(await i)():i,d()}catch(a){d(a)}})},21820:a=>{"use strict";a.exports=require("os")},22660:(a,b,c)=>{"use strict";c.d(b,{OnboardingWizard:()=>d});let d=(0,c(54491).registerClientReference)(function(){throw Error("Attempted to call OnboardingWizard() from the server but OnboardingWizard is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/reflex-agent/reflex-agent/app/onboarding/_components/wizard.tsx","OnboardingWizard")},23401:(a,b,c)=>{let d={unstable_cache:c(38636).e,revalidateTag:c(93868).revalidateTag,revalidatePath:c(93868).revalidatePath,unstable_expireTag:c(93868).unstable_expireTag,unstable_expirePath:c(93868).unstable_expirePath,unstable_noStore:c(77915).M,unstable_cacheLife:c(4734).F,unstable_cacheTag:c(6382).z};a.exports=d,b.unstable_cache=d.unstable_cache,b.revalidatePath=d.revalidatePath,b.revalidateTag=d.revalidateTag,b.unstable_expireTag=d.unstable_expireTag,b.unstable_expirePath=d.unstable_expirePath,b.unstable_noStore=d.unstable_noStore,b.unstable_cacheLife=d.unstable_cacheLife,b.unstable_cacheTag=d.unstable_cacheTag},24688:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(88546),e=c(60703),f=c(61052),g=c(54144),h=c(44113),i=c(43909);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27808:(a,b,c)=>{"use strict";c.d(b,{ME:()=>m,TI:()=>n,fB:()=>l,lL:()=>i});var d=c(31776);c(428);var e=c(31421),f=c(23401),g=c(17640),h=c(13374);async function i(){let a=(await (0,g.loadSettings)()).harnesses.ollama.baseUrl.replace(/\/$/,""),[b,c,d]=await Promise.all([j("claude"),j("codex"),k(a)]);return{claudeCli:b,codexCli:c,ollama:{...d,baseUrl:a}}}async function j(a){return new Promise(b=>{try{let c=(0,e.spawn)(a,["--version"],{stdio:["ignore","pipe","ignore"]}),d="";c.stdout?.on("data",a=>{d+=a.toString()});let f=setTimeout(()=>{try{c.kill("SIGKILL")}catch{}b({available:!1})},3e3);c.on("close",a=>{clearTimeout(f),0===a&&d.trim()?b({available:!0,version:d.trim()}):b({available:!1})}),c.on("error",()=>{clearTimeout(f),b({available:!1})})}catch{b({available:!1})}})}async function k(a){try{let b=new AbortController,c=setTimeout(()=>b.abort(),2500),d=await fetch(`${a}/api/tags`,{signal:b.signal});if(clearTimeout(c),!d.ok)return{available:!1};let e=await d.json();return{available:!0,modelsCount:e.models?.length??0}}catch{return{available:!1}}}async function l(a){try{let b=await (0,g.loadSettings)(),c={...b,language:a.language||b.language,userName:a.userName,timezone:a.timezone,onboardedAt:new Date().toISOString(),uiMode:b.uiMode??"simple"};"ollama"===a.engine?c.assignments={...b.assignments,chat:{...b.assignments.chat,harness:"ollama",model:b.assignments.chat.model||"llama3.1:8b"},quick:{...b.assignments.quick,harness:"ollama",model:b.assignments.quick.model||"llama3.1:8b"}}:"codex"===a.engine&&(c.assignments={...b.assignments,chat:{...b.assignments.chat,harness:"codex",model:"gpt-5"},quick:{...b.assignments.quick,harness:"codex",model:"gpt-5-mini"}}),await (0,g.saveSettings)(c);let d=0,e=0,i=0,j=0;for(let b of a.templates){let a=(0,h._4)(b);if(!a)continue;let f=await (0,h.m0)({template:a}),g=await (0,h.XF)(a,{rootPath:f.rootPath,settings:c});d++,e+=g.widgetsCreated,i+=g.topicsCreated,j+=g.skillsInstalled}return(0,f.revalidatePath)("/"),(0,f.revalidatePath)("/settings"),{ok:!0,spacesCreated:d,widgetsCreated:e,topicsCreated:i,skillsInstalled:j}}catch(a){return{ok:!1,error:a instanceof Error?a.message:String(a),spacesCreated:0,widgetsCreated:0,topicsCreated:0,skillsInstalled:0}}}async function m(){let{SPACE_TEMPLATES:a}=await Promise.resolve().then(c.bind(c,13374));return a.map(({id:a,label:b,emoji:c,description:d})=>({id:a,label:b,emoji:c,description:d}))}async function n(){return{baseDir:(0,h.UC)()}}(0,c(97364).D)([i,l,m,n]),(0,d.A)(i,"00d58ec875b19b5e37346b83ecc906bdc35b209487",null),(0,d.A)(l,"4090b706acee6ba3baef8cbbd17e4fdbaac0aed8d7",null),(0,d.A)(m,"00e2e9de1361607e483554451a601b9673c63f5849",null),(0,d.A)(n,"0070a8a6840e3d3d5c7cac708be9c24922d236fc3c",null)},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30717:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},31421:a=>{"use strict";a.exports=require("node:child_process")},33873:a=>{"use strict";a.exports=require("path")},36306:a=>{"use strict";a.exports=import("@tailwindcss/node")},38636:(a,b,c)=>{"use strict";Object.defineProperty(b,"e",{enumerable:!0,get:function(){return k}});let d=c(80269),e=c(18505),f=c(29294),g=c(63033),h=c(53875),i=0;async function j(a,b,c,e,f,g,i){await b.set(c,{kind:h.CachedRouteKind.FETCH,data:{headers:{},body:JSON.stringify(a),status:200,url:""},revalidate:"number"!=typeof f?d.CACHE_ONE_YEAR:f},{fetchCache:!0,tags:e,fetchIdx:g,fetchUrl:i})}function k(a,b,c={}){if(0===c.revalidate)throw Object.defineProperty(Error(`Invariant revalidate: 0 can not be passed to unstable_cache(), must be "false" or "> 0" ${a.toString()}`),"__NEXT_ERROR_CODE",{value:"E57",enumerable:!1,configurable:!0});let d=c.tags?(0,e.validateTags)(c.tags,`unstable_cache ${a.toString()}`):[];(0,e.validateRevalidate)(c.revalidate,`unstable_cache ${a.name||a.toString()}`);let l=`${a.toString()}-${Array.isArray(b)&&b.join(",")}`;return async(...b)=>{let e=f.workAsyncStorage.getStore(),k=g.workUnitAsyncStorage.getStore(),m=(null==e?void 0:e.incrementalCache)||globalThis.__incrementalCache;if(!m)throw Object.defineProperty(Error(`Invariant: incrementalCache missing in unstable_cache ${a.toString()}`),"__NEXT_ERROR_CODE",{value:"E469",enumerable:!1,configurable:!0});let n=k?(0,g.getCacheSignal)(k):null;n&&n.beginRead();try{let f=e&&k?function(a,b){switch(b.type){case"request":let c=b.url.pathname,d=new URLSearchParams(b.url.search),e=[...d.keys()].sort((a,b)=>a.localeCompare(b)).map(a=>`${a}=${d.get(a)}`).join("&");return`${c}${e.length?"?":""}${e}`;case"prerender":case"prerender-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":return a.route;default:return b}}(e,k):"",n=`${l}-${JSON.stringify(b)}`,o=await m.generateCacheKey(n),p=`unstable_cache ${f} ${a.name?` ${a.name}`:o}`,q=(e?e.nextFetchId:i)??1,r=null==k?void 0:k.implicitTags,s={type:"unstable-cache",phase:"render",implicitTags:r,draftMode:k&&e&&(0,g.getDraftModeProviderForCacheScope)(e,k)};if(e){e.nextFetchId=q+1;let f=!1;if(k)switch(k.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":"number"==typeof c.revalidate&&(k.revalidate<c.revalidate||(k.revalidate=c.revalidate));let i=k.tags;if(null===i)k.tags=d.slice();else for(let a of d)i.includes(a)||i.push(a);break;case"unstable-cache":f=!0}if(!f&&"force-no-store"!==e.fetchCache&&!e.isOnDemandRevalidate&&!m.isOnDemandRevalidate&&!e.isDraftMode){let f=await m.get(o,{kind:h.IncrementalCacheKind.FETCH,revalidate:c.revalidate,tags:d,softTags:null==r?void 0:r.tags,fetchIdx:q,fetchUrl:p});if(f&&f.value)if(f.value.kind!==h.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${n}`);else{let h=void 0!==f.value.data.body?JSON.parse(f.value.data.body):void 0;if(f.isStale){if(e.pendingRevalidates||(e.pendingRevalidates={}),!e.pendingRevalidates[n]){let f=g.workUnitAsyncStorage.run(s,a,...b).then(async a=>(await j(a,m,o,d,c.revalidate,q,p),a)).catch(a=>(console.error(`revalidating cache with key: ${n}`,a),h));e.isRevalidate&&f.catch(()=>{}),e.pendingRevalidates[n]=f}if(e.isRevalidate)return e.pendingRevalidates[n]}return h}}let l=await g.workUnitAsyncStorage.run(s,a,...b);return e.isDraftMode||(e.pendingRevalidates||(e.pendingRevalidates={}),e.pendingRevalidates[n]=j(l,m,o,d,c.revalidate,q,p)),l}{if(i+=1,!m.isOnDemandRevalidate){let a=await m.get(o,{kind:h.IncrementalCacheKind.FETCH,revalidate:c.revalidate,tags:d,fetchIdx:q,fetchUrl:p,softTags:null==r?void 0:r.tags});if(a&&a.value){if(a.value.kind!==h.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${n}`);else if(!a.isStale)return void 0!==a.value.data.body?JSON.parse(a.value.data.body):void 0}}let e=await g.workUnitAsyncStorage.run(s,a,...b);return await j(e,m,o,d,c.revalidate,q,p),e}}finally{n&&n.endRead()}}}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42343:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},43490:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(75826).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},48161:a=>{"use strict";a.exports=require("node:os")},49647:(a,b,c)=>{Promise.resolve().then(c.bind(c,64901))},57075:a=>{"use strict";a.exports=require("node:stream")},62481:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(42557).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63430:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return d.getSortedRouteObjects},getSortedRoutes:function(){return d.getSortedRoutes},isDynamicRoute:function(){return e.isDynamicRoute}});let d=c(13644),e=c(84832)},64901:(a,b,c)=>{"use strict";c.d(b,{OnboardingWizard:()=>u});var d=c(64173),e=c(17240),f=c(87671),g=c(71813),h=c(69552),i=c(62261),j=c(42557);let k=(0,j.A)("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);var l=c(19356);let m=(0,j.A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);var n=c(9338);let o=(0,j.A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var p=c(62481),q=c(74868),r=c(44052),s=c(3265);s.callServer,s.findSourceMapURL;let t=(0,s.createServerReference)("4090b706acee6ba3baef8cbbd17e4fdbaac0aed8d7",s.callServer,void 0,s.findSourceMapURL,"runOnboardingAction");function u({templates:a,initialLanguage:b,initialName:c}){let j=(0,g.c)("onboarding"),q=(0,f.useRouter)(),[s,u]=(0,e.useState)(0),[y,z]=(0,e.useState)(c),[A,B]=(0,e.useState)(b||"russian"),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)("claude"),[G,H]=(0,e.useState)({loading:!0,claudeAvailable:!1,codexAvailable:!1,ollamaAvailable:!1}),[I,J]=(0,e.useState)(new Set),[K,L]=(0,e.useTransition)(),M=(0,e.useMemo)(()=>0===s?y.trim().length>0&&A.trim().length>0:1===s?"claude"===E?G.claudeAvailable:"codex"===E?G.codexAvailable:G.ollamaAvailable:2!==s||I.size>0,[s,y,A,E,G,I]),N=[j("stepTitles.0"),j("stepTitles.1"),j("stepTitles.2"),j("stepTitles.3")];return(0,d.jsx)("div",{className:"min-h-screen flex flex-col items-center px-4 py-8",children:(0,d.jsxs)("div",{className:"w-full max-w-2xl space-y-4",children:[(0,d.jsxs)("header",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,d.jsx)(h.A,{className:"h-4 w-4 text-violet-600"}),(0,d.jsx)("span",{className:"font-medium",children:j("header.welcome")}),(0,d.jsx)("span",{className:"ml-auto text-xs",children:j("header.stepCounter",{current:s+1,total:4,title:N[s]})})]}),(0,d.jsx)(w,{current:s}),0===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step0.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step0.description")}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("label",{className:"text-xs font-medium",htmlFor:"name",children:j("step0.nameLabel")}),(0,d.jsx)("input",{id:"name",value:y,onChange:a=>z(a.target.value),autoFocus:!0,placeholder:j("step0.namePlaceholder"),className:"w-full rounded border bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-violet-400"})]}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("label",{className:"text-xs font-medium",htmlFor:"lang",children:j("step0.languageLabel")}),(0,d.jsxs)("select",{id:"lang",value:A,onChange:a=>B(a.target.value),className:"w-full rounded border bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-violet-400",children:[(0,d.jsx)("option",{value:"russian",children:j("step0.languageRu")}),(0,d.jsx)("option",{value:"english",children:j("step0.languageEn")}),(0,d.jsx)("option",{value:"espa\xf1ol",children:j("step0.languageEs")}),(0,d.jsx)("option",{value:"deutsch",children:j("step0.languageDe")}),(0,d.jsx)("option",{value:"fran\xe7ais",children:j("step0.languageFr")})]})]}),C&&(0,d.jsxs)("p",{className:"text-[11px] text-muted-foreground",children:[j("step0.timezoneDetected")," ",(0,d.jsx)("code",{className:"font-mono",children:C})]})]}),1===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step1.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step1.description")}),G.loading?(0,d.jsxs)("p",{className:"text-sm text-muted-foreground flex items-center gap-2",children:[(0,d.jsx)(i.A,{className:"h-4 w-4 animate-spin"}),j("step1.checking")]}):(0,d.jsxs)("div",{className:"grid gap-2",children:[(0,d.jsx)(x,{selected:"claude"===E,onSelect:()=>F("claude"),icon:(0,d.jsx)(k,{className:"h-5 w-5"}),title:j("step1.claudeTitle"),description:j("step1.claudeDescription"),installLinkLabel:j("step1.installLink"),status:G.claudeAvailable?{ok:!0,hint:G.claudeVersion??j("step1.claudeReady")}:{ok:!1,hint:j("step1.claudeMissing"),link:"https://docs.anthropic.com/claude/docs/claude-code"}}),(0,d.jsx)(x,{selected:"codex"===E,onSelect:()=>F("codex"),icon:(0,d.jsx)(l.A,{className:"h-5 w-5"}),title:j("step1.codexTitle"),description:j("step1.codexDescription"),installLinkLabel:j("step1.installLink"),status:G.codexAvailable?{ok:!0,hint:G.codexVersion??j("step1.codexReady")}:{ok:!1,hint:j("step1.codexMissing"),link:"https://github.com/openai/codex"}}),(0,d.jsx)(x,{selected:"ollama"===E,onSelect:()=>F("ollama"),icon:(0,d.jsx)(m,{className:"h-5 w-5"}),title:j("step1.ollamaTitle"),description:j("step1.ollamaDescription"),installLinkLabel:j("step1.installLink"),status:G.ollamaAvailable?{ok:!0,hint:j("step1.ollamaModels",{count:G.ollamaModels??"?"})}:{ok:!1,hint:j("step1.ollamaMissing"),link:"https://ollama.com/download"}})]})]}),2===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step2.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step2.description")}),(0,d.jsx)("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:a.map(a=>{let b=I.has(a.id);return(0,d.jsx)("li",{children:(0,d.jsx)("button",{type:"button",onClick:()=>{let b=new Set(I);b.has(a.id)?b.delete(a.id):b.add(a.id),J(b)},className:"w-full text-left rounded-lg border p-3 transition "+(b?"border-violet-500 bg-violet-50 dark:bg-violet-950/40":"hover:bg-accent"),children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)("span",{className:"text-2xl leading-none",children:a.emoji}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"font-medium flex items-center gap-1",children:[a.label,b&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 text-violet-600"})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground leading-snug mt-0.5",children:a.description})]})]})})},a.id)})}),(0,d.jsx)("p",{className:"text-[11px] text-muted-foreground",children:j("step2.folderHint")})]}),3===s&&(0,d.jsxs)(v,{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold",children:j("step3.title")}),(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:j("step3.description")}),(0,d.jsxs)("ul",{className:"text-sm space-y-1",children:[(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.profileLabel")," ",(0,d.jsx)("strong",{children:y})," \xb7 ",A," \xb7 ",C||j("step3.empty")]}),(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.engineLabel")," ",(0,d.jsx)("strong",{children:"claude"===E?j("step3.engineClaude"):"codex"===E?j("step3.engineCodex"):j("step3.engineOllama")})]}),(0,d.jsxs)("li",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{className:"h-4 w-4 text-emerald-600"}),j("step3.spacesLabel")," ",[...I].map(b=>a.find(a=>a.id===b)?.label).filter(Boolean).join(" \xb7 ")||j("step3.empty")]})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:j("step3.footer")})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[s>0&&(0,d.jsxs)("button",{type:"button",onClick:()=>u(a=>a-1),className:"inline-flex items-center gap-1 rounded border px-3 py-2 text-sm hover:bg-accent",children:[(0,d.jsx)(o,{className:"h-4 w-4"}),j("nav.back")]}),(0,d.jsx)("div",{className:"ml-auto"}),s<3?(0,d.jsxs)("button",{type:"button",onClick:()=>u(a=>a+1),disabled:!M,className:"inline-flex items-center gap-1 rounded bg-violet-600 px-4 py-2 text-sm font-medium text-white hover:bg-violet-700 disabled:opacity-50",children:[j("nav.next"),(0,d.jsx)(p.A,{className:"h-4 w-4"})]}):(0,d.jsxs)("button",{type:"button",onClick:()=>{L(async()=>{let a=await t({userName:y.trim(),language:A.trim(),timezone:C.trim(),engine:E,templates:[...I]});if(!a.ok)return void r.oR.error(a.error??j("errors.generic"));r.oR.success(j("success.created",{spaces:a.spacesCreated,widgets:a.widgetsCreated})),q.push("/")})},disabled:K,className:"inline-flex items-center gap-1 rounded bg-emerald-600 px-4 py-2 text-sm font-medium text-white hover:bg-emerald-700 disabled:opacity-50",children:[K?(0,d.jsx)(i.A,{className:"h-4 w-4 animate-spin"}):(0,d.jsx)(h.A,{className:"h-4 w-4"}),j("nav.start")]})]})]})})}function v({children:a}){return(0,d.jsx)("section",{className:"rounded-xl border bg-card p-6 shadow-sm space-y-4",children:a})}function w({current:a}){return(0,d.jsx)("div",{className:"flex items-center gap-1",children:[0,1,2,3].map(b=>(0,d.jsx)("div",{className:"h-1 flex-1 rounded-full "+(b<=a?"bg-violet-600":"bg-muted")},b))})}function x({selected:a,onSelect:b,icon:c,title:e,description:f,status:g,installLinkLabel:h}){return(0,d.jsxs)("button",{type:"button",onClick:b,className:"w-full text-left rounded-lg border p-3 transition flex items-start gap-3 "+(a?"border-violet-500 bg-violet-50 dark:bg-violet-950/40":"hover:bg-accent"),children:[(0,d.jsx)("div",{className:"mt-0.5 text-violet-600",children:c}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"font-medium flex items-center gap-2",children:[e,a&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 text-violet-600"})]}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground leading-snug mt-0.5",children:f}),(0,d.jsxs)("div",{className:"mt-1.5 inline-flex items-center gap-1 text-[11px] "+(g.ok?"text-emerald-700":"text-amber-700"),children:[g.ok?(0,d.jsx)(n.A,{className:"h-3 w-3"}):(0,d.jsx)(q.A,{className:"h-3 w-3"}),(0,d.jsx)("span",{children:g.hint}),g.link&&(0,d.jsx)("a",{href:g.link,target:"_blank",rel:"noopener noreferrer",onClick:a=>a.stopPropagation(),className:"underline ml-1",children:h})]})]})]})}},71152:a=>{"use strict";a.exports=require("esbuild")},71495:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(20498),e=c(52512),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},74830:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return k},RedirectType:function(){return e.RedirectType},forbidden:function(){return g.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return i.unstable_rethrow}});let d=c(71495),e=c(52512),f=c(42343),g=c(43490),h=c(30717),i=c(4953);class j extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class k extends URLSearchParams{append(){throw new j}delete(){throw new j}set(){throw new j}sort(){throw new j}}function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},77915:(a,b,c)=>{"use strict";Object.defineProperty(b,"M",{enumerable:!0,get:function(){return g}});let d=c(29294),e=c(63033),f=c(44113);function g(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(!a.forceStatic){if(a.isUnstableNoStore=!0,b)switch(b.type){case"prerender":case"prerender-client":case"prerender-runtime":return}(0,f.markCurrentScopeAsDynamic)(a,b,"unstable_noStore()")}}}},78474:a=>{"use strict";a.exports=require("node:events")},79428:a=>{"use strict";a.exports=require("buffer")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},80129:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>E.a,__next_app__:()=>K,handler:()=>M,pages:()=>J,routeModule:()=>L,tree:()=>I});var d=c(61597),e=c(99210),f=c(1082),g=c(15003),h=c(36265),i=c(11817),j=c(45136),k=c(41809),l=c(55745),m=c(88963),n=c(69153),o=c(48343),p=c(15808),q=c(21238),r=c(2555),s=c(261),t=c(34370),u=c(89583),v=c(26713),w=c(53875),x=c(7952),y=c(54532),z=c(80269),A=c(17851),B=c(57865),C=c(86439),D=c(47319),E=c.n(D),F=c(1859),G=c(20498),H={};for(let a in F)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(H[a]=()=>F[a]);c.d(b,H);let I={children:["",{children:["onboarding",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,13514)),"/home/runner/work/reflex-agent/reflex-agent/app/onboarding/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,79459)),"/home/runner/work/reflex-agent/reflex-agent/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,47319,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,82295,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,91570,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,72845,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,J=["/home/runner/work/reflex-agent/reflex-agent/app/onboarding/page.tsx"],K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/onboarding/page",pathname:"/onboarding",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:I},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var D;let H="/onboarding/page";"/index"===H&&(H="/");let N=(0,h.getRequestMeta)(a,"postponed"),O=(0,h.getRequestMeta)(a,"minimalMode"),P=await L.prepare(a,b,{srcPage:H,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,parsedUrl:T,pageIsDynamic:U,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,serverActionsManifest:Y,clientReferenceManifest:Z,subresourceIntegrityManifest:$,prerenderManifest:_,isDraftMode:aa,resolvedPathname:ab,revalidateOnlyGenerated:ac,routerServerContext:ad,nextConfig:ae,interceptionRoutePatterns:af}=P,ag=T.pathname||"/",ah=(0,s.normalizeAppPath)(H),{isOnDemandRevalidate:ai}=P,aj=L.match(ag,_),ak=!!_.routes[ab],al=!!(aj||ak||_.routes[ah]),am=a.headers["user-agent"]||"",an=(0,v.getBotType)(am),ao=(0,q.isHtmlBotRequest)(a),ap=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aq=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[u.RSC_HEADER]),ar=(0,t.getIsPossibleServerAction)(a),as=(0,m.checkIsAppPPREnabled)(ae.experimental.ppr)&&(null==(D=_.routes[ah]??_.dynamicRoutes[ah])?void 0:D.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?N:void 0,aw=as&&aq&&!ap,ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=!am||(0,q.shouldServeStreamingMetadata)(am,ae.htmlLimitedBots);ao&&as&&(al=!1,ay=!1);let az=!0===L.isDev||!al||"string"==typeof N||aw,aA=ao&&as,aB=null;aa||!al||az||ar||av||aw||(aB=ab);let aC=aB;!aC&&L.isDev&&(aC=ab),L.isDev||aa||!al||!aq||aw||(0,k.d)(a.headers);let aD={...F,tree:I,pages:J,GlobalError:E(),handler:M,routeModule:L,__next_app__:K};Y&&Z&&(0,p.setReferenceManifestsSingleton)({page:H,clientReferenceManifest:Z,serverActionsManifest:Y,serverModuleMap:(0,r.createServerModuleMap)({serverActionsManifest:Y})});let aE=a.method||"GET",aF=(0,g.getTracer)(),aG=aF.getActiveScopeSpan();try{let f=L.getVaryHeader(ab,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aF.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aE} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aE} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aD,Component:(0,j.T)(aD),params:S,routeModule:L,page:H,postponed:f,shouldWaitOnAllReady:aA,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||az,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,subresourceIntegrityManifest:$,serverActionsManifest:Y,clientReferenceManifest:Z,setIsrStatus:null==ad?void 0:ad.setIsrStatus,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:aa,isRevalidate:al&&!f&&!aw,botType:an,isOnDemandRevalidate:ai,isPossibleServerAction:ar,assetPrefix:ae.assetPrefix,nextConfigOutput:ae.output,crossOrigin:ae.crossOrigin,trailingSlash:ae.trailingSlash,previewProps:_.preview,deploymentId:ae.deploymentId,enableTainting:ae.experimental.taint,htmlLimitedBots:ae.htmlLimitedBots,devtoolSegmentExplorer:ae.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ae.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ae.experimental.cacheLife,basePath:ae.basePath,serverActions:ae.experimental.serverActions,...at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:at}:{},experimental:{isRoutePPREnabled:as,expireTime:ae.expireTime,staleTimes:ae.experimental.staleTimes,cacheComponents:!!ae.experimental.cacheComponents,clientSegmentCache:!!ae.experimental.clientSegmentCache,clientParamParsing:!!ae.experimental.clientParamParsing,dynamicOnHover:!!ae.experimental.dynamicOnHover,inlineCss:!!ae.experimental.inlineCss,authInterrupts:!!ae.experimental.authInterrupts,clientTraceMetadata:ae.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>L.onRequestError(a,b,d,ad),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[z.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,al&&(null==n?void 0:n.revalidate)===0&&!L.isDev&&!as){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ab}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
9
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},84832:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isDynamicRoute",{enumerable:!0,get:function(){return g}});let d=c(8855),e=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,f=/\/\[[^/]+\](?=\/|$)/;function g(a,b){return(void 0===b&&(b=!0),(0,d.isInterceptionRouteAppPath)(a)&&(a=(0,d.extractInterceptionRouteInformation)(a).interceptedRoute),b)?f.test(a):e.test(a)}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},93643:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"0070a8a6840e3d3d5c7cac708be9c24922d236fc3c":()=>e.TI,"00d58ec875b19b5e37346b83ecc906bdc35b209487":()=>e.lL,"00e2e9de1361607e483554451a601b9673c63f5849":()=>e.ME,"4033251606c8875658357816f479ba43747421fd79":()=>d.AZ,"4090b706acee6ba3baef8cbbd17e4fdbaac0aed8d7":()=>e.fB,"409c0330a46dee897f4a967cafb72d64a5f2f00686":()=>d.rD,"409eba05bdd5955bcdc225be3b30f7a20a10d9f4a5":()=>d.summarizeYoutubeAction,"40db33405833cbbc626c5c5b8054aab139cf4ce889":()=>d.Gh,"40fb61174fdddc91fc3e818bc8029f20f961901be1":()=>d.O1});var d=c(18746),e=c(27808)},93868:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{revalidatePath:function(){return n},revalidateTag:function(){return k},unstable_expirePath:function(){return l},unstable_expireTag:function(){return m}});let d=c(44113),e=c(63430),f=c(80269),g=c(29294),h=c(63033),i=c(43909),j=c(32839);function k(a){return o([a],`revalidateTag ${a}`)}function l(a,b){if(a.length>f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH)return void console.warn(`Warning: expirePath received "${a}" which exceeded max length of ${f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/unstable_expirePath`);let c=`${f.NEXT_CACHE_IMPLICIT_TAG_ID}${a}`;return b?c+=`${c.endsWith("/")?"":"/"}${b}`:(0,e.isDynamicRoute)(a)&&console.warn(`Warning: a dynamic page path "${a}" was passed to "expirePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/unstable_expirePath`),o([c],`unstable_expirePath ${a}`)}function m(...a){return o(a,`unstable_expireTag ${a.join(", ")}`)}function n(a,b){if(a.length>f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH)return void console.warn(`Warning: revalidatePath received "${a}" which exceeded max length of ${f.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);let c=`${f.NEXT_CACHE_IMPLICIT_TAG_ID}${a}`;return b?c+=`${c.endsWith("/")?"":"/"}${b}`:(0,e.isDynamicRoute)(a)&&console.warn(`Warning: a dynamic page path "${a}" was passed to "revalidatePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`),o([c],`revalidatePath ${a}`)}function o(a,b){let c=g.workAsyncStorage.getStore();if(!c||!c.incrementalCache)throw Object.defineProperty(Error(`Invariant: static generation store missing in ${b}`),"__NEXT_ERROR_CODE",{value:"E263",enumerable:!1,configurable:!0});let e=h.workUnitAsyncStorage.getStore();if(e){if("render"===e.phase)throw Object.defineProperty(Error(`Route ${c.route} used "${b}" during render which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E7",enumerable:!1,configurable:!0});switch(e.type){case"cache":case"private-cache":throw Object.defineProperty(Error(`Route ${c.route} used "${b}" inside a "use cache" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E181",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(Error(`Route ${c.route} used "${b}" inside a function cached with "unstable_cache(...)" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E306",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":let a=Object.defineProperty(Error(`Route ${c.route} used ${b} without first calling \`await connection()\`.`),"__NEXT_ERROR_CODE",{value:"E406",enumerable:!1,configurable:!0});return(0,d.abortAndThrowOnSynchronousRequestDataAccess)(c.route,b,a,e);case"prerender-client":throw Object.defineProperty(new j.InvariantError(`${b} must not be used within a client component. Next.js should be preventing ${b} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,d.postponeWithTracking)(c.route,b,e.dynamicTracking);case"prerender-legacy":e.revalidate=0;let f=Object.defineProperty(new i.DynamicServerError(`Route ${c.route} couldn't be rendered statically because it used \`${b}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.dynamicUsageDescription=b,c.dynamicUsageStack=f.stack,f}}for(let b of(c.pendingRevalidatedTags||(c.pendingRevalidatedTags=[]),a))c.pendingRevalidatedTags.includes(b)||c.pendingRevalidatedTags.push(b);c.pathWasRevalidated=!0}},96503:(a,b,c)=>{Promise.resolve().then(c.bind(c,22660))}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[9803,8404,9631,7229,4460,1105,4251,1358,285],()=>b(b.s=80129));module.exports=c})();