kindflow 0.1.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 (1606) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +222 -0
  3. package/agent-runner.js +190 -0
  4. package/agent-runner.js.map +1 -0
  5. package/chunk-2UX7Z5TH.js +95 -0
  6. package/chunk-2UX7Z5TH.js.map +1 -0
  7. package/chunk-2YT53FBK.js +38 -0
  8. package/chunk-2YT53FBK.js.map +1 -0
  9. package/chunk-3AMW7NXZ.js +688 -0
  10. package/chunk-3AMW7NXZ.js.map +1 -0
  11. package/chunk-GZFR7ELC.js +98 -0
  12. package/chunk-GZFR7ELC.js.map +1 -0
  13. package/chunk-P5P73L35.js +17 -0
  14. package/chunk-P5P73L35.js.map +1 -0
  15. package/chunk-UGIMNC7O.js +3134 -0
  16. package/chunk-UGIMNC7O.js.map +1 -0
  17. package/cli.js +153 -0
  18. package/cli.js.map +1 -0
  19. package/cron-runner.js +89 -0
  20. package/cron-runner.js.map +1 -0
  21. package/daemon.js +12 -0
  22. package/daemon.js.map +1 -0
  23. package/database.js +7 -0
  24. package/database.js.map +1 -0
  25. package/imap-runner.js +123 -0
  26. package/imap-runner.js.map +1 -0
  27. package/package.json +58 -0
  28. package/postgresql-TRH2S2OL.js +67 -0
  29. package/postgresql-TRH2S2OL.js.map +1 -0
  30. package/s3.js +7 -0
  31. package/s3.js.map +1 -0
  32. package/sqlite-HPBUYY7A.js +52 -0
  33. package/sqlite-HPBUYY7A.js.map +1 -0
  34. package/telegram-client.js +7 -0
  35. package/telegram-client.js.map +1 -0
  36. package/telegram-runner.js +156 -0
  37. package/telegram-runner.js.map +1 -0
  38. package/templates/agent/agent/.claude/settings.json +12 -0
  39. package/templates/agent/agent/CLAUDE.md +34 -0
  40. package/templates/agent/agent/capabilities/.gitkeep +0 -0
  41. package/templates/agent/agent/config.json +7 -0
  42. package/templates/agent/agent/data/.gitkeep +0 -0
  43. package/templates/agent/agent/resources/.gitkeep +0 -0
  44. package/templates/agent/agent/scripts/.gitkeep +0 -0
  45. package/templates/agent/master/.claude/commands/build-commands.md +10 -0
  46. package/templates/agent/master/.claude/commands/build-identity.md +7 -0
  47. package/templates/agent/master/.claude/commands/build-scripts.md +7 -0
  48. package/templates/agent/master/.claude/commands/discovery.md +46 -0
  49. package/templates/agent/master/.claude/commands/review-agent.md +57 -0
  50. package/templates/agent/master/.claude/commands/setup-database.md +12 -0
  51. package/templates/agent/master/.claude/commands/setup-s3.md +12 -0
  52. package/templates/agent/master/.claude/commands/setup-telegram.md +16 -0
  53. package/templates/agent/master/.claude/settings.json +13 -0
  54. package/templates/agent/master/CLAUDE.md +52 -0
  55. package/templates/agent/master/resources/agent-structure.md +24 -0
  56. package/templates/agent/master/resources/capabilities.md +209 -0
  57. package/types.js +1 -0
  58. package/types.js.map +1 -0
  59. package/web/standalone/.next/static/chunks/0.rhx-_tszlu4.js +6 -0
  60. package/web/standalone/.next/static/chunks/03ezf5l-_j4jg.js +1 -0
  61. package/web/standalone/.next/static/chunks/03~yq9q893hmn.js +1 -0
  62. package/web/standalone/.next/static/chunks/04ck6i02nzj~g.js +1 -0
  63. package/web/standalone/.next/static/chunks/059v8r-yfkdzg.js +1 -0
  64. package/web/standalone/.next/static/chunks/07m3a24dcvltn.js +1 -0
  65. package/web/standalone/.next/static/chunks/0846ex_9lje66.js +1 -0
  66. package/web/standalone/.next/static/chunks/09auzhh4.kw6i.js +1 -0
  67. package/web/standalone/.next/static/chunks/0cs-bbn7o_z8t.js +1 -0
  68. package/web/standalone/.next/static/chunks/0cz5_xjqg2kbi.js +1 -0
  69. package/web/standalone/.next/static/chunks/0d14tm~hn93.2.js +1 -0
  70. package/web/standalone/.next/static/chunks/0dbly4ik_4oyh.css +3 -0
  71. package/web/standalone/.next/static/chunks/0ecr_h8tt8vw7.js +1 -0
  72. package/web/standalone/.next/static/chunks/0emphvehnoi1-.js +2 -0
  73. package/web/standalone/.next/static/chunks/0gpetx3.4k6b4.js +1 -0
  74. package/web/standalone/.next/static/chunks/0hfzu1auqc8ou.js +4 -0
  75. package/web/standalone/.next/static/chunks/0hjgvrv57vh99.js +1 -0
  76. package/web/standalone/.next/static/chunks/0nwzqd02b0bz9.js +1 -0
  77. package/web/standalone/.next/static/chunks/0oja3muheolaf.js +1 -0
  78. package/web/standalone/.next/static/chunks/0qxvztkmx2jf8.js +1 -0
  79. package/web/standalone/.next/static/chunks/0rsdytxfylxaw.js +1 -0
  80. package/web/standalone/.next/static/chunks/0t3kxrf329vtx.js +31 -0
  81. package/web/standalone/.next/static/chunks/0tj~6ee-vyqtu.js +1 -0
  82. package/web/standalone/.next/static/chunks/0vu.7k.x708cp.js +18 -0
  83. package/web/standalone/.next/static/chunks/0yt_9qbiz6hzr.js +1 -0
  84. package/web/standalone/.next/static/chunks/0~6eav_b2pgm..js +1 -0
  85. package/web/standalone/.next/static/chunks/11c0vsuj8ueva.js +1 -0
  86. package/web/standalone/.next/static/chunks/11zn_gydr7w.9.js +1 -0
  87. package/web/standalone/.next/static/chunks/12dnb1g.3zjtg.js +1 -0
  88. package/web/standalone/.next/static/chunks/12~poxkd72k~o.js +1 -0
  89. package/web/standalone/.next/static/chunks/14_1rc6rwie3u.js +1 -0
  90. package/web/standalone/.next/static/chunks/14kp_3wlgnkxp.js +1 -0
  91. package/web/standalone/.next/static/chunks/16hbu0vikyrj2.js +1 -0
  92. package/web/standalone/.next/static/chunks/17irh9suob_1s.js +1 -0
  93. package/web/standalone/.next/static/chunks/17oc2l.ekcs8b.css +1 -0
  94. package/web/standalone/.next/static/chunks/turbopack-03.6m4zxjzd-b.js +1 -0
  95. package/web/standalone/.next/static/media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2 +0 -0
  96. package/web/standalone/.next/static/media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2 +0 -0
  97. package/web/standalone/.next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2 +0 -0
  98. package/web/standalone/.next/static/media/8a480f0b521d4e75-s.06d3mdzz5bre_.woff2 +0 -0
  99. package/web/standalone/.next/static/media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2 +0 -0
  100. package/web/standalone/.next/static/media/caa3a2e1cccd8315-s.p.16t1db8_9y2o~.woff2 +0 -0
  101. package/web/standalone/.next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
  102. package/web/standalone/.next/static/rP40PaqmfSDCp0BXJLoC8/_buildManifest.js +11 -0
  103. package/web/standalone/.next/static/rP40PaqmfSDCp0BXJLoC8/_clientMiddlewareManifest.js +1 -0
  104. package/web/standalone/.next/static/rP40PaqmfSDCp0BXJLoC8/_ssgManifest.js +1 -0
  105. package/web/standalone/apps/web/.next/BUILD_ID +1 -0
  106. package/web/standalone/apps/web/.next/app-path-routes-manifest.json +26 -0
  107. package/web/standalone/apps/web/.next/build-manifest.json +21 -0
  108. package/web/standalone/apps/web/.next/package.json +1 -0
  109. package/web/standalone/apps/web/.next/prerender-manifest.json +378 -0
  110. package/web/standalone/apps/web/.next/required-server-files.json +333 -0
  111. package/web/standalone/apps/web/.next/routes-manifest.json +208 -0
  112. package/web/standalone/apps/web/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  113. package/web/standalone/apps/web/.next/server/app/_global-error/page/build-manifest.json +17 -0
  114. package/web/standalone/apps/web/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  115. package/web/standalone/apps/web/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  116. package/web/standalone/apps/web/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  117. package/web/standalone/apps/web/.next/server/app/_global-error/page.js +10 -0
  118. package/web/standalone/apps/web/.next/server/app/_global-error/page.js.map +5 -0
  119. package/web/standalone/apps/web/.next/server/app/_global-error/page.js.nft.json +1 -0
  120. package/web/standalone/apps/web/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  121. package/web/standalone/apps/web/.next/server/app/_global-error.html +1 -0
  122. package/web/standalone/apps/web/.next/server/app/_global-error.meta +15 -0
  123. package/web/standalone/apps/web/.next/server/app/_global-error.rsc +15 -0
  124. package/web/standalone/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
  125. package/web/standalone/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +15 -0
  126. package/web/standalone/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +6 -0
  127. package/web/standalone/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  128. package/web/standalone/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  129. package/web/standalone/apps/web/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  130. package/web/standalone/apps/web/.next/server/app/_not-found/page/build-manifest.json +17 -0
  131. package/web/standalone/apps/web/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
  132. package/web/standalone/apps/web/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  133. package/web/standalone/apps/web/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  134. package/web/standalone/apps/web/.next/server/app/_not-found/page.js +13 -0
  135. package/web/standalone/apps/web/.next/server/app/_not-found/page.js.map +5 -0
  136. package/web/standalone/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -0
  137. package/web/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  138. package/web/standalone/apps/web/.next/server/app/_not-found.html +1 -0
  139. package/web/standalone/apps/web/.next/server/app/_not-found.meta +16 -0
  140. package/web/standalone/apps/web/.next/server/app/_not-found.rsc +17 -0
  141. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +17 -0
  142. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
  143. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +6 -0
  144. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  145. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  146. package/web/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  147. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page/app-paths-manifest.json +3 -0
  148. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page/build-manifest.json +17 -0
  149. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page/next-font-manifest.json +11 -0
  150. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page/react-loadable-manifest.json +1 -0
  151. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page/server-reference-manifest.json +4 -0
  152. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page.js +15 -0
  153. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page.js.map +5 -0
  154. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page.js.nft.json +1 -0
  155. package/web/standalone/apps/web/.next/server/app/agents/[id]/edit/page_client-reference-manifest.js +3 -0
  156. package/web/standalone/apps/web/.next/server/app/agents/[id]/page/app-paths-manifest.json +3 -0
  157. package/web/standalone/apps/web/.next/server/app/agents/[id]/page/build-manifest.json +17 -0
  158. package/web/standalone/apps/web/.next/server/app/agents/[id]/page/next-font-manifest.json +11 -0
  159. package/web/standalone/apps/web/.next/server/app/agents/[id]/page/react-loadable-manifest.json +1 -0
  160. package/web/standalone/apps/web/.next/server/app/agents/[id]/page/server-reference-manifest.json +4 -0
  161. package/web/standalone/apps/web/.next/server/app/agents/[id]/page.js +15 -0
  162. package/web/standalone/apps/web/.next/server/app/agents/[id]/page.js.map +5 -0
  163. package/web/standalone/apps/web/.next/server/app/agents/[id]/page.js.nft.json +1 -0
  164. package/web/standalone/apps/web/.next/server/app/agents/[id]/page_client-reference-manifest.js +3 -0
  165. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page/app-paths-manifest.json +3 -0
  166. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page/build-manifest.json +17 -0
  167. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page/next-font-manifest.json +11 -0
  168. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page/react-loadable-manifest.json +1 -0
  169. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page/server-reference-manifest.json +4 -0
  170. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page.js +15 -0
  171. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page.js.map +5 -0
  172. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page.js.nft.json +1 -0
  173. package/web/standalone/apps/web/.next/server/app/agents/[id]/terminal/page_client-reference-manifest.js +3 -0
  174. package/web/standalone/apps/web/.next/server/app/agents/new/page/app-paths-manifest.json +3 -0
  175. package/web/standalone/apps/web/.next/server/app/agents/new/page/build-manifest.json +17 -0
  176. package/web/standalone/apps/web/.next/server/app/agents/new/page/next-font-manifest.json +11 -0
  177. package/web/standalone/apps/web/.next/server/app/agents/new/page/react-loadable-manifest.json +1 -0
  178. package/web/standalone/apps/web/.next/server/app/agents/new/page/server-reference-manifest.json +4 -0
  179. package/web/standalone/apps/web/.next/server/app/agents/new/page.js +15 -0
  180. package/web/standalone/apps/web/.next/server/app/agents/new/page.js.map +5 -0
  181. package/web/standalone/apps/web/.next/server/app/agents/new/page.js.nft.json +1 -0
  182. package/web/standalone/apps/web/.next/server/app/agents/new/page_client-reference-manifest.js +3 -0
  183. package/web/standalone/apps/web/.next/server/app/agents/new.html +1 -0
  184. package/web/standalone/apps/web/.next/server/app/agents/new.meta +16 -0
  185. package/web/standalone/apps/web/.next/server/app/agents/new.rsc +25 -0
  186. package/web/standalone/apps/web/.next/server/app/agents/new.segments/_full.segment.rsc +25 -0
  187. package/web/standalone/apps/web/.next/server/app/agents/new.segments/_head.segment.rsc +6 -0
  188. package/web/standalone/apps/web/.next/server/app/agents/new.segments/_index.segment.rsc +6 -0
  189. package/web/standalone/apps/web/.next/server/app/agents/new.segments/_tree.segment.rsc +4 -0
  190. package/web/standalone/apps/web/.next/server/app/agents/new.segments/agents/new/__PAGE__.segment.rsc +9 -0
  191. package/web/standalone/apps/web/.next/server/app/agents/new.segments/agents/new.segment.rsc +5 -0
  192. package/web/standalone/apps/web/.next/server/app/agents/new.segments/agents.segment.rsc +6 -0
  193. package/web/standalone/apps/web/.next/server/app/agents/page/app-paths-manifest.json +3 -0
  194. package/web/standalone/apps/web/.next/server/app/agents/page/build-manifest.json +17 -0
  195. package/web/standalone/apps/web/.next/server/app/agents/page/next-font-manifest.json +11 -0
  196. package/web/standalone/apps/web/.next/server/app/agents/page/react-loadable-manifest.json +1 -0
  197. package/web/standalone/apps/web/.next/server/app/agents/page/server-reference-manifest.json +4 -0
  198. package/web/standalone/apps/web/.next/server/app/agents/page.js +15 -0
  199. package/web/standalone/apps/web/.next/server/app/agents/page.js.map +5 -0
  200. package/web/standalone/apps/web/.next/server/app/agents/page.js.nft.json +1 -0
  201. package/web/standalone/apps/web/.next/server/app/agents/page_client-reference-manifest.js +3 -0
  202. package/web/standalone/apps/web/.next/server/app/agents.html +1 -0
  203. package/web/standalone/apps/web/.next/server/app/agents.meta +15 -0
  204. package/web/standalone/apps/web/.next/server/app/agents.rsc +23 -0
  205. package/web/standalone/apps/web/.next/server/app/agents.segments/_full.segment.rsc +23 -0
  206. package/web/standalone/apps/web/.next/server/app/agents.segments/_head.segment.rsc +6 -0
  207. package/web/standalone/apps/web/.next/server/app/agents.segments/_index.segment.rsc +6 -0
  208. package/web/standalone/apps/web/.next/server/app/agents.segments/_tree.segment.rsc +4 -0
  209. package/web/standalone/apps/web/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +9 -0
  210. package/web/standalone/apps/web/.next/server/app/agents.segments/agents.segment.rsc +6 -0
  211. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page/app-paths-manifest.json +3 -0
  212. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page/build-manifest.json +17 -0
  213. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page/next-font-manifest.json +11 -0
  214. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page/react-loadable-manifest.json +1 -0
  215. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page/server-reference-manifest.json +4 -0
  216. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page.js +15 -0
  217. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page.js.map +5 -0
  218. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page.js.nft.json +1 -0
  219. package/web/standalone/apps/web/.next/server/app/capabilities/cron/[id]/page_client-reference-manifest.js +3 -0
  220. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page/app-paths-manifest.json +3 -0
  221. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page/build-manifest.json +17 -0
  222. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page/next-font-manifest.json +11 -0
  223. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page/react-loadable-manifest.json +1 -0
  224. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page/server-reference-manifest.json +4 -0
  225. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page.js +15 -0
  226. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page.js.map +5 -0
  227. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page.js.nft.json +1 -0
  228. package/web/standalone/apps/web/.next/server/app/capabilities/cron/page_client-reference-manifest.js +3 -0
  229. package/web/standalone/apps/web/.next/server/app/capabilities/cron.html +1 -0
  230. package/web/standalone/apps/web/.next/server/app/capabilities/cron.meta +16 -0
  231. package/web/standalone/apps/web/.next/server/app/capabilities/cron.rsc +25 -0
  232. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/_full.segment.rsc +25 -0
  233. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/_head.segment.rsc +6 -0
  234. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/_index.segment.rsc +6 -0
  235. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/_tree.segment.rsc +4 -0
  236. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/capabilities/cron/__PAGE__.segment.rsc +9 -0
  237. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/capabilities/cron.segment.rsc +5 -0
  238. package/web/standalone/apps/web/.next/server/app/capabilities/cron.segments/capabilities.segment.rsc +6 -0
  239. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page/app-paths-manifest.json +3 -0
  240. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page/build-manifest.json +17 -0
  241. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page/next-font-manifest.json +11 -0
  242. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page/react-loadable-manifest.json +1 -0
  243. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page/server-reference-manifest.json +4 -0
  244. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page.js +15 -0
  245. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page.js.map +5 -0
  246. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page.js.nft.json +1 -0
  247. package/web/standalone/apps/web/.next/server/app/capabilities/database/[id]/page_client-reference-manifest.js +3 -0
  248. package/web/standalone/apps/web/.next/server/app/capabilities/database/page/app-paths-manifest.json +3 -0
  249. package/web/standalone/apps/web/.next/server/app/capabilities/database/page/build-manifest.json +17 -0
  250. package/web/standalone/apps/web/.next/server/app/capabilities/database/page/next-font-manifest.json +11 -0
  251. package/web/standalone/apps/web/.next/server/app/capabilities/database/page/react-loadable-manifest.json +1 -0
  252. package/web/standalone/apps/web/.next/server/app/capabilities/database/page/server-reference-manifest.json +4 -0
  253. package/web/standalone/apps/web/.next/server/app/capabilities/database/page.js +15 -0
  254. package/web/standalone/apps/web/.next/server/app/capabilities/database/page.js.map +5 -0
  255. package/web/standalone/apps/web/.next/server/app/capabilities/database/page.js.nft.json +1 -0
  256. package/web/standalone/apps/web/.next/server/app/capabilities/database/page_client-reference-manifest.js +3 -0
  257. package/web/standalone/apps/web/.next/server/app/capabilities/database.html +1 -0
  258. package/web/standalone/apps/web/.next/server/app/capabilities/database.meta +16 -0
  259. package/web/standalone/apps/web/.next/server/app/capabilities/database.rsc +25 -0
  260. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/_full.segment.rsc +25 -0
  261. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/_head.segment.rsc +6 -0
  262. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/_index.segment.rsc +6 -0
  263. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/_tree.segment.rsc +4 -0
  264. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/capabilities/database/__PAGE__.segment.rsc +9 -0
  265. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/capabilities/database.segment.rsc +5 -0
  266. package/web/standalone/apps/web/.next/server/app/capabilities/database.segments/capabilities.segment.rsc +6 -0
  267. package/web/standalone/apps/web/.next/server/app/capabilities/email/page/app-paths-manifest.json +3 -0
  268. package/web/standalone/apps/web/.next/server/app/capabilities/email/page/build-manifest.json +17 -0
  269. package/web/standalone/apps/web/.next/server/app/capabilities/email/page/next-font-manifest.json +11 -0
  270. package/web/standalone/apps/web/.next/server/app/capabilities/email/page/react-loadable-manifest.json +1 -0
  271. package/web/standalone/apps/web/.next/server/app/capabilities/email/page/server-reference-manifest.json +4 -0
  272. package/web/standalone/apps/web/.next/server/app/capabilities/email/page.js +15 -0
  273. package/web/standalone/apps/web/.next/server/app/capabilities/email/page.js.map +5 -0
  274. package/web/standalone/apps/web/.next/server/app/capabilities/email/page.js.nft.json +1 -0
  275. package/web/standalone/apps/web/.next/server/app/capabilities/email/page_client-reference-manifest.js +3 -0
  276. package/web/standalone/apps/web/.next/server/app/capabilities/email.html +1 -0
  277. package/web/standalone/apps/web/.next/server/app/capabilities/email.meta +16 -0
  278. package/web/standalone/apps/web/.next/server/app/capabilities/email.rsc +25 -0
  279. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/_full.segment.rsc +25 -0
  280. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/_head.segment.rsc +6 -0
  281. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/_index.segment.rsc +6 -0
  282. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/_tree.segment.rsc +4 -0
  283. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/capabilities/email/__PAGE__.segment.rsc +9 -0
  284. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/capabilities/email.segment.rsc +5 -0
  285. package/web/standalone/apps/web/.next/server/app/capabilities/email.segments/capabilities.segment.rsc +6 -0
  286. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page/app-paths-manifest.json +3 -0
  287. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page/build-manifest.json +17 -0
  288. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page/next-font-manifest.json +11 -0
  289. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page/react-loadable-manifest.json +1 -0
  290. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page/server-reference-manifest.json +4 -0
  291. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page.js +15 -0
  292. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page.js.map +5 -0
  293. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page.js.nft.json +1 -0
  294. package/web/standalone/apps/web/.next/server/app/capabilities/http/[id]/page_client-reference-manifest.js +3 -0
  295. package/web/standalone/apps/web/.next/server/app/capabilities/http/page/app-paths-manifest.json +3 -0
  296. package/web/standalone/apps/web/.next/server/app/capabilities/http/page/build-manifest.json +17 -0
  297. package/web/standalone/apps/web/.next/server/app/capabilities/http/page/next-font-manifest.json +11 -0
  298. package/web/standalone/apps/web/.next/server/app/capabilities/http/page/react-loadable-manifest.json +1 -0
  299. package/web/standalone/apps/web/.next/server/app/capabilities/http/page/server-reference-manifest.json +4 -0
  300. package/web/standalone/apps/web/.next/server/app/capabilities/http/page.js +15 -0
  301. package/web/standalone/apps/web/.next/server/app/capabilities/http/page.js.map +5 -0
  302. package/web/standalone/apps/web/.next/server/app/capabilities/http/page.js.nft.json +1 -0
  303. package/web/standalone/apps/web/.next/server/app/capabilities/http/page_client-reference-manifest.js +3 -0
  304. package/web/standalone/apps/web/.next/server/app/capabilities/http.html +1 -0
  305. package/web/standalone/apps/web/.next/server/app/capabilities/http.meta +16 -0
  306. package/web/standalone/apps/web/.next/server/app/capabilities/http.rsc +25 -0
  307. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/_full.segment.rsc +25 -0
  308. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/_head.segment.rsc +6 -0
  309. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/_index.segment.rsc +6 -0
  310. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/_tree.segment.rsc +4 -0
  311. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/capabilities/http/__PAGE__.segment.rsc +9 -0
  312. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/capabilities/http.segment.rsc +5 -0
  313. package/web/standalone/apps/web/.next/server/app/capabilities/http.segments/capabilities.segment.rsc +6 -0
  314. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page/app-paths-manifest.json +3 -0
  315. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page/build-manifest.json +17 -0
  316. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page/next-font-manifest.json +11 -0
  317. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page/react-loadable-manifest.json +1 -0
  318. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page/server-reference-manifest.json +4 -0
  319. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page.js +15 -0
  320. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page.js.map +5 -0
  321. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page.js.nft.json +1 -0
  322. package/web/standalone/apps/web/.next/server/app/capabilities/s3/[id]/page_client-reference-manifest.js +3 -0
  323. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page/app-paths-manifest.json +3 -0
  324. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page/build-manifest.json +17 -0
  325. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page/next-font-manifest.json +11 -0
  326. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page/react-loadable-manifest.json +1 -0
  327. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page/server-reference-manifest.json +4 -0
  328. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page.js +15 -0
  329. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page.js.map +5 -0
  330. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page.js.nft.json +1 -0
  331. package/web/standalone/apps/web/.next/server/app/capabilities/s3/page_client-reference-manifest.js +3 -0
  332. package/web/standalone/apps/web/.next/server/app/capabilities/s3.html +1 -0
  333. package/web/standalone/apps/web/.next/server/app/capabilities/s3.meta +16 -0
  334. package/web/standalone/apps/web/.next/server/app/capabilities/s3.rsc +25 -0
  335. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/_full.segment.rsc +25 -0
  336. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/_head.segment.rsc +6 -0
  337. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/_index.segment.rsc +6 -0
  338. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/_tree.segment.rsc +4 -0
  339. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/capabilities/s3/__PAGE__.segment.rsc +9 -0
  340. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/capabilities/s3.segment.rsc +5 -0
  341. package/web/standalone/apps/web/.next/server/app/capabilities/s3.segments/capabilities.segment.rsc +6 -0
  342. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page/app-paths-manifest.json +3 -0
  343. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page/build-manifest.json +17 -0
  344. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page/next-font-manifest.json +11 -0
  345. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page/react-loadable-manifest.json +1 -0
  346. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page/server-reference-manifest.json +4 -0
  347. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page.js +15 -0
  348. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page.js.map +5 -0
  349. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page.js.nft.json +1 -0
  350. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/[id]/page_client-reference-manifest.js +3 -0
  351. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page/app-paths-manifest.json +3 -0
  352. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page/build-manifest.json +17 -0
  353. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page/next-font-manifest.json +11 -0
  354. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page/react-loadable-manifest.json +1 -0
  355. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page/server-reference-manifest.json +4 -0
  356. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page.js +15 -0
  357. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page.js.map +5 -0
  358. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page.js.nft.json +1 -0
  359. package/web/standalone/apps/web/.next/server/app/capabilities/telegram/page_client-reference-manifest.js +3 -0
  360. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.html +1 -0
  361. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.meta +16 -0
  362. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.rsc +25 -0
  363. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/_full.segment.rsc +25 -0
  364. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/_head.segment.rsc +6 -0
  365. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/_index.segment.rsc +6 -0
  366. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/_tree.segment.rsc +4 -0
  367. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/capabilities/telegram/__PAGE__.segment.rsc +9 -0
  368. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/capabilities/telegram.segment.rsc +5 -0
  369. package/web/standalone/apps/web/.next/server/app/capabilities/telegram.segments/capabilities.segment.rsc +6 -0
  370. package/web/standalone/apps/web/.next/server/app/dashboard/page/app-paths-manifest.json +3 -0
  371. package/web/standalone/apps/web/.next/server/app/dashboard/page/build-manifest.json +17 -0
  372. package/web/standalone/apps/web/.next/server/app/dashboard/page/next-font-manifest.json +11 -0
  373. package/web/standalone/apps/web/.next/server/app/dashboard/page/react-loadable-manifest.json +1 -0
  374. package/web/standalone/apps/web/.next/server/app/dashboard/page/server-reference-manifest.json +4 -0
  375. package/web/standalone/apps/web/.next/server/app/dashboard/page.js +15 -0
  376. package/web/standalone/apps/web/.next/server/app/dashboard/page.js.map +5 -0
  377. package/web/standalone/apps/web/.next/server/app/dashboard/page.js.nft.json +1 -0
  378. package/web/standalone/apps/web/.next/server/app/dashboard/page_client-reference-manifest.js +3 -0
  379. package/web/standalone/apps/web/.next/server/app/dashboard.html +1 -0
  380. package/web/standalone/apps/web/.next/server/app/dashboard.meta +15 -0
  381. package/web/standalone/apps/web/.next/server/app/dashboard.rsc +23 -0
  382. package/web/standalone/apps/web/.next/server/app/dashboard.segments/_full.segment.rsc +23 -0
  383. package/web/standalone/apps/web/.next/server/app/dashboard.segments/_head.segment.rsc +6 -0
  384. package/web/standalone/apps/web/.next/server/app/dashboard.segments/_index.segment.rsc +6 -0
  385. package/web/standalone/apps/web/.next/server/app/dashboard.segments/_tree.segment.rsc +4 -0
  386. package/web/standalone/apps/web/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +9 -0
  387. package/web/standalone/apps/web/.next/server/app/dashboard.segments/dashboard.segment.rsc +6 -0
  388. package/web/standalone/apps/web/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
  389. package/web/standalone/apps/web/.next/server/app/favicon.ico/route/build-manifest.json +9 -0
  390. package/web/standalone/apps/web/.next/server/app/favicon.ico/route.js +6 -0
  391. package/web/standalone/apps/web/.next/server/app/favicon.ico/route.js.map +5 -0
  392. package/web/standalone/apps/web/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  393. package/web/standalone/apps/web/.next/server/app/favicon.ico.body +0 -0
  394. package/web/standalone/apps/web/.next/server/app/favicon.ico.meta +1 -0
  395. package/web/standalone/apps/web/.next/server/app/index.html +1 -0
  396. package/web/standalone/apps/web/.next/server/app/index.meta +14 -0
  397. package/web/standalone/apps/web/.next/server/app/index.rsc +18 -0
  398. package/web/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  399. package/web/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +18 -0
  400. package/web/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +6 -0
  401. package/web/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +6 -0
  402. package/web/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +4 -0
  403. package/web/standalone/apps/web/.next/server/app/page/app-paths-manifest.json +3 -0
  404. package/web/standalone/apps/web/.next/server/app/page/build-manifest.json +17 -0
  405. package/web/standalone/apps/web/.next/server/app/page/next-font-manifest.json +11 -0
  406. package/web/standalone/apps/web/.next/server/app/page/react-loadable-manifest.json +1 -0
  407. package/web/standalone/apps/web/.next/server/app/page/server-reference-manifest.json +4 -0
  408. package/web/standalone/apps/web/.next/server/app/page.js +14 -0
  409. package/web/standalone/apps/web/.next/server/app/page.js.map +5 -0
  410. package/web/standalone/apps/web/.next/server/app/page.js.nft.json +1 -0
  411. package/web/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +3 -0
  412. package/web/standalone/apps/web/.next/server/app/processes/[id]/page/app-paths-manifest.json +3 -0
  413. package/web/standalone/apps/web/.next/server/app/processes/[id]/page/build-manifest.json +17 -0
  414. package/web/standalone/apps/web/.next/server/app/processes/[id]/page/next-font-manifest.json +11 -0
  415. package/web/standalone/apps/web/.next/server/app/processes/[id]/page/react-loadable-manifest.json +1 -0
  416. package/web/standalone/apps/web/.next/server/app/processes/[id]/page/server-reference-manifest.json +4 -0
  417. package/web/standalone/apps/web/.next/server/app/processes/[id]/page.js +15 -0
  418. package/web/standalone/apps/web/.next/server/app/processes/[id]/page.js.map +5 -0
  419. package/web/standalone/apps/web/.next/server/app/processes/[id]/page.js.nft.json +1 -0
  420. package/web/standalone/apps/web/.next/server/app/processes/[id]/page_client-reference-manifest.js +3 -0
  421. package/web/standalone/apps/web/.next/server/app/processes/page/app-paths-manifest.json +3 -0
  422. package/web/standalone/apps/web/.next/server/app/processes/page/build-manifest.json +17 -0
  423. package/web/standalone/apps/web/.next/server/app/processes/page/next-font-manifest.json +11 -0
  424. package/web/standalone/apps/web/.next/server/app/processes/page/react-loadable-manifest.json +1 -0
  425. package/web/standalone/apps/web/.next/server/app/processes/page/server-reference-manifest.json +4 -0
  426. package/web/standalone/apps/web/.next/server/app/processes/page.js +15 -0
  427. package/web/standalone/apps/web/.next/server/app/processes/page.js.map +5 -0
  428. package/web/standalone/apps/web/.next/server/app/processes/page.js.nft.json +1 -0
  429. package/web/standalone/apps/web/.next/server/app/processes/page_client-reference-manifest.js +3 -0
  430. package/web/standalone/apps/web/.next/server/app/processes.html +1 -0
  431. package/web/standalone/apps/web/.next/server/app/processes.meta +15 -0
  432. package/web/standalone/apps/web/.next/server/app/processes.rsc +23 -0
  433. package/web/standalone/apps/web/.next/server/app/processes.segments/_full.segment.rsc +23 -0
  434. package/web/standalone/apps/web/.next/server/app/processes.segments/_head.segment.rsc +6 -0
  435. package/web/standalone/apps/web/.next/server/app/processes.segments/_index.segment.rsc +6 -0
  436. package/web/standalone/apps/web/.next/server/app/processes.segments/_tree.segment.rsc +4 -0
  437. package/web/standalone/apps/web/.next/server/app/processes.segments/processes/__PAGE__.segment.rsc +9 -0
  438. package/web/standalone/apps/web/.next/server/app/processes.segments/processes.segment.rsc +6 -0
  439. package/web/standalone/apps/web/.next/server/app/settings/page/app-paths-manifest.json +3 -0
  440. package/web/standalone/apps/web/.next/server/app/settings/page/build-manifest.json +17 -0
  441. package/web/standalone/apps/web/.next/server/app/settings/page/next-font-manifest.json +11 -0
  442. package/web/standalone/apps/web/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
  443. package/web/standalone/apps/web/.next/server/app/settings/page/server-reference-manifest.json +4 -0
  444. package/web/standalone/apps/web/.next/server/app/settings/page.js +15 -0
  445. package/web/standalone/apps/web/.next/server/app/settings/page.js.map +5 -0
  446. package/web/standalone/apps/web/.next/server/app/settings/page.js.nft.json +1 -0
  447. package/web/standalone/apps/web/.next/server/app/settings/page_client-reference-manifest.js +3 -0
  448. package/web/standalone/apps/web/.next/server/app/settings.html +1 -0
  449. package/web/standalone/apps/web/.next/server/app/settings.meta +15 -0
  450. package/web/standalone/apps/web/.next/server/app/settings.rsc +23 -0
  451. package/web/standalone/apps/web/.next/server/app/settings.segments/_full.segment.rsc +23 -0
  452. package/web/standalone/apps/web/.next/server/app/settings.segments/_head.segment.rsc +6 -0
  453. package/web/standalone/apps/web/.next/server/app/settings.segments/_index.segment.rsc +6 -0
  454. package/web/standalone/apps/web/.next/server/app/settings.segments/_tree.segment.rsc +4 -0
  455. package/web/standalone/apps/web/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +9 -0
  456. package/web/standalone/apps/web/.next/server/app/settings.segments/settings.segment.rsc +6 -0
  457. package/web/standalone/apps/web/.next/server/app-paths-manifest.json +26 -0
  458. package/web/standalone/apps/web/.next/server/chunks/[externals]_next_dist_0arv.vj._.js +3 -0
  459. package/web/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0~3j_ga._.js +13 -0
  460. package/web/standalone/apps/web/.next/server/chunks/[turbopack]_runtime.js +903 -0
  461. package/web/standalone/apps/web/.next/server/chunks/apps_web__next-internal_server_app_favicon_ico_route_actions_0h5n1et.js +3 -0
  462. package/web/standalone/apps/web/.next/server/chunks/ssr/02dz_web__next-internal_server_app_capabilities_database_[id]_page_actions_0.-c3vs.js +3 -0
  463. package/web/standalone/apps/web/.next/server/chunks/ssr/02dz_web__next-internal_server_app_capabilities_telegram_[id]_page_actions_00x92aq.js +3 -0
  464. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_0f4v1z5._.js +6 -0
  465. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_05v-uws._.js +3 -0
  466. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_0kt-.cm._.js +6 -0
  467. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_client_components_04~l9~b._.js +3 -0
  468. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_client_components_builtin_forbidden_0a6wr8l.js +3 -0
  469. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_client_components_builtin_global-error_109gj6..js +3 -0
  470. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_client_components_builtin_unauthorized_08_5kf-.js +3 -0
  471. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0-uhk21.js +4 -0
  472. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0.3kkc_.js +4 -0
  473. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_016gfnx.js +4 -0
  474. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_01mctzl.js +4 -0
  475. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_02e3oga.js +4 -0
  476. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_02y4i-c.js +4 -0
  477. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_05ygn2~.js +4 -0
  478. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0_~wwe5.js +4 -0
  479. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0b4dx3w.js +4 -0
  480. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0du38rd.js +4 -0
  481. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0e8g9q0.js +4 -0
  482. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0f2-c.e.js +4 -0
  483. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0gdgxa7.js +4 -0
  484. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0i5zrqw.js +4 -0
  485. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0ljd49j.js +4 -0
  486. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0mi9cdx.js +4 -0
  487. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0oq8du3.js +4 -0
  488. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0pl_g7l.js +4 -0
  489. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0wg3p4e.js +4 -0
  490. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0yc3j~6.js +4 -0
  491. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0yi0vqi.js +4 -0
  492. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_0z1d.gu.js +4 -0
  493. package/web/standalone/apps/web/.next/server/chunks/ssr/0fuv_next_dist_esm_build_templates_app-page_13slyfs.js +4 -0
  494. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__01j9ea3._.js +3 -0
  495. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__01l01-8._.js +3 -0
  496. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__02p4wbs._.js +3 -0
  497. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__04v6.qm._.js +3 -0
  498. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__06czjj7._.js +33 -0
  499. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__072vzf1._.js +3 -0
  500. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__08_g-x7._.js +3 -0
  501. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0_b.9lv._.js +3 -0
  502. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0_jvn9i._.js +3 -0
  503. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0bgnjx2._.js +3 -0
  504. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0cy-jpt._.js +3 -0
  505. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0djkqf8._.js +19 -0
  506. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0djyuc4._.js +3 -0
  507. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0hln-za._.js +3 -0
  508. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0ktr_dg._.js +3 -0
  509. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0m19rl3._.js +3 -0
  510. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0m9l~vh._.js +3 -0
  511. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0ogkk8r._.js +33 -0
  512. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0q.cram._.js +3 -0
  513. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0rnwev6._.js +3 -0
  514. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0s9xit3._.js +3 -0
  515. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0s~z9ow._.js +3 -0
  516. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0ulv~qj._.js +3 -0
  517. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0xnq8g-._.js +3 -0
  518. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0zuw_7g._.js +3 -0
  519. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0~9h4iq._.js +3 -0
  520. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0~mjqf7._.js +3 -0
  521. package/web/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__12e7-gz._.js +3 -0
  522. package/web/standalone/apps/web/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  523. package/web/standalone/apps/web/.next/server/chunks/ssr/_0.bdnad._.js +3 -0
  524. package/web/standalone/apps/web/.next/server/chunks/ssr/_00a5evk._.js +3 -0
  525. package/web/standalone/apps/web/.next/server/chunks/ssr/_04--tsw._.js +3 -0
  526. package/web/standalone/apps/web/.next/server/chunks/ssr/_05lesu9._.js +3 -0
  527. package/web/standalone/apps/web/.next/server/chunks/ssr/_05sycvg._.js +3 -0
  528. package/web/standalone/apps/web/.next/server/chunks/ssr/_07a_7z8._.js +3 -0
  529. package/web/standalone/apps/web/.next/server/chunks/ssr/_0fxpl8-._.js +3 -0
  530. package/web/standalone/apps/web/.next/server/chunks/ssr/_0i3-r5p._.js +8 -0
  531. package/web/standalone/apps/web/.next/server/chunks/ssr/_0j04ujl._.js +3 -0
  532. package/web/standalone/apps/web/.next/server/chunks/ssr/_0neh~vy._.js +3 -0
  533. package/web/standalone/apps/web/.next/server/chunks/ssr/_0pixn7s._.js +3 -0
  534. package/web/standalone/apps/web/.next/server/chunks/ssr/_0u3ezmt._.js +3 -0
  535. package/web/standalone/apps/web/.next/server/chunks/ssr/_0xkzxjy._.js +3 -0
  536. package/web/standalone/apps/web/.next/server/chunks/ssr/_0xpz1yw._.js +3 -0
  537. package/web/standalone/apps/web/.next/server/chunks/ssr/_0yrq69.._.js +3 -0
  538. package/web/standalone/apps/web/.next/server/chunks/ssr/_0z_z7lg._.js +33 -0
  539. package/web/standalone/apps/web/.next/server/chunks/ssr/_12.8jw7._.js +3 -0
  540. package/web/standalone/apps/web/.next/server/chunks/ssr/_12ou3y3._.js +3 -0
  541. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app__global-error_page_actions_0.u5cfa.js +3 -0
  542. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app__not-found_page_actions_0appun9.js +3 -0
  543. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_agents_[id]_edit_page_actions_0_lcg_e.js +3 -0
  544. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_agents_[id]_page_actions_0sxkzxu.js +3 -0
  545. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_agents_[id]_terminal_page_actions_0x5.gii.js +3 -0
  546. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_agents_new_page_actions_077_d8h.js +3 -0
  547. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_agents_page_actions_0fcm22n.js +3 -0
  548. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_cron_[id]_page_actions_03ri~.h.js +3 -0
  549. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_cron_page_actions_0i6638x.js +3 -0
  550. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_database_page_actions_084olu1.js +3 -0
  551. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_email_page_actions_0y_8jvo.js +3 -0
  552. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_http_[id]_page_actions_0w_nads.js +3 -0
  553. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_http_page_actions_08q~6ps.js +3 -0
  554. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_s3_[id]_page_actions_0b1va89.js +3 -0
  555. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_s3_page_actions_01-rjn5.js +3 -0
  556. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_capabilities_telegram_page_actions_0~n0cvz.js +3 -0
  557. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_dashboard_page_actions_0d7kn4j.js +3 -0
  558. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_page_actions_0rm5_5w.js +3 -0
  559. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_processes_[id]_page_actions_00kaa~m.js +3 -0
  560. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_processes_page_actions_01mh_2n.js +3 -0
  561. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_settings_page_actions_0f6epye.js +3 -0
  562. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0.swnkn._.js +3 -0
  563. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_06~qvaf._.js +3 -0
  564. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_07amn01._.js +3 -0
  565. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_07juq0h._.js +3 -0
  566. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0_glyv-._.js +3 -0
  567. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0f3e-_6._.js +3 -0
  568. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0ipwebe._.js +3 -0
  569. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0t.jg~x._.js +3 -0
  570. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_0ug8ln8._.js +3 -0
  571. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_capabilities_database_page_tsx_0331n3m._.js +3 -0
  572. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_capabilities_email_page_tsx_0sdgf9o._.js +3 -0
  573. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_processes_[id]_page_tsx_03n8i7e._.js +3 -0
  574. package/web/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_settings_page_tsx_0i6itlb._.js +3 -0
  575. package/web/standalone/apps/web/.next/server/chunks/ssr/node_modules_@xterm_addon-fit_lib_addon-fit_mjs_0qsj~me._.js +3 -0
  576. package/web/standalone/apps/web/.next/server/chunks/ssr/node_modules_@xterm_xterm_lib_xterm_mjs_0ruzhkb._.js +20 -0
  577. package/web/standalone/apps/web/.next/server/functions-config-manifest.json +4 -0
  578. package/web/standalone/apps/web/.next/server/middleware-build-manifest.js +21 -0
  579. package/web/standalone/apps/web/.next/server/middleware-manifest.json +6 -0
  580. package/web/standalone/apps/web/.next/server/next-font-manifest.js +1 -0
  581. package/web/standalone/apps/web/.next/server/next-font-manifest.json +95 -0
  582. package/web/standalone/apps/web/.next/server/pages/404.html +1 -0
  583. package/web/standalone/apps/web/.next/server/pages/500.html +1 -0
  584. package/web/standalone/apps/web/.next/server/pages-manifest.json +4 -0
  585. package/web/standalone/apps/web/.next/server/prefetch-hints.json +1 -0
  586. package/web/standalone/apps/web/.next/server/server-reference-manifest.js +1 -0
  587. package/web/standalone/apps/web/.next/server/server-reference-manifest.json +5 -0
  588. package/web/standalone/apps/web/node_modules/@next/env/dist/index.js +1 -0
  589. package/web/standalone/apps/web/node_modules/@next/env/package.json +36 -0
  590. package/web/standalone/apps/web/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
  591. package/web/standalone/apps/web/node_modules/next/dist/build/define-env.js +255 -0
  592. package/web/standalone/apps/web/node_modules/next/dist/build/duration-to-string.js +99 -0
  593. package/web/standalone/apps/web/node_modules/next/dist/build/get-supported-browsers.js +38 -0
  594. package/web/standalone/apps/web/node_modules/next/dist/build/next-config-ts/require-hook.js +85 -0
  595. package/web/standalone/apps/web/node_modules/next/dist/build/next-config-ts/transpile-config.js +251 -0
  596. package/web/standalone/apps/web/node_modules/next/dist/build/output/format.js +84 -0
  597. package/web/standalone/apps/web/node_modules/next/dist/build/output/log.js +135 -0
  598. package/web/standalone/apps/web/node_modules/next/dist/build/segment-config/app/app-segment-config.js +162 -0
  599. package/web/standalone/apps/web/node_modules/next/dist/build/segment-config/app/app-segments.js +137 -0
  600. package/web/standalone/apps/web/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +52 -0
  601. package/web/standalone/apps/web/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +137 -0
  602. package/web/standalone/apps/web/node_modules/next/dist/build/static-paths/app.js +735 -0
  603. package/web/standalone/apps/web/node_modules/next/dist/build/static-paths/pages.js +169 -0
  604. package/web/standalone/apps/web/node_modules/next/dist/build/static-paths/utils.js +119 -0
  605. package/web/standalone/apps/web/node_modules/next/dist/build/swc/helpers.js +15 -0
  606. package/web/standalone/apps/web/node_modules/next/dist/build/swc/index.js +1348 -0
  607. package/web/standalone/apps/web/node_modules/next/dist/build/swc/install-bindings.js +30 -0
  608. package/web/standalone/apps/web/node_modules/next/dist/build/swc/jest-transformer.js +76 -0
  609. package/web/standalone/apps/web/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
  610. package/web/standalone/apps/web/node_modules/next/dist/build/swc/options.js +403 -0
  611. package/web/standalone/apps/web/node_modules/next/dist/build/swc/types.js +6 -0
  612. package/web/standalone/apps/web/node_modules/next/dist/build/utils.js +1215 -0
  613. package/web/standalone/apps/web/node_modules/next/dist/cli/next-test.js +170 -0
  614. package/web/standalone/apps/web/node_modules/next/dist/client/add-base-path.js +24 -0
  615. package/web/standalone/apps/web/node_modules/next/dist/client/app-call-server.js +34 -0
  616. package/web/standalone/apps/web/node_modules/next/dist/client/app-find-source-map-url.js +39 -0
  617. package/web/standalone/apps/web/node_modules/next/dist/client/assign-location.js +29 -0
  618. package/web/standalone/apps/web/node_modules/next/dist/client/components/app-router-announcer.js +78 -0
  619. package/web/standalone/apps/web/node_modules/next/dist/client/components/app-router-headers.js +138 -0
  620. package/web/standalone/apps/web/node_modules/next/dist/client/components/app-router-instance.js +397 -0
  621. package/web/standalone/apps/web/node_modules/next/dist/client/components/app-router-utils.js +62 -0
  622. package/web/standalone/apps/web/node_modules/next/dist/client/components/app-router.js +514 -0
  623. package/web/standalone/apps/web/node_modules/next/dist/client/components/builtin/default.js +35 -0
  624. package/web/standalone/apps/web/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
  625. package/web/standalone/apps/web/node_modules/next/dist/client/components/builtin/global-error.js +100 -0
  626. package/web/standalone/apps/web/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +52 -0
  627. package/web/standalone/apps/web/node_modules/next/dist/client/components/error-boundary.js +144 -0
  628. package/web/standalone/apps/web/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
  629. package/web/standalone/apps/web/node_modules/next/dist/client/components/errors/root-error-boundary.js +41 -0
  630. package/web/standalone/apps/web/node_modules/next/dist/client/components/forbidden.js +48 -0
  631. package/web/standalone/apps/web/node_modules/next/dist/client/components/handle-isr-error.js +30 -0
  632. package/web/standalone/apps/web/node_modules/next/dist/client/components/hooks-server-context.js +42 -0
  633. package/web/standalone/apps/web/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
  634. package/web/standalone/apps/web/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
  635. package/web/standalone/apps/web/node_modules/next/dist/client/components/is-next-router-error.js +23 -0
  636. package/web/standalone/apps/web/node_modules/next/dist/client/components/links.js +299 -0
  637. package/web/standalone/apps/web/node_modules/next/dist/client/components/match-segments.js +32 -0
  638. package/web/standalone/apps/web/node_modules/next/dist/client/components/nav-failure-handler.js +61 -0
  639. package/web/standalone/apps/web/node_modules/next/dist/client/components/navigation-devtools.js +126 -0
  640. package/web/standalone/apps/web/node_modules/next/dist/client/components/navigation-untracked.js +67 -0
  641. package/web/standalone/apps/web/node_modules/next/dist/client/components/navigation.js +225 -0
  642. package/web/standalone/apps/web/node_modules/next/dist/client/components/navigation.react-server.js +75 -0
  643. package/web/standalone/apps/web/node_modules/next/dist/client/components/not-found.js +42 -0
  644. package/web/standalone/apps/web/node_modules/next/dist/client/components/readonly-url-search-params.js +41 -0
  645. package/web/standalone/apps/web/node_modules/next/dist/client/components/redirect-boundary.js +107 -0
  646. package/web/standalone/apps/web/node_modules/next/dist/client/components/redirect-error.js +43 -0
  647. package/web/standalone/apps/web/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
  648. package/web/standalone/apps/web/node_modules/next/dist/client/components/redirect.js +91 -0
  649. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +201 -0
  650. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
  651. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +153 -0
  652. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +32 -0
  653. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +457 -0
  654. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +59 -0
  655. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +1341 -0
  656. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
  657. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +63 -0
  658. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
  659. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +23 -0
  660. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +56 -0
  661. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +83 -0
  662. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +62 -0
  663. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +320 -0
  664. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +58 -0
  665. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +70 -0
  666. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/router-reducer.js +66 -0
  667. package/web/standalone/apps/web/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +60 -0
  668. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
  669. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/cache-key.js +28 -0
  670. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/cache-map.js +305 -0
  671. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/cache.js +1933 -0
  672. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/lru.js +152 -0
  673. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
  674. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/navigation.js +597 -0
  675. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
  676. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/prefetch.js +31 -0
  677. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/scheduler.js +1249 -0
  678. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/types.js +69 -0
  679. package/web/standalone/apps/web/node_modules/next/dist/client/components/segment-cache/vary-path.js +278 -0
  680. package/web/standalone/apps/web/node_modules/next/dist/client/components/static-generation-bailout.js +42 -0
  681. package/web/standalone/apps/web/node_modules/next/dist/client/components/unauthorized.js +49 -0
  682. package/web/standalone/apps/web/node_modules/next/dist/client/components/unrecognized-action-error.js +39 -0
  683. package/web/standalone/apps/web/node_modules/next/dist/client/components/unresolved-thenable.js +23 -0
  684. package/web/standalone/apps/web/node_modules/next/dist/client/components/unstable-rethrow.browser.js +28 -0
  685. package/web/standalone/apps/web/node_modules/next/dist/client/components/unstable-rethrow.js +25 -0
  686. package/web/standalone/apps/web/node_modules/next/dist/client/components/unstable-rethrow.server.js +32 -0
  687. package/web/standalone/apps/web/node_modules/next/dist/client/components/use-action-queue.js +148 -0
  688. package/web/standalone/apps/web/node_modules/next/dist/client/dev/debug-channel.js +72 -0
  689. package/web/standalone/apps/web/node_modules/next/dist/client/flight-data-helpers.js +232 -0
  690. package/web/standalone/apps/web/node_modules/next/dist/client/has-base-path.js +23 -0
  691. package/web/standalone/apps/web/node_modules/next/dist/client/lib/console.js +177 -0
  692. package/web/standalone/apps/web/node_modules/next/dist/client/lib/javascript-url.js +32 -0
  693. package/web/standalone/apps/web/node_modules/next/dist/client/navigation-build-id.js +53 -0
  694. package/web/standalone/apps/web/node_modules/next/dist/client/normalize-trailing-slash.js +36 -0
  695. package/web/standalone/apps/web/node_modules/next/dist/client/remove-base-path.js +32 -0
  696. package/web/standalone/apps/web/node_modules/next/dist/client/route-params.js +230 -0
  697. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
  698. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
  699. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
  700. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
  701. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
  702. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
  703. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
  704. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
  705. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
  706. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
  707. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
  708. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
  709. package/web/standalone/apps/web/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
  710. package/web/standalone/apps/web/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
  711. package/web/standalone/apps/web/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
  712. package/web/standalone/apps/web/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
  713. package/web/standalone/apps/web/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
  714. package/web/standalone/apps/web/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
  715. package/web/standalone/apps/web/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
  716. package/web/standalone/apps/web/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
  717. package/web/standalone/apps/web/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
  718. package/web/standalone/apps/web/node_modules/next/dist/compiled/async-retry/index.js +1 -0
  719. package/web/standalone/apps/web/node_modules/next/dist/compiled/async-retry/package.json +1 -0
  720. package/web/standalone/apps/web/node_modules/next/dist/compiled/async-sema/index.js +1 -0
  721. package/web/standalone/apps/web/node_modules/next/dist/compiled/async-sema/package.json +1 -0
  722. package/web/standalone/apps/web/node_modules/next/dist/compiled/busboy/index.js +1 -0
  723. package/web/standalone/apps/web/node_modules/next/dist/compiled/busboy/package.json +1 -0
  724. package/web/standalone/apps/web/node_modules/next/dist/compiled/bytes/index.js +8 -0
  725. package/web/standalone/apps/web/node_modules/next/dist/compiled/bytes/package.json +1 -0
  726. package/web/standalone/apps/web/node_modules/next/dist/compiled/ci-info/index.js +1 -0
  727. package/web/standalone/apps/web/node_modules/next/dist/compiled/ci-info/package.json +1 -0
  728. package/web/standalone/apps/web/node_modules/next/dist/compiled/commander/index.js +1 -0
  729. package/web/standalone/apps/web/node_modules/next/dist/compiled/commander/package.json +1 -0
  730. package/web/standalone/apps/web/node_modules/next/dist/compiled/comment-json/index.js +7 -0
  731. package/web/standalone/apps/web/node_modules/next/dist/compiled/comment-json/package.json +1 -0
  732. package/web/standalone/apps/web/node_modules/next/dist/compiled/compression/index.js +58 -0
  733. package/web/standalone/apps/web/node_modules/next/dist/compiled/compression/package.json +1 -0
  734. package/web/standalone/apps/web/node_modules/next/dist/compiled/conf/index.js +15 -0
  735. package/web/standalone/apps/web/node_modules/next/dist/compiled/conf/package.json +1 -0
  736. package/web/standalone/apps/web/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
  737. package/web/standalone/apps/web/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
  738. package/web/standalone/apps/web/node_modules/next/dist/compiled/cookie/index.js +7 -0
  739. package/web/standalone/apps/web/node_modules/next/dist/compiled/cookie/package.json +1 -0
  740. package/web/standalone/apps/web/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
  741. package/web/standalone/apps/web/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
  742. package/web/standalone/apps/web/node_modules/next/dist/compiled/debug/index.js +1 -0
  743. package/web/standalone/apps/web/node_modules/next/dist/compiled/debug/package.json +1 -0
  744. package/web/standalone/apps/web/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
  745. package/web/standalone/apps/web/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
  746. package/web/standalone/apps/web/node_modules/next/dist/compiled/find-up/index.js +1 -0
  747. package/web/standalone/apps/web/node_modules/next/dist/compiled/find-up/package.json +1 -0
  748. package/web/standalone/apps/web/node_modules/next/dist/compiled/fresh/index.js +8 -0
  749. package/web/standalone/apps/web/node_modules/next/dist/compiled/fresh/package.json +1 -0
  750. package/web/standalone/apps/web/node_modules/next/dist/compiled/http-proxy/index.js +34 -0
  751. package/web/standalone/apps/web/node_modules/next/dist/compiled/http-proxy/package.json +1 -0
  752. package/web/standalone/apps/web/node_modules/next/dist/compiled/image-detector/detector.js +1 -0
  753. package/web/standalone/apps/web/node_modules/next/dist/compiled/image-size/index.js +1 -0
  754. package/web/standalone/apps/web/node_modules/next/dist/compiled/image-size/package.json +1 -0
  755. package/web/standalone/apps/web/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
  756. package/web/standalone/apps/web/node_modules/next/dist/compiled/ipaddr.js/package.json +1 -0
  757. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-animated/index.js +1 -0
  758. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-animated/package.json +1 -0
  759. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-docker/index.js +1 -0
  760. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-docker/package.json +1 -0
  761. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
  762. package/web/standalone/apps/web/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
  763. package/web/standalone/apps/web/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
  764. package/web/standalone/apps/web/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
  765. package/web/standalone/apps/web/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
  766. package/web/standalone/apps/web/node_modules/next/dist/compiled/nanoid/package.json +1 -0
  767. package/web/standalone/apps/web/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +54 -0
  768. package/web/standalone/apps/web/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +54 -0
  769. package/web/standalone/apps/web/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +6 -0
  770. package/web/standalone/apps/web/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
  771. package/web/standalone/apps/web/node_modules/next/dist/compiled/p-limit/index.js +1 -0
  772. package/web/standalone/apps/web/node_modules/next/dist/compiled/p-limit/package.json +1 -0
  773. package/web/standalone/apps/web/node_modules/next/dist/compiled/p-queue/index.js +1 -0
  774. package/web/standalone/apps/web/node_modules/next/dist/compiled/p-queue/package.json +1 -0
  775. package/web/standalone/apps/web/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
  776. package/web/standalone/apps/web/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
  777. package/web/standalone/apps/web/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -0
  778. package/web/standalone/apps/web/node_modules/next/dist/compiled/path-to-regexp/package.json +1 -0
  779. package/web/standalone/apps/web/node_modules/next/dist/compiled/picomatch/index.js +1 -0
  780. package/web/standalone/apps/web/node_modules/next/dist/compiled/picomatch/package.json +1 -0
  781. package/web/standalone/apps/web/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
  782. package/web/standalone/apps/web/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
  783. package/web/standalone/apps/web/node_modules/next/dist/compiled/react-is/index.js +7 -0
  784. package/web/standalone/apps/web/node_modules/next/dist/compiled/react-is/package.json +26 -0
  785. package/web/standalone/apps/web/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
  786. package/web/standalone/apps/web/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
  787. package/web/standalone/apps/web/node_modules/next/dist/compiled/semver/index.js +1 -0
  788. package/web/standalone/apps/web/node_modules/next/dist/compiled/semver/package.json +1 -0
  789. package/web/standalone/apps/web/node_modules/next/dist/compiled/send/index.js +70 -0
  790. package/web/standalone/apps/web/node_modules/next/dist/compiled/send/package.json +1 -0
  791. package/web/standalone/apps/web/node_modules/next/dist/compiled/source-map/package.json +1 -0
  792. package/web/standalone/apps/web/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
  793. package/web/standalone/apps/web/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
  794. package/web/standalone/apps/web/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
  795. package/web/standalone/apps/web/node_modules/next/dist/compiled/string-hash/index.js +1 -0
  796. package/web/standalone/apps/web/node_modules/next/dist/compiled/string-hash/package.json +1 -0
  797. package/web/standalone/apps/web/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
  798. package/web/standalone/apps/web/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
  799. package/web/standalone/apps/web/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
  800. package/web/standalone/apps/web/node_modules/next/dist/compiled/superstruct/package.json +1 -0
  801. package/web/standalone/apps/web/node_modules/next/dist/compiled/tar/index.min.js +1 -0
  802. package/web/standalone/apps/web/node_modules/next/dist/compiled/tar/package.json +1 -0
  803. package/web/standalone/apps/web/node_modules/next/dist/compiled/text-table/index.js +1 -0
  804. package/web/standalone/apps/web/node_modules/next/dist/compiled/text-table/package.json +1 -0
  805. package/web/standalone/apps/web/node_modules/next/dist/compiled/watchpack/package.json +1 -0
  806. package/web/standalone/apps/web/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
  807. package/web/standalone/apps/web/node_modules/next/dist/compiled/ws/index.js +1 -0
  808. package/web/standalone/apps/web/node_modules/next/dist/compiled/ws/package.json +1 -0
  809. package/web/standalone/apps/web/node_modules/next/dist/compiled/zod/index.cjs +1 -0
  810. package/web/standalone/apps/web/node_modules/next/dist/compiled/zod/package.json +1 -0
  811. package/web/standalone/apps/web/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -0
  812. package/web/standalone/apps/web/node_modules/next/dist/compiled/zod-validation-error/package.json +1 -0
  813. package/web/standalone/apps/web/node_modules/next/dist/experimental/testmode/context.js +57 -0
  814. package/web/standalone/apps/web/node_modules/next/dist/experimental/testmode/fetch.js +142 -0
  815. package/web/standalone/apps/web/node_modules/next/dist/experimental/testmode/httpget.js +26 -0
  816. package/web/standalone/apps/web/node_modules/next/dist/experimental/testmode/server-edge.js +32 -0
  817. package/web/standalone/apps/web/node_modules/next/dist/experimental/testmode/server.js +62 -0
  818. package/web/standalone/apps/web/node_modules/next/dist/export/helpers/create-incremental-cache.js +61 -0
  819. package/web/standalone/apps/web/node_modules/next/dist/lib/batcher.js +65 -0
  820. package/web/standalone/apps/web/node_modules/next/dist/lib/build-custom-route.js +46 -0
  821. package/web/standalone/apps/web/node_modules/next/dist/lib/bundler.js +97 -0
  822. package/web/standalone/apps/web/node_modules/next/dist/lib/client-and-server-references.js +54 -0
  823. package/web/standalone/apps/web/node_modules/next/dist/lib/coalesced-function.js +39 -0
  824. package/web/standalone/apps/web/node_modules/next/dist/lib/compile-error.js +14 -0
  825. package/web/standalone/apps/web/node_modules/next/dist/lib/constants.js +420 -0
  826. package/web/standalone/apps/web/node_modules/next/dist/lib/create-client-router-filter.js +67 -0
  827. package/web/standalone/apps/web/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
  828. package/web/standalone/apps/web/node_modules/next/dist/lib/detached-promise.js +32 -0
  829. package/web/standalone/apps/web/node_modules/next/dist/lib/detect-typo.js +51 -0
  830. package/web/standalone/apps/web/node_modules/next/dist/lib/download-swc.js +183 -0
  831. package/web/standalone/apps/web/node_modules/next/dist/lib/error-telemetry-utils.js +42 -0
  832. package/web/standalone/apps/web/node_modules/next/dist/lib/fallback.js +100 -0
  833. package/web/standalone/apps/web/node_modules/next/dist/lib/fatal-error.js +14 -0
  834. package/web/standalone/apps/web/node_modules/next/dist/lib/file-exists.js +53 -0
  835. package/web/standalone/apps/web/node_modules/next/dist/lib/find-config.js +102 -0
  836. package/web/standalone/apps/web/node_modules/next/dist/lib/find-pages-dir.js +65 -0
  837. package/web/standalone/apps/web/node_modules/next/dist/lib/find-root.js +126 -0
  838. package/web/standalone/apps/web/node_modules/next/dist/lib/format-cli-help-output.js +84 -0
  839. package/web/standalone/apps/web/node_modules/next/dist/lib/format-dynamic-import-path.js +24 -0
  840. package/web/standalone/apps/web/node_modules/next/dist/lib/format-server-error.js +75 -0
  841. package/web/standalone/apps/web/node_modules/next/dist/lib/framework/boundary-components.js +62 -0
  842. package/web/standalone/apps/web/node_modules/next/dist/lib/framework/boundary-constants.js +36 -0
  843. package/web/standalone/apps/web/node_modules/next/dist/lib/fs/rename.js +87 -0
  844. package/web/standalone/apps/web/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
  845. package/web/standalone/apps/web/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +52 -0
  846. package/web/standalone/apps/web/node_modules/next/dist/lib/get-files-in-dir.js +33 -0
  847. package/web/standalone/apps/web/node_modules/next/dist/lib/get-network-host.js +44 -0
  848. package/web/standalone/apps/web/node_modules/next/dist/lib/get-package-version.js +118 -0
  849. package/web/standalone/apps/web/node_modules/next/dist/lib/get-project-dir.js +51 -0
  850. package/web/standalone/apps/web/node_modules/next/dist/lib/has-necessary-dependencies.js +49 -0
  851. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-cache-directory.js +66 -0
  852. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-npx-command.js +29 -0
  853. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-online.js +50 -0
  854. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-pkg-manager.js +63 -0
  855. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-registry.js +45 -0
  856. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/get-reserved-port.js +116 -0
  857. package/web/standalone/apps/web/node_modules/next/dist/lib/helpers/install.js +83 -0
  858. package/web/standalone/apps/web/node_modules/next/dist/lib/import-next-warning.js +50 -0
  859. package/web/standalone/apps/web/node_modules/next/dist/lib/inline-static-env.js +112 -0
  860. package/web/standalone/apps/web/node_modules/next/dist/lib/install-dependencies.js +40 -0
  861. package/web/standalone/apps/web/node_modules/next/dist/lib/interop-default.js +16 -0
  862. package/web/standalone/apps/web/node_modules/next/dist/lib/is-api-route.js +15 -0
  863. package/web/standalone/apps/web/node_modules/next/dist/lib/is-app-page-route.js +15 -0
  864. package/web/standalone/apps/web/node_modules/next/dist/lib/is-app-route-route.js +15 -0
  865. package/web/standalone/apps/web/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
  866. package/web/standalone/apps/web/node_modules/next/dist/lib/is-error.js +78 -0
  867. package/web/standalone/apps/web/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
  868. package/web/standalone/apps/web/node_modules/next/dist/lib/is-internal-component.js +36 -0
  869. package/web/standalone/apps/web/node_modules/next/dist/lib/is-serializable-props.js +106 -0
  870. package/web/standalone/apps/web/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
  871. package/web/standalone/apps/web/node_modules/next/dist/lib/load-custom-routes.js +594 -0
  872. package/web/standalone/apps/web/node_modules/next/dist/lib/memory/gc-observer.js +53 -0
  873. package/web/standalone/apps/web/node_modules/next/dist/lib/memory/shutdown.js +29 -0
  874. package/web/standalone/apps/web/node_modules/next/dist/lib/memory/startup.js +47 -0
  875. package/web/standalone/apps/web/node_modules/next/dist/lib/memory/trace.js +109 -0
  876. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/constants.js +40 -0
  877. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/default-metadata.js +82 -0
  878. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/generate/icon-mark.js +22 -0
  879. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/generate/utils.js +52 -0
  880. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/get-metadata-route.js +123 -0
  881. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/is-metadata-route.js +221 -0
  882. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/metadata-context.js +18 -0
  883. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/metadata.js +1686 -0
  884. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolve-metadata.js +884 -0
  885. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
  886. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
  887. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
  888. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
  889. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
  890. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
  891. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/extra-types.js +9 -0
  892. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/icons.js +6 -0
  893. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/manifest-types.js +6 -0
  894. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/metadata-interface.js +18 -0
  895. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/metadata-types.js +10 -0
  896. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/opengraph-types.js +6 -0
  897. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/resolvers.js +6 -0
  898. package/web/standalone/apps/web/node_modules/next/dist/lib/metadata/types/twitter-types.js +7 -0
  899. package/web/standalone/apps/web/node_modules/next/dist/lib/mime-type.js +20 -0
  900. package/web/standalone/apps/web/node_modules/next/dist/lib/mkcert.js +204 -0
  901. package/web/standalone/apps/web/node_modules/next/dist/lib/multi-file-writer.js +75 -0
  902. package/web/standalone/apps/web/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
  903. package/web/standalone/apps/web/node_modules/next/dist/lib/non-nullable.js +15 -0
  904. package/web/standalone/apps/web/node_modules/next/dist/lib/normalize-path.js +21 -0
  905. package/web/standalone/apps/web/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
  906. package/web/standalone/apps/web/node_modules/next/dist/lib/page-types.js +18 -0
  907. package/web/standalone/apps/web/node_modules/next/dist/lib/patch-incorrect-lockfile.js +185 -0
  908. package/web/standalone/apps/web/node_modules/next/dist/lib/pick.js +19 -0
  909. package/web/standalone/apps/web/node_modules/next/dist/lib/picocolors.js +177 -0
  910. package/web/standalone/apps/web/node_modules/next/dist/lib/pretty-bytes.js +74 -0
  911. package/web/standalone/apps/web/node_modules/next/dist/lib/realpath.js +20 -0
  912. package/web/standalone/apps/web/node_modules/next/dist/lib/recursive-copy.js +76 -0
  913. package/web/standalone/apps/web/node_modules/next/dist/lib/recursive-delete.js +137 -0
  914. package/web/standalone/apps/web/node_modules/next/dist/lib/recursive-readdir.js +124 -0
  915. package/web/standalone/apps/web/node_modules/next/dist/lib/redirect-status.js +46 -0
  916. package/web/standalone/apps/web/node_modules/next/dist/lib/require-instrumentation-client.js +26 -0
  917. package/web/standalone/apps/web/node_modules/next/dist/lib/resolve-build-paths.js +154 -0
  918. package/web/standalone/apps/web/node_modules/next/dist/lib/resolve-from.js +65 -0
  919. package/web/standalone/apps/web/node_modules/next/dist/lib/route-pattern-normalizer.js +107 -0
  920. package/web/standalone/apps/web/node_modules/next/dist/lib/scheduler.js +64 -0
  921. package/web/standalone/apps/web/node_modules/next/dist/lib/semver-noop.js +18 -0
  922. package/web/standalone/apps/web/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
  923. package/web/standalone/apps/web/node_modules/next/dist/lib/setup-exception-listeners.js +11 -0
  924. package/web/standalone/apps/web/node_modules/next/dist/lib/static-env.js +92 -0
  925. package/web/standalone/apps/web/node_modules/next/dist/lib/try-to-parse-path.js +67 -0
  926. package/web/standalone/apps/web/node_modules/next/dist/lib/turbopack-warning.js +185 -0
  927. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +243 -0
  928. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +73 -0
  929. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
  930. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/missingDependencyError.js +27 -0
  931. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/runTypeCheck.js +149 -0
  932. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/type-paths.js +51 -0
  933. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +75 -0
  934. package/web/standalone/apps/web/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +391 -0
  935. package/web/standalone/apps/web/node_modules/next/dist/lib/url.js +75 -0
  936. package/web/standalone/apps/web/node_modules/next/dist/lib/verify-partytown-setup.js +115 -0
  937. package/web/standalone/apps/web/node_modules/next/dist/lib/verify-root-layout.js +165 -0
  938. package/web/standalone/apps/web/node_modules/next/dist/lib/verify-typescript-setup.js +228 -0
  939. package/web/standalone/apps/web/node_modules/next/dist/lib/wait.js +19 -0
  940. package/web/standalone/apps/web/node_modules/next/dist/lib/with-promise-cache.js +24 -0
  941. package/web/standalone/apps/web/node_modules/next/dist/lib/worker.js +234 -0
  942. package/web/standalone/apps/web/node_modules/next/dist/server/ReactDOMServerPages.js +16 -0
  943. package/web/standalone/apps/web/node_modules/next/dist/server/accept-header.js +132 -0
  944. package/web/standalone/apps/web/node_modules/next/dist/server/after/after-context.js +140 -0
  945. package/web/standalone/apps/web/node_modules/next/dist/server/after/after.js +26 -0
  946. package/web/standalone/apps/web/node_modules/next/dist/server/after/awaiter.js +74 -0
  947. package/web/standalone/apps/web/node_modules/next/dist/server/after/builtin-request-context.js +38 -0
  948. package/web/standalone/apps/web/node_modules/next/dist/server/after/index.js +21 -0
  949. package/web/standalone/apps/web/node_modules/next/dist/server/after/run-with-after.js +35 -0
  950. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
  951. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/index.js +201 -0
  952. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/node/api-resolver.js +395 -0
  953. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/node/parse-body.js +79 -0
  954. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +86 -0
  955. package/web/standalone/apps/web/node_modules/next/dist/server/api-utils/web.js +17 -0
  956. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/action-async-storage-instance.js +14 -0
  957. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/action-async-storage.external.js +13 -0
  958. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/action-handler.js +1020 -0
  959. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
  960. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
  961. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +167 -0
  962. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/app-render-render-utils.js +76 -0
  963. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/app-render-scheduling.js +188 -0
  964. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/app-render.js +4469 -0
  965. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/async-local-storage.js +76 -0
  966. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/cache-signal.js +181 -0
  967. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/collect-segment-data.js +600 -0
  968. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/console-async-storage-instance.js +14 -0
  969. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/console-async-storage.external.js +13 -0
  970. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +33 -0
  971. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/create-component-tree.js +840 -0
  972. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/create-error-handler.js +189 -0
  973. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +102 -0
  974. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/csrf-protection.js +86 -0
  975. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
  976. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
  977. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
  978. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +13 -0
  979. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/dynamic-rendering.js +1144 -0
  980. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/encryption-utils-server.js +114 -0
  981. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/encryption-utils.js +93 -0
  982. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/encryption.js +259 -0
  983. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/entry-base.js +256 -0
  984. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
  985. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-asset-query-string.js +29 -0
  986. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +49 -0
  987. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-layer-assets.js +65 -0
  988. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
  989. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +44 -0
  990. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
  991. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
  992. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
  993. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +103 -0
  994. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
  995. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
  996. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
  997. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
  998. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
  999. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +713 -0
  1000. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
  1001. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/interop-default.js +17 -0
  1002. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +92 -0
  1003. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/manifests-singleton.js +264 -0
  1004. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +28 -0
  1005. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/module-loading/track-dynamic-import.js +57 -0
  1006. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
  1007. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +66 -0
  1008. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +49 -0
  1009. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/postponed-state.js +157 -0
  1010. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/prospective-render-utils.js +74 -0
  1011. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/react-large-shell-error.js +17 -0
  1012. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/react-server.node.js +39 -0
  1013. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/render-css-resource.js +52 -0
  1014. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/required-scripts.js +76 -0
  1015. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/rsc/postpone.js +18 -0
  1016. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/rsc/preloads.js +74 -0
  1017. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/rsc/taint.js +79 -0
  1018. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/segment-explorer-path.js +128 -0
  1019. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/server-inserted-html.js +77 -0
  1020. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/staged-rendering.js +343 -0
  1021. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/stale-time.js +111 -0
  1022. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
  1023. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
  1024. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
  1025. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/types.js +65 -0
  1026. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/use-flight-response.js +214 -0
  1027. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/vary-params.js +336 -0
  1028. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +232 -0
  1029. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/work-async-storage-instance.js +14 -0
  1030. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/work-async-storage.external.js +13 -0
  1031. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
  1032. package/web/standalone/apps/web/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +280 -0
  1033. package/web/standalone/apps/web/node_modules/next/dist/server/async-storage/draft-mode-provider.js +62 -0
  1034. package/web/standalone/apps/web/node_modules/next/dist/server/async-storage/request-store.js +144 -0
  1035. package/web/standalone/apps/web/node_modules/next/dist/server/async-storage/with-store.js +6 -0
  1036. package/web/standalone/apps/web/node_modules/next/dist/server/async-storage/work-store.js +91 -0
  1037. package/web/standalone/apps/web/node_modules/next/dist/server/base-http/helpers.js +36 -0
  1038. package/web/standalone/apps/web/node_modules/next/dist/server/base-http/index.js +54 -0
  1039. package/web/standalone/apps/web/node_modules/next/dist/server/base-http/node.js +147 -0
  1040. package/web/standalone/apps/web/node_modules/next/dist/server/base-http/web.js +124 -0
  1041. package/web/standalone/apps/web/node_modules/next/dist/server/base-server.js +1874 -0
  1042. package/web/standalone/apps/web/node_modules/next/dist/server/body-streams.js +114 -0
  1043. package/web/standalone/apps/web/node_modules/next/dist/server/cache-dir.js +26 -0
  1044. package/web/standalone/apps/web/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
  1045. package/web/standalone/apps/web/node_modules/next/dist/server/ci-info.js +41 -0
  1046. package/web/standalone/apps/web/node_modules/next/dist/server/client-component-renderer-logger.js +70 -0
  1047. package/web/standalone/apps/web/node_modules/next/dist/server/config-schema.js +717 -0
  1048. package/web/standalone/apps/web/node_modules/next/dist/server/config-shared.js +369 -0
  1049. package/web/standalone/apps/web/node_modules/next/dist/server/config-utils.js +185 -0
  1050. package/web/standalone/apps/web/node_modules/next/dist/server/config.js +1545 -0
  1051. package/web/standalone/apps/web/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
  1052. package/web/standalone/apps/web/node_modules/next/dist/server/crypto-utils.js +70 -0
  1053. package/web/standalone/apps/web/node_modules/next/dist/server/dev/browser-logs/file-logger.js +186 -0
  1054. package/web/standalone/apps/web/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +558 -0
  1055. package/web/standalone/apps/web/node_modules/next/dist/server/dev/browser-logs/source-map.js +222 -0
  1056. package/web/standalone/apps/web/node_modules/next/dist/server/dev/debug-channel.js +87 -0
  1057. package/web/standalone/apps/web/node_modules/next/dist/server/dev/dev-indicator-server-state.js +15 -0
  1058. package/web/standalone/apps/web/node_modules/next/dist/server/dev/get-source-map-from-file.js +100 -0
  1059. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-middleware.js +274 -0
  1060. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
  1061. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
  1062. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1478 -0
  1063. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-reloader-types.js +58 -0
  1064. package/web/standalone/apps/web/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1386 -0
  1065. package/web/standalone/apps/web/node_modules/next/dist/server/dev/log-requests.js +149 -0
  1066. package/web/standalone/apps/web/node_modules/next/dist/server/dev/messages.js +74 -0
  1067. package/web/standalone/apps/web/node_modules/next/dist/server/dev/middleware-turbopack.js +403 -0
  1068. package/web/standalone/apps/web/node_modules/next/dist/server/dev/middleware-webpack.js +483 -0
  1069. package/web/standalone/apps/web/node_modules/next/dist/server/dev/node-stack-frames.js +72 -0
  1070. package/web/standalone/apps/web/node_modules/next/dist/server/dev/on-demand-entry-handler.js +773 -0
  1071. package/web/standalone/apps/web/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
  1072. package/web/standalone/apps/web/node_modules/next/dist/server/dev/require-cache.js +79 -0
  1073. package/web/standalone/apps/web/node_modules/next/dist/server/dev/serialized-errors.js +67 -0
  1074. package/web/standalone/apps/web/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
  1075. package/web/standalone/apps/web/node_modules/next/dist/server/dev/static-paths-worker.js +104 -0
  1076. package/web/standalone/apps/web/node_modules/next/dist/server/dev/turbopack-utils.js +687 -0
  1077. package/web/standalone/apps/web/node_modules/next/dist/server/dynamic-rendering-utils.js +108 -0
  1078. package/web/standalone/apps/web/node_modules/next/dist/server/font-utils.js +43 -0
  1079. package/web/standalone/apps/web/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
  1080. package/web/standalone/apps/web/node_modules/next/dist/server/get-page-files.js +23 -0
  1081. package/web/standalone/apps/web/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
  1082. package/web/standalone/apps/web/node_modules/next/dist/server/htmlescape.js +37 -0
  1083. package/web/standalone/apps/web/node_modules/next/dist/server/image-optimizer.js +1220 -0
  1084. package/web/standalone/apps/web/node_modules/next/dist/server/instrumentation/types.js +6 -0
  1085. package/web/standalone/apps/web/node_modules/next/dist/server/instrumentation/utils.js +21 -0
  1086. package/web/standalone/apps/web/node_modules/next/dist/server/internal-utils.js +39 -0
  1087. package/web/standalone/apps/web/node_modules/next/dist/server/is-private-ip.js +36 -0
  1088. package/web/standalone/apps/web/node_modules/next/dist/server/lib/app-dir-module.js +59 -0
  1089. package/web/standalone/apps/web/node_modules/next/dist/server/lib/app-info-log.js +132 -0
  1090. package/web/standalone/apps/web/node_modules/next/dist/server/lib/async-callback-set.js +29 -0
  1091. package/web/standalone/apps/web/node_modules/next/dist/server/lib/cache-control.js +22 -0
  1092. package/web/standalone/apps/web/node_modules/next/dist/server/lib/cache-handlers/default.external.js +18 -0
  1093. package/web/standalone/apps/web/node_modules/next/dist/server/lib/cache-handlers/default.js +160 -0
  1094. package/web/standalone/apps/web/node_modules/next/dist/server/lib/cache-handlers/types.js +8 -0
  1095. package/web/standalone/apps/web/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +116 -0
  1096. package/web/standalone/apps/web/node_modules/next/dist/server/lib/clone-response.js +77 -0
  1097. package/web/standalone/apps/web/node_modules/next/dist/server/lib/cpu-profile.js +59 -0
  1098. package/web/standalone/apps/web/node_modules/next/dist/server/lib/decode-query-path-parameter.js +26 -0
  1099. package/web/standalone/apps/web/node_modules/next/dist/server/lib/dedupe-fetch.js +163 -0
  1100. package/web/standalone/apps/web/node_modules/next/dist/server/lib/dev-bundler-service.js +95 -0
  1101. package/web/standalone/apps/web/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
  1102. package/web/standalone/apps/web/node_modules/next/dist/server/lib/etag.js +56 -0
  1103. package/web/standalone/apps/web/node_modules/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
  1104. package/web/standalone/apps/web/node_modules/next/dist/server/lib/experimental/ppr.js +47 -0
  1105. package/web/standalone/apps/web/node_modules/next/dist/server/lib/find-page-file.js +147 -0
  1106. package/web/standalone/apps/web/node_modules/next/dist/server/lib/fix-mojibake.js +25 -0
  1107. package/web/standalone/apps/web/node_modules/next/dist/server/lib/format-hostname.js +16 -0
  1108. package/web/standalone/apps/web/node_modules/next/dist/server/lib/i18n-provider.js +129 -0
  1109. package/web/standalone/apps/web/node_modules/next/dist/server/lib/implicit-tags.js +77 -0
  1110. package/web/standalone/apps/web/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +335 -0
  1111. package/web/standalone/apps/web/node_modules/next/dist/server/lib/incremental-cache/index.js +501 -0
  1112. package/web/standalone/apps/web/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +57 -0
  1113. package/web/standalone/apps/web/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +73 -0
  1114. package/web/standalone/apps/web/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
  1115. package/web/standalone/apps/web/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
  1116. package/web/standalone/apps/web/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
  1117. package/web/standalone/apps/web/node_modules/next/dist/server/lib/lazy-result.js +46 -0
  1118. package/web/standalone/apps/web/node_modules/next/dist/server/lib/lru-cache.js +191 -0
  1119. package/web/standalone/apps/web/node_modules/next/dist/server/lib/match-next-data-pathname.js +18 -0
  1120. package/web/standalone/apps/web/node_modules/next/dist/server/lib/mock-request.js +416 -0
  1121. package/web/standalone/apps/web/node_modules/next/dist/server/lib/module-loader/module-loader.js +8 -0
  1122. package/web/standalone/apps/web/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +25 -0
  1123. package/web/standalone/apps/web/node_modules/next/dist/server/lib/module-loader/route-module-loader.js +26 -0
  1124. package/web/standalone/apps/web/node_modules/next/dist/server/lib/node-fs-methods.js +28 -0
  1125. package/web/standalone/apps/web/node_modules/next/dist/server/lib/parse-stack.js +46 -0
  1126. package/web/standalone/apps/web/node_modules/next/dist/server/lib/patch-fetch.js +978 -0
  1127. package/web/standalone/apps/web/node_modules/next/dist/server/lib/patch-set-header.js +38 -0
  1128. package/web/standalone/apps/web/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
  1129. package/web/standalone/apps/web/node_modules/next/dist/server/lib/render-server.js +155 -0
  1130. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-server.js +683 -0
  1131. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
  1132. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/build-data-route.js +48 -0
  1133. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
  1134. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +211 -0
  1135. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +42 -0
  1136. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/filesystem.js +591 -0
  1137. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +89 -0
  1138. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +96 -0
  1139. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/is-postpone.js +16 -0
  1140. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/proxy-request.js +118 -0
  1141. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +629 -0
  1142. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +286 -0
  1143. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/router-server-context.js +26 -0
  1144. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/typegen.js +858 -0
  1145. package/web/standalone/apps/web/node_modules/next/dist/server/lib/router-utils/types.js +6 -0
  1146. package/web/standalone/apps/web/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
  1147. package/web/standalone/apps/web/node_modules/next/dist/server/lib/server-ipc/utils.js +81 -0
  1148. package/web/standalone/apps/web/node_modules/next/dist/server/lib/source-maps.js +196 -0
  1149. package/web/standalone/apps/web/node_modules/next/dist/server/lib/start-server.js +494 -0
  1150. package/web/standalone/apps/web/node_modules/next/dist/server/lib/streaming-metadata.js +38 -0
  1151. package/web/standalone/apps/web/node_modules/next/dist/server/lib/to-route.js +37 -0
  1152. package/web/standalone/apps/web/node_modules/next/dist/server/lib/trace/constants.js +203 -0
  1153. package/web/standalone/apps/web/node_modules/next/dist/server/lib/trace/tracer.js +280 -0
  1154. package/web/standalone/apps/web/node_modules/next/dist/server/lib/trace/utils.js +16 -0
  1155. package/web/standalone/apps/web/node_modules/next/dist/server/lib/types.js +6 -0
  1156. package/web/standalone/apps/web/node_modules/next/dist/server/lib/utils.js +278 -0
  1157. package/web/standalone/apps/web/node_modules/next/dist/server/lib/worker-utils.js +36 -0
  1158. package/web/standalone/apps/web/node_modules/next/dist/server/load-components.js +179 -0
  1159. package/web/standalone/apps/web/node_modules/next/dist/server/load-default-error-components.js +41 -0
  1160. package/web/standalone/apps/web/node_modules/next/dist/server/load-manifest.external.js +117 -0
  1161. package/web/standalone/apps/web/node_modules/next/dist/server/match-bundle.js +25 -0
  1162. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/get-mcp-middleware.js +49 -0
  1163. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +41 -0
  1164. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
  1165. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-errors.js +114 -0
  1166. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-logs.js +67 -0
  1167. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +188 -0
  1168. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +59 -0
  1169. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-routes.js +136 -0
  1170. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +121 -0
  1171. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
  1172. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +90 -0
  1173. package/web/standalone/apps/web/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +137 -0
  1174. package/web/standalone/apps/web/node_modules/next/dist/server/next-server.js +1429 -0
  1175. package/web/standalone/apps/web/node_modules/next/dist/server/next-typescript.js +13 -0
  1176. package/web/standalone/apps/web/node_modules/next/dist/server/next.js +455 -0
  1177. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-baseline.js +25 -0
  1178. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +301 -0
  1179. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/console-exit.js +49 -0
  1180. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/console-file.js +56 -0
  1181. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/date.js +52 -0
  1182. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
  1183. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +577 -0
  1184. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +33 -0
  1185. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/io-utils.js +195 -0
  1186. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
  1187. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
  1188. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/random.js +28 -0
  1189. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +508 -0
  1190. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
  1191. package/web/standalone/apps/web/node_modules/next/dist/server/node-environment.js +19 -0
  1192. package/web/standalone/apps/web/node_modules/next/dist/server/node-polyfill-crypto.js +21 -0
  1193. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
  1194. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
  1195. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
  1196. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
  1197. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
  1198. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/app/index.js +42 -0
  1199. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/pages/index.js +44 -0
  1200. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
  1201. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
  1202. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
  1203. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
  1204. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
  1205. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/normalizer.js +6 -0
  1206. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/normalizers.js +23 -0
  1207. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
  1208. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/base-path.js +25 -0
  1209. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/next-data.js +38 -0
  1210. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
  1211. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/prefix.js +39 -0
  1212. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/rsc.js +19 -0
  1213. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +33 -0
  1214. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/request/suffix.js +27 -0
  1215. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/underscore-normalizer.js +17 -0
  1216. package/web/standalone/apps/web/node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
  1217. package/web/standalone/apps/web/node_modules/next/dist/server/og/image-response.js +53 -0
  1218. package/web/standalone/apps/web/node_modules/next/dist/server/patch-error-inspect.js +453 -0
  1219. package/web/standalone/apps/web/node_modules/next/dist/server/pipe-readable.js +140 -0
  1220. package/web/standalone/apps/web/node_modules/next/dist/server/post-process.js +39 -0
  1221. package/web/standalone/apps/web/node_modules/next/dist/server/render-result.js +204 -0
  1222. package/web/standalone/apps/web/node_modules/next/dist/server/render.js +1140 -0
  1223. package/web/standalone/apps/web/node_modules/next/dist/server/request/connection.js +133 -0
  1224. package/web/standalone/apps/web/node_modules/next/dist/server/request/cookies.js +235 -0
  1225. package/web/standalone/apps/web/node_modules/next/dist/server/request/draft-mode.js +230 -0
  1226. package/web/standalone/apps/web/node_modules/next/dist/server/request/fallback-params.js +69 -0
  1227. package/web/standalone/apps/web/node_modules/next/dist/server/request/headers.js +229 -0
  1228. package/web/standalone/apps/web/node_modules/next/dist/server/request/params.js +527 -0
  1229. package/web/standalone/apps/web/node_modules/next/dist/server/request/pathname.js +119 -0
  1230. package/web/standalone/apps/web/node_modules/next/dist/server/request/root-params.js +194 -0
  1231. package/web/standalone/apps/web/node_modules/next/dist/server/request/search-params.js +526 -0
  1232. package/web/standalone/apps/web/node_modules/next/dist/server/request/utils.js +51 -0
  1233. package/web/standalone/apps/web/node_modules/next/dist/server/request-meta.js +55 -0
  1234. package/web/standalone/apps/web/node_modules/next/dist/server/require-hook.js +82 -0
  1235. package/web/standalone/apps/web/node_modules/next/dist/server/require.js +109 -0
  1236. package/web/standalone/apps/web/node_modules/next/dist/server/response-cache/index.js +311 -0
  1237. package/web/standalone/apps/web/node_modules/next/dist/server/response-cache/types.js +41 -0
  1238. package/web/standalone/apps/web/node_modules/next/dist/server/response-cache/utils.js +104 -0
  1239. package/web/standalone/apps/web/node_modules/next/dist/server/response-cache/web.js +101 -0
  1240. package/web/standalone/apps/web/node_modules/next/dist/server/resume-data-cache/cache-store.js +96 -0
  1241. package/web/standalone/apps/web/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +124 -0
  1242. package/web/standalone/apps/web/node_modules/next/dist/server/revalidation-utils.js +157 -0
  1243. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
  1244. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
  1245. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/locale-route-definition.js +6 -0
  1246. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
  1247. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/pages-route-definition.js +6 -0
  1248. package/web/standalone/apps/web/node_modules/next/dist/server/route-definitions/route-definition.js +6 -0
  1249. package/web/standalone/apps/web/node_modules/next/dist/server/route-kind.js +32 -0
  1250. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js +239 -0
  1251. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.js +120 -0
  1252. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-managers/route-matcher-manager.js +6 -0
  1253. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +55 -0
  1254. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js +43 -0
  1255. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +91 -0
  1256. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +112 -0
  1257. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +77 -0
  1258. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +77 -0
  1259. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/file-cache-route-matcher-provider.js +28 -0
  1260. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +106 -0
  1261. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +42 -0
  1262. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/file-reader.js +6 -0
  1263. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js +30 -0
  1264. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/manifest-loader.js +6 -0
  1265. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +34 -0
  1266. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +20 -0
  1267. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js +21 -0
  1268. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js +55 -0
  1269. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js +64 -0
  1270. package/web/standalone/apps/web/node_modules/next/dist/server/route-matcher-providers/route-matcher-provider.js +6 -0
  1271. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/app-page-route-matcher.js +18 -0
  1272. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/app-route-route-matcher.js +15 -0
  1273. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/locale-route-matcher.js +68 -0
  1274. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js +30 -0
  1275. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/pages-route-matcher.js +30 -0
  1276. package/web/standalone/apps/web/node_modules/next/dist/server/route-matchers/route-matcher.js +54 -0
  1277. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/app-page-route-match.js +6 -0
  1278. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/app-route-route-match.js +6 -0
  1279. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/locale-route-match.js +6 -0
  1280. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/pages-api-route-match.js +16 -0
  1281. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/pages-route-match.js +6 -0
  1282. package/web/standalone/apps/web/node_modules/next/dist/server/route-matches/route-match.js +6 -0
  1283. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +51 -0
  1284. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
  1285. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/module.js +162 -0
  1286. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/module.render.js +24 -0
  1287. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
  1288. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
  1289. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
  1290. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
  1291. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
  1292. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
  1293. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
  1294. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
  1295. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +140 -0
  1296. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
  1297. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
  1298. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
  1299. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
  1300. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
  1301. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
  1302. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
  1303. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
  1304. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
  1305. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +125 -0
  1306. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
  1307. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
  1308. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
  1309. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
  1310. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
  1311. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
  1312. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
  1313. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
  1314. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +85 -0
  1315. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
  1316. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
  1317. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
  1318. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
  1319. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
  1320. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/module.js +899 -0
  1321. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
  1322. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/checks.js +45 -0
  1323. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
  1324. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/module.compiled.js +20 -0
  1325. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/module.js +92 -0
  1326. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/module.render.js +24 -0
  1327. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/pages-handler.js +545 -0
  1328. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
  1329. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
  1330. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
  1331. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
  1332. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
  1333. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
  1334. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
  1335. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
  1336. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
  1337. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
  1338. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
  1339. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/pages-api/module.js +58 -0
  1340. package/web/standalone/apps/web/node_modules/next/dist/server/route-modules/route-module.js +650 -0
  1341. package/web/standalone/apps/web/node_modules/next/dist/server/runtime-reacts.external.js +46 -0
  1342. package/web/standalone/apps/web/node_modules/next/dist/server/send-payload.js +88 -0
  1343. package/web/standalone/apps/web/node_modules/next/dist/server/send-response.js +70 -0
  1344. package/web/standalone/apps/web/node_modules/next/dist/server/serve-static.js +66 -0
  1345. package/web/standalone/apps/web/node_modules/next/dist/server/server-route-utils.js +30 -0
  1346. package/web/standalone/apps/web/node_modules/next/dist/server/server-utils.js +323 -0
  1347. package/web/standalone/apps/web/node_modules/next/dist/server/setup-http-agent-env.js +31 -0
  1348. package/web/standalone/apps/web/node_modules/next/dist/server/stream-utils/encoded-tags.js +122 -0
  1349. package/web/standalone/apps/web/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +918 -0
  1350. package/web/standalone/apps/web/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +74 -0
  1351. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/constant.js +98 -0
  1352. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/index.js +199 -0
  1353. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/client-boundary.js +97 -0
  1354. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/config.js +512 -0
  1355. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
  1356. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/error.js +38 -0
  1357. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/metadata.js +234 -0
  1358. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/server-boundary.js +115 -0
  1359. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/rules/server.js +79 -0
  1360. package/web/standalone/apps/web/node_modules/next/dist/server/typescript/utils.js +212 -0
  1361. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/cache-life.js +163 -0
  1362. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/cache-tag.js +52 -0
  1363. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/constants.js +28 -0
  1364. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/handlers.js +121 -0
  1365. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/use-cache-errors.js +36 -0
  1366. package/web/standalone/apps/web/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1588 -0
  1367. package/web/standalone/apps/web/node_modules/next/dist/server/utils.js +73 -0
  1368. package/web/standalone/apps/web/node_modules/next/dist/server/web/adapter.js +392 -0
  1369. package/web/standalone/apps/web/node_modules/next/dist/server/web/edge-route-module-wrapper.js +123 -0
  1370. package/web/standalone/apps/web/node_modules/next/dist/server/web/error.js +54 -0
  1371. package/web/standalone/apps/web/node_modules/next/dist/server/web/exports/index.js +56 -0
  1372. package/web/standalone/apps/web/node_modules/next/dist/server/web/get-edge-preview-props.js +23 -0
  1373. package/web/standalone/apps/web/node_modules/next/dist/server/web/globals.js +128 -0
  1374. package/web/standalone/apps/web/node_modules/next/dist/server/web/http.js +39 -0
  1375. package/web/standalone/apps/web/node_modules/next/dist/server/web/internal-edge-wait-until.js +64 -0
  1376. package/web/standalone/apps/web/node_modules/next/dist/server/web/next-url.js +199 -0
  1377. package/web/standalone/apps/web/node_modules/next/dist/server/web/sandbox/context.js +462 -0
  1378. package/web/standalone/apps/web/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
  1379. package/web/standalone/apps/web/node_modules/next/dist/server/web/sandbox/index.js +28 -0
  1380. package/web/standalone/apps/web/node_modules/next/dist/server/web/sandbox/resource-managers.js +88 -0
  1381. package/web/standalone/apps/web/node_modules/next/dist/server/web/sandbox/sandbox.js +137 -0
  1382. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +192 -0
  1383. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +142 -0
  1384. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
  1385. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +211 -0
  1386. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
  1387. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/fetch-event.js +98 -0
  1388. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/image-response.js +22 -0
  1389. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/request.js +99 -0
  1390. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/response.js +136 -0
  1391. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/revalidate.js +214 -0
  1392. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +289 -0
  1393. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +51 -0
  1394. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/url-pattern.js +14 -0
  1395. package/web/standalone/apps/web/node_modules/next/dist/server/web/spec-extension/user-agent.js +46 -0
  1396. package/web/standalone/apps/web/node_modules/next/dist/server/web/types.js +6 -0
  1397. package/web/standalone/apps/web/node_modules/next/dist/server/web/utils.js +151 -0
  1398. package/web/standalone/apps/web/node_modules/next/dist/server/web/web-on-close.js +87 -0
  1399. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
  1400. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
  1401. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/app-router-types.js +46 -0
  1402. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/constants.js +448 -0
  1403. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
  1404. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/deployment-id.js +63 -0
  1405. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/dset.js +34 -0
  1406. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
  1407. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/entry-constants.js +36 -0
  1408. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/error-source.js +36 -0
  1409. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +39 -0
  1410. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
  1411. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/errors/constants.js +19 -0
  1412. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +24 -0
  1413. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
  1414. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
  1415. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
  1416. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/hash.js +42 -0
  1417. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
  1418. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/head.js +163 -0
  1419. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
  1420. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +40 -0
  1421. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
  1422. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
  1423. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
  1424. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/image-blur-svg.js +22 -0
  1425. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
  1426. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/image-config.js +77 -0
  1427. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/invariant-error.js +18 -0
  1428. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
  1429. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/is-thenable.js +20 -0
  1430. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
  1431. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
  1432. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
  1433. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
  1434. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/match-local-pattern.js +46 -0
  1435. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/match-remote-pattern.js +63 -0
  1436. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/modern-browserslist-target.js +15 -0
  1437. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/no-fallback-error.external.js +18 -0
  1438. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
  1439. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
  1440. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
  1441. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
  1442. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
  1443. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
  1444. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
  1445. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
  1446. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
  1447. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/promise-with-resolvers.js +26 -0
  1448. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/adapters.js +136 -0
  1449. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/routes/app.js +122 -0
  1450. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
  1451. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
  1452. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
  1453. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/app-paths.js +62 -0
  1454. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
  1455. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +24 -0
  1456. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
  1457. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
  1458. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
  1459. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +174 -0
  1460. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
  1461. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
  1462. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
  1463. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/html-bots.js +17 -0
  1464. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/index.js +30 -0
  1465. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
  1466. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +108 -0
  1467. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/is-bot.js +57 -0
  1468. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  1469. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
  1470. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +30 -0
  1471. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
  1472. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +43 -0
  1473. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/parse-url.js +38 -0
  1474. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
  1475. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
  1476. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +292 -0
  1477. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/querystring.js +79 -0
  1478. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
  1479. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
  1480. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +21 -0
  1481. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +116 -0
  1482. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
  1483. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +45 -0
  1484. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/route-regex.js +256 -0
  1485. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +244 -0
  1486. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
  1487. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +99 -0
  1488. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
  1489. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/segment.js +102 -0
  1490. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
  1491. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/server-reference-info.js +56 -0
  1492. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/side-effect.js +63 -0
  1493. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/size-limit.js +40 -0
  1494. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/turbopack/internal-error.js +53 -0
  1495. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
  1496. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
  1497. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/utils.js +207 -0
  1498. package/web/standalone/apps/web/node_modules/next/dist/shared/lib/zod.js +101 -0
  1499. package/web/standalone/apps/web/node_modules/next/dist/telemetry/anonymous-meta.js +89 -0
  1500. package/web/standalone/apps/web/node_modules/next/dist/telemetry/detached-flush.js +56 -0
  1501. package/web/standalone/apps/web/node_modules/next/dist/telemetry/events/build.js +174 -0
  1502. package/web/standalone/apps/web/node_modules/next/dist/telemetry/events/index.js +41 -0
  1503. package/web/standalone/apps/web/node_modules/next/dist/telemetry/events/plugins.js +51 -0
  1504. package/web/standalone/apps/web/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
  1505. package/web/standalone/apps/web/node_modules/next/dist/telemetry/events/version.js +66 -0
  1506. package/web/standalone/apps/web/node_modules/next/dist/telemetry/flush-telemetry.js +19 -0
  1507. package/web/standalone/apps/web/node_modules/next/dist/telemetry/post-telemetry-payload.js +48 -0
  1508. package/web/standalone/apps/web/node_modules/next/dist/telemetry/project-id.js +48 -0
  1509. package/web/standalone/apps/web/node_modules/next/dist/telemetry/storage.js +301 -0
  1510. package/web/standalone/apps/web/node_modules/next/dist/trace/index.js +58 -0
  1511. package/web/standalone/apps/web/node_modules/next/dist/trace/report/index.js +37 -0
  1512. package/web/standalone/apps/web/node_modules/next/dist/trace/report/to-json-build.js +40 -0
  1513. package/web/standalone/apps/web/node_modules/next/dist/trace/report/to-json.js +165 -0
  1514. package/web/standalone/apps/web/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
  1515. package/web/standalone/apps/web/node_modules/next/dist/trace/shared.js +39 -0
  1516. package/web/standalone/apps/web/node_modules/next/dist/trace/trace.js +211 -0
  1517. package/web/standalone/apps/web/node_modules/next/package.json +378 -0
  1518. package/web/standalone/apps/web/package.json +33 -0
  1519. package/web/standalone/apps/web/server.js +38 -0
  1520. package/web/standalone/node_modules/@img/colour/color.cjs +1596 -0
  1521. package/web/standalone/node_modules/@img/colour/index.cjs +1 -0
  1522. package/web/standalone/node_modules/@img/colour/package.json +58 -0
  1523. package/web/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  1524. package/web/standalone/node_modules/@img/sharp-darwin-arm64/package.json +40 -0
  1525. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/README.md +46 -0
  1526. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +220 -0
  1527. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +1 -0
  1528. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
  1529. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/package.json +36 -0
  1530. package/web/standalone/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +30 -0
  1531. package/web/standalone/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  1532. package/web/standalone/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  1533. package/web/standalone/node_modules/@swc/helpers/package.json +471 -0
  1534. package/web/standalone/node_modules/client-only/index.js +0 -0
  1535. package/web/standalone/node_modules/client-only/package.json +19 -0
  1536. package/web/standalone/node_modules/detect-libc/lib/detect-libc.js +313 -0
  1537. package/web/standalone/node_modules/detect-libc/lib/elf.js +39 -0
  1538. package/web/standalone/node_modules/detect-libc/lib/filesystem.js +51 -0
  1539. package/web/standalone/node_modules/detect-libc/lib/process.js +24 -0
  1540. package/web/standalone/node_modules/detect-libc/package.json +44 -0
  1541. package/web/standalone/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  1542. package/web/standalone/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  1543. package/web/standalone/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  1544. package/web/standalone/node_modules/react/cjs/react.development.js +1284 -0
  1545. package/web/standalone/node_modules/react/cjs/react.production.js +542 -0
  1546. package/web/standalone/node_modules/react/compiler-runtime.js +14 -0
  1547. package/web/standalone/node_modules/react/index.js +7 -0
  1548. package/web/standalone/node_modules/react/jsx-dev-runtime.js +7 -0
  1549. package/web/standalone/node_modules/react/jsx-runtime.js +7 -0
  1550. package/web/standalone/node_modules/react/package.json +51 -0
  1551. package/web/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
  1552. package/web/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
  1553. package/web/standalone/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
  1554. package/web/standalone/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
  1555. package/web/standalone/node_modules/react-dom/cjs/react-dom-server.node.production.js +7707 -0
  1556. package/web/standalone/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  1557. package/web/standalone/node_modules/react-dom/index.js +38 -0
  1558. package/web/standalone/node_modules/react-dom/package.json +117 -0
  1559. package/web/standalone/node_modules/react-dom/server.browser.js +16 -0
  1560. package/web/standalone/node_modules/react-dom/server.edge.js +17 -0
  1561. package/web/standalone/node_modules/react-dom/server.node.js +18 -0
  1562. package/web/standalone/node_modules/react-dom/static.node.js +14 -0
  1563. package/web/standalone/node_modules/sharp/lib/channel.js +177 -0
  1564. package/web/standalone/node_modules/sharp/lib/colour.js +195 -0
  1565. package/web/standalone/node_modules/sharp/lib/composite.js +212 -0
  1566. package/web/standalone/node_modules/sharp/lib/constructor.js +499 -0
  1567. package/web/standalone/node_modules/sharp/lib/index.js +16 -0
  1568. package/web/standalone/node_modules/sharp/lib/input.js +809 -0
  1569. package/web/standalone/node_modules/sharp/lib/is.js +143 -0
  1570. package/web/standalone/node_modules/sharp/lib/libvips.js +207 -0
  1571. package/web/standalone/node_modules/sharp/lib/operation.js +1016 -0
  1572. package/web/standalone/node_modules/sharp/lib/output.js +1666 -0
  1573. package/web/standalone/node_modules/sharp/lib/resize.js +595 -0
  1574. package/web/standalone/node_modules/sharp/lib/sharp.js +121 -0
  1575. package/web/standalone/node_modules/sharp/lib/utility.js +291 -0
  1576. package/web/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +143 -0
  1577. package/web/standalone/node_modules/sharp/node_modules/semver/classes/range.js +557 -0
  1578. package/web/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +333 -0
  1579. package/web/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +54 -0
  1580. package/web/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +62 -0
  1581. package/web/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +7 -0
  1582. package/web/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +5 -0
  1583. package/web/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +5 -0
  1584. package/web/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +5 -0
  1585. package/web/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +5 -0
  1586. package/web/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +5 -0
  1587. package/web/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +5 -0
  1588. package/web/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +18 -0
  1589. package/web/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +12 -0
  1590. package/web/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +37 -0
  1591. package/web/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +11 -0
  1592. package/web/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +29 -0
  1593. package/web/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +42 -0
  1594. package/web/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +17 -0
  1595. package/web/standalone/node_modules/sharp/node_modules/semver/internal/re.js +223 -0
  1596. package/web/standalone/node_modules/sharp/node_modules/semver/package.json +78 -0
  1597. package/web/standalone/node_modules/sharp/package.json +202 -0
  1598. package/web/standalone/node_modules/styled-jsx/dist/index/index.js +499 -0
  1599. package/web/standalone/node_modules/styled-jsx/index.js +1 -0
  1600. package/web/standalone/node_modules/styled-jsx/package.json +132 -0
  1601. package/web/standalone/node_modules/styled-jsx/style.js +1 -0
  1602. package/web/standalone/public/file.svg +1 -0
  1603. package/web/standalone/public/globe.svg +1 -0
  1604. package/web/standalone/public/next.svg +1 -0
  1605. package/web/standalone/public/vercel.svg +1 -0
  1606. package/web/standalone/public/window.svg +1 -0
@@ -0,0 +1,1933 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ 0 && (module.exports = {
6
+ EntryStatus: null,
7
+ attemptToFulfillDynamicSegmentFromBFCache: null,
8
+ attemptToUpgradeSegmentFromBFCache: null,
9
+ canNewFetchStrategyProvideMoreContent: null,
10
+ convertReusedFlightRouterStateToRouteTree: null,
11
+ convertRootFlightRouterStateToRouteTree: null,
12
+ convertRouteTreeToFlightRouterState: null,
13
+ createDetachedSegmentCacheEntry: null,
14
+ createMetadataRouteTree: null,
15
+ deprecated_requestOptimisticRouteCacheEntry: null,
16
+ fetchInlinedSegmentsOnCacheMiss: null,
17
+ fetchRouteOnCacheMiss: null,
18
+ fetchSegmentOnCacheMiss: null,
19
+ fetchSegmentPrefetchesUsingDynamicRequest: null,
20
+ fulfillRouteCacheEntry: null,
21
+ getCurrentRouteCacheVersion: null,
22
+ getCurrentSegmentCacheVersion: null,
23
+ getStaleAt: null,
24
+ getStaleTimeMs: null,
25
+ invalidateEntirePrefetchCache: null,
26
+ invalidateRouteCacheEntries: null,
27
+ invalidateSegmentCacheEntries: null,
28
+ markRouteEntryAsDynamicRewrite: null,
29
+ overwriteRevalidatingSegmentCacheEntry: null,
30
+ pingInvalidationListeners: null,
31
+ processRuntimePrefetchStream: null,
32
+ readOrCreateRevalidatingSegmentEntry: null,
33
+ readOrCreateRouteCacheEntry: null,
34
+ readOrCreateSegmentCacheEntry: null,
35
+ readRouteCacheEntry: null,
36
+ readSegmentCacheEntry: null,
37
+ stripIsPartialByte: null,
38
+ upgradeToPendingSegment: null,
39
+ upsertSegmentEntry: null,
40
+ waitForSegmentCacheEntry: null,
41
+ writeDynamicRenderResponseIntoCache: null,
42
+ writeRouteIntoCache: null,
43
+ writeStaticStageResponseIntoCache: null
44
+ });
45
+ function _export(target, all) {
46
+ for(var name in all)Object.defineProperty(target, name, {
47
+ enumerable: true,
48
+ get: all[name]
49
+ });
50
+ }
51
+ _export(exports, {
52
+ EntryStatus: function() {
53
+ return EntryStatus;
54
+ },
55
+ attemptToFulfillDynamicSegmentFromBFCache: function() {
56
+ return attemptToFulfillDynamicSegmentFromBFCache;
57
+ },
58
+ attemptToUpgradeSegmentFromBFCache: function() {
59
+ return attemptToUpgradeSegmentFromBFCache;
60
+ },
61
+ canNewFetchStrategyProvideMoreContent: function() {
62
+ return canNewFetchStrategyProvideMoreContent;
63
+ },
64
+ convertReusedFlightRouterStateToRouteTree: function() {
65
+ return convertReusedFlightRouterStateToRouteTree;
66
+ },
67
+ convertRootFlightRouterStateToRouteTree: function() {
68
+ return convertRootFlightRouterStateToRouteTree;
69
+ },
70
+ convertRouteTreeToFlightRouterState: function() {
71
+ return convertRouteTreeToFlightRouterState;
72
+ },
73
+ createDetachedSegmentCacheEntry: function() {
74
+ return createDetachedSegmentCacheEntry;
75
+ },
76
+ createMetadataRouteTree: function() {
77
+ return createMetadataRouteTree;
78
+ },
79
+ deprecated_requestOptimisticRouteCacheEntry: function() {
80
+ return deprecated_requestOptimisticRouteCacheEntry;
81
+ },
82
+ fetchInlinedSegmentsOnCacheMiss: function() {
83
+ return fetchInlinedSegmentsOnCacheMiss;
84
+ },
85
+ fetchRouteOnCacheMiss: function() {
86
+ return fetchRouteOnCacheMiss;
87
+ },
88
+ fetchSegmentOnCacheMiss: function() {
89
+ return fetchSegmentOnCacheMiss;
90
+ },
91
+ fetchSegmentPrefetchesUsingDynamicRequest: function() {
92
+ return fetchSegmentPrefetchesUsingDynamicRequest;
93
+ },
94
+ fulfillRouteCacheEntry: function() {
95
+ return fulfillRouteCacheEntry;
96
+ },
97
+ getCurrentRouteCacheVersion: function() {
98
+ return getCurrentRouteCacheVersion;
99
+ },
100
+ getCurrentSegmentCacheVersion: function() {
101
+ return getCurrentSegmentCacheVersion;
102
+ },
103
+ getStaleAt: function() {
104
+ return getStaleAt;
105
+ },
106
+ getStaleTimeMs: function() {
107
+ return getStaleTimeMs;
108
+ },
109
+ invalidateEntirePrefetchCache: function() {
110
+ return invalidateEntirePrefetchCache;
111
+ },
112
+ invalidateRouteCacheEntries: function() {
113
+ return invalidateRouteCacheEntries;
114
+ },
115
+ invalidateSegmentCacheEntries: function() {
116
+ return invalidateSegmentCacheEntries;
117
+ },
118
+ markRouteEntryAsDynamicRewrite: function() {
119
+ return markRouteEntryAsDynamicRewrite;
120
+ },
121
+ overwriteRevalidatingSegmentCacheEntry: function() {
122
+ return overwriteRevalidatingSegmentCacheEntry;
123
+ },
124
+ pingInvalidationListeners: function() {
125
+ return pingInvalidationListeners;
126
+ },
127
+ processRuntimePrefetchStream: function() {
128
+ return processRuntimePrefetchStream;
129
+ },
130
+ readOrCreateRevalidatingSegmentEntry: function() {
131
+ return readOrCreateRevalidatingSegmentEntry;
132
+ },
133
+ readOrCreateRouteCacheEntry: function() {
134
+ return readOrCreateRouteCacheEntry;
135
+ },
136
+ readOrCreateSegmentCacheEntry: function() {
137
+ return readOrCreateSegmentCacheEntry;
138
+ },
139
+ readRouteCacheEntry: function() {
140
+ return readRouteCacheEntry;
141
+ },
142
+ readSegmentCacheEntry: function() {
143
+ return readSegmentCacheEntry;
144
+ },
145
+ stripIsPartialByte: function() {
146
+ return stripIsPartialByte;
147
+ },
148
+ upgradeToPendingSegment: function() {
149
+ return upgradeToPendingSegment;
150
+ },
151
+ upsertSegmentEntry: function() {
152
+ return upsertSegmentEntry;
153
+ },
154
+ waitForSegmentCacheEntry: function() {
155
+ return waitForSegmentCacheEntry;
156
+ },
157
+ writeDynamicRenderResponseIntoCache: function() {
158
+ return writeDynamicRenderResponseIntoCache;
159
+ },
160
+ writeRouteIntoCache: function() {
161
+ return writeRouteIntoCache;
162
+ },
163
+ writeStaticStageResponseIntoCache: function() {
164
+ return writeStaticStageResponseIntoCache;
165
+ }
166
+ });
167
+ const _varyparamsdecoding = require("../../../shared/lib/segment-cache/vary-params-decoding");
168
+ const _approuterheaders = require("../app-router-headers");
169
+ const _fetchserverresponse = require("../router-reducer/fetch-server-response");
170
+ const _scheduler = require("./scheduler");
171
+ const _varypath = require("./vary-path");
172
+ const _createhreffromurl = require("../router-reducer/create-href-from-url");
173
+ const _cachekey = require("./cache-key");
174
+ const _routeparams = require("../../route-params");
175
+ const _cachemap = require("./cache-map");
176
+ const _segmentvalueencoding = require("../../../shared/lib/segment-cache/segment-value-encoding");
177
+ const _flightdatahelpers = require("../../flight-data-helpers");
178
+ const _navigatereducer = require("../router-reducer/reducers/navigate-reducer");
179
+ const _links = require("../links");
180
+ const _segment = require("../../../shared/lib/segment");
181
+ const _types = require("./types");
182
+ const _promisewithresolvers = require("../../../shared/lib/promise-with-resolvers");
183
+ const _bfcache = require("./bfcache");
184
+ const _optimisticroutes = require("./optimistic-routes");
185
+ const _navigation = require("./navigation");
186
+ const _navigationbuildid = require("../../navigation-build-id");
187
+ const _constants = require("../../../lib/constants");
188
+ function getStaleTimeMs(staleTimeSeconds) {
189
+ return Math.max(staleTimeSeconds, 30) * 1000;
190
+ }
191
+ var EntryStatus = /*#__PURE__*/ function(EntryStatus) {
192
+ EntryStatus[EntryStatus["Empty"] = 0] = "Empty";
193
+ EntryStatus[EntryStatus["Pending"] = 1] = "Pending";
194
+ EntryStatus[EntryStatus["Fulfilled"] = 2] = "Fulfilled";
195
+ EntryStatus[EntryStatus["Rejected"] = 3] = "Rejected";
196
+ return EntryStatus;
197
+ }({});
198
+ const isOutputExportMode = process.env.NODE_ENV === 'production' && process.env.__NEXT_CONFIG_OUTPUT === 'export';
199
+ const MetadataOnlyRequestTree = [
200
+ '',
201
+ {},
202
+ null,
203
+ 'metadata-only'
204
+ ];
205
+ let routeCacheMap = (0, _cachemap.createCacheMap)();
206
+ let segmentCacheMap = (0, _cachemap.createCacheMap)();
207
+ // All invalidation listeners for the whole cache are tracked in single set.
208
+ // Since we don't yet support tag or path-based invalidation, there's no point
209
+ // tracking them any more granularly than this. Once we add granular
210
+ // invalidation, that may change, though generally the model is to just notify
211
+ // the listeners and allow the caller to poll the prefetch cache with a new
212
+ // prefetch task if desired.
213
+ let invalidationListeners = null;
214
+ // Incrementing counters used to track cache invalidations. Route and segment
215
+ // caches have separate versions so they can be invalidated independently.
216
+ // Invalidation does not eagerly evict anything from the cache; entries are
217
+ // lazily evicted when read.
218
+ let currentRouteCacheVersion = 0;
219
+ let currentSegmentCacheVersion = 0;
220
+ function getCurrentRouteCacheVersion() {
221
+ return currentRouteCacheVersion;
222
+ }
223
+ function getCurrentSegmentCacheVersion() {
224
+ return currentSegmentCacheVersion;
225
+ }
226
+ function invalidateEntirePrefetchCache(nextUrl, tree) {
227
+ currentRouteCacheVersion++;
228
+ currentSegmentCacheVersion++;
229
+ (0, _links.pingVisibleLinks)(nextUrl, tree);
230
+ pingInvalidationListeners(nextUrl, tree);
231
+ }
232
+ function invalidateRouteCacheEntries(nextUrl, tree) {
233
+ currentRouteCacheVersion++;
234
+ (0, _links.pingVisibleLinks)(nextUrl, tree);
235
+ pingInvalidationListeners(nextUrl, tree);
236
+ }
237
+ function invalidateSegmentCacheEntries(nextUrl, tree) {
238
+ currentSegmentCacheVersion++;
239
+ (0, _links.pingVisibleLinks)(nextUrl, tree);
240
+ pingInvalidationListeners(nextUrl, tree);
241
+ }
242
+ function attachInvalidationListener(task) {
243
+ // This function is called whenever a prefetch task reads a cache entry. If
244
+ // the task has an onInvalidate function associated with it — i.e. the one
245
+ // optionally passed to router.prefetch(onInvalidate) — then we attach that
246
+ // listener to the every cache entry that the task reads. Then, if an entry
247
+ // is invalidated, we call the function.
248
+ if (task.onInvalidate !== null) {
249
+ if (invalidationListeners === null) {
250
+ invalidationListeners = new Set([
251
+ task
252
+ ]);
253
+ } else {
254
+ invalidationListeners.add(task);
255
+ }
256
+ }
257
+ }
258
+ function notifyInvalidationListener(task) {
259
+ const onInvalidate = task.onInvalidate;
260
+ if (onInvalidate !== null) {
261
+ // Clear the callback from the task object to guarantee it's not called more
262
+ // than once.
263
+ task.onInvalidate = null;
264
+ // This is a user-space function, so we must wrap in try/catch.
265
+ try {
266
+ onInvalidate();
267
+ } catch (error) {
268
+ if (typeof reportError === 'function') {
269
+ reportError(error);
270
+ } else {
271
+ console.error(error);
272
+ }
273
+ }
274
+ }
275
+ }
276
+ function pingInvalidationListeners(nextUrl, tree) {
277
+ // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.
278
+ // This is called when the Next-Url or the base tree changes, since those
279
+ // may affect the result of a prefetch task. It's also called after a
280
+ // cache invalidation.
281
+ if (invalidationListeners !== null) {
282
+ const tasks = invalidationListeners;
283
+ invalidationListeners = null;
284
+ for (const task of tasks){
285
+ if ((0, _scheduler.isPrefetchTaskDirty)(task, nextUrl, tree)) {
286
+ notifyInvalidationListener(task);
287
+ }
288
+ }
289
+ }
290
+ }
291
+ function readRouteCacheEntry(now, key) {
292
+ const varyPath = (0, _varypath.getRouteVaryPath)(key.pathname, key.search, key.nextUrl);
293
+ const isRevalidation = false;
294
+ const existingEntry = (0, _cachemap.getFromCacheMap)(now, getCurrentRouteCacheVersion(), routeCacheMap, varyPath, isRevalidation);
295
+ if (existingEntry !== null) {
296
+ return existingEntry;
297
+ }
298
+ // No cache hit. Attempt to construct from template using the new
299
+ // optimistic routing mechanism (pattern-based matching).
300
+ if (process.env.__NEXT_OPTIMISTIC_ROUTING) {
301
+ return (0, _optimisticroutes.matchKnownRoute)(key.pathname, key.search);
302
+ }
303
+ return null;
304
+ }
305
+ function readSegmentCacheEntry(now, varyPath) {
306
+ const isRevalidation = false;
307
+ return (0, _cachemap.getFromCacheMap)(now, getCurrentSegmentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);
308
+ }
309
+ function readRevalidatingSegmentCacheEntry(now, varyPath) {
310
+ const isRevalidation = true;
311
+ return (0, _cachemap.getFromCacheMap)(now, getCurrentSegmentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);
312
+ }
313
+ function waitForSegmentCacheEntry(pendingEntry) {
314
+ // Because the entry is pending, there's already a in-progress request.
315
+ // Attach a promise to the entry that will resolve when the server responds.
316
+ let promiseWithResolvers = pendingEntry.promise;
317
+ if (promiseWithResolvers === null) {
318
+ promiseWithResolvers = pendingEntry.promise = (0, _promisewithresolvers.createPromiseWithResolvers)();
319
+ } else {
320
+ // There's already a promise we can use
321
+ }
322
+ return promiseWithResolvers.promise;
323
+ }
324
+ function createDetachedRouteCacheEntry() {
325
+ return {
326
+ canonicalUrl: null,
327
+ status: 0,
328
+ blockedTasks: null,
329
+ tree: null,
330
+ metadata: null,
331
+ // This is initialized to true because we don't know yet whether the route
332
+ // could be intercepted. It's only set to false once we receive a response
333
+ // from the server.
334
+ couldBeIntercepted: true,
335
+ // Similarly, we don't yet know if the route supports PPR.
336
+ supportsPerSegmentPrefetching: false,
337
+ renderedSearch: null,
338
+ // Map-related fields
339
+ ref: null,
340
+ size: 0,
341
+ // Since this is an empty entry, there's no reason to ever evict it. It will
342
+ // be updated when the data is populated.
343
+ staleAt: Infinity,
344
+ version: getCurrentRouteCacheVersion()
345
+ };
346
+ }
347
+ function readOrCreateRouteCacheEntry(now, task, key) {
348
+ attachInvalidationListener(task);
349
+ const existingEntry = readRouteCacheEntry(now, key);
350
+ if (existingEntry !== null) {
351
+ return existingEntry;
352
+ }
353
+ // Create a pending entry and add it to the cache.
354
+ const pendingEntry = createDetachedRouteCacheEntry();
355
+ const varyPath = (0, _varypath.getRouteVaryPath)(key.pathname, key.search, key.nextUrl);
356
+ const isRevalidation = false;
357
+ (0, _cachemap.setInCacheMap)(routeCacheMap, varyPath, pendingEntry, isRevalidation);
358
+ return pendingEntry;
359
+ }
360
+ function deprecated_requestOptimisticRouteCacheEntry(now, requestedUrl, nextUrl) {
361
+ // This function is called during a navigation when there was no matching
362
+ // route tree in the prefetch cache. Before de-opting to a blocking,
363
+ // unprefetched navigation, we will first attempt to construct an "optimistic"
364
+ // route tree by checking the cache for similar routes.
365
+ //
366
+ // Check if there's a route with the same pathname, but with different
367
+ // search params. We can then base our optimistic route tree on this entry.
368
+ //
369
+ // Conceptually, we are simulating what would happen if we did perform a
370
+ // prefetch the requested URL, under the assumption that the server will
371
+ // not redirect or rewrite the request in a different manner than the
372
+ // base route tree. This assumption might not hold, in which case we'll have
373
+ // to recover when we perform the dynamic navigation request. However, this
374
+ // is what would happen if a route were dynamically rewritten/redirected
375
+ // in between the prefetch and the navigation. So the logic needs to exist
376
+ // to handle this case regardless.
377
+ // Look for a route with the same pathname, but with an empty search string.
378
+ // TODO: There's nothing inherently special about the empty search string;
379
+ // it's chosen somewhat arbitrarily, with the rationale that it's the most
380
+ // likely one to exist. But we should update this to match _any_ search
381
+ // string. The plan is to generalize this logic alongside other improvements
382
+ // related to "fallback" cache entries.
383
+ const requestedSearch = requestedUrl.search;
384
+ if (requestedSearch === '') {
385
+ // The caller would have already checked if a route with an empty search
386
+ // string is in the cache. So we can bail out here.
387
+ return null;
388
+ }
389
+ const urlWithoutSearchParams = new URL(requestedUrl);
390
+ urlWithoutSearchParams.search = '';
391
+ const routeWithNoSearchParams = readRouteCacheEntry(now, (0, _cachekey.createCacheKey)(urlWithoutSearchParams.href, nextUrl));
392
+ if (routeWithNoSearchParams === null || routeWithNoSearchParams.status !== 2) {
393
+ // Bail out of constructing an optimistic route tree. This will result in
394
+ // a blocking, unprefetched navigation.
395
+ return null;
396
+ }
397
+ // Now we have a base route tree we can "patch" with our optimistic values.
398
+ // Optimistically assume that redirects for the requested pathname do
399
+ // not vary on the search string. Therefore, if the base route was
400
+ // redirected to a different search string, then the optimistic route
401
+ // should be redirected to the same search string. Otherwise, we use
402
+ // the requested search string.
403
+ const canonicalUrlForRouteWithNoSearchParams = new URL(routeWithNoSearchParams.canonicalUrl, requestedUrl.origin);
404
+ const optimisticCanonicalSearch = canonicalUrlForRouteWithNoSearchParams.search !== '' ? canonicalUrlForRouteWithNoSearchParams.search : requestedSearch;
405
+ // Similarly, optimistically assume that rewrites for the requested
406
+ // pathname do not vary on the search string. Therefore, if the base
407
+ // route was rewritten to a different search string, then the optimistic
408
+ // route should be rewritten to the same search string. Otherwise, we use
409
+ // the requested search string.
410
+ const optimisticRenderedSearch = routeWithNoSearchParams.renderedSearch !== '' ? routeWithNoSearchParams.renderedSearch : requestedSearch;
411
+ const optimisticUrl = new URL(routeWithNoSearchParams.canonicalUrl, location.origin);
412
+ optimisticUrl.search = optimisticCanonicalSearch;
413
+ const optimisticCanonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(optimisticUrl);
414
+ const optimisticRouteTree = deprecated_createOptimisticRouteTree(routeWithNoSearchParams.tree, optimisticRenderedSearch);
415
+ const optimisticMetadataTree = deprecated_createOptimisticRouteTree(routeWithNoSearchParams.metadata, optimisticRenderedSearch);
416
+ // Clone the base route tree, and override the relevant fields with our
417
+ // optimistic values.
418
+ const optimisticEntry = {
419
+ canonicalUrl: optimisticCanonicalUrl,
420
+ status: 2,
421
+ // This isn't cloned because it's instance-specific
422
+ blockedTasks: null,
423
+ tree: optimisticRouteTree,
424
+ metadata: optimisticMetadataTree,
425
+ couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,
426
+ supportsPerSegmentPrefetching: routeWithNoSearchParams.supportsPerSegmentPrefetching,
427
+ hasDynamicRewrite: routeWithNoSearchParams.hasDynamicRewrite,
428
+ // Override the rendered search with the optimistic value.
429
+ renderedSearch: optimisticRenderedSearch,
430
+ // Map-related fields
431
+ ref: null,
432
+ size: 0,
433
+ staleAt: routeWithNoSearchParams.staleAt,
434
+ version: routeWithNoSearchParams.version
435
+ };
436
+ // Do not insert this entry into the cache. It only exists so we can
437
+ // perform the current navigation. Just return it to the caller.
438
+ return optimisticEntry;
439
+ }
440
+ function deprecated_createOptimisticRouteTree(tree, newRenderedSearch) {
441
+ // Create a new route tree that identical to the original one except for
442
+ // the rendered search string, which is contained in the vary path.
443
+ let clonedSlots = null;
444
+ const originalSlots = tree.slots;
445
+ if (originalSlots !== null) {
446
+ clonedSlots = {};
447
+ for(const parallelRouteKey in originalSlots){
448
+ const childTree = originalSlots[parallelRouteKey];
449
+ clonedSlots[parallelRouteKey] = deprecated_createOptimisticRouteTree(childTree, newRenderedSearch);
450
+ }
451
+ }
452
+ // We only need to clone the vary path if the route is a page.
453
+ if (tree.isPage) {
454
+ return {
455
+ requestKey: tree.requestKey,
456
+ segment: tree.segment,
457
+ refreshState: tree.refreshState,
458
+ varyPath: (0, _varypath.clonePageVaryPathWithNewSearchParams)(tree.varyPath, newRenderedSearch),
459
+ isPage: true,
460
+ slots: clonedSlots,
461
+ prefetchHints: tree.prefetchHints
462
+ };
463
+ }
464
+ return {
465
+ requestKey: tree.requestKey,
466
+ segment: tree.segment,
467
+ refreshState: tree.refreshState,
468
+ varyPath: tree.varyPath,
469
+ isPage: false,
470
+ slots: clonedSlots,
471
+ prefetchHints: tree.prefetchHints
472
+ };
473
+ }
474
+ function readOrCreateSegmentCacheEntry(now, fetchStrategy, tree) {
475
+ const existingEntry = readSegmentCacheEntry(now, tree.varyPath);
476
+ if (existingEntry !== null) {
477
+ return existingEntry;
478
+ }
479
+ // Create a pending entry and add it to the cache. The stale time is set to a
480
+ // default value; the actual stale time will be set when the entry is
481
+ // fulfilled with data from the server response.
482
+ const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree);
483
+ const pendingEntry = createDetachedSegmentCacheEntry(now);
484
+ const isRevalidation = false;
485
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);
486
+ return pendingEntry;
487
+ }
488
+ function readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, tree) {
489
+ // This function is called when we've already confirmed that a particular
490
+ // segment is cached, but we want to perform another request anyway in case it
491
+ // returns more complete and/or fresher data than we already have. The logic
492
+ // for deciding whether to replace the existing entry is handled elsewhere;
493
+ // this function just handles retrieving a cache entry that we can use to
494
+ // track the revalidation.
495
+ //
496
+ // The reason revalidations are stored in the cache is because we need to be
497
+ // able to dedupe multiple revalidation requests. The reason they have to be
498
+ // handled specially is because we shouldn't overwrite a "normal" entry if
499
+ // one exists at the same keypath. So, for each internal cache location, there
500
+ // is a special "revalidation" slot that is used solely for this purpose.
501
+ //
502
+ // You can think of it as if all the revalidation entries were stored in a
503
+ // separate cache map from the canonical entries, and then transfered to the
504
+ // canonical cache map once the request is complete — this isn't how it's
505
+ // actually implemented, since it's more efficient to store them in the same
506
+ // data structure as the normal entries, but that's how it's modeled
507
+ // conceptually.
508
+ // TODO: Once we implement Fallback behavior for params, where an entry is
509
+ // re-keyed based on response information, we'll need to account for the
510
+ // possibility that the keypath of the previous entry is more generic than
511
+ // the keypath of the revalidating entry. In other words, the server could
512
+ // return a less generic entry upon revalidation. For now, though, this isn't
513
+ // a concern because the keypath is based solely on the prefetch strategy,
514
+ // not on data contained in the response.
515
+ const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath);
516
+ if (existingEntry !== null) {
517
+ return existingEntry;
518
+ }
519
+ // Create a pending entry and add it to the cache. The stale time is set to a
520
+ // default value; the actual stale time will be set when the entry is
521
+ // fulfilled with data from the server response.
522
+ const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree);
523
+ const pendingEntry = createDetachedSegmentCacheEntry(now);
524
+ const isRevalidation = true;
525
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);
526
+ return pendingEntry;
527
+ }
528
+ function overwriteRevalidatingSegmentCacheEntry(now, fetchStrategy, tree) {
529
+ // This function is called when we've already decided to replace an existing
530
+ // revalidation entry. Create a new entry and write it into the cache,
531
+ // overwriting the previous value. The stale time is set to a default value;
532
+ // the actual stale time will be set when the entry is fulfilled with data
533
+ // from the server response.
534
+ const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree);
535
+ const pendingEntry = createDetachedSegmentCacheEntry(now);
536
+ const isRevalidation = true;
537
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);
538
+ return pendingEntry;
539
+ }
540
+ function upsertSegmentEntry(now, varyPath, candidateEntry) {
541
+ // We have a new entry that has not yet been inserted into the cache. Before
542
+ // we do so, we need to confirm whether it takes precedence over the existing
543
+ // entry (if one exists).
544
+ // TODO: We should not upsert an entry if its key was invalidated in the time
545
+ // since the request was made. We can do that by passing the "owner" entry to
546
+ // this function and confirming it's the same as `existingEntry`.
547
+ if ((0, _cachemap.isValueExpired)(now, getCurrentSegmentCacheVersion(), candidateEntry)) {
548
+ // The entry is expired. We cannot upsert it.
549
+ return null;
550
+ }
551
+ const existingEntry = readSegmentCacheEntry(now, varyPath);
552
+ if (existingEntry !== null) {
553
+ // Don't replace a more specific segment with a less-specific one. A case where this
554
+ // might happen is if the existing segment was fetched via
555
+ // `<Link prefetch={true}>`.
556
+ if (// We fetched the new segment using a different, less specific fetch strategy
557
+ // than the segment we already have in the cache, so it can't have more content.
558
+ candidateEntry.fetchStrategy !== existingEntry.fetchStrategy && !canNewFetchStrategyProvideMoreContent(existingEntry.fetchStrategy, candidateEntry.fetchStrategy) || // The existing entry isn't partial, but the new one is.
559
+ // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)
560
+ !existingEntry.isPartial && candidateEntry.isPartial) {
561
+ // We're going to leave revalidating entry in the cache so that it doesn't
562
+ // get revalidated again unnecessarily. Downgrade the Fulfilled entry to
563
+ // Rejected and null out the data so it can be garbage collected. We leave
564
+ // `staleAt` intact to prevent subsequent revalidation attempts only until
565
+ // the entry expires.
566
+ const rejectedEntry = candidateEntry;
567
+ rejectedEntry.status = 3;
568
+ rejectedEntry.rsc = null;
569
+ return null;
570
+ }
571
+ // Evict the existing entry from the cache.
572
+ (0, _cachemap.deleteFromCacheMap)(existingEntry);
573
+ }
574
+ const isRevalidation = false;
575
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPath, candidateEntry, isRevalidation);
576
+ return candidateEntry;
577
+ }
578
+ function createDetachedSegmentCacheEntry(now) {
579
+ // Default stale time for pending segment cache entries. The actual stale time
580
+ // is set when the entry is fulfilled with data from the server response.
581
+ const staleAt = now + 30 * 1000;
582
+ const emptyEntry = {
583
+ status: 0,
584
+ // Default to assuming the fetch strategy will be PPR. This will be updated
585
+ // when a fetch is actually initiated.
586
+ fetchStrategy: _types.FetchStrategy.PPR,
587
+ rsc: null,
588
+ isPartial: true,
589
+ promise: null,
590
+ // Map-related fields
591
+ ref: null,
592
+ size: 0,
593
+ staleAt,
594
+ version: 0
595
+ };
596
+ return emptyEntry;
597
+ }
598
+ function upgradeToPendingSegment(emptyEntry, fetchStrategy) {
599
+ const pendingEntry = emptyEntry;
600
+ pendingEntry.status = 1;
601
+ pendingEntry.fetchStrategy = fetchStrategy;
602
+ if (fetchStrategy === _types.FetchStrategy.Full) {
603
+ // We can assume the response will contain the full segment data. Set this
604
+ // to false so we know it's OK to omit this segment from any navigation
605
+ // requests that may happen while the data is still pending.
606
+ pendingEntry.isPartial = false;
607
+ }
608
+ // Set the version here, since this is right before the request is initiated.
609
+ // The next time the segment cache version is incremented, the entry will
610
+ // effectively be evicted. This happens before initiating the request, rather
611
+ // than when receiving the response, because it's guaranteed to happen
612
+ // before the data is read on the server.
613
+ pendingEntry.version = getCurrentSegmentCacheVersion();
614
+ return pendingEntry;
615
+ }
616
+ function attemptToFulfillDynamicSegmentFromBFCache(now, segment, tree) {
617
+ // Attempts to fulfill an empty segment cache entry using data from the
618
+ // bfcache. This is only valid during a Full prefetch (i.e. one that includes
619
+ // dynamic data), because the bfcache stores data from navigations which
620
+ // always include dynamic data.
621
+ // We always use the canonical vary path when checking the bfcache. This is
622
+ // the same operation we'd use to access the cache during a
623
+ // regular navigation.
624
+ const varyPath = tree.varyPath;
625
+ // Read from the BFCache without expiring it (pass -1). We check freshness
626
+ // ourselves using navigatedAt, because the BFCache's staleAt may have been
627
+ // overridden by a per-page unstable_dynamicStaleTime and can't be used to
628
+ // derive the original request time.
629
+ const bfcacheEntry = (0, _bfcache.readFromBFCache)(varyPath);
630
+ if (bfcacheEntry !== null) {
631
+ // The stale time for dynamic prefetches (default: 5 mins) is different
632
+ // from the stale time for regular navigations (default: 0 secs). Use
633
+ // navigatedAt to compute the correct expiry for prefetch purposes.
634
+ const dynamicPrefetchStaleAt = bfcacheEntry.navigatedAt + _navigatereducer.STATIC_STALETIME_MS;
635
+ if (now > dynamicPrefetchStaleAt) {
636
+ return null;
637
+ }
638
+ const pendingSegment = upgradeToPendingSegment(segment, _types.FetchStrategy.Full);
639
+ const isPartial = false;
640
+ return fulfillSegmentCacheEntry(pendingSegment, bfcacheEntry.rsc, dynamicPrefetchStaleAt, isPartial);
641
+ }
642
+ return null;
643
+ }
644
+ function attemptToUpgradeSegmentFromBFCache(now, tree) {
645
+ const varyPath = tree.varyPath;
646
+ const bfcacheEntry = (0, _bfcache.readFromBFCache)(varyPath);
647
+ if (bfcacheEntry !== null) {
648
+ const dynamicPrefetchStaleAt = bfcacheEntry.navigatedAt + _navigatereducer.STATIC_STALETIME_MS;
649
+ if (now > dynamicPrefetchStaleAt) {
650
+ return null;
651
+ }
652
+ const pendingSegment = upgradeToPendingSegment(createDetachedSegmentCacheEntry(now), _types.FetchStrategy.Full);
653
+ const isPartial = false;
654
+ const newEntry = fulfillSegmentCacheEntry(pendingSegment, bfcacheEntry.rsc, dynamicPrefetchStaleAt, isPartial);
655
+ const segmentVaryPath = (0, _varypath.getSegmentVaryPathForRequest)(_types.FetchStrategy.Full, tree);
656
+ const upserted = upsertSegmentEntry(now, segmentVaryPath, newEntry);
657
+ if (upserted !== null && upserted.status === 2) {
658
+ return upserted;
659
+ }
660
+ }
661
+ return null;
662
+ }
663
+ function pingBlockedTasks(entry) {
664
+ const blockedTasks = entry.blockedTasks;
665
+ if (blockedTasks !== null) {
666
+ for (const task of blockedTasks){
667
+ (0, _scheduler.pingPrefetchTask)(task);
668
+ }
669
+ entry.blockedTasks = null;
670
+ }
671
+ }
672
+ function createMetadataRouteTree(metadataVaryPath) {
673
+ // The Head is not actually part of the route tree, but other than that, it's
674
+ // fetched and cached like a segment. Some functions expect a RouteTree
675
+ // object, so rather than fork the logic in all those places, we use this
676
+ // "fake" one.
677
+ const metadata = {
678
+ requestKey: _segmentvalueencoding.HEAD_REQUEST_KEY,
679
+ segment: _segmentvalueencoding.HEAD_REQUEST_KEY,
680
+ refreshState: null,
681
+ varyPath: metadataVaryPath,
682
+ // The metadata isn't really a "page" (though it isn't really a "segment"
683
+ // either) but for the purposes of how this field is used, it behaves like
684
+ // one. If this logic ever gets more complex we can change this to an enum.
685
+ isPage: true,
686
+ slots: null,
687
+ prefetchHints: 0
688
+ };
689
+ return metadata;
690
+ }
691
+ function fulfillRouteCacheEntry(now, entry, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching) {
692
+ // Get the rendered search from the vary path
693
+ const renderedSearch = (0, _varypath.getRenderedSearchFromVaryPath)(metadataVaryPath) ?? '';
694
+ const fulfilledEntry = entry;
695
+ fulfilledEntry.status = 2;
696
+ fulfilledEntry.tree = tree;
697
+ fulfilledEntry.metadata = createMetadataRouteTree(metadataVaryPath);
698
+ // Route structure is essentially static — it only changes on deploy.
699
+ // Always use the static stale time.
700
+ // NOTE: An exception is rewrites/redirects in middleware or proxy, which can
701
+ // change routes dynamically. We have other strategies for handling those.
702
+ fulfilledEntry.staleAt = now + _navigatereducer.STATIC_STALETIME_MS;
703
+ fulfilledEntry.couldBeIntercepted = couldBeIntercepted;
704
+ fulfilledEntry.canonicalUrl = canonicalUrl;
705
+ fulfilledEntry.renderedSearch = renderedSearch;
706
+ fulfilledEntry.supportsPerSegmentPrefetching = supportsPerSegmentPrefetching;
707
+ fulfilledEntry.hasDynamicRewrite = false;
708
+ pingBlockedTasks(entry);
709
+ return fulfilledEntry;
710
+ }
711
+ function writeRouteIntoCache(now, pathname, nextUrl, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching) {
712
+ const pendingEntry = createDetachedRouteCacheEntry();
713
+ const fulfilledEntry = fulfillRouteCacheEntry(now, pendingEntry, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);
714
+ const renderedSearch = fulfilledEntry.renderedSearch;
715
+ const varyPath = (0, _varypath.getFulfilledRouteVaryPath)(pathname, renderedSearch, nextUrl, couldBeIntercepted);
716
+ const isRevalidation = false;
717
+ (0, _cachemap.setInCacheMap)(routeCacheMap, varyPath, fulfilledEntry, isRevalidation);
718
+ return fulfilledEntry;
719
+ }
720
+ function markRouteEntryAsDynamicRewrite(entry) {
721
+ entry.hasDynamicRewrite = true;
722
+ // Note: The caller is responsible for also calling invalidateRouteCacheEntries
723
+ // to invalidate other entries that may have been derived from this template
724
+ // before we knew it had a dynamic rewrite.
725
+ }
726
+ function fulfillSegmentCacheEntry(segmentCacheEntry, rsc, staleAt, isPartial) {
727
+ const fulfilledEntry = segmentCacheEntry;
728
+ fulfilledEntry.status = 2;
729
+ fulfilledEntry.rsc = rsc;
730
+ fulfilledEntry.staleAt = staleAt;
731
+ fulfilledEntry.isPartial = isPartial;
732
+ // Resolve any listeners that were waiting for this data.
733
+ if (segmentCacheEntry.promise !== null) {
734
+ segmentCacheEntry.promise.resolve(fulfilledEntry);
735
+ // Free the promise for garbage collection.
736
+ fulfilledEntry.promise = null;
737
+ }
738
+ return fulfilledEntry;
739
+ }
740
+ function rejectRouteCacheEntry(entry, staleAt) {
741
+ const rejectedEntry = entry;
742
+ rejectedEntry.status = 3;
743
+ rejectedEntry.staleAt = staleAt;
744
+ pingBlockedTasks(entry);
745
+ }
746
+ function rejectSegmentCacheEntry(entry, staleAt) {
747
+ const rejectedEntry = entry;
748
+ rejectedEntry.status = 3;
749
+ rejectedEntry.staleAt = staleAt;
750
+ if (entry.promise !== null) {
751
+ // NOTE: We don't currently propagate the reason the prefetch was canceled
752
+ // but we could by accepting a `reason` argument.
753
+ entry.promise.resolve(null);
754
+ entry.promise = null;
755
+ }
756
+ }
757
+ function convertRootTreePrefetchToRouteTree(rootTree, renderedPathname, renderedSearch, acc) {
758
+ // Remove trailing and leading slashes
759
+ const pathnameParts = renderedPathname.split('/').filter((p)=>p !== '');
760
+ const index = 0;
761
+ const rootSegment = _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY;
762
+ return convertTreePrefetchToRouteTree(rootTree.tree, rootSegment, null, _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY, pathnameParts, index, renderedSearch, acc);
763
+ }
764
+ function convertTreePrefetchToRouteTree(prefetch, segment, partialVaryPath, requestKey, pathnameParts, pathnamePartsIndex, renderedSearch, acc) {
765
+ // Converts the route tree sent by the server into the format used by the
766
+ // cache. The cached version of the tree includes additional fields, such as a
767
+ // cache key for each segment. Since this is frequently accessed, we compute
768
+ // it once instead of on every access. This same cache key is also used to
769
+ // request the segment from the server.
770
+ let slots = null;
771
+ let isPage;
772
+ let varyPath;
773
+ const prefetchSlots = prefetch.slots;
774
+ if (prefetchSlots !== null) {
775
+ isPage = false;
776
+ varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath);
777
+ slots = {};
778
+ for(let parallelRouteKey in prefetchSlots){
779
+ const childPrefetch = prefetchSlots[parallelRouteKey];
780
+ const childSegmentName = childPrefetch.name;
781
+ const childParam = childPrefetch.param;
782
+ let childDoesAppearInURL;
783
+ let childSegment;
784
+ let childPartialVaryPath;
785
+ if (childParam !== null) {
786
+ // This segment is parameterized. Get the param from the pathname.
787
+ const childParamValue = (0, _routeparams.parseDynamicParamFromURLPart)(childParam.type, pathnameParts, pathnamePartsIndex);
788
+ // Assign a cache key to the segment, based on the param value. In the
789
+ // pre-Segment Cache implementation, the server computes this and sends
790
+ // it in the body of the response. In the Segment Cache implementation,
791
+ // the server sends an empty string and we fill it in here.
792
+ // TODO: We're intentionally not adding the search param to page
793
+ // segments here; it's tracked separately and added back during a read.
794
+ // This would clearer if we waited to construct the segment until it's
795
+ // read from the cache, since that's effectively what we're
796
+ // doing anyway.
797
+ const childParamKey = // The server omits this field from the prefetch response when
798
+ // cacheComponents is enabled.
799
+ childParam.key !== null ? childParam.key : (0, _routeparams.getCacheKeyForDynamicParam)(childParamValue, '');
800
+ childPartialVaryPath = (0, _varypath.appendLayoutVaryPath)(partialVaryPath, childParamKey, childSegmentName);
801
+ childSegment = [
802
+ childSegmentName,
803
+ childParamKey,
804
+ childParam.type,
805
+ childParam.siblings
806
+ ];
807
+ childDoesAppearInURL = true;
808
+ } else {
809
+ // This segment does not have a param. Inherit the partial vary path of
810
+ // the parent.
811
+ childPartialVaryPath = partialVaryPath;
812
+ childSegment = childSegmentName;
813
+ childDoesAppearInURL = (0, _routeparams.doesStaticSegmentAppearInURL)(childSegmentName);
814
+ }
815
+ // Only increment the index if the segment appears in the URL. If it's a
816
+ // "virtual" segment, like a route group, it remains the same.
817
+ const childPathnamePartsIndex = childDoesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex;
818
+ const childRequestKeyPart = (0, _segmentvalueencoding.createSegmentRequestKeyPart)(childSegment);
819
+ const childRequestKey = (0, _segmentvalueencoding.appendSegmentRequestKeyPart)(requestKey, parallelRouteKey, childRequestKeyPart);
820
+ slots[parallelRouteKey] = convertTreePrefetchToRouteTree(childPrefetch, childSegment, childPartialVaryPath, childRequestKey, pathnameParts, childPathnamePartsIndex, renderedSearch, acc);
821
+ }
822
+ } else {
823
+ if (requestKey.endsWith(_segment.PAGE_SEGMENT_KEY)) {
824
+ // This is a page segment.
825
+ isPage = true;
826
+ varyPath = (0, _varypath.finalizePageVaryPath)(requestKey, renderedSearch, partialVaryPath);
827
+ // The metadata "segment" is not part the route tree, but it has the same
828
+ // conceptual params as a page segment. Write the vary path into the
829
+ // accumulator object. If there are multiple parallel pages, we use the
830
+ // first one. Which page we choose is arbitrary as long as it's
831
+ // consistently the same one every time every time. See
832
+ // finalizeMetadataVaryPath for more details.
833
+ if (acc.metadataVaryPath === null) {
834
+ acc.metadataVaryPath = (0, _varypath.finalizeMetadataVaryPath)(requestKey, renderedSearch, partialVaryPath);
835
+ }
836
+ } else {
837
+ // This is a layout segment.
838
+ isPage = false;
839
+ varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath);
840
+ }
841
+ }
842
+ return {
843
+ requestKey,
844
+ segment,
845
+ refreshState: null,
846
+ // TODO: Cheating the type system here a bit because TypeScript can't tell
847
+ // that the type of isPage and varyPath are consistent. The fix would be to
848
+ // create separate constructors and call the appropriate one from each of
849
+ // the branches above. Just seems a bit overkill only for one field so I'll
850
+ // leave it as-is for now. If isPage were wrong it would break the behavior
851
+ // and we'd catch it quickly, anyway.
852
+ varyPath: varyPath,
853
+ isPage: isPage,
854
+ slots,
855
+ prefetchHints: prefetch.prefetchHints
856
+ };
857
+ }
858
+ function convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc) {
859
+ return convertFlightRouterStateToRouteTree(flightRouterState, _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY, null, renderedSearch, acc);
860
+ }
861
+ function convertReusedFlightRouterStateToRouteTree(parentRouteTree, parallelRouteKey, flightRouterState, renderedSearch, acc) {
862
+ // Create a RouteTree for a FlightRouterState that was reused from an older
863
+ // route. This happens during a navigation when a parallel route slot does not
864
+ // match the target route; we reuse whatever slot was already active.
865
+ // Unlike a FlightRouterState, the RouteTree type contains backreferences to
866
+ // the parent segments. Append the vary path to the parent's vary path.
867
+ const parentPartialVaryPath = parentRouteTree.isPage ? (0, _varypath.getPartialPageVaryPath)(parentRouteTree.varyPath) : (0, _varypath.getPartialLayoutVaryPath)(parentRouteTree.varyPath);
868
+ const segment = flightRouterState[0];
869
+ // And the request key.
870
+ const parentRequestKey = parentRouteTree.requestKey;
871
+ const requestKeyPart = (0, _segmentvalueencoding.createSegmentRequestKeyPart)(segment);
872
+ const requestKey = (0, _segmentvalueencoding.appendSegmentRequestKeyPart)(parentRequestKey, parallelRouteKey, requestKeyPart);
873
+ return convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, renderedSearch, acc);
874
+ }
875
+ function convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, parentRenderedSearch, acc) {
876
+ const originalSegment = flightRouterState[0];
877
+ // If the FlightRouterState has a refresh state, then this segment is part of
878
+ // an inactive parallel route. It has a different rendered search query than
879
+ // the outer parent route. In order to construct the inactive route correctly,
880
+ // we must restore the query that was originally used to render it.
881
+ const compressedRefreshState = flightRouterState[2] ?? null;
882
+ const refreshState = compressedRefreshState !== null ? {
883
+ canonicalUrl: compressedRefreshState[0],
884
+ renderedSearch: compressedRefreshState[1]
885
+ } : null;
886
+ const renderedSearch = refreshState !== null ? refreshState.renderedSearch : parentRenderedSearch;
887
+ let segment;
888
+ let partialVaryPath;
889
+ let isPage;
890
+ let varyPath;
891
+ if (Array.isArray(originalSegment)) {
892
+ isPage = false;
893
+ const paramCacheKey = originalSegment[1];
894
+ const paramName = originalSegment[0];
895
+ partialVaryPath = (0, _varypath.appendLayoutVaryPath)(parentPartialVaryPath, paramCacheKey, paramName);
896
+ varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath);
897
+ segment = originalSegment;
898
+ } else {
899
+ // This segment does not have a param. Inherit the partial vary path of
900
+ // the parent.
901
+ partialVaryPath = parentPartialVaryPath;
902
+ if (requestKey.endsWith(_segment.PAGE_SEGMENT_KEY)) {
903
+ // This is a page segment.
904
+ isPage = true;
905
+ // The navigation implementation expects the search params to be included
906
+ // in the segment. However, in the case of a static response, the search
907
+ // params are omitted. So the client needs to add them back in when reading
908
+ // from the Segment Cache.
909
+ //
910
+ // For consistency, we'll do this for dynamic responses, too.
911
+ //
912
+ // TODO: We should move search params out of FlightRouterState and handle
913
+ // them entirely on the client, similar to our plan for dynamic params.
914
+ segment = _segment.PAGE_SEGMENT_KEY;
915
+ varyPath = (0, _varypath.finalizePageVaryPath)(requestKey, renderedSearch, partialVaryPath);
916
+ // The metadata "segment" is not part the route tree, but it has the same
917
+ // conceptual params as a page segment. Write the vary path into the
918
+ // accumulator object. If there are multiple parallel pages, we use the
919
+ // first one. Which page we choose is arbitrary as long as it's
920
+ // consistently the same one every time every time. See
921
+ // finalizeMetadataVaryPath for more details.
922
+ if (acc.metadataVaryPath === null) {
923
+ acc.metadataVaryPath = (0, _varypath.finalizeMetadataVaryPath)(requestKey, renderedSearch, partialVaryPath);
924
+ }
925
+ } else {
926
+ // This is a layout segment.
927
+ isPage = false;
928
+ segment = originalSegment;
929
+ varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath);
930
+ }
931
+ }
932
+ let slots = null;
933
+ const parallelRoutes = flightRouterState[1];
934
+ for(let parallelRouteKey in parallelRoutes){
935
+ const childRouterState = parallelRoutes[parallelRouteKey];
936
+ const childSegment = childRouterState[0];
937
+ // TODO: Eventually, the param values will not be included in the response
938
+ // from the server. We'll instead fill them in on the client by parsing
939
+ // the URL. This is where we'll do that.
940
+ const childRequestKeyPart = (0, _segmentvalueencoding.createSegmentRequestKeyPart)(childSegment);
941
+ const childRequestKey = (0, _segmentvalueencoding.appendSegmentRequestKeyPart)(requestKey, parallelRouteKey, childRequestKeyPart);
942
+ const childTree = convertFlightRouterStateToRouteTree(childRouterState, childRequestKey, partialVaryPath, renderedSearch, acc);
943
+ if (slots === null) {
944
+ slots = {
945
+ [parallelRouteKey]: childTree
946
+ };
947
+ } else {
948
+ slots[parallelRouteKey] = childTree;
949
+ }
950
+ }
951
+ return {
952
+ requestKey,
953
+ segment,
954
+ refreshState,
955
+ // TODO: Cheating the type system here a bit because TypeScript can't tell
956
+ // that the type of isPage and varyPath are consistent. The fix would be to
957
+ // create separate constructors and call the appropriate one from each of
958
+ // the branches above. Just seems a bit overkill only for one field so I'll
959
+ // leave it as-is for now. If isPage were wrong it would break the behavior
960
+ // and we'd catch it quickly, anyway.
961
+ varyPath: varyPath,
962
+ isPage: isPage,
963
+ slots,
964
+ prefetchHints: flightRouterState[4] ?? 0
965
+ };
966
+ }
967
+ function convertRouteTreeToFlightRouterState(routeTree) {
968
+ const parallelRoutes = {};
969
+ if (routeTree.slots !== null) {
970
+ for(const parallelRouteKey in routeTree.slots){
971
+ parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(routeTree.slots[parallelRouteKey]);
972
+ }
973
+ }
974
+ const flightRouterState = [
975
+ routeTree.segment,
976
+ parallelRoutes,
977
+ null,
978
+ null
979
+ ];
980
+ return flightRouterState;
981
+ }
982
+ async function fetchRouteOnCacheMiss(entry, key) {
983
+ // This function is allowed to use async/await because it contains the actual
984
+ // fetch that gets issued on a cache miss. Notice it writes the result to the
985
+ // cache entry directly, rather than return data that is then written by
986
+ // the caller.
987
+ const pathname = key.pathname;
988
+ const search = key.search;
989
+ const nextUrl = key.nextUrl;
990
+ const segmentPath = '/_tree';
991
+ const headers = {
992
+ [_approuterheaders.RSC_HEADER]: '1',
993
+ [_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER]: '1',
994
+ [_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath
995
+ };
996
+ if (nextUrl !== null) {
997
+ headers[_approuterheaders.NEXT_URL] = nextUrl;
998
+ }
999
+ // Tell the server to perform a static pre-render for the Instant Navigation
1000
+ // Testing API. Static pre-renders don't normally happen during development.
1001
+ addInstantPrefetchHeaderIfLocked(headers);
1002
+ try {
1003
+ const url = new URL(pathname + search, location.origin);
1004
+ let response;
1005
+ let urlAfterRedirects;
1006
+ if (isOutputExportMode) {
1007
+ // In output: "export" mode, we can't use headers to request a particular
1008
+ // segment. Instead, we encode the extra request information into the URL.
1009
+ // This is not part of the "public" interface of the app; it's an internal
1010
+ // Next.js implementation detail that the app developer should not need to
1011
+ // concern themselves with.
1012
+ //
1013
+ // For example, to request a segment:
1014
+ //
1015
+ // Path passed to <Link>: /path/to/page
1016
+ // Path passed to fetch: /path/to/page/__next-segments/_tree
1017
+ //
1018
+ // (This is not the exact protocol, just an illustration.)
1019
+ //
1020
+ // Before we do that, though, we need to account for redirects. Even in
1021
+ // output: "export" mode, a proxy might redirect the page to a different
1022
+ // location, but we shouldn't assume or expect that they also redirect all
1023
+ // the segment files, too.
1024
+ //
1025
+ // To check whether the page is redirected, previously we perform a range
1026
+ // request of 64 bytes of the HTML document to check if the target page
1027
+ // is part of this app (by checking if build id matches). Only if the target
1028
+ // page is part of this app do we determine the final canonical URL.
1029
+ //
1030
+ // However, as mentioned in https://github.com/vercel/next.js/pull/85903,
1031
+ // some popular static hosting providers (like Cloudflare Pages or Render.com)
1032
+ // do not support range requests, in the worst case, the entire HTML instead
1033
+ // of 64 bytes could be returned, which is wasteful.
1034
+ //
1035
+ // So instead, we drops the check for build id here, and simply perform
1036
+ // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the
1037
+ // final URL after redirects.
1038
+ //
1039
+ // NOTE: We could embed the route tree into the HTML document, to avoid
1040
+ // a second request. We're not doing that currently because it would make
1041
+ // the HTML document larger and affect normal page loads.
1042
+ const headResponse = await fetch(url, {
1043
+ method: 'HEAD'
1044
+ });
1045
+ if (headResponse.status < 200 || headResponse.status >= 400) {
1046
+ // The target page responded w/o a successful status code
1047
+ // Could be a WAF serving a 403, or a 5xx from a backend
1048
+ //
1049
+ // Note that we can't use headResponse.ok here, because
1050
+ // Response#ok returns `false` with 3xx responses.
1051
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1052
+ return null;
1053
+ }
1054
+ urlAfterRedirects = headResponse.redirected ? new URL(headResponse.url) : url;
1055
+ response = await fetchPrefetchResponse(addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath), headers);
1056
+ } else {
1057
+ // "Server" mode. We can use request headers instead of the pathname.
1058
+ // TODO: The eventual plan is to get rid of our custom request headers and
1059
+ // encode everything into the URL, using a similar strategy to the
1060
+ // "output: export" block above.
1061
+ response = await fetchPrefetchResponse(url, headers);
1062
+ urlAfterRedirects = response !== null && response.redirected ? new URL(response.url) : url;
1063
+ }
1064
+ if (!response || !response.ok || // 204 is a Cache miss. Though theoretically this shouldn't happen when
1065
+ // PPR is enabled, because we always respond to route tree requests, even
1066
+ // if it needs to be blockingly generated on demand.
1067
+ response.status === 204 || !response.body) {
1068
+ // Server responded with an error, or with a miss. We should still cache
1069
+ // the response, but we can try again after 10 seconds.
1070
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1071
+ return null;
1072
+ }
1073
+ // TODO: The canonical URL is the href without the origin. I think
1074
+ // historically the reason for this is because the initial canonical URL
1075
+ // gets passed as a prop to the top-level React component, which means it
1076
+ // needs to be computed during SSR. If it were to include the origin, it
1077
+ // would need to always be same as location.origin on the client, to prevent
1078
+ // a hydration mismatch. To sidestep this complexity, we omit the origin.
1079
+ //
1080
+ // However, since this is neither a native URL object nor a fully qualified
1081
+ // URL string, we need to be careful about how we use it. To prevent subtle
1082
+ // mistakes, we should create a special type for it, instead of just string.
1083
+ // Or, we should just use a (readonly) URL object instead. The type of the
1084
+ // prop that we pass to seed the initial state does not need to be the same
1085
+ // type as the state itself.
1086
+ const canonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(urlAfterRedirects);
1087
+ // Check whether the response varies based on the Next-Url header.
1088
+ const varyHeader = response.headers.get('vary');
1089
+ const couldBeIntercepted = varyHeader !== null && varyHeader.includes(_approuterheaders.NEXT_URL);
1090
+ // TODO: The `closed` promise was originally used to track when a streaming
1091
+ // network connection closes, so the scheduler could limit concurrent
1092
+ // connections. Now that prefetch responses are buffered, `closed` is
1093
+ // resolved immediately after buffering — before the outer function even
1094
+ // returns. This mechanism is only still meaningful for dynamic (Full)
1095
+ // prefetches, which use incremental streaming. Consider removing the
1096
+ // `closed` plumbing for buffered prefetch paths.
1097
+ const closed = (0, _promisewithresolvers.createPromiseWithResolvers)();
1098
+ // This checks whether the response was served from the per-segment cache,
1099
+ // rather than the old prefetching flow. If it fails, it implies that PPR
1100
+ // is disabled on this route.
1101
+ const routeIsPPREnabled = response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) === '2' || // In output: "export" mode, we can't rely on response headers. But if we
1102
+ // receive a well-formed response, we can assume it's a static response,
1103
+ // because all data is static in this mode.
1104
+ isOutputExportMode;
1105
+ if (routeIsPPREnabled) {
1106
+ const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);
1107
+ closed.resolve();
1108
+ (0, _cachemap.setSizeInCacheMap)(entry, responseSize);
1109
+ const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers, {
1110
+ allowPartialStream: true
1111
+ });
1112
+ if ((response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.buildId) !== (0, _navigationbuildid.getNavigationBuildId)()) {
1113
+ // The server build does not match the client. Treat as a 404. During
1114
+ // an actual navigation, the router will trigger an MPA navigation.
1115
+ // TODO: We should cache the fact that this is an MPA navigation.
1116
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1117
+ return null;
1118
+ }
1119
+ // Get the params that were used to render the target page. These may
1120
+ // be different from the params in the request URL, if the page
1121
+ // was rewritten.
1122
+ const renderedPathname = (0, _routeparams.getRenderedPathname)(response);
1123
+ const renderedSearch = (0, _routeparams.getRenderedSearch)(response);
1124
+ // Convert the server-sent data into the RouteTree format used by the
1125
+ // client cache.
1126
+ //
1127
+ // During this traversal, we accumulate additional data into this
1128
+ // "accumulator" object.
1129
+ const acc = {
1130
+ metadataVaryPath: null
1131
+ };
1132
+ const routeTree = convertRootTreePrefetchToRouteTree(serverData, renderedPathname, renderedSearch, acc);
1133
+ const metadataVaryPath = acc.metadataVaryPath;
1134
+ if (metadataVaryPath === null) {
1135
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1136
+ return null;
1137
+ }
1138
+ (0, _optimisticroutes.discoverKnownRoute)(Date.now(), pathname, nextUrl, entry, routeTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, false // hasDynamicRewrite
1139
+ );
1140
+ } else {
1141
+ // PPR is not enabled for this route. The server responds with a
1142
+ // different format (FlightRouterState) that we need to convert.
1143
+ // TODO: We will unify the responses eventually. I'm keeping the types
1144
+ // separate for now because FlightRouterState has so many
1145
+ // overloaded concerns.
1146
+ const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);
1147
+ closed.resolve();
1148
+ (0, _cachemap.setSizeInCacheMap)(entry, responseSize);
1149
+ const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers, {
1150
+ allowPartialStream: true
1151
+ });
1152
+ if ((response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b) !== (0, _navigationbuildid.getNavigationBuildId)()) {
1153
+ // The server build does not match the client. Treat as a 404. During
1154
+ // an actual navigation, the router will trigger an MPA navigation.
1155
+ // TODO: We should cache the fact that this is an MPA navigation.
1156
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1157
+ return null;
1158
+ }
1159
+ // Read head vary params synchronously. Individual segments carry their
1160
+ // own thenables in CacheNodeSeedData.
1161
+ const headVaryParamsThenable = serverData.h;
1162
+ const headVaryParams = headVaryParamsThenable !== null ? (0, _varyparamsdecoding.readVaryParams)(headVaryParamsThenable) : null;
1163
+ writeDynamicTreeResponseIntoCache(Date.now(), // The non-PPR response format is what we'd get if we prefetched these segments
1164
+ // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.
1165
+ _types.FetchStrategy.LoadingBoundary, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, headVaryParams, pathname, nextUrl);
1166
+ }
1167
+ if (!couldBeIntercepted) {
1168
+ // This route will never be intercepted. So we can use this entry for all
1169
+ // requests to this route, regardless of the Next-Url header. This works
1170
+ // because when reading the cache we always check for a valid
1171
+ // non-intercepted entry first.
1172
+ // Re-key the entry. The `set` implementation handles removing it from
1173
+ // its previous position in the cache. We don't need to do anything to
1174
+ // update the LRU, because the entry is already in it.
1175
+ // TODO: Treat this as an upsert — should check if an entry already
1176
+ // exists at the new keypath, and if so, whether we should keep that
1177
+ // one instead.
1178
+ const fulfilledVaryPath = (0, _varypath.getFulfilledRouteVaryPath)(pathname, search, nextUrl, couldBeIntercepted);
1179
+ const isRevalidation = false;
1180
+ (0, _cachemap.setInCacheMap)(routeCacheMap, fulfilledVaryPath, entry, isRevalidation);
1181
+ }
1182
+ // Return a promise that resolves when the network connection closes, so
1183
+ // the scheduler can track the number of concurrent network connections.
1184
+ return {
1185
+ value: null,
1186
+ closed: closed.promise
1187
+ };
1188
+ } catch (error) {
1189
+ // Either the connection itself failed, or something bad happened while
1190
+ // decoding the response.
1191
+ rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);
1192
+ return null;
1193
+ }
1194
+ }
1195
+ async function fetchSegmentOnCacheMiss(route, segmentCacheEntry, routeKey, tree) {
1196
+ // This function is allowed to use async/await because it contains the actual
1197
+ // fetch that gets issued on a cache miss. Notice it writes the result to the
1198
+ // cache entry directly, rather than return data that is then written by
1199
+ // the caller.
1200
+ //
1201
+ // Segment fetches are non-blocking so we don't need to ping the scheduler
1202
+ // on completion.
1203
+ // Use the canonical URL to request the segment, not the original URL. These
1204
+ // are usually the same, but the canonical URL will be different if the route
1205
+ // tree response was redirected. To avoid an extra waterfall on every segment
1206
+ // request, we pass the redirected URL instead of the original one.
1207
+ const url = new URL(route.canonicalUrl, location.origin);
1208
+ const nextUrl = routeKey.nextUrl;
1209
+ const requestKey = tree.requestKey;
1210
+ const normalizedRequestKey = requestKey === _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY ? // handling of these requests, we encode the root segment path as
1211
+ // `_index` instead of as an empty string. This should be treated as
1212
+ // an implementation detail and not as a stable part of the protocol.
1213
+ // It just needs to match the equivalent logic that happens when
1214
+ // prerendering the responses. It should not leak outside of Next.js.
1215
+ '/_index' : requestKey;
1216
+ const headers = {
1217
+ [_approuterheaders.RSC_HEADER]: '1',
1218
+ [_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER]: '1',
1219
+ [_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey
1220
+ };
1221
+ if (nextUrl !== null) {
1222
+ headers[_approuterheaders.NEXT_URL] = nextUrl;
1223
+ }
1224
+ // Tell the server to perform a static pre-render for the Instant Navigation
1225
+ // Testing API. Static pre-renders don't normally happen during development.
1226
+ addInstantPrefetchHeaderIfLocked(headers);
1227
+ const requestUrl = isOutputExportMode ? addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey) : url;
1228
+ try {
1229
+ const response = await fetchPrefetchResponse(requestUrl, headers);
1230
+ if (!response || !response.ok || response.status === 204 || // Cache miss
1231
+ // This checks whether the response was served from the per-segment cache,
1232
+ // rather than the old prefetching flow. If it fails, it implies that PPR
1233
+ // is disabled on this route. Theoretically this should never happen
1234
+ // because we only issue requests for segments once we've verified that
1235
+ // the route supports PPR.
1236
+ response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) !== '2' && // In output: "export" mode, we can't rely on response headers. But if
1237
+ // we receive a well-formed response, we can assume it's a static
1238
+ // response, because all data is static in this mode.
1239
+ !isOutputExportMode || !response.body) {
1240
+ // Server responded with an error, or with a miss. We should still cache
1241
+ // the response, but we can try again after 10 seconds.
1242
+ rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);
1243
+ return null;
1244
+ }
1245
+ // See TODO in fetchRouteOnCacheMiss about removing `closed` for
1246
+ // buffered prefetch paths.
1247
+ const closed = (0, _promisewithresolvers.createPromiseWithResolvers)();
1248
+ const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);
1249
+ closed.resolve();
1250
+ (0, _cachemap.setSizeInCacheMap)(segmentCacheEntry, responseSize);
1251
+ const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers, {
1252
+ allowPartialStream: true
1253
+ });
1254
+ if ((response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.buildId) !== (0, _navigationbuildid.getNavigationBuildId)()) {
1255
+ // The server build does not match the client. Treat as a 404. During
1256
+ // an actual navigation, the router will trigger an MPA navigation.
1257
+ rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);
1258
+ return null;
1259
+ }
1260
+ const now = Date.now();
1261
+ const staleAt = now + getStaleTimeMs(serverData.staleTime);
1262
+ const fulfilledEntry = fulfillSegmentCacheEntry(segmentCacheEntry, serverData.rsc, staleAt, serverData.isPartial);
1263
+ // If the server tells us which params the segment varies by, we can re-key
1264
+ // the entry to a more generic vary path. This allows the entry to be reused
1265
+ // across different param values for params that the segment doesn't
1266
+ // actually depend on.
1267
+ const varyParams = serverData.varyParams;
1268
+ const fulfilledVaryPath = process.env.__NEXT_VARY_PARAMS && varyParams !== null ? (0, _varypath.getFulfilledSegmentVaryPath)(tree.varyPath, varyParams) : (0, _varypath.getSegmentVaryPathForRequest)(segmentCacheEntry.fetchStrategy, tree);
1269
+ // Re-key and upsert the entry at the fulfilled vary path. This ensures
1270
+ // the entry is stored at the most generic path possible based on which
1271
+ // params the segment actually depends on.
1272
+ upsertSegmentEntry(now, fulfilledVaryPath, fulfilledEntry);
1273
+ return {
1274
+ value: fulfilledEntry,
1275
+ // Return a promise that resolves when the network connection closes, so
1276
+ // the scheduler can track the number of concurrent network connections.
1277
+ closed: closed.promise
1278
+ };
1279
+ } catch (error) {
1280
+ // Either the connection itself failed, or something bad happened while
1281
+ // decoding the response.
1282
+ rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);
1283
+ return null;
1284
+ }
1285
+ }
1286
+ async function fetchInlinedSegmentsOnCacheMiss(route, routeKey, tree, spawnedEntries) {
1287
+ // When prefetch inlining is enabled, all segment data for a route is bundled
1288
+ // into a single /_inlined response instead of individual per-segment
1289
+ // requests. This function fetches that response and walks the tree to fill
1290
+ // all segment cache entries at once.
1291
+ const url = new URL(route.canonicalUrl, location.origin);
1292
+ const nextUrl = routeKey.nextUrl;
1293
+ const headers = {
1294
+ [_approuterheaders.RSC_HEADER]: '1',
1295
+ [_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER]: '1',
1296
+ [_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: '/' + _segment.PAGE_SEGMENT_KEY
1297
+ };
1298
+ if (nextUrl !== null) {
1299
+ headers[_approuterheaders.NEXT_URL] = nextUrl;
1300
+ }
1301
+ addInstantPrefetchHeaderIfLocked(headers);
1302
+ try {
1303
+ const response = await fetchPrefetchResponse(url, headers);
1304
+ if (!response || !response.ok || response.status === 204 || response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) !== '2' && !isOutputExportMode || !response.body) {
1305
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1306
+ return null;
1307
+ }
1308
+ // See TODO in fetchRouteOnCacheMiss about removing `closed` for
1309
+ // buffered prefetch paths.
1310
+ const closed = (0, _promisewithresolvers.createPromiseWithResolvers)();
1311
+ const { stream: prefetchStream } = await createNonTaskyPrefetchResponseStream(response.body);
1312
+ closed.resolve();
1313
+ const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers, {
1314
+ allowPartialStream: true
1315
+ });
1316
+ if ((response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.tree.segment.buildId) !== (0, _navigationbuildid.getNavigationBuildId)()) {
1317
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1318
+ return null;
1319
+ }
1320
+ const now = Date.now();
1321
+ // Walk the inlined tree in parallel with the RouteTree and fill
1322
+ // segment cache entries.
1323
+ fillInlinedSegmentEntries(now, route, tree, serverData.tree, spawnedEntries);
1324
+ // Fill the head entry.
1325
+ const headStaleAt = now + getStaleTimeMs(serverData.head.staleTime);
1326
+ const headKey = route.metadata.requestKey;
1327
+ const ownedHeadEntry = spawnedEntries.get(headKey);
1328
+ if (ownedHeadEntry !== undefined) {
1329
+ fulfillSegmentCacheEntry(ownedHeadEntry, serverData.head.rsc, headStaleAt, serverData.head.isPartial);
1330
+ } else {
1331
+ // The head was already cached. Try to upsert if the entry is empty.
1332
+ const existingEntry = readOrCreateSegmentCacheEntry(now, _types.FetchStrategy.PPR, route.metadata);
1333
+ if (existingEntry.status === 0) {
1334
+ fulfillSegmentCacheEntry(upgradeToPendingSegment(existingEntry, _types.FetchStrategy.PPR), serverData.head.rsc, headStaleAt, serverData.head.isPartial);
1335
+ }
1336
+ }
1337
+ // Reject any remaining entries that were not fulfilled by the response.
1338
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1339
+ return {
1340
+ value: null,
1341
+ closed: closed.promise
1342
+ };
1343
+ } catch (error) {
1344
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1345
+ return null;
1346
+ }
1347
+ }
1348
+ function fillInlinedSegmentEntries(now, route, tree, inlinedNode, spawnedEntries) {
1349
+ // Check if the spawned entries map has an entry for this segment's key.
1350
+ const segment = inlinedNode.segment;
1351
+ const staleAt = now + getStaleTimeMs(segment.staleTime);
1352
+ const ownedEntry = spawnedEntries.get(tree.requestKey);
1353
+ if (ownedEntry !== undefined) {
1354
+ // We own this entry. Fulfill it directly.
1355
+ fulfillSegmentCacheEntry(ownedEntry, segment.rsc, staleAt, segment.isPartial);
1356
+ } else {
1357
+ // Not owned by us — this is extra data from the inlined response for a
1358
+ // segment that was already cached. Try to upsert if the entry is empty.
1359
+ const existingEntry = readOrCreateSegmentCacheEntry(now, _types.FetchStrategy.PPR, tree);
1360
+ if (existingEntry.status === 0) {
1361
+ fulfillSegmentCacheEntry(upgradeToPendingSegment(existingEntry, _types.FetchStrategy.PPR), segment.rsc, staleAt, segment.isPartial);
1362
+ }
1363
+ }
1364
+ // Recurse into children.
1365
+ if (tree.slots !== null && inlinedNode.slots !== null) {
1366
+ for(const parallelRouteKey in tree.slots){
1367
+ const childTree = tree.slots[parallelRouteKey];
1368
+ const childInlinedNode = inlinedNode.slots[parallelRouteKey];
1369
+ if (childInlinedNode !== undefined) {
1370
+ fillInlinedSegmentEntries(now, route, childTree, childInlinedNode, spawnedEntries);
1371
+ }
1372
+ }
1373
+ }
1374
+ }
1375
+ async function fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries) {
1376
+ const key = task.key;
1377
+ const url = new URL(route.canonicalUrl, location.origin);
1378
+ const nextUrl = key.nextUrl;
1379
+ if (spawnedEntries.size === 1 && spawnedEntries.has(route.metadata.requestKey)) {
1380
+ // The only thing pending is the head. Instruct the server to
1381
+ // skip over everything else.
1382
+ dynamicRequestTree = MetadataOnlyRequestTree;
1383
+ }
1384
+ const headers = {
1385
+ [_approuterheaders.RSC_HEADER]: '1',
1386
+ [_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]: (0, _flightdatahelpers.prepareFlightRouterStateForRequest)(dynamicRequestTree)
1387
+ };
1388
+ if (nextUrl !== null) {
1389
+ headers[_approuterheaders.NEXT_URL] = nextUrl;
1390
+ }
1391
+ switch(fetchStrategy){
1392
+ case _types.FetchStrategy.Full:
1393
+ {
1394
+ break;
1395
+ }
1396
+ case _types.FetchStrategy.PPRRuntime:
1397
+ {
1398
+ headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] = '2';
1399
+ break;
1400
+ }
1401
+ case _types.FetchStrategy.LoadingBoundary:
1402
+ {
1403
+ headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] = '1';
1404
+ break;
1405
+ }
1406
+ default:
1407
+ {
1408
+ fetchStrategy;
1409
+ }
1410
+ }
1411
+ try {
1412
+ const response = await fetchPrefetchResponse(url, headers);
1413
+ if (!response || !response.ok || !response.body) {
1414
+ // Server responded with an error, or with a miss. We should still cache
1415
+ // the response, but we can try again after 10 seconds.
1416
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1417
+ return null;
1418
+ }
1419
+ const renderedSearch = (0, _routeparams.getRenderedSearch)(response);
1420
+ if (renderedSearch !== route.renderedSearch) {
1421
+ // The search params that were used to render the target page are
1422
+ // different from the search params in the request URL. This only happens
1423
+ // when there's a dynamic rewrite in between the tree prefetch and the
1424
+ // data prefetch.
1425
+ // TODO: For now, since this is an edge case, we reject the prefetch, but
1426
+ // the proper way to handle this is to evict the stale route tree entry
1427
+ // then fill the cache with the new response.
1428
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1429
+ return null;
1430
+ }
1431
+ // Track when the network connection closes. Only meaningful for Full
1432
+ // (dynamic) prefetches which use incremental streaming. For buffered
1433
+ // paths, this is resolved immediately — see TODO in fetchRouteOnCacheMiss.
1434
+ const closed = (0, _promisewithresolvers.createPromiseWithResolvers)();
1435
+ let fulfilledEntries = null;
1436
+ let prefetchStream;
1437
+ let bufferedResponseSize = null;
1438
+ if (fetchStrategy === _types.FetchStrategy.Full) {
1439
+ // Full prefetches are dynamic responses stored in the prefetch cache.
1440
+ // They don't carry vary params or other cache metadata, so there's no
1441
+ // need to buffer them. Use the incremental version to allow data to be
1442
+ // processed as it arrives.
1443
+ prefetchStream = createIncrementalPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(totalBytesReceivedSoFar) {
1444
+ // When processing a dynamic response, we don't know how large each
1445
+ // individual segment is, so approximate by assigning each segment
1446
+ // the average of the total response size.
1447
+ if (fulfilledEntries === null) {
1448
+ // Haven't received enough data yet to know which segments
1449
+ // were included.
1450
+ return;
1451
+ }
1452
+ const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length;
1453
+ for (const entry of fulfilledEntries){
1454
+ (0, _cachemap.setSizeInCacheMap)(entry, averageSize);
1455
+ }
1456
+ });
1457
+ } else {
1458
+ const { stream, size } = await createNonTaskyPrefetchResponseStream(response.body);
1459
+ closed.resolve();
1460
+ prefetchStream = stream;
1461
+ bufferedResponseSize = size;
1462
+ }
1463
+ const [serverData, cacheData] = await Promise.all([
1464
+ (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers, {
1465
+ allowPartialStream: true
1466
+ }),
1467
+ response.cacheData
1468
+ ]);
1469
+ // Read head vary params synchronously. Individual segments carry their
1470
+ // own thenables in CacheNodeSeedData.
1471
+ const headVaryParamsThenable = serverData.h;
1472
+ const headVaryParams = headVaryParamsThenable !== null ? (0, _varyparamsdecoding.readVaryParams)(headVaryParamsThenable) : null;
1473
+ const now = Date.now();
1474
+ const staleAt = await getStaleAt(now, serverData.s, response);
1475
+ // PPRRuntime prefetches are partial when the server marks the response
1476
+ // as '~' (Partial). Full/LoadingBoundary prefetches are always complete.
1477
+ const isResponsePartial = fetchStrategy === _types.FetchStrategy.PPRRuntime && (cacheData?.isResponsePartial ?? false);
1478
+ // Aside from writing the data into the cache, this function also returns
1479
+ // the entries that were fulfilled, so we can streamingly update their sizes
1480
+ // in the LRU as more data comes in.
1481
+ const buildId = response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b;
1482
+ const flightDatas = (0, _flightdatahelpers.normalizeFlightData)(serverData.f);
1483
+ if (typeof flightDatas === 'string') {
1484
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1485
+ return null;
1486
+ }
1487
+ const navigationSeed = (0, _navigation.convertServerPatchToFullTree)(now, dynamicRequestTree, flightDatas, renderedSearch, // Not needed for prefetch responses; pass unknown to use the default.
1488
+ _bfcache.UnknownDynamicStaleTime);
1489
+ fulfilledEntries = writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, spawnedEntries);
1490
+ // For buffered responses, update LRU sizes now that we know which
1491
+ // entries were fulfilled.
1492
+ if (bufferedResponseSize !== null && fulfilledEntries !== null && fulfilledEntries.length > 0) {
1493
+ const averageSize = bufferedResponseSize / fulfilledEntries.length;
1494
+ for (const entry of fulfilledEntries){
1495
+ (0, _cachemap.setSizeInCacheMap)(entry, averageSize);
1496
+ }
1497
+ }
1498
+ // Return a promise that resolves when the network connection closes, so
1499
+ // the scheduler can track the number of concurrent network connections.
1500
+ return {
1501
+ value: null,
1502
+ closed: closed.promise
1503
+ };
1504
+ } catch (error) {
1505
+ rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);
1506
+ return null;
1507
+ }
1508
+ }
1509
+ function writeDynamicTreeResponseIntoCache(now, fetchStrategy, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, headVaryParams, originalPathname, nextUrl) {
1510
+ const renderedSearch = (0, _routeparams.getRenderedSearch)(response);
1511
+ const normalizedFlightDataResult = (0, _flightdatahelpers.normalizeFlightData)(serverData.f);
1512
+ if (// A string result means navigating to this route will result in an
1513
+ // MPA navigation.
1514
+ typeof normalizedFlightDataResult === 'string' || normalizedFlightDataResult.length !== 1) {
1515
+ rejectRouteCacheEntry(entry, now + 10 * 1000);
1516
+ return;
1517
+ }
1518
+ const flightData = normalizedFlightDataResult[0];
1519
+ if (!flightData.isRootRender) {
1520
+ // Unexpected response format.
1521
+ rejectRouteCacheEntry(entry, now + 10 * 1000);
1522
+ return;
1523
+ }
1524
+ const flightRouterState = flightData.tree;
1525
+ // If the response was postponed, segments may contain dynamic holes.
1526
+ // The head has its own partiality flag (flightDataEntry.isHeadPartial)
1527
+ // which is handled separately in writeDynamicRenderResponseIntoCache.
1528
+ const isResponsePartial = response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) === '1';
1529
+ // Convert the server-sent data into the RouteTree format used by the
1530
+ // client cache.
1531
+ //
1532
+ // During this traversal, we accumulate additional data into this
1533
+ // "accumulator" object.
1534
+ const acc = {
1535
+ metadataVaryPath: null
1536
+ };
1537
+ const routeTree = convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc);
1538
+ const metadataVaryPath = acc.metadataVaryPath;
1539
+ if (metadataVaryPath === null) {
1540
+ rejectRouteCacheEntry(entry, now + 10 * 1000);
1541
+ return;
1542
+ }
1543
+ (0, _optimisticroutes.discoverKnownRoute)(now, originalPathname, nextUrl, entry, routeTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, false // hasDynamicRewrite
1544
+ );
1545
+ // If the server sent segment data as part of the response, we should write
1546
+ // it into the cache to prevent a second, redundant prefetch request.
1547
+ // TODO: This is a leftover branch from before Client Segment Cache was
1548
+ // enabled everywhere. Tree prefetches should never include segment data. We
1549
+ // can delete it. Leaving for a subsequent PR.
1550
+ const navigationSeed = (0, _navigation.convertServerPatchToFullTree)(now, flightRouterState, normalizedFlightDataResult, renderedSearch, _bfcache.UnknownDynamicStaleTime);
1551
+ const buildId = response.headers.get(_constants.NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b;
1552
+ writeDynamicRenderResponseIntoCache(now, fetchStrategy, normalizedFlightDataResult, buildId, isResponsePartial, headVaryParams, getStaleAtFromHeader(now, response), navigationSeed, null);
1553
+ }
1554
+ function rejectSegmentEntriesIfStillPending(entries, staleAt) {
1555
+ const fulfilledEntries = [];
1556
+ for (const entry of entries.values()){
1557
+ if (entry.status === 1) {
1558
+ rejectSegmentCacheEntry(entry, staleAt);
1559
+ } else if (entry.status === 2) {
1560
+ fulfilledEntries.push(entry);
1561
+ }
1562
+ }
1563
+ return fulfilledEntries;
1564
+ }
1565
+ function writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, spawnedEntries) {
1566
+ if (buildId && buildId !== (0, _navigationbuildid.getNavigationBuildId)()) {
1567
+ // The server build does not match the client. Treat as a 404. During
1568
+ // an actual navigation, the router will trigger an MPA navigation.
1569
+ if (spawnedEntries !== null) {
1570
+ rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);
1571
+ }
1572
+ return null;
1573
+ }
1574
+ const routeTree = navigationSeed.routeTree;
1575
+ const metadataTree = navigationSeed.metadataVaryPath !== null ? createMetadataRouteTree(navigationSeed.metadataVaryPath) : null;
1576
+ for (const flightDataEntry of flightDatas){
1577
+ const seedData = flightDataEntry.seedData;
1578
+ if (seedData !== null) {
1579
+ // The data sent by the server represents only a subtree of the app. We
1580
+ // need to find the part of the task tree that matches the response.
1581
+ //
1582
+ // segmentPath represents the parent path of subtree. It's a repeating
1583
+ // pattern of parallel route key and segment:
1584
+ //
1585
+ // [string, Segment, string, Segment, string, Segment, ...]
1586
+ const segmentPath = flightDataEntry.segmentPath;
1587
+ let tree = routeTree;
1588
+ for(let i = 0; i < segmentPath.length; i += 2){
1589
+ const parallelRouteKey = segmentPath[i];
1590
+ if (tree?.slots?.[parallelRouteKey] !== undefined) {
1591
+ tree = tree.slots[parallelRouteKey];
1592
+ } else {
1593
+ if (spawnedEntries !== null) {
1594
+ rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);
1595
+ }
1596
+ return null;
1597
+ }
1598
+ }
1599
+ writeSeedDataIntoCache(now, fetchStrategy, tree, staleAt, seedData, isResponsePartial, spawnedEntries);
1600
+ }
1601
+ const head = flightDataEntry.head;
1602
+ if (head !== null && metadataTree !== null) {
1603
+ // When Cache Components is enabled, the server conservatively marks
1604
+ // the head as partial during static generation (isPossiblyPartialHead
1605
+ // in app-render.tsx), even for fully static pages where the head is
1606
+ // actually complete. When the response is non-partial, we override
1607
+ // this since the server confirmed no dynamic content exists.
1608
+ //
1609
+ // Without Cache Components, the server always sends the correct
1610
+ // isHeadPartial value, so no override is needed.
1611
+ const isHeadPartial = !isResponsePartial && process.env.__NEXT_CACHE_COMPONENTS ? false : flightDataEntry.isHeadPartial;
1612
+ fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, head, isHeadPartial, staleAt, // For head entries, use the head-specific vary params passed as
1613
+ // parameter.
1614
+ headVaryParams, metadataTree, spawnedEntries);
1615
+ }
1616
+ }
1617
+ // Any entry that's still pending was intentionally not rendered by the
1618
+ // server, because it was inside the loading boundary. Mark them as rejected
1619
+ // so we know not to fetch them again.
1620
+ // TODO: If PPR is enabled on some routes but not others, then it's possible
1621
+ // that a different page is able to do a per-segment prefetch of one of the
1622
+ // segments we're marking as rejected here. We should mark on the segment
1623
+ // somehow that the reason for the rejection is because of a non-PPR prefetch.
1624
+ // That way a per-segment prefetch knows to disregard the rejection.
1625
+ if (spawnedEntries !== null) {
1626
+ const fulfilledEntries = rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);
1627
+ return fulfilledEntries;
1628
+ }
1629
+ return null;
1630
+ }
1631
+ function writeSeedDataIntoCache(now, fetchStrategy, tree, staleAt, seedData, isResponsePartial, entriesOwnedByCurrentTask) {
1632
+ // This function is used to write the result of a runtime server request
1633
+ // (CacheNodeSeedData) into the prefetch cache.
1634
+ const rsc = seedData[0];
1635
+ const isPartial = rsc === null || isResponsePartial;
1636
+ const varyParamsThenable = seedData[4];
1637
+ // Each segment carries its own vary params thenable in the seed data. The
1638
+ // thenable resolves to the set of params the segment accessed during render.
1639
+ // A null thenable means tracking was not enabled (not a prerender).
1640
+ const varyParams = varyParamsThenable !== null ? (0, _varyparamsdecoding.readVaryParams)(varyParamsThenable) : null;
1641
+ fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, rsc, isPartial, staleAt, varyParams, tree, entriesOwnedByCurrentTask);
1642
+ // Recursively write the child data into the cache.
1643
+ const slots = tree.slots;
1644
+ if (slots !== null) {
1645
+ const seedDataChildren = seedData[1];
1646
+ for(const parallelRouteKey in slots){
1647
+ const childTree = slots[parallelRouteKey];
1648
+ const childSeedData = seedDataChildren[parallelRouteKey];
1649
+ if (childSeedData !== null && childSeedData !== undefined) {
1650
+ writeSeedDataIntoCache(now, fetchStrategy, childTree, staleAt, childSeedData, isResponsePartial, entriesOwnedByCurrentTask);
1651
+ }
1652
+ }
1653
+ }
1654
+ }
1655
+ function fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, rsc, isPartial, staleAt, segmentVaryParams, tree, entriesOwnedByCurrentTask) {
1656
+ // We should only write into cache entries that are owned by us. Or create
1657
+ // a new one and write into that. We must never write over an entry that was
1658
+ // created by a different task, because that causes data races.
1659
+ const ownedEntry = entriesOwnedByCurrentTask !== null ? entriesOwnedByCurrentTask.get(tree.requestKey) : undefined;
1660
+ if (ownedEntry !== undefined) {
1661
+ const fulfilledEntry = fulfillSegmentCacheEntry(ownedEntry, rsc, staleAt, isPartial);
1662
+ // Re-key the entry based on which params the segment actually depends on.
1663
+ if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {
1664
+ const fulfilledVaryPath = (0, _varypath.getFulfilledSegmentVaryPath)(tree.varyPath, segmentVaryParams);
1665
+ const isRevalidation = false;
1666
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, fulfilledVaryPath, fulfilledEntry, isRevalidation);
1667
+ }
1668
+ } else {
1669
+ // There's no matching entry. Attempt to create a new one.
1670
+ const possiblyNewEntry = readOrCreateSegmentCacheEntry(now, fetchStrategy, tree);
1671
+ if (possiblyNewEntry.status === 0) {
1672
+ // Confirmed this is a new entry. We can fulfill it.
1673
+ const newEntry = possiblyNewEntry;
1674
+ const fulfilledEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(newEntry, fetchStrategy), rsc, staleAt, isPartial);
1675
+ // Re-key the entry based on which params the segment actually depends on.
1676
+ if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {
1677
+ const fulfilledVaryPath = (0, _varypath.getFulfilledSegmentVaryPath)(tree.varyPath, segmentVaryParams);
1678
+ const isRevalidation = false;
1679
+ (0, _cachemap.setInCacheMap)(segmentCacheMap, fulfilledVaryPath, fulfilledEntry, isRevalidation);
1680
+ }
1681
+ } else {
1682
+ // There was already an entry in the cache. But we may be able to
1683
+ // replace it with the new one from the server.
1684
+ const newEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(createDetachedSegmentCacheEntry(now), fetchStrategy), rsc, staleAt, isPartial);
1685
+ // Use the fulfilled vary path if available, otherwise fall back to
1686
+ // the request vary path.
1687
+ const varyPath = process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null ? (0, _varypath.getFulfilledSegmentVaryPath)(tree.varyPath, segmentVaryParams) : (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree);
1688
+ upsertSegmentEntry(now, varyPath, newEntry);
1689
+ }
1690
+ }
1691
+ }
1692
+ async function fetchPrefetchResponse(url, headers) {
1693
+ const fetchPriority = 'low';
1694
+ // When issuing a prefetch request, don't immediately decode the response; we
1695
+ // use the lower level `createFromResponse` API instead because we need to do
1696
+ // some extra processing of the response stream. See
1697
+ // `createNonTaskyPrefetchResponseStream` for more details.
1698
+ const shouldImmediatelyDecode = false;
1699
+ const response = await (0, _fetchserverresponse.createFetch)(url, headers, fetchPriority, shouldImmediatelyDecode);
1700
+ if (!response.ok) {
1701
+ return null;
1702
+ }
1703
+ // Check the content type
1704
+ if (isOutputExportMode) {
1705
+ // In output: "export" mode, we relaxed about the content type, since it's
1706
+ // not Next.js that's serving the response. If the status is OK, assume the
1707
+ // response is valid. If it's not a valid response, the Flight client won't
1708
+ // be able to decode it, and we'll treat it as a miss.
1709
+ } else {
1710
+ const contentType = response.headers.get('content-type');
1711
+ const isFlightResponse = contentType && contentType.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER);
1712
+ if (!isFlightResponse) {
1713
+ return null;
1714
+ }
1715
+ }
1716
+ return response;
1717
+ }
1718
+ async function createNonTaskyPrefetchResponseStream(body) {
1719
+ // Buffer the entire response before passing it to the Flight client. This
1720
+ // ensures that when Flight processes the stream, all model data is available
1721
+ // synchronously. This is important for readVaryParams, which synchronously
1722
+ // checks the thenable status — if data arrived in multiple network chunks,
1723
+ // the thenables might not yet be fulfilled.
1724
+ //
1725
+ // TODO: There are too many intermediate stream transformations in the
1726
+ // prefetch response pipeline (e.g. stripIsPartialByte, this function).
1727
+ // These could all be consolidated into a single transformation. Refactor
1728
+ // once the cached navigations experiment lands.
1729
+ //
1730
+ // Read the entire response from the network.
1731
+ const reader = body.getReader();
1732
+ const chunks = [];
1733
+ let size = 0;
1734
+ while(true){
1735
+ const { done, value } = await reader.read();
1736
+ if (done) break;
1737
+ chunks.push(value);
1738
+ size += value.byteLength;
1739
+ }
1740
+ // Concatenate into a single chunk so that Flight's processBinaryChunk
1741
+ // processes all rows synchronously in one call. Multiple chunks would not
1742
+ // be sufficient: even though reader.read() resolves as a microtask for
1743
+ // already-enqueued data, the `await` continuation from
1744
+ // createFromReadableStream can interleave between chunks. If the root
1745
+ // model row isn't the first row (e.g. outlined values come first), the
1746
+ // PromiseResolveThenableJob from `await` can cause the root to initialize
1747
+ // eagerly, scheduling the continuation before remaining chunks (including
1748
+ // promise value rows) are processed. A single chunk avoids this.
1749
+ let buffer;
1750
+ if (chunks.length === 1) {
1751
+ buffer = chunks[0];
1752
+ } else if (chunks.length > 1) {
1753
+ buffer = new Uint8Array(size);
1754
+ let offset = 0;
1755
+ for (const chunk of chunks){
1756
+ buffer.set(chunk, offset);
1757
+ offset += chunk.byteLength;
1758
+ }
1759
+ } else {
1760
+ buffer = new Uint8Array(0);
1761
+ }
1762
+ const stream = new ReadableStream({
1763
+ start (controller) {
1764
+ controller.enqueue(buffer);
1765
+ controller.close();
1766
+ }
1767
+ });
1768
+ return {
1769
+ stream,
1770
+ size
1771
+ };
1772
+ }
1773
+ /**
1774
+ * Creates a streaming (non-buffered) prefetch response stream for dynamic/Full
1775
+ * prefetches. These are essentially dynamic responses that get stored in the
1776
+ * prefetch cache — they don't carry vary params or other cache metadata that
1777
+ * requires synchronous thenable resolution, so there's no need to buffer them.
1778
+ * They should continue to stream so consumers can process data as it arrives.
1779
+ */ function createIncrementalPrefetchResponseStream(originalFlightStream, onStreamClose, onResponseSizeUpdate) {
1780
+ // While processing the original stream, we incrementally update the size
1781
+ // of the cache entry in the LRU.
1782
+ let totalByteLength = 0;
1783
+ const reader = originalFlightStream.getReader();
1784
+ return new ReadableStream({
1785
+ async pull (controller) {
1786
+ while(true){
1787
+ const { done, value } = await reader.read();
1788
+ if (!done) {
1789
+ // Pass to the target stream and keep consuming the Flight response
1790
+ // from the server.
1791
+ controller.enqueue(value);
1792
+ // Incrementally update the size of the cache entry in the LRU.
1793
+ totalByteLength += value.byteLength;
1794
+ onResponseSizeUpdate(totalByteLength);
1795
+ continue;
1796
+ }
1797
+ controller.close();
1798
+ onStreamClose();
1799
+ return;
1800
+ }
1801
+ }
1802
+ });
1803
+ }
1804
+ function addSegmentPathToUrlInOutputExportMode(url, segmentPath) {
1805
+ if (isOutputExportMode) {
1806
+ // In output: "export" mode, we cannot use a header to encode the segment
1807
+ // path. Instead, we append it to the end of the pathname.
1808
+ const staticUrl = new URL(url);
1809
+ const routeDir = staticUrl.pathname.endsWith('/') ? staticUrl.pathname.slice(0, -1) : staticUrl.pathname;
1810
+ const staticExportFilename = (0, _segmentvalueencoding.convertSegmentPathToStaticExportFilename)(segmentPath);
1811
+ staticUrl.pathname = `${routeDir}/${staticExportFilename}`;
1812
+ return staticUrl;
1813
+ }
1814
+ return url;
1815
+ }
1816
+ function canNewFetchStrategyProvideMoreContent(currentStrategy, newStrategy) {
1817
+ return currentStrategy < newStrategy;
1818
+ }
1819
+ /**
1820
+ * Adds the instant prefetch header if the navigation lock is active.
1821
+ * Uses a lazy require to ensure dead code elimination.
1822
+ */ function addInstantPrefetchHeaderIfLocked(headers) {
1823
+ if (process.env.__NEXT_EXPOSE_TESTING_API) {
1824
+ const { isNavigationLocked } = require('./navigation-testing-lock');
1825
+ if (isNavigationLocked()) {
1826
+ headers[_approuterheaders.NEXT_INSTANT_PREFETCH_HEADER] = '1';
1827
+ }
1828
+ }
1829
+ }
1830
+ function getStaleAtFromHeader(now, response) {
1831
+ const staleTimeSeconds = parseInt(response.headers.get(_approuterheaders.NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10);
1832
+ const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : _navigatereducer.STATIC_STALETIME_MS;
1833
+ return now + staleTimeMs;
1834
+ }
1835
+ async function getStaleAt(now, staleTimeIterable, response) {
1836
+ if (staleTimeIterable !== undefined) {
1837
+ // Iterate the async iterable and take the last yielded value. The server
1838
+ // yields updated staleTime values during the render; the last one is the
1839
+ // final staleTime.
1840
+ let staleTimeSeconds;
1841
+ for await (const value of staleTimeIterable){
1842
+ staleTimeSeconds = value;
1843
+ }
1844
+ if (staleTimeSeconds !== undefined) {
1845
+ const staleTimeMs = isNaN(staleTimeSeconds) ? _navigatereducer.STATIC_STALETIME_MS : getStaleTimeMs(staleTimeSeconds);
1846
+ return now + staleTimeMs;
1847
+ }
1848
+ }
1849
+ if (response !== undefined) {
1850
+ return getStaleAtFromHeader(now, response);
1851
+ }
1852
+ return now + _navigatereducer.STATIC_STALETIME_MS;
1853
+ }
1854
+ function writeStaticStageResponseIntoCache(now, flightData, buildId, headVaryParamsThenable, staleAt, baseTree, renderedSearch, isResponsePartial) {
1855
+ const fetchStrategy = isResponsePartial ? _types.FetchStrategy.PPR : _types.FetchStrategy.Full;
1856
+ const headVaryParams = headVaryParamsThenable !== null ? (0, _varyparamsdecoding.readVaryParams)(headVaryParamsThenable) : null;
1857
+ const flightDatas = (0, _flightdatahelpers.normalizeFlightData)(flightData);
1858
+ if (typeof flightDatas === 'string') {
1859
+ return;
1860
+ }
1861
+ const navigationSeed = (0, _navigation.convertServerPatchToFullTree)(now, baseTree, flightDatas, renderedSearch, _bfcache.UnknownDynamicStaleTime);
1862
+ writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, null // spawnedEntries — no pre-created entries; will create or upsert
1863
+ );
1864
+ }
1865
+ async function processRuntimePrefetchStream(now, runtimePrefetchStream, baseTree, renderedSearch) {
1866
+ const { stream, isPartial } = await stripIsPartialByte(runtimePrefetchStream);
1867
+ const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(stream, undefined, {
1868
+ allowPartialStream: true
1869
+ });
1870
+ const headVaryParamsThenable = serverData.h;
1871
+ const headVaryParams = headVaryParamsThenable !== null ? (0, _varyparamsdecoding.readVaryParams)(headVaryParamsThenable) : null;
1872
+ const staleAt = await getStaleAt(now, serverData.s);
1873
+ const flightDatas = (0, _flightdatahelpers.normalizeFlightData)(serverData.f);
1874
+ if (typeof flightDatas === 'string') {
1875
+ return null;
1876
+ }
1877
+ const navigationSeed = (0, _navigation.convertServerPatchToFullTree)(now, baseTree, flightDatas, renderedSearch, _bfcache.UnknownDynamicStaleTime);
1878
+ return {
1879
+ flightDatas,
1880
+ navigationSeed,
1881
+ buildId: serverData.b,
1882
+ isResponsePartial: isPartial,
1883
+ headVaryParams,
1884
+ staleAt
1885
+ };
1886
+ }
1887
+ async function stripIsPartialByte(stream) {
1888
+ // When there is no recognized marker byte, the fallback depends on whether
1889
+ // Cached Navigations is enabled. When enabled, dynamic navigation responses
1890
+ // don't have a marker but may contain dynamic holes, so they are treated as
1891
+ // partial. When disabled, unmarked responses are treated as non-partial.
1892
+ const defaultIsPartial = !!process.env.__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS;
1893
+ const reader = stream.getReader();
1894
+ const { done, value } = await reader.read();
1895
+ if (done || !value || value.byteLength === 0) {
1896
+ return {
1897
+ stream: new ReadableStream({
1898
+ start: (c)=>c.close()
1899
+ }),
1900
+ isPartial: defaultIsPartial
1901
+ };
1902
+ }
1903
+ const firstByte = value[0];
1904
+ const hasMarker = firstByte === 0x23 || firstByte === 0x7e;
1905
+ const isPartial = hasMarker ? firstByte === 0x7e : defaultIsPartial;
1906
+ const remainder = hasMarker ? value.byteLength > 1 ? value.subarray(1) : null : value;
1907
+ return {
1908
+ isPartial,
1909
+ stream: new ReadableStream({
1910
+ start (controller) {
1911
+ if (remainder) {
1912
+ controller.enqueue(remainder);
1913
+ }
1914
+ },
1915
+ async pull (controller) {
1916
+ const result = await reader.read();
1917
+ if (result.done) {
1918
+ controller.close();
1919
+ } else {
1920
+ controller.enqueue(result.value);
1921
+ }
1922
+ }
1923
+ })
1924
+ };
1925
+ }
1926
+
1927
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
1928
+ Object.defineProperty(exports.default, '__esModule', { value: true });
1929
+ Object.assign(exports.default, exports);
1930
+ module.exports = exports.default;
1931
+ }
1932
+
1933
+ //# sourceMappingURL=cache.js.map