agmon 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +7 -0
  3. package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js +502 -0
  4. package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js.map +11 -0
  5. package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js +190 -0
  6. package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js.map +8 -0
  7. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js +13 -0
  8. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js.map +5 -0
  9. package/.next/build/chunks/[turbopack]_runtime.js +1056 -0
  10. package/.next/build/chunks/[turbopack]_runtime.js.map +11 -0
  11. package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js +7314 -0
  12. package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js.map +47 -0
  13. package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js +6 -0
  14. package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js.map +5 -0
  15. package/.next/build/package.json +1 -0
  16. package/.next/build-manifest.json +54 -0
  17. package/.next/export-marker.json +6 -0
  18. package/.next/fallback-build-manifest.json +15 -0
  19. package/.next/images-manifest.json +68 -0
  20. package/.next/next-minimal-server.js.nft.json +1 -0
  21. package/.next/next-server.js.nft.json +1 -0
  22. package/.next/package.json +1 -0
  23. package/.next/prerender-manifest.json +97 -0
  24. package/.next/required-server-files.js +366 -0
  25. package/.next/required-server-files.json +366 -0
  26. package/.next/routes-manifest.json +75 -0
  27. package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  28. package/.next/server/app/_global-error/page/build-manifest.json +21 -0
  29. package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  30. package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  31. package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  32. package/.next/server/app/_global-error/page.js +10 -0
  33. package/.next/server/app/_global-error/page.js.map +5 -0
  34. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  35. package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  36. package/.next/server/app/_global-error.html +1 -0
  37. package/.next/server/app/_global-error.meta +30 -0
  38. package/.next/server/app/_global-error.rsc +18 -0
  39. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +23 -0
  40. package/.next/server/app/_global-error.segments/_full.segment.rsc +18 -0
  41. package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
  42. package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  43. package/.next/server/app/_not-found/page/build-manifest.json +21 -0
  44. package/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
  45. package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  46. package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  47. package/.next/server/app/_not-found/page.js +12 -0
  48. package/.next/server/app/_not-found/page.js.map +5 -0
  49. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  50. package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  51. package/.next/server/app/_not-found.html +1 -0
  52. package/.next/server/app/_not-found.meta +35 -0
  53. package/.next/server/app/_not-found.rsc +22 -0
  54. package/.next/server/app/_not-found.segments/_full.segment.rsc +22 -0
  55. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +28 -0
  56. package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
  57. package/.next/server/app/api/traces/stream/route/app-paths-manifest.json +3 -0
  58. package/.next/server/app/api/traces/stream/route/build-manifest.json +12 -0
  59. package/.next/server/app/api/traces/stream/route/server-reference-manifest.json +4 -0
  60. package/.next/server/app/api/traces/stream/route.js +7 -0
  61. package/.next/server/app/api/traces/stream/route.js.map +5 -0
  62. package/.next/server/app/api/traces/stream/route.js.nft.json +1 -0
  63. package/.next/server/app/api/traces/stream/route_client-reference-manifest.js +3 -0
  64. package/.next/server/app/api/version/route/app-paths-manifest.json +3 -0
  65. package/.next/server/app/api/version/route/build-manifest.json +12 -0
  66. package/.next/server/app/api/version/route/server-reference-manifest.json +4 -0
  67. package/.next/server/app/api/version/route.js +7 -0
  68. package/.next/server/app/api/version/route.js.map +5 -0
  69. package/.next/server/app/api/version/route.js.nft.json +1 -0
  70. package/.next/server/app/api/version/route_client-reference-manifest.js +3 -0
  71. package/.next/server/app/index.html +1 -0
  72. package/.next/server/app/index.meta +29 -0
  73. package/.next/server/app/index.rsc +29 -0
  74. package/.next/server/app/index.segments/__PAGE__.segment.rsc +34 -0
  75. package/.next/server/app/index.segments/_full.segment.rsc +29 -0
  76. package/.next/server/app/index.segments/_tree.segment.rsc +3 -0
  77. package/.next/server/app/page/app-paths-manifest.json +3 -0
  78. package/.next/server/app/page/build-manifest.json +21 -0
  79. package/.next/server/app/page/next-font-manifest.json +6 -0
  80. package/.next/server/app/page/react-loadable-manifest.json +1 -0
  81. package/.next/server/app/page/server-reference-manifest.json +4 -0
  82. package/.next/server/app/page.js +13 -0
  83. package/.next/server/app/page.js.map +5 -0
  84. package/.next/server/app/page.js.nft.json +1 -0
  85. package/.next/server/app/page_client-reference-manifest.js +3 -0
  86. package/.next/server/app-paths-manifest.json +7 -0
  87. package/.next/server/chunks/[externals]__0bwf06g0pqv3h._.js +3 -0
  88. package/.next/server/chunks/[externals]__0bwf06g0pqv3h._.js.map +1 -0
  89. package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js +3 -0
  90. package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js.map +1 -0
  91. package/.next/server/chunks/[root-of-the-server]__04an4kw4xcc5l._.js +5 -0
  92. package/.next/server/chunks/[root-of-the-server]__04an4kw4xcc5l._.js.map +1 -0
  93. package/.next/server/chunks/[root-of-the-server]__1s6v8mz-nanm-._.js +5 -0
  94. package/.next/server/chunks/[root-of-the-server]__1s6v8mz-nanm-._.js.map +1 -0
  95. package/.next/server/chunks/[root-of-the-server]__20xfs4y2ipcvv._.js +320 -0
  96. package/.next/server/chunks/[root-of-the-server]__20xfs4y2ipcvv._.js.map +1 -0
  97. package/.next/server/chunks/[turbopack]_runtime.js +937 -0
  98. package/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
  99. package/.next/server/chunks/_next-internal_server_app_api_traces_stream_route_actions_07rmicxgds803.js +3 -0
  100. package/.next/server/chunks/_next-internal_server_app_api_traces_stream_route_actions_07rmicxgds803.js.map +1 -0
  101. package/.next/server/chunks/_next-internal_server_app_api_version_route_actions_0kbx30hro8e93.js +3 -0
  102. package/.next/server/chunks/_next-internal_server_app_api_version_route_actions_0kbx30hro8e93.js.map +1 -0
  103. package/.next/server/chunks/ssr/1q96_modules_pixi_js_lib_rendering_renderers_canvas_CanvasRenderer_mjs_1xntzghggpb51._.js +3 -0
  104. package/.next/server/chunks/ssr/1q96_modules_pixi_js_lib_rendering_renderers_canvas_CanvasRenderer_mjs_1xntzghggpb51._.js.map +1 -0
  105. package/.next/server/chunks/ssr/1q96_modules_pixi_js_lib_rendering_renderers_gpu_WebGPURenderer_mjs_00tc9jrf-ft1_._.js +76 -0
  106. package/.next/server/chunks/ssr/1q96_modules_pixi_js_lib_rendering_renderers_gpu_WebGPURenderer_mjs_00tc9jrf-ft1_._.js.map +1 -0
  107. package/.next/server/chunks/ssr/[root-of-the-server]__08zgqq_38tv57._.js +3 -0
  108. package/.next/server/chunks/ssr/[root-of-the-server]__08zgqq_38tv57._.js.map +1 -0
  109. package/.next/server/chunks/ssr/[root-of-the-server]__0aa2929udndo-._.js +3 -0
  110. package/.next/server/chunks/ssr/[root-of-the-server]__0aa2929udndo-._.js.map +1 -0
  111. package/.next/server/chunks/ssr/[root-of-the-server]__0ayw3c9e93kvf._.js +3 -0
  112. package/.next/server/chunks/ssr/[root-of-the-server]__0ayw3c9e93kvf._.js.map +1 -0
  113. package/.next/server/chunks/ssr/[root-of-the-server]__0ojpb-dtuk3-q._.js +3 -0
  114. package/.next/server/chunks/ssr/[root-of-the-server]__0ojpb-dtuk3-q._.js.map +1 -0
  115. package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
  116. package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js.map +1 -0
  117. package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
  118. package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js.map +1 -0
  119. package/.next/server/chunks/ssr/[root-of-the-server]__1e1_fmeab1ca7._.js +3 -0
  120. package/.next/server/chunks/ssr/[root-of-the-server]__1e1_fmeab1ca7._.js.map +1 -0
  121. package/.next/server/chunks/ssr/[root-of-the-server]__1w2vu9hh0h02y._.js +3 -0
  122. package/.next/server/chunks/ssr/[root-of-the-server]__1w2vu9hh0h02y._.js.map +1 -0
  123. package/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
  124. package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
  125. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
  126. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js.map +1 -0
  127. package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
  128. package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js.map +1 -0
  129. package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
  130. package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js.map +1 -0
  131. package/.next/server/chunks/ssr/node_modules_01xbj_9zg44kw._.js +33 -0
  132. package/.next/server/chunks/ssr/node_modules_01xbj_9zg44kw._.js.map +1 -0
  133. package/.next/server/chunks/ssr/node_modules_0a548_llmwce7._.js +23 -0
  134. package/.next/server/chunks/ssr/node_modules_0a548_llmwce7._.js.map +1 -0
  135. package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
  136. package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js.map +1 -0
  137. package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
  138. package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js.map +1 -0
  139. package/.next/server/chunks/ssr/node_modules_next_dist_1hgv5i-pr1hza._.js +3 -0
  140. package/.next/server/chunks/ssr/node_modules_next_dist_1hgv5i-pr1hza._.js.map +1 -0
  141. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
  142. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js.map +1 -0
  143. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
  144. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js.map +1 -0
  145. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js +3 -0
  146. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js.map +1 -0
  147. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
  148. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js.map +1 -0
  149. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0aymk_x8-bu4q.js +3 -0
  150. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0aymk_x8-bu4q.js.map +1 -0
  151. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
  152. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js.map +1 -0
  153. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qjycfedgh109.js +3 -0
  154. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qjycfedgh109.js.map +1 -0
  155. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0hcyh9uzlz7ci._.js +3 -0
  156. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0hcyh9uzlz7ci._.js.map +1 -0
  157. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0k3f3soanqdoq._.js +3 -0
  158. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0k3f3soanqdoq._.js.map +1 -0
  159. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0ovgsftn-uvbz._.js +3 -0
  160. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0ovgsftn-uvbz._.js.map +1 -0
  161. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0xa24fqr5c5qi._.js +5 -0
  162. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0xa24fqr5c5qi._.js.map +1 -0
  163. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0zrftay3kjup7._.js +5 -0
  164. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_0zrftay3kjup7._.js.map +1 -0
  165. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_1z4lgkg_w-7fr._.js +208 -0
  166. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_1z4lgkg_w-7fr._.js.map +1 -0
  167. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_1zjkoj2kc4hm-._.js +3 -0
  168. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_1zjkoj2kc4hm-._.js.map +1 -0
  169. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_environment-browser_browserAll_mjs_0xb_t3dj4ad1f._.js +16 -0
  170. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_environment-browser_browserAll_mjs_0xb_t3dj4ad1f._.js.map +1 -0
  171. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_filters_Filter_mjs_0luksfw8ekifi._.js +3 -0
  172. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_filters_Filter_mjs_0luksfw8ekifi._.js.map +1 -0
  173. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_filters_init_mjs_1o5fmm_m60v_s._.js +3 -0
  174. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_filters_init_mjs_1o5fmm_m60v_s._.js.map +1 -0
  175. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_1fkio2phhfvow._.js +196 -0
  176. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_1fkio2phhfvow._.js.map +1 -0
  177. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_1n1q7aum4i7zo._.js +196 -0
  178. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_1n1q7aum4i7zo._.js.map +1 -0
  179. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_renderers_10vpvx1o7svnk._.js +3 -0
  180. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_renderers_10vpvx1o7svnk._.js.map +1 -0
  181. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_renderers_gl_WebGLRenderer_mjs_1hlux44jh7dk-._.js +153 -0
  182. package/.next/server/chunks/ssr/node_modules_pixi_js_lib_rendering_renderers_gl_WebGLRenderer_mjs_1hlux44jh7dk-._.js.map +1 -0
  183. package/.next/server/chunks/ssr/src_app_page_1vqfk0-j72fp6.js +3 -0
  184. package/.next/server/chunks/ssr/src_app_page_1vqfk0-j72fp6.js.map +1 -0
  185. package/.next/server/functions-config-manifest.json +4 -0
  186. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  187. package/.next/server/middleware-build-manifest.js +54 -0
  188. package/.next/server/middleware-manifest.json +6 -0
  189. package/.next/server/next-font-manifest.js +1 -0
  190. package/.next/server/next-font-manifest.json +6 -0
  191. package/.next/server/pages/404.html +1 -0
  192. package/.next/server/pages/500.html +1 -0
  193. package/.next/server/pages-manifest.json +4 -0
  194. package/.next/server/prefetch-hints.json +34 -0
  195. package/.next/server/preview-props.json +5 -0
  196. package/.next/server/server-reference-manifest.js +1 -0
  197. package/.next/server/server-reference-manifest.json +5 -0
  198. package/.next/static/chunks/0_9x2udu0iodw.js +1 -0
  199. package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  200. package/.next/static/chunks/0umf92h1sb77c.js +1 -0
  201. package/.next/static/chunks/10om7oix6wjze.js +1 -0
  202. package/.next/static/chunks/1780fh11o7pze.js +1 -0
  203. package/.next/static/chunks/1cldmiyw3ya18.js +21 -0
  204. package/.next/static/chunks/1unuqfq-vfqtp.js +1 -0
  205. package/.next/static/chunks/2-vsu_pt58kse.js +3 -0
  206. package/.next/static/chunks/2drjv1ti9t4pg.js +1 -0
  207. package/.next/static/chunks/2hgsvrrwu57--.css +1 -0
  208. package/.next/static/chunks/2ogvir8krwwhf.js +1 -0
  209. package/.next/static/chunks/2tc54fmsk8v8q.js +1 -0
  210. package/.next/static/chunks/304ue7hvto0o0.js +206 -0
  211. package/.next/static/chunks/31gve42sn75--.js +1 -0
  212. package/.next/static/chunks/32kizm_7q94vd.js +194 -0
  213. package/.next/static/chunks/33bap0u4zwgab.js +74 -0
  214. package/.next/static/chunks/3c4xol65z2da2.js +22 -0
  215. package/.next/static/chunks/3cfn99dbrcvvp.js +31 -0
  216. package/.next/static/chunks/3d6xc1eemxy82.js +1 -0
  217. package/.next/static/chunks/3ycr8gfnsg-xv.js +151 -0
  218. package/.next/static/chunks/3ytt3vrdhke9u.js +14 -0
  219. package/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
  220. package/.next/static/cy2F4S28h_-YWqCOuE_ul/_buildManifest.js +11 -0
  221. package/.next/static/cy2F4S28h_-YWqCOuE_ul/_clientMiddlewareManifest.js +1 -0
  222. package/.next/static/cy2F4S28h_-YWqCOuE_ul/_ssgManifest.js +1 -0
  223. package/.next/trace +1 -0
  224. package/.next/trace-build +1 -0
  225. package/.next/types/cache-life.d.ts +114 -0
  226. package/.next/types/root-params.d.ts +3 -0
  227. package/.next/types/routes.d.ts +74 -0
  228. package/.next/types/validator.ts +17 -0
  229. package/bin/cli.js +11 -4
  230. package/package.json +3 -1
  231. package/src/app/api/traces/stream/route.js +2 -2
  232. package/src/app/layout.js +1 -1
  233. package/src/app/page.js +6 -6
@@ -0,0 +1,33 @@
1
+ module.exports=[[71029,(a,b,c)=>{c._=function(a){return a&&a.__esModule?a:{default:a}}},25556,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}}),a.r(71029);let d=a.r(7997);a.r(717);let e=a.r(98860),f=function(){return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("title",{children:"500: This page couldn’t load"}),(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:e.errorThemeCss}})]}),(0,d.jsx)("body",{children:(0,d.jsx)("div",{style:e.errorStyles.container,children:(0,d.jsxs)("div",{style:e.errorStyles.card,children:[(0,d.jsx)(e.WarningIcon,{}),(0,d.jsx)("h1",{style:e.errorStyles.title,children:"This page couldn’t load"}),(0,d.jsx)("p",{style:e.errorStyles.message,children:"A server error occurred. Reload to try again."}),(0,d.jsx)("form",{style:e.errorStyles.form,children:(0,d.jsx)("button",{type:"submit",style:e.errorStyles.button,children:"Reload"})})]})})})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},98860,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={WarningIcon:function(){return i},errorStyles:function(){return g},errorThemeCss:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});a.r(71029);let f=a.r(7997);a.r(717);let g={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},h=`
2
+ :root {
3
+ --next-error-bg: #fff;
4
+ --next-error-text: #171717;
5
+ --next-error-title: #171717;
6
+ --next-error-message: #171717;
7
+ --next-error-digest: #666666;
8
+ --next-error-btn-text: #fff;
9
+ --next-error-btn-bg: #171717;
10
+ --next-error-btn-border: none;
11
+ --next-error-btn-secondary-text: #171717;
12
+ --next-error-btn-secondary-bg: transparent;
13
+ --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
+ }
15
+ @media (prefers-color-scheme: dark) {
16
+ :root {
17
+ --next-error-bg: #0a0a0a;
18
+ --next-error-text: #ededed;
19
+ --next-error-title: #ededed;
20
+ --next-error-message: #ededed;
21
+ --next-error-digest: #a0a0a0;
22
+ --next-error-btn-text: #0a0a0a;
23
+ --next-error-btn-bg: #ededed;
24
+ --next-error-btn-border: none;
25
+ --next-error-btn-secondary-text: #ededed;
26
+ --next-error-btn-secondary-bg: transparent;
27
+ --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
+ }
29
+ }
30
+ body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
+ `.replace(/\n\s*/g,"");function i(){return(0,f.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:g.icon,children:(0,f.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}],79835,function(a){a.n(a.i(25556))}];
32
+
33
+ //# sourceMappingURL=node_modules_0gxlxpuufujz9._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../node_modules/%40swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/next/src/client/components/builtin/app-error.tsx","../../../../node_modules/next/src/client/components/builtin/error-styles.tsx"],"sourcesContent":["\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n","import React from 'react'\nimport { errorStyles, errorThemeCss, WarningIcon } from './error-styles'\n\n// This is the static 500.html page for App Router apps.\n// Always a server error, rendered at build time.\nfunction AppError() {\n return (\n <html id=\"__next_error__\">\n <head>\n <title>500: This page couldn&#x2019;t load</title>\n <style dangerouslySetInnerHTML={{ __html: errorThemeCss }} />\n </head>\n <body>\n <div style={errorStyles.container}>\n <div style={errorStyles.card}>\n <WarningIcon />\n <h1 style={errorStyles.title}>This page couldn&#x2019;t load</h1>\n <p style={errorStyles.message}>\n A server error occurred. Reload to try again.\n </p>\n <form style={errorStyles.form}>\n <button type=\"submit\" style={errorStyles.button}>\n Reload\n </button>\n </form>\n </div>\n </div>\n </body>\n </html>\n )\n}\n\nexport default AppError\n","import React from 'react'\n\nexport const errorStyles = {\n container: {\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n card: {\n marginTop: '-32px',\n maxWidth: '325px',\n padding: '32px 28px',\n textAlign: 'left' as const,\n },\n icon: {\n marginBottom: '24px',\n },\n title: {\n fontSize: '24px',\n fontWeight: 500,\n letterSpacing: '-0.02em',\n lineHeight: '32px',\n margin: '0 0 12px 0',\n color: 'var(--next-error-title)',\n },\n message: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '21px',\n margin: '0 0 20px 0',\n color: 'var(--next-error-message)',\n },\n form: {\n margin: 0,\n },\n buttonGroup: {\n display: 'flex',\n gap: '8px',\n alignItems: 'center',\n },\n button: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-text)',\n background: 'var(--next-error-btn-bg)',\n border: 'var(--next-error-btn-border)',\n },\n buttonSecondary: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-secondary-text)',\n background: 'var(--next-error-btn-secondary-bg)',\n border: 'var(--next-error-btn-secondary-border)',\n },\n digestFooter: {\n position: 'fixed' as const,\n bottom: '32px',\n left: '0',\n right: '0',\n textAlign: 'center' as const,\n fontFamily:\n 'ui-monospace,SFMono-Regular,\"SF Mono\",Menlo,Consolas,monospace',\n fontSize: '12px',\n lineHeight: '18px',\n fontWeight: 400,\n margin: '0',\n color: 'var(--next-error-digest)',\n },\n} as const\n\nexport const errorThemeCss = `\n:root {\n --next-error-bg: #fff;\n --next-error-text: #171717;\n --next-error-title: #171717;\n --next-error-message: #171717;\n --next-error-digest: #666666;\n --next-error-btn-text: #fff;\n --next-error-btn-bg: #171717;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #171717;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);\n}\n@media (prefers-color-scheme: dark) {\n :root {\n --next-error-bg: #0a0a0a;\n --next-error-text: #ededed;\n --next-error-title: #ededed;\n --next-error-message: #ededed;\n --next-error-digest: #a0a0a0;\n --next-error-btn-text: #0a0a0a;\n --next-error-btn-bg: #ededed;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #ededed;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);\n }\n}\nbody { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\n`.replace(/\\n\\s*/g, '')\n\nexport function WarningIcon() {\n return (\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"-0.2 -1.5 32 32\"\n fill=\"none\"\n style={errorStyles.icon}\n >\n <path\n d=\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\"\n fill=\"var(--next-error-title)\"\n />\n </svg>\n )\n}\n"],"names":["_interop_require_default","obj","__esModule","default","exports","_","AppError","html","id","head","title","style","dangerouslySetInnerHTML","__html","errorThemeCss","body","div","errorStyles","container","card","WarningIcon","h1","p","message","form","button","type","fontFamily","height","display","alignItems","justifyContent","marginTop","maxWidth","padding","textAlign","icon","marginBottom","fontSize","fontWeight","letterSpacing","lineHeight","margin","color","buttonGroup","gap","borderRadius","cursor","background","border","buttonSecondary","digestFooter","position","bottom","left","right","replace","svg","width","viewBox","fill","path","d"],"mappings":"iCAKAI,EAAQC,CAAC,CAHT,EAGYL,OAHsBC,AAAzBD,CAA4B,EACjC,OAAOC,GAAOA,EAAIC,UAAU,CAAGD,EAAM,CAAEE,QAASF,CAAI,CACxD,4FC4BA,UAAA,qCAAA,kCAhCkB,CAAA,CAAA,IAAA,SACsC,CAAA,CAAA,IAAA,GA+BxD,EA3BA,SAASK,AA2BMA,EA1Bb,MACE,CADF,AACE,EAAA,EAAA,IAAA,EAACC,CADH,MACGA,CAAKC,GAAG,2BACP,CAAA,EAAA,EAAA,IAAA,EAACC,OAAAA,WACC,CAAA,EAAA,EAAA,GAAA,EAACC,QAAAA,UAAM,iCACP,CAAA,EAAA,EAAA,GAA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JkB,OAAQ,CACV,EACAE,YAAa,CACXf,QAAS,OACTgB,IAAK,MACLf,WAAY,QACd,EACAL,OAAQ,CACNI,QAAS,cACTC,WAAY,SACZC,eAAgB,SAChBH,OAAQ,OACRM,QAAS,SACTI,SAAU,OACVC,WAAY,IACZE,WAAY,OACZK,aAAc,MACdC,OAAQ,UACRJ,MAAO,6BACPK,WAAY,2BACZC,OAAQ,8BACV,EACAC,gBAAiB,CACfrB,QAAS,cACTC,WAAY,SACZC,eAAgB,SAChBH,OAAQ,OACRM,QAAS,SACTI,SAAU,OACVC,WAAY,IACZE,WAAY,OACZK,aAAc,MACdC,OAAQ,UACRJ,MAAO,uCACPK,WAAY,qCACZC,OAAQ,wCACV,EACAE,aAAc,CACZC,SAAU,QACVC,OAAQ,OACRC,KAAM,IACNC,MAAO,IACPpB,UAAW,SACXR,WACE,iEACFW,SAAU,OACVG,WAAY,OACZF,WAAY,IACZG,OAAQ,IACRC,MAAO,0BACT,CACF,EAEa7B,EAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8B9B,CAAC,CAAC0C,OAAO,CAAC,SAAU,IAEb,SAASpC,IACd,MACE,CADF,AACE,EAAA,EAAA,GAAA,EAACqC,EADH,IACGA,CACCC,MAAM,KACN9B,OAAO,KACP+B,QAAQ,kBACRC,KAAK,OACLjD,MAAOM,EAAYmB,IAAI,UAEvB,CAAA,EAAA,EAAA,GAAA,EAACyB,EAAD,KAACA,CACCC,EAAE,igBACFF,KAAK,6BAIb","ignoreList":[0,1,2]}
@@ -0,0 +1,6 @@
1
+ module.exports=[67436,a=>{"use strict";var b=a.i(71306),c=a.i(88604),d=a.i(79847),e=a.i(9185),f=a.i(72842),g=a.i(54897),h=a.i(56157),i=a.i(15988),j=a.i(1268),k=a.i(25766),l=a.i(90833),m=a.i(21626),n=a.i(89257),o=a.i(5785),p=a.i(74793),q=a.i(85826),r=a.i(21565),s=a.i(110),t=a.i(65911),u=a.i(25128),v=a.i(40781);a.i(69411);var w=a.i(63081),x=a.i(62837),y=a.i(34607),z=a.i(96338),A=a.i(50642),B=a.i(88530),C=a.i(93695),D=a.i(22980),E=a.i(8583),F=a.i(38534),G=a.i(5672);a.i(70408);var H=a.i(22922),I=a.i(78294),J=a.i(16625),K=a.i(88648),L=a.i(25466);a.s(["f",0,function({tree:M,page:N,pathname:O,require:P,loadChunk:Q,interopDefault:R}){let S={require:P,loadChunk:Q},T=new b.AppPageRouteModule({definition:{kind:d.RouteKind.APP_PAGE,page:N,pathname:O,bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:M},distDir:".next",relativeProjectDir:""}),U=N;U=U.replace(/\/index$/,"")||"/";let V=(0,r.normalizeAppPath)(U),W=(0,s.parseNormalizedAppRoute)(V).dynamicSegments.map(a=>a.param.paramName);async function X(b,r,s){var N,O,P,Q,Y,Z;s.requestMeta&&(0,g.setRequestMeta)(b,s.requestMeta),T.isDev&&(0,g.addRequestMeta)(b,"devRequestTimingInternalsEnd",process.hrtime.bigint());let $=!!(0,g.getRequestMeta)(b,"minimalMode"),_=b.url,aa=await T.prepare(b,r,{srcPage:U,multiZoneDraftMode:!1});if(!aa)return r.statusCode=400,r.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let{buildId:ab,query:ac,params:ad,pageIsDynamic:ae,buildManifest:af,nextFontManifest:ag,reactLoadableManifest:ah,serverActionsManifest:ai,clientReferenceManifest:aj,subresourceIntegrityManifest:ak,prerenderManifest:al,prefetchHintsManifest:am,isDraftMode:an,resolvedPathname:ao,revalidateOnlyGenerated:ap,routerServerContext:aq,nextConfig:ar,parsedUrl:as,interceptionRoutePatterns:at,deploymentId:au,clientAssetToken:av,previewProps:aw}=aa,{isOnDemandRevalidate:ax}=aa,ay=T.match(ao,al),az=(null==ay?void 0:ay.route)??null,aA=T.isDev||(0,D.isRouteCacheOwner)(ao,T.cacheOwner,al.routes[ao])?al.routes[ao]:void 0,aB=!!aA,aC=b.headers["user-agent"]||"",aD=(0,v.getBotType)(aC),aE=(0,g.getRequestMeta)(b,"isPrefetchRSCRequest")??"1"===b.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aF=(0,g.getRequestMeta)(b,"isRSCRequest")??(0,l.isRSCRequestHeader)(b.headers[u.RSC_HEADER]),aG=(0,t.getIsPossibleServerAction)(b);if(V===n.UNDERSCORE_NOT_FOUND_ROUTE&&("GET"===b.method||"HEAD"===b.method)&&!aF&&(0,m.isNonHtmlSecFetchDest)(b.headers["sec-fetch-dest"]))return r.statusCode=404,r.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),r.setHeader("Content-Type","text/plain; charset=utf-8"),r.end("Not Found"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let aH=!!ar.cacheComponents,aI=b.headers[z.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,g.getRequestMeta)(b,"postponed")&&$&&aH&&aG&&aI&&"string"==typeof aI){let c=parseInt(aI,10),{maxPostponedStateSize:d,maxPostponedStateSizeBytes:e}=(0,F.getMaxPostponedStateSize)(ar.experimental.maxPostponedStateSize);if(!isNaN(c)&&c>0){if(c>e)return r.statusCode=413,r.end((0,F.getPostponedStateExceededErrorMessage)(d)),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let f="1 MB",h=(null==(Z=ar.experimental.serverActions)?void 0:Z.bodySizeLimit)??f,i=c+(h!==f?a.r(14465).parse(h):1048576),j=await (0,F.readBodyWithSizeLimit)(b,i);if(null===j)return r.statusCode=413,r.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;if(j.length>=c){let a=j.subarray(0,c).toString("utf8");(0,g.addRequestMeta)(b,"postponed",a);let d=j.subarray(c);(0,g.addRequestMeta)(b,"actionBody",d)}else throw Error(`invariant: expected ${c} bytes of postponed state but only received ${j.length} bytes`)}}if("string"!=typeof(0,g.getRequestMeta)(b,"postponed")&&aH&&"1"===b.headers[z.NEXT_RESUME_HEADER]&&"POST"===b.method){let{maxPostponedStateSize:a,maxPostponedStateSizeBytes:c}=(0,F.getMaxPostponedStateSize)(ar.experimental.maxPostponedStateSize),d=await (0,F.readBodyWithSizeLimit)(b,c);if(null===d)return r.statusCode=413,r.end((0,F.getPostponedStateExceededErrorMessage)(a)),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let e=d.toString("utf8");(0,g.addRequestMeta)(b,"postponed",e)}let aJ=!0===ar.cacheComponents&&(!0===T.isDev||!0===ar.experimental.exposeTestingApiInProductionBuild),aK=aJ&&"string"==typeof b.headers.cookie&&b.headers.cookie.includes(u.NEXT_INSTANT_TEST_COOKIE+"=")&&(!(0,l.isRSCRequestHeader)(b.headers[u.RSC_HEADER])||"1"===b.headers[u.NEXT_ROUTER_PREFETCH_HEADER]),aL=aH&&((null==(N=al.routes[V]??al.dynamicRoutes[V])?void 0:N.renderingMode)==="PARTIALLY_STATIC"||aK&&(aJ||(null==aq?void 0:aq.experimentalTestProxy)===!0)),aM=aK&&aL,aN=aM&&!0===T.isDev,aO=!1,aP=aM||aN||aO,aQ=aL?(0,g.getRequestMeta)(b,"postponed"):void 0,aR="string"==typeof aQ,aS=null==aA?void 0:aA.prefetchDataRoute,aT=(null==az?void 0:az._isEnsureStaticPage)===!0,aU=aL&&aF&&!aE&&!aS&&!aT;$&&(aU=aU&&aR);let aV=b.headers[u.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],aW=(0,g.getRequestMeta)(b,"segmentPrefetchRSCRequest")??(aE?"string"==typeof aV?aV:Array.isArray(aV)?aV[0]:void 0:void 0),aX=!aC||(0,q.shouldServeStreamingMetadata)(aC,ar.htmlLimitedBots),aY=aL&&!aX,aZ=!!((az||aB||al.routes[V])&&!aY),a$=aL&&!0===ar.cacheComponents,a_=!0===T.isDev||an||!aZ||aR||(a$&&(0,g.getRequestMeta)(b,"onCacheEntryV2")?aU&&!$:aU),a0=(null==az?void 0:az.remainingPrerenderableParams)??[],a1=ar.cacheComponents?(null==az||null==(O=az.fallbackRouteParams)?void 0:O.filter(a=>!a0.some(b=>b.paramName===a.paramName)))??[]:[],a2=aB&&a0.some(a=>{let b=null==ad?void 0:ad[a.paramName];return null==b||Array.isArray(b)&&0===b.length}),a3=(null==az?void 0:az.fallback)===null&&((null==(P=az.fallbackRootParams)?void 0:P.length)??0)>0,a4=ay?"string"==typeof(null==az?void 0:az.fallback)?az.fallback:ay.source:null,a5=null;if(ar.cacheComponents&&(null==az?void 0:az.fallback)!==!1&&(ar.partialPrefetching||a1.length>0)&&a4&&(null==az||null==(Q=az.fallbackRouteParams)?void 0:Q.length)&&!a2){let a,b=(a=new Map(a0.map(a=>[a.paramName,a])),a4.split("/").map(b=>{let c=(0,L.getSegmentParam)(b);if(!c)return b;let d=a.get(c.paramName);if(!d)return b;let e=null==ad?void 0:ad[d.paramName];if(!e)return b;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return b.replace((0,o.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");(b!==a4||a1.length>0)&&(a5=b)}let a6=null,a7=!1;an||!aZ||a_||aG||aR||aU||(null!==a5?(a5!==a4||ax)&&(a6=a5,a7=!0):a6=ao);let a8=a6;!a8&&(T.isDev||aZ&&ae&&(null==az||null==(Y=az.fallbackRouteParams)?void 0:Y.length)&&!aG)&&(a8=ao),T.isDev||an||!aZ||!aF||aU||(0,i.stripFlightHeaders)(b.headers);let a9={...H,tree:M,handler:X,routeModule:T,__next_app__:S};ai&&aj&&(0,p.setManifestsSingleton)({page:U,clientReferenceManifest:aj,serverActionsManifest:ai});let ba=b.method||"GET",bb=(0,f.getTracer)(),bc=bb.getActiveScopeSpan(),bd=!!(null==aq?void 0:aq.isWrappedByNextServer),be=async()=>((null==aq?void 0:aq.render404)?await aq.render404(b,r,as,!1):(r.statusCode=404,r.end("This page could not be found")),null);try{let a,i=T.getVaryHeader(ao,at);r.setHeader("Vary",i);let l=async(c,d,e)=>{let g=new k.NodeNextRequest(b),i=new k.NodeNextResponse(r);return("prerender"===e?T.prerender(g,i,d):T.render(g,i,d)).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":r.statusCode,"next.rsc":aF}),r.statusCode&&r.statusCode>=500&&(c.setStatus({code:f.SpanStatusCode.ERROR}),c.setAttribute("error.type",r.statusCode.toString()));let b=bb.getRootSpanAttributes();if(!b)return;if(b.get("next.span_type")!==h.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${b.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=b.get("next.route")||V,e=aF?`RSC ${ba} ${d}`:`${ba} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":e}),c.updateName(e),a&&a!==c&&(a.setAttribute("http.route",d),a.updateName(e))})},m=(0,g.getRequestMeta)(b,"incrementalCache")||await T.getIncrementalCache(b,ar,aw,al,$);null==m||m.resetRequestCache(),globalThis.__incrementalCache=m;let n=async({span:a,postponed:d,fallbackRouteParams:e,renderOperation:f,allowEmptyStaticShell:h})=>{var i,k;let n={query:ac,params:ad,page:V,routeMatch:{resolvedPathname:ao},parsedRequestHeaders:(0,j.parseRequestHeaders)(b.headers,{isRoutePPREnabled:aL,previewModeId:null==aw?void 0:aw.previewModeId}),sharedContext:{buildId:ab,deploymentId:au,clientAssetToken:av},dev:(0,c.createDevRenderContext)(b),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:a9,Component:R(a9),params:ad,routeModule:T,page:U,postponed:d,allowEmptyStaticShell:h,serveStreamingMetadata:aX,supportsDynamicResponse:"render"===f&&("string"==typeof d||a_),buildManifest:af,nextFontManifest:ag,reactLoadableManifest:ah,subresourceIntegrityManifest:ak,setCacheStatus:null==aq?void 0:aq.setCacheStatus,setIsrStatus:null==aq?void 0:aq.setIsrStatus,setReactDebugChannel:null==aq?void 0:aq.setReactDebugChannel,sendErrorsToBrowser:null==aq?void 0:aq.sendErrorsToBrowser,dir:require("path").join(process.cwd(),T.relativeProjectDir),isDraftMode:an,botType:aD,isOnDemandRevalidate:ax,isPossibleServerAction:aG,assetPrefix:T.getAssetPrefixForRender(aq,ar.assetPrefix),nextConfigOutput:ar.output,crossOrigin:ar.crossOrigin,trailingSlash:ar.trailingSlash,images:ar.images,previewProps:aw,enableTainting:ar.experimental.taint,reactMaxHeadersLength:ar.reactMaxHeadersLength,multiZoneDraftMode:!1,prefetchHints:am,notFoundParams:(T.isDev?(0,g.getRequestMeta)(b,"devNotFoundParams"):void 0)??(null==(i=al.dynamicRoutes[V])?void 0:i.notFoundParams)??((null==(k=al.dynamicRoutes[V])?void 0:k.fallback)===!1?W:void 0),incrementalCache:m,cacheLifeProfiles:ar.cacheLife,staticPageGenerationTimeout:ar.staticPageGenerationTimeout,basePath:ar.basePath,serverActions:ar.experimental.serverActions,logServerFunctions:"object"==typeof ar.logging&&!!ar.logging.serverFunctions,...aM||aN||aO?{isBuildTimePrerendering:!0,isDebugDynamicAccesses:aN}:{},cacheComponents:!!ar.cacheComponents,partialPrefetching:ar.partialPrefetching,isFallbackUpgradeable:!!ar.partialPrefetching&&a0.length>0,validationLevel:ar.experimental.instantInsights.validationLevel,experimental:{isRoutePPREnabled:aL,expireTime:ar.expireTime,staleTimes:ar.experimental.staleTimes,dynamicOnHover:!!ar.experimental.dynamicOnHover,optimisticRouting:!!ar.experimental.optimisticRouting,parallelRouteMetadata:!!ar.experimental.parallelRouteMetadata,inlineCss:!!ar.experimental.inlineCss,prefetchInlining:ar.experimental.prefetchInlining??!1,authInterrupts:!!ar.experimental.authInterrupts,reactBrowserBailout:!!ar.experimental.reactBrowserBailout,serverComponentsHmrCancellation:!!ar.experimental.serverComponentsHmrCancellation,useCacheTimeout:ar.experimental.useCacheTimeout,durableUseCacheEntries:!!ar.experimental.durableUseCacheEntries,cachedNavigations:ar.experimental.cachedNavigations??!1,clientTraceMetadata:ar.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ar.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,E.parseMaxPostponedStateSize)(ar.experimental.maxPostponedStateSize),disableResumeDataCacheCompression:ar.experimental.disableResumeDataCacheCompression??!1,exposeTestingApi:aJ},waitUntil:s.waitUntil,onClose:a=>{r.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(a,c,d)=>T.onRequestError(b,a,c,d,aq),err:(0,g.getRequestMeta)(b,"invokeError")}},o=await l(a,n,f);if("error"in o)return b.fetchMetrics=o.result.metadata.fetchMetrics,o;let{metadata:p}=o,{cacheControl:q,headers:t={},fetchTags:u,fetchMetrics:v}=p;if(q&&!1!==q.revalidate&&q.revalidate>0&&void 0===q.expire&&(q.expire=ar.expireTime),u&&(t[z.NEXT_CACHE_TAGS_HEADER]=u),b.fetchMetrics=v,aZ&&(null==q?void 0:q.revalidate)===0&&!T.isDev&&!aL){let a=p.staticBailoutInfo,b=Error(`Page changed from static to dynamic at runtime ${ao}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`);if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:o,headers:t,rscData:p.flightData,postponed:p.postponed,status:p.statusCode,segmentData:p.segmentData},cacheControl:q}},p=async({hasResolved:a,previousCacheEntry:c,isRevalidating:f,span:h,forceStaticRender:i=!1})=>{let j=!1===T.isDev,k=a||r.writableEnded,l=a=>T.onRequestError(b,a,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,e.getRevalidateReason)({isStaticGeneration:aZ,isOnDemandRevalidate:ax})},!1,aq);try{var q;let e;if(ax&&ap&&!c&&!$)return(null==aq?void 0:aq.render404)?await aq.render404(b,r):(r.statusCode=404,r.end("This page could not be found")),null;if(az&&(e=(0,x.parseFallbackField)(az.fallback)),e===x.FallbackMode.NOT_FOUND&&aB&&(e=x.FallbackMode.BLOCKING_STATIC_RENDER),!ar.partialPrefetching||(null==az?void 0:az.fallback)!==null||aT||az.isExplicitlyBlocking||a2||a3||!(a0.length>0)||(e=x.FallbackMode.PRERENDER),e!==x.FallbackMode.PRERENDER||(aL?aX:!aD)||(e=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==c?void 0:c.isStale)===-1&&(ax=!0),ax&&e!==x.FallbackMode.NOT_FOUND&&(e=x.FallbackMode.BLOCKING_STATIC_RENDER),(j||i||aP)&&!$&&e!==x.FallbackMode.BLOCKING_STATIC_RENDER&&a8&&!k&&!an&&ae&&(j||!aB)&&aL&&(ar.cacheComponents?!aU:!aF)){let c,e=j&&"string"==typeof(null==az?void 0:az.fallback)?az.fallback:V;c=j?(null==az?void 0:az.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(az.fallbackRouteParams):aO?(0,o.getFallbackRouteParams)(V,T):null:aO?(0,o.getFallbackRouteParams)(V,T):aM?(0,g.getRequestMeta)(b,"fallbackRouteParams")??null:null,aM&&(0,g.addRequestMeta)(b,"stagedFallbackParams",c);let f=await T.handleResponse({cacheKey:e,req:b,nextConfig:ar,routeKind:d.RouteKind.APP_PAGE,isFallback:!0,previewProps:aw,prerenderManifest:al,isRoutePPREnabled:aL,responseGenerator:async()=>n({span:h,postponed:void 0,fallbackRouteParams:c,renderOperation:"prerender",allowEmptyStaticShell:aK||void 0}),waitUntil:s.waitUntil,isMinimalMode:$});if(null===f||"error"in f)return f;if(f)return!$&&aL&&ar.partialPrefetching&&a0.length>0&&a6&&m&&!ax&&!aO&&!aJ&&!aK&&(0,K.scheduleOnNextTick)(async()=>{let c=T.getResponseCache(b);try{let b=await c.revalidate(a6,m,aL,!1,a=>n({span:a.span,postponed:void 0,fallbackRouteParams:a1.length>0?(0,o.createOpaqueFallbackRouteParams)(a1):null,renderOperation:"prerender"}),null,a,s.waitUntil);if(null!==b&&"error"in b)throw b.error}catch(a){console.error("Error revalidating the page in the background",a)}}),delete f.cacheControl,f}let t=ax||f||!aQ?void 0:aQ,v=!1;if(a$&&!$&&m&&(aU||aG)&&!i){let c=a5??ao,d=await m.get(c,{kind:w.IncrementalCacheKind.APP_PAGE,route:T.cacheOwner,isRoutePPREnabled:!0,isFallback:!1});d&&d.value&&d.value.kind===w.CachedRouteKind.APP_PAGE&&(t=d.value.postponed,v=void 0===t,d&&(-1===d.isStale||!0===d.isStale)&&(0,K.scheduleOnNextTick)(async()=>{let d=T.getResponseCache(b);try{let b=await d.revalidate(c,m,aL,!1,a=>p({...a,forceStaticRender:!0}),null,a,s.waitUntil);if(null!==b&&"error"in b)throw b.error}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aM||aN)&&void 0!==t)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.APP_PAGE,html:y.default.fromStatic("",aF?u.RSC_CONTENT_TYPE_HEADER:z.HTML_CONTENT_TYPE_HEADER),rscData:void 0,postponed:t,segmentData:void 0,headers:void 0,status:void 0}};let A=!T.isDev&&ae&&(null==az?void 0:az.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)(ad,az.fallbackRouteParams):null,B=A&&A.length>0?A:null==az?void 0:az.fallbackRouteParams,C=null!=A&&A.length>0,D=null;if(ar.cacheComponents&&(null==az?void 0:az.fallbackRouteParams)){let a=(0,g.getRequestMeta)(b,"resolvedRouteParamKeys");a&&a.size>0&&(D=az.fallbackRouteParams.filter(b=>!a.has(b.paramName)))}let E=(j&&(0,g.getRequestMeta)(b,"renderFallbackShell")||C||aM&&!aB)&&B?(0,o.createOpaqueFallbackRouteParams)(B):D&&D.length>0&&D.length<((null==az||null==(q=az.fallbackRouteParams)?void 0:q.length)??0)?(0,o.createOpaqueFallbackRouteParams)(D):!$&&(a7||i&&null!==a5)&&a1.length>0?(0,o.createOpaqueFallbackRouteParams)(a1):aO?(0,o.getFallbackRouteParams)(V,T):null;if((j||aM)&&ar.cacheComponents){let a;a=C?(0,o.createOpaqueFallbackRouteParams)(A):aM?E:v||aB?null:t&&(null==az?void 0:az.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(az.fallbackRouteParams):az?(0,o.getStagedFallbackParams)(az):null,(0,g.addRequestMeta)(b,"stagedFallbackParams",a)}let F=!i&&!aP&&(a_||aG),G=await n({span:h,postponed:t,fallbackRouteParams:E,renderOperation:F?"render":"prerender",allowEmptyStaticShell:aK||void 0});return"error"in G&&a&&await l(G.error),G}catch(b){throw a&&await l(b),b}},q=a=>{var c;let d=a$?(0,g.getRequestMeta)(b,"onCacheEntryV2")??(0,g.getRequestMeta)(b,"onCacheEntry"):(0,g.getRequestMeta)(b,"onCacheEntry");if(!d)return!1;let e=(0,g.getRequestMeta)(b,"initURL")??b.url;return d(a,{url:e?(null==(c=(0,G.parseUrl)(e))?void 0:c.pathname)??e:void 0})},t=(a,c,d)=>{let e=new TransformStream;a.push(e.readable),ar.cacheComponents&&(null==az?void 0:az.fallbackRouteParams)&&(0,g.addRequestMeta)(b,"stagedFallbackParams",(0,o.createOpaqueFallbackRouteParams)(az.fallbackRouteParams)),n({span:d,postponed:c,fallbackRouteParams:null,renderOperation:"render"}).then(async a=>{var b,c;if(!a)throw Error("Invariant: expected a result to be returned");if("error"in a)throw a.error;if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`);await a.value.html.pipeTo(e.writable)}).catch(a=>{e.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})})},v=async a=>{var c,h,i,j;let k,l=T.isDev&&!aP&&(0,g.getRequestMeta)(b,"devParamMatchingRejected");if(!$&&!an&&!aG&&ae&&(l||(null==az?void 0:az.fallback)===!1&&!aB)){if(ar.adapterPath)return await be();throw new C.NoFallbackError}let m=await T.handleResponse({cacheKey:a6,responseGenerator:b=>p({span:a,...b}),routeKind:d.RouteKind.APP_PAGE,isOnDemandRevalidate:ax,isRoutePPREnabled:aL,req:b,nextConfig:ar,previewProps:aw,prerenderManifest:al,waitUntil:s.waitUntil,isMinimalMode:$});if(null!==m&&"error"in m){if(r.headersSent||r.writableEnded)throw m.error;let c=()=>{let a=T.onRequestError(b,m.error,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,e.getRevalidateReason)({isStaticGeneration:aZ,isOnDemandRevalidate:ax})},!1,aq).catch(a=>{console.error(a)});null==s.waitUntil||s.waitUntil.call(s,a)},{result:d}=m;for(let[a,b]of Object.entries(d.metadata.headers??{}))void 0!==b&&r.appendHeader(a,"number"==typeof b?b.toString():b);r.statusCode=500,null==a||a.setAttributes({"http.status_code":500,"next.rsc":aF,"error.type":"500"}),null==a||a.setStatus({code:f.SpanStatusCode.ERROR}),r.removeHeader("x-nextjs-cache"),r.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let g=d;if(aF)g=y.default.fromStatic("",u.RSC_CONTENT_TYPE_HEADER);else if("string"==typeof d.metadata.postponed){if(await q({value:{kind:w.CachedRouteKind.APP_PAGE,html:d,rscData:d.metadata.flightData,postponed:d.metadata.postponed,status:500,headers:void 0,segmentData:void 0},cacheControl:{revalidate:0,expire:void 0}}))return c(),null;if($)throw m.error;t(g=y.default.fromStatic(d.toUnchunkedString(),z.HTML_CONTENT_TYPE_HEADER),d.metadata.postponed,a)}return c(),(0,B.sendRenderResult)({req:b,res:r,result:g,generateEtags:!1,poweredByHeader:ar.poweredByHeader,cacheControl:void 0})}if(an&&r.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),T.isDev&&r.setHeader("Cache-Control","no-store"),!m){if(a6)throw Error("invariant: cache entry required but not generated");return null}if((null==(c=m.value)?void 0:c.kind)!==w.CachedRouteKind.APP_PAGE)throw Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`);let n="string"==typeof m.value.postponed;aF&&!aG&&au&&r.setHeader(z.NEXT_NAV_DEPLOYMENT_ID_HEADER,au),aZ&&!aU&&(!n||aE)&&($||r.setHeader("x-nextjs-cache",ax?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),r.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aR)k={revalidate:0,expire:void 0};else if(aU)k={revalidate:0,expire:void 0};else if(!T.isDev)if(an)k={revalidate:0,expire:void 0};else if(aZ){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`);k={revalidate:m.cacheControl.revalidate,expire:m.cacheControl.expire}}else k={revalidate:z.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else r.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(m.cacheControl=k,"string"==typeof aW&&(null==o?void 0:o.kind)===w.CachedRouteKind.APP_PAGE&&o.segmentData){r.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let a=null==(j=o.headers)?void 0:j[z.NEXT_CACHE_TAGS_HEADER];$&&aZ&&a&&"string"==typeof a&&r.setHeader(z.NEXT_CACHE_TAGS_HEADER,a);let c=o.segmentData.get(aW);return void 0!==c?(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:y.default.fromStatic(c,u.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(r.statusCode=404,(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:y.default.EMPTY,cacheControl:m.cacheControl}))}if(!aM&&await q(m))return null;if(o.headers){let a={...o.headers};for(let[b,c]of($&&aZ||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==c)if(Array.isArray(c))for(let a of c)r.appendHeader(b,a);else"number"==typeof c&&(c=c.toString()),r.appendHeader(b,c)}let v=null==(h=o.headers)?void 0:h[z.NEXT_CACHE_TAGS_HEADER];if($&&aZ&&v&&"string"==typeof v&&r.setHeader(z.NEXT_CACHE_TAGS_HEADER,v),!o.status||aF&&aL||(r.statusCode=o.status),!$&&o.status&&I.RedirectStatusCode[o.status]&&aF&&(r.statusCode=200),n&&!aU&&r.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aF&&!an){if(void 0===o.rscData){if(o.html.contentType!==u.RSC_CONTENT_TYPE_HEADER)if(ar.cacheComponents)return r.statusCode=404,(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:y.default.EMPTY,cacheControl:m.cacheControl});else throw new J.InvariantError(`Expected RSC response, got ${o.html.contentType}`);return(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:y.default.fromStatic(o.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let x=o.html;if(aK&&aM){if("string"==typeof o.postponed&&H.isEmptyHTMLPrelude(o.postponed)){if(!0===T.isDev)throw Error(`The Navigation Inspector was active, but you attempted to load a blocking route. Reload the page to reset the inspector.
3
+
4
+ To identify why this route is blocking, refer to the Instant Navigation docs: https://preview.nextjs.org/docs/app/guides/instant-navigation`);let a=`<!DOCTYPE html><html><head><meta charSet="utf-8"/></head><body><script>document.cookie="${u.NEXT_INSTANT_TEST_COOKIE}=; Path=/; Max-Age=0"</script><p>The Navigation Inspector was active, but you attempted to load a blocking route. Reload the page to reset the inspector.</p><p>To identify why this route is blocking, refer to the <a href="https://preview.nextjs.org/docs/app/guides/instant-navigation">Instant Navigation docs</a>.</p></body></html>`;return(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:y.default.fromStatic(a,z.HTML_CONTENT_TYPE_HEADER),cacheControl:{revalidate:0,expire:void 0}})}return x.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:x,cacheControl:{revalidate:0,expire:void 0}})}return!n||$||aF?(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:x,cacheControl:m.cacheControl}):(aM||aN?x.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})):t(x,o.postponed,a),(0,B.sendRenderResult)({req:b,res:r,generateEtags:ar.generateEtags,poweredByHeader:ar.poweredByHeader,result:x,cacheControl:{revalidate:0,expire:void 0}}))};if(!bd||!bc)return a=bb.getActiveScopeSpan(),await bb.withPropagatedContext(b.headers,()=>bb.trace(h.BaseServerSpan.handleRequest,{spanName:`${ba} ${U}`,kind:f.SpanKind.SERVER,attributes:{"http.method":ba,"http.target":_}},v),void 0,!bd);await v(bc)}catch(a){throw aK&&!r.headersSent&&r.setHeader("Set-Cookie",`${u.NEXT_INSTANT_TEST_COOKIE}=; Path=/; Max-Age=0`),a instanceof C.NoFallbackError||await T.onRequestError(b,a,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,e.getRevalidateReason)({isStaticGeneration:aZ,isOnDemandRevalidate:ax})},!1,aq),a}}return{__next_app__:S,routeModule:T,handler:X}}])},25128,function(a){a.n(a.i(91562))},78294,function(a){a.n(a.i(71717))},96338,function(a){a.n(a.i(21751))},62837,function(a){a.n(a.i(40795))},88648,function(a){a.n(a.i(68113))},5672,function(a){a.n(a.i(42440))},22922,function(a){a.n(a.i(96772))},70408,function(a){a.n(a.i(9095))},94331,function(a){a.n(a.i(60644))},74793,function(a){a.n(a.i(33169))},15988,function(a){a.n(a.i(56952))},25766,function(a){a.n(a.i(77341))},9185,function(a){a.n(a.i(29432))},21626,function(a){a.n(a.i(975))},90833,function(a){a.n(a.i(46994))},38534,function(a){a.n(a.i(98175))},22980,function(a){a.n(a.i(96195))},65911,function(a){a.n(a.i(8950))},85826,function(a){a.n(a.i(37111))},56157,function(a){a.n(a.i(18970))},72842,function(a){a.n(a.i(75164))},34607,function(a){a.n(a.i(11614))},54897,function(a){a.n(a.i(30106))},5785,function(a){a.n(a.i(90588))},69411,function(a){a.n(a.i(75700))},63081,function(a){a.n(a.i(276))},79847,function(a){a.n(a.i(3343))},88604,function(a){a.n(a.i(9210))},71306,(a,b,c)=>{b.exports=a.r(18622)},1268,function(a){a.n(a.i(91315))},88530,function(a){a.n(a.i(10531))},50642,function(a){a.n(a.i(12213))},89257,function(a){a.n(a.i(58579))},16625,function(a){a.n(a.i(85034))},110,function(a){a.n(a.i(8770))},21565,function(a){a.n(a.i(41763))},25466,function(a){a.n(a.i(91505))},40781,function(a){a.n(a.i(49670))},8583,function(a){a.n(a.i(1082))},12948,(a,b,c)=>{"use strict";function d(a){return a}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"instrumentModuleGetter",{enumerable:!0,get:function(){return d}})}];
5
+
6
+ //# sourceMappingURL=node_modules_next_dist_0janj0i6dqko7._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../node_modules/next/src/build/templates/app-page-runtime.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/app-render/module-loading/instrument-module-getter.ts"],"sourcesContent":["import type { LoaderTree } from '../../server/lib/app-dir-module'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport type { FallbackRouteParam } from '../static-paths/types'\n\nimport {\n AppPageRouteModule,\n type AppPageRouteHandlerContext,\n type DevRenderContext,\n type RouteMatch,\n} from '../../server/route-modules/app-page/module.compiled' with { 'turbopack-transition': 'next-ssr' }\nimport { createDevRenderContext } from '../../server/route-modules/app-page/dev-render-context' with { 'turbopack-transition': 'next-server-utility' }\n\nimport { RouteKind } from '../../server/route-kind' with { 'turbopack-transition': 'next-server-utility' }\n\nimport { getRevalidateReason } from '../../server/instrumentation/utils' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n getTracer,\n SpanKind,\n SpanStatusCode,\n type Span,\n} from '../../server/lib/trace/tracer' with { 'turbopack-transition': 'next-server-utility' }\nimport type { RequestMeta } from '../../server/request-meta'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n} from '../../server/request-meta' with { 'turbopack-transition': 'next-server-utility' }\nimport { BaseServerSpan } from '../../server/lib/trace/constants' with { 'turbopack-transition': 'next-server-utility' }\nimport { stripFlightHeaders } from '../../server/app-render/strip-flight-headers' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n parseRequestHeaders,\n type ParsedRequestHeaders,\n} from '../../server/route-modules/app-page/parse-request-headers' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n NodeNextRequest,\n NodeNextResponse,\n} from '../../server/base-http/node' with { 'turbopack-transition': 'next-server-utility' }\nimport { isRSCRequestHeader } from '../../server/lib/is-rsc-request' with { 'turbopack-transition': 'next-server-utility' }\nimport { isNonHtmlSecFetchDest } from '../../server/lib/is-non-html-sec-fetch-dest' with { 'turbopack-transition': 'next-server-utility' }\nimport { UNDERSCORE_NOT_FOUND_ROUTE } from '../../shared/lib/entry-constants' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n getFallbackRouteParams,\n getPlaceholderFallbackRouteParams,\n getStagedFallbackParams,\n buildDynamicSegmentPlaceholder,\n createOpaqueFallbackRouteParams,\n type OpaqueFallbackRouteParams,\n} from '../../server/request/fallback-params' with { 'turbopack-transition': 'next-server-utility' }\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton' with { 'turbopack-transition': 'next-server-utility' }\nimport { shouldServeStreamingMetadata } from '../../server/lib/streaming-metadata' with { 'turbopack-transition': 'next-server-utility' }\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths' with { 'turbopack-transition': 'next-server-utility' }\nimport { parseNormalizedAppRoute } from '../../shared/lib/router/routes/app' with { 'turbopack-transition': 'next-server-utility' }\nimport { getIsPossibleServerAction } from '../../server/lib/server-action-request-meta' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n RSC_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_INSTANT_TEST_COOKIE,\n NEXT_IS_PRERENDER_HEADER,\n NEXT_DID_POSTPONE_HEADER,\n RSC_CONTENT_TYPE_HEADER,\n} from '../../client/components/app-router-headers' with { 'turbopack-transition': 'next-server-utility' }\nimport { getBotType } from '../../shared/lib/router/utils/is-bot' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n CachedRouteKind,\n IncrementalCacheKind,\n type CachedAppPageValue,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n FallbackMode,\n parseFallbackField,\n} from '../../lib/fallback' with { 'turbopack-transition': 'next-server-utility' }\nimport RenderResult, {\n type PrerenderFailure,\n} from '../../server/render-result' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n CACHE_ONE_YEAR_SECONDS,\n HTML_CONTENT_TYPE_HEADER,\n NEXT_CACHE_TAGS_HEADER,\n NEXT_NAV_DEPLOYMENT_ID_HEADER,\n NEXT_RESUME_HEADER,\n NEXT_RESUME_STATE_LENGTH_HEADER,\n} from '../../lib/constants' with { 'turbopack-transition': 'next-server-utility' }\nimport type { CacheControl } from '../../server/lib/cache-control'\nimport { ENCODED_TAGS } from '../../server/stream-utils/encoded-tags' with { 'turbopack-transition': 'next-server-utility' }\nimport { sendRenderResult } from '../../server/send-payload' with { 'turbopack-transition': 'next-server-utility' }\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external' with { 'turbopack-transition': 'next-server-utility' }\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key' with { 'turbopack-transition': 'next-server-utility' }\nimport { parseMaxPostponedStateSize } from '../../shared/lib/size-limit' with { 'turbopack-transition': 'next-server-utility' }\nimport {\n getMaxPostponedStateSize,\n getPostponedStateExceededErrorMessage,\n readBodyWithSizeLimit,\n} from '../../server/lib/postponed-request-body' with { 'turbopack-transition': 'next-server-utility' }\nimport { parseUrl } from '../../lib/url' with { 'turbopack-transition': 'next-server-utility' }\n\nimport * as entryBase from '../../server/app-render/entry-base' with { 'turbopack-transition': 'next-server-utility' }\nimport { RedirectStatusCode } from '../../client/components/redirect-status-code' with { 'turbopack-transition': 'next-server-utility' }\nimport { InvariantError } from '../../shared/lib/invariant-error' with { 'turbopack-transition': 'next-server-utility' }\nimport { scheduleOnNextTick } from '../../lib/scheduler' with { 'turbopack-transition': 'next-server-utility' }\nimport { getSegmentParam } from '../../shared/lib/router/utils/get-segment-param' with { 'turbopack-transition': 'next-server-utility' }\n\ntype AppPageRenderOperation = 'render' | 'prerender'\n\n/**\n * Builds the cache key for the most complete prerenderable shell we can derive\n * from the shell that matched this request. Only params that can still be\n * filled by `generateStaticParams` are substituted; fully dynamic params stay\n * as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into\n * `/c/[two]` rather than `/c/foo`.\n */\nfunction buildCompletedShellCacheKey(\n fallbackPathname: string,\n remainingPrerenderableParams: readonly FallbackRouteParam[],\n params: Record<string, undefined | string | string[]> | undefined\n): string {\n const prerenderableParamsByName = new Map(\n remainingPrerenderableParams.map((param) => [param.paramName, param])\n )\n\n return (\n fallbackPathname\n .split('/')\n .map((segment) => {\n const segmentParam = getSegmentParam(segment)\n if (!segmentParam) {\n return segment\n }\n\n const remainingParam = prerenderableParamsByName.get(\n segmentParam.paramName\n )\n if (!remainingParam) {\n return segment\n }\n\n const value = params?.[remainingParam.paramName]\n if (!value) {\n return segment\n }\n\n const encodedValue = Array.isArray(value)\n ? value.map((item) => encodeURIComponent(item)).join('/')\n : encodeURIComponent(value)\n\n return segment.replace(\n buildDynamicSegmentPlaceholder(remainingParam),\n encodedValue\n )\n })\n .join('/') || '/'\n )\n}\n\n// This implementation is imported by every route-specific app-page wrapper.\nexport function createAppPageEntrypoint({\n tree,\n page,\n pathname,\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault,\n}: {\n tree: LoaderTree\n page: string\n pathname: string\n require: (id: string | number) => unknown\n loadChunk: (id: string | number) => Promise<unknown>\n interopDefault: typeof import('../../server/app-render/interop-default').interopDefault\n}) {\n const __next_app__ = {\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n }\n\n const routeModule = new AppPageRouteModule({\n definition: {\n kind: RouteKind.APP_PAGE,\n page,\n pathname,\n // The following aren't used in production.\n bundlePath: '',\n filename: '',\n appPaths: [],\n },\n userland: {\n loaderTree: tree,\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n })\n\n let srcPage = page\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // The legacy prerender manifest says whether unmatched values return 404,\n // but does not list all of the route's parameter names. Read them from the\n // route pattern once, since the names do not depend on the request.\n const routeParamNames = parseNormalizedAppRoute(\n normalizedSrcPage\n ).dynamicSegments.map((segment) => segment.param.paramName)\n\n async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n ) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n\n if (routeModule.isDev) {\n addRequestMeta(\n req,\n 'devRequestTimingInternalsEnd',\n process.hrtime.bigint()\n )\n }\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n // Capture the request target before `prepare()` runs, since route\n // normalization (e.g. `normalizeCdnUrl`) rewrites `req.url` and would\n // otherwise change the `http.target` span attribute. This mirrors\n // `BaseServer.handleRequest`, which records the target before normalization.\n const httpTarget = req.url\n\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n query,\n params,\n pageIsDynamic,\n buildManifest,\n nextFontManifest,\n reactLoadableManifest,\n serverActionsManifest,\n clientReferenceManifest,\n subresourceIntegrityManifest,\n prerenderManifest,\n prefetchHintsManifest,\n isDraftMode,\n resolvedPathname,\n revalidateOnlyGenerated,\n routerServerContext,\n nextConfig,\n parsedUrl,\n interceptionRoutePatterns,\n deploymentId,\n clientAssetToken,\n previewProps,\n } = prepareResult\n\n let { isOnDemandRevalidate } = prepareResult\n\n // We use the resolvedPathname instead of the parsedUrl.pathname because it\n // is not rewritten as resolvedPathname is. This will ensure that the correct\n // prerender info is used instead of using the original pathname as the\n // source.\n const prerenderMatch = routeModule.match(\n resolvedPathname,\n prerenderManifest\n )\n const prerenderInfo = prerenderMatch?.route ?? null\n\n // A sibling's prerender must not change this route's rendering mode or\n // supply prefetch metadata for its response.\n const prerenderedRoute =\n routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n )\n ? prerenderManifest.routes[resolvedPathname]\n : undefined\n const isPrerendered = Boolean(prerenderedRoute)\n\n const userAgent = req.headers['user-agent'] || ''\n const botType = getBotType(userAgent)\n\n /**\n * If true, this indicates that the request being made is for an app\n * prefetch request.\n */\n const isPrefetchRSCRequest =\n getRequestMeta(req, 'isPrefetchRSCRequest') ??\n req.headers[NEXT_ROUTER_PREFETCH_HEADER] === '1' // exclude runtime prefetches, which use '2'\n\n // NOTE: Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later\n\n const isRSCRequest =\n getRequestMeta(req, 'isRSCRequest') ??\n isRSCRequestHeader(req.headers[RSC_HEADER])\n\n const isPossibleServerAction = getIsPossibleServerAction(req)\n\n // For subresource requests (e.g. images or fonts), return plain text 404\n // instead of rendering the not-found route.\n if (\n normalizedSrcPage === UNDERSCORE_NOT_FOUND_ROUTE &&\n (req.method === 'GET' || req.method === 'HEAD') &&\n !isRSCRequest &&\n isNonHtmlSecFetchDest(req.headers['sec-fetch-dest'])\n ) {\n res.statusCode = 404\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n res.setHeader('Content-Type', 'text/plain; charset=utf-8')\n res.end('Not Found')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n /**\n * If the route being rendered is an app page, and the ppr feature has been\n * enabled, then the given route _could_ support PPR.\n */\n const couldSupportPPR: boolean = Boolean(nextConfig.cacheComponents)\n\n // Stash postponed state for server actions when in minimal mode.\n // We extract it here so the RDC is available for the re-render after the action completes.\n const resumeStateLengthHeader = req.headers[NEXT_RESUME_STATE_LENGTH_HEADER]\n if (\n !getRequestMeta(req, 'postponed') &&\n isMinimalMode &&\n couldSupportPPR &&\n isPossibleServerAction &&\n resumeStateLengthHeader &&\n typeof resumeStateLengthHeader === 'string'\n ) {\n const stateLength = parseInt(resumeStateLengthHeader, 10)\n const { maxPostponedStateSize, maxPostponedStateSizeBytes } =\n getMaxPostponedStateSize(nextConfig.experimental.maxPostponedStateSize)\n\n if (!isNaN(stateLength) && stateLength > 0) {\n if (stateLength > maxPostponedStateSizeBytes) {\n res.statusCode = 413\n res.end(getPostponedStateExceededErrorMessage(maxPostponedStateSize))\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n // Calculate max total body size to prevent buffering excessively large\n // payloads before the action handler checks. We use stateLength (not\n // maxPostponedStateSizeBytes) so the postponed state doesn't eat into\n // the action body budget - it's already validated above.\n const defaultActionBodySizeLimit = '1 MB'\n const actionBodySizeLimit =\n nextConfig.experimental.serverActions?.bodySizeLimit ??\n defaultActionBodySizeLimit\n const actionBodySizeLimitBytes =\n actionBodySizeLimit !== defaultActionBodySizeLimit\n ? (\n require('next/dist/compiled/bytes') as typeof import('next/dist/compiled/bytes')\n ).parse(actionBodySizeLimit)\n : 1024 * 1024 // 1 MB\n const maxTotalBodySize = stateLength + actionBodySizeLimitBytes\n\n const fullBody = await readBodyWithSizeLimit(req, maxTotalBodySize)\n if (fullBody === null) {\n res.statusCode = 413\n res.end(\n `Request body exceeded limit. ` +\n `To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit`\n )\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n if (fullBody.length >= stateLength) {\n // Extract postponed state from the beginning\n const postponedState = fullBody\n .subarray(0, stateLength)\n .toString('utf8')\n addRequestMeta(req, 'postponed', postponedState)\n\n // Store the remaining action body for the action handler\n const actionBody = fullBody.subarray(stateLength)\n addRequestMeta(req, 'actionBody', actionBody)\n } else {\n throw new Error(\n `invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`\n )\n }\n }\n }\n\n if (\n typeof getRequestMeta(req, 'postponed') !== 'string' &&\n couldSupportPPR &&\n req.headers[NEXT_RESUME_HEADER] === '1' &&\n req.method === 'POST'\n ) {\n const { maxPostponedStateSize, maxPostponedStateSizeBytes } =\n getMaxPostponedStateSize(nextConfig.experimental.maxPostponedStateSize)\n\n // Decode the postponed state from the request body, it will come as\n // an array of buffers, so collect them and then concat them to form\n // the string.\n const body = await readBodyWithSizeLimit(req, maxPostponedStateSizeBytes)\n if (body === null) {\n res.statusCode = 413\n res.end(getPostponedStateExceededErrorMessage(maxPostponedStateSize))\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n const postponed = body.toString('utf8')\n\n addRequestMeta(req, 'postponed', postponed)\n }\n\n // When enabled, this will allow the use of the `?__nextppronly` query to\n // enable debugging of the static shell.\n const hasDebugStaticShellQuery =\n process.env.__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING === '1' &&\n typeof query.__nextppronly !== 'undefined' &&\n couldSupportPPR\n\n // When enabled, this will allow the use of the `?__nextppronly` query\n // to enable debugging of the fallback shell.\n const hasDebugFallbackShellQuery =\n hasDebugStaticShellQuery && query.__nextppronly === 'fallback'\n\n // Whether the testing API is exposed (dev mode or explicit flag)\n const exposeTestingApi =\n nextConfig.cacheComponents === true &&\n (routeModule.isDev === true ||\n nextConfig.experimental.exposeTestingApiInProductionBuild === true)\n\n // Enable the Instant Navigation Testing API. Renders only the prefetched\n // portion of the page, excluding dynamic content. This allows tests to\n // assert on the prefetched UI state deterministically.\n //\n // The instant test cookie is sent automatically with all requests while a\n // navigation lock is held. We treat a request as a test render when the\n // cookie is present and either:\n // - it's a document request (no RSC header) — covers MPA navigations\n // - it's a prefetch RSC request — covers client-side prefetches\n // Regular RSC navigation requests proceed normally even during a locked\n // scope; blocking happens on the client side.\n const isInstantNavigationTest =\n exposeTestingApi &&\n typeof req.headers.cookie === 'string' &&\n req.headers.cookie.includes(NEXT_INSTANT_TEST_COOKIE + '=') &&\n (!isRSCRequestHeader(req.headers[RSC_HEADER]) ||\n req.headers[NEXT_ROUTER_PREFETCH_HEADER] === '1')\n\n // This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the\n // prerender manifest and this is an app page.\n const isRoutePPREnabled: boolean =\n couldSupportPPR &&\n ((\n prerenderManifest.routes[normalizedSrcPage] ??\n prerenderManifest.dynamicRoutes[normalizedSrcPage]\n )?.renderingMode === 'PARTIALLY_STATIC' ||\n // Ideally we'd want to check the appConfig to see if this page has PPR\n // enabled or not, but that would require plumbing the appConfig through\n // to the server during development. We assume that the page supports it\n // but only during development or when the testing API is exposed.\n ((hasDebugStaticShellQuery || isInstantNavigationTest) &&\n (exposeTestingApi ||\n routerServerContext?.experimentalTestProxy === true)))\n\n const isDebugStaticShell: boolean =\n (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled\n\n // We should enable debugging dynamic accesses when the static shell\n // debugging has been enabled and we're also in development mode.\n const isDebugDynamicAccesses =\n isDebugStaticShell && routeModule.isDev === true\n\n const isDebugFallbackShell = hasDebugFallbackShellQuery && isRoutePPREnabled\n const isDebugPrerender =\n isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell\n\n // If we're in minimal mode, then try to get the postponed information from\n // the request metadata. If available, use it for resuming the postponed\n // render.\n const minimalPostponed = isRoutePPREnabled\n ? getRequestMeta(req, 'postponed')\n : undefined\n const hasPostponedState = typeof minimalPostponed === 'string'\n\n // If PPR is enabled, and this is a RSC request (but not a prefetch), then\n // we can use this fact to only generate the flight data for the request\n // because we can't cache the HTML (as it's also dynamic).\n const staticPrefetchDataRoute = prerenderedRoute?.prefetchDataRoute\n const isEnsureStaticPage = prerenderInfo?._isEnsureStaticPage === true\n\n let isDynamicRSCRequest =\n isRoutePPREnabled &&\n isRSCRequest &&\n !isPrefetchRSCRequest &&\n // If generated at build time, treat the RSC request as static\n // so we can serve the prebuilt .rsc without a dynamic render.\n // Only do this for routes that have a concrete prefetchDataRoute.\n !staticPrefetchDataRoute &&\n // Do not serve `ensureStatic = \"navigation\"` with a dynamic response,\n // (we want to do a blocking prerender instead)\n // TODO(ensure-static): express this in a cleaner way\n !isEnsureStaticPage\n\n // During a PPR revalidation, the RSC request is not dynamic if postponed\n // metadata is absent. An empty string represents a resume request without\n // postponed state, which should perform a full dynamic render.\n if (isMinimalMode) {\n isDynamicRSCRequest = isDynamicRSCRequest && hasPostponedState\n }\n\n // Need to read this before it's stripped by stripFlightHeaders. We don't\n // need to transfer it to the request meta because it's only read\n // within this function; the static segment data should have already been\n // generated, so we will always either return a static response or a 404.\n const rawSegmentPrefetchHeader =\n req.headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]\n const segmentPrefetchHeader =\n getRequestMeta(req, 'segmentPrefetchRSCRequest') ??\n (isPrefetchRSCRequest\n ? typeof rawSegmentPrefetchHeader === 'string'\n ? rawSegmentPrefetchHeader\n : Array.isArray(rawSegmentPrefetchHeader)\n ? rawSegmentPrefetchHeader[0]\n : undefined\n : undefined)\n\n // TODO: investigate existing bug with shouldServeStreamingMetadata always\n // being true for a revalidate due to modifying the base-server this.renderOpts\n // when fixing this to correct logic it causes hydration issue since we set\n // serveStreamingMetadata to true during export\n const serveStreamingMetadata = !userAgent\n ? true\n : shouldServeStreamingMetadata(userAgent, nextConfig.htmlLimitedBots)\n\n // A PPR shell has already closed its head before the dynamic render resumes.\n // Blocking metadata resolved during the resume would therefore be emitted\n // after the head, where HTML-limited bots cannot observe it. Bypass the\n // shell so blocking metadata is included in the initial document head.\n const shouldForceDynamicPPRRender =\n isRoutePPREnabled && !serveStreamingMetadata\n\n const isSSG = Boolean(\n (prerenderInfo ||\n isPrerendered ||\n prerenderManifest.routes[normalizedSrcPage]) &&\n !shouldForceDynamicPPRRender\n )\n\n // When a page supports cacheComponents, we can support RDC for Navigations\n const supportsRDCForNavigations =\n isRoutePPREnabled && nextConfig.cacheComponents === true\n\n // In development, we always want to generate dynamic HTML.\n const supportsDynamicResponse: boolean =\n // If we're in development, we always support dynamic HTML, unless it's\n // a data request, in which case we only produce static HTML.\n routeModule.isDev === true ||\n // If this is a draft mode request, it supports dynamic HTML.\n isDraftMode ||\n // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isSSG ||\n // If this request has provided postponed data, it supports dynamic\n // HTML.\n hasPostponedState ||\n // If this handler supports onCacheEntryV2, then we can only support\n // dynamic responses if it's a dynamic RSC request and not in minimal mode. If it\n // doesn't support it we must fallback to the default behavior.\n (supportsRDCForNavigations && getRequestMeta(req, 'onCacheEntryV2')\n ? // In minimal mode, we'll always want to generate a static response\n // which will generate the RDC for the route. When resuming a Dynamic\n // RSC request, we'll pass the minimal postponed data to the render\n // which will trigger the `supportsDynamicResponse` to be true.\n isDynamicRSCRequest && !isMinimalMode\n : // Otherwise, we can support dynamic responses if it's a dynamic RSC request.\n isDynamicRSCRequest)\n\n const remainingPrerenderableParams =\n prerenderInfo?.remainingPrerenderableParams ?? []\n const remainingFallbackRouteParams = nextConfig.cacheComponents\n ? (prerenderInfo?.fallbackRouteParams?.filter(\n (param) =>\n !remainingPrerenderableParams.some(\n (prerenderableParam) =>\n prerenderableParam.paramName === param.paramName\n )\n ) ?? [])\n : []\n // Concrete optional routes like `/optional-catchall` can still match their\n // generic shell entry (eg /optional-catchall/[[...slug]]) in the prerender manifest.\n // If the omitted param already resolved to a real prerendered path, keep serving that concrete result.\n const hasOmittedConcreteFallbackParam =\n isPrerendered &&\n remainingPrerenderableParams.some((param) => {\n const value = params?.[param.paramName]\n return value == null || (Array.isArray(value) && value.length === 0)\n })\n const hasUnresolvedRootFallbackParams =\n prerenderInfo?.fallback === null &&\n (prerenderInfo.fallbackRootParams?.length ?? 0) > 0\n\n // SSG writes and navigation RDC reads use the same shell key. Completion\n // uses the matched shell rather than the fully resolved pathname. A request\n // for `/prefix/c/foo` can complete `/prefix/[one]/[two]` to\n // `/prefix/c/[two]`. This avoids creating an entry for every value of\n // `two`.\n //\n // The completed-shell key also applies when unresolved root params require\n // a blocking render. A source shell cannot be shared across root branches.\n // Completion resolves the params into the key as follows:\n // - Root params and other prerenderable params use concrete values.\n // - Never-prerenderable params remain placeholders.\n // The values of those placeholder params must not partition the cache.\n const fallbackPathname = prerenderMatch\n ? typeof prerenderInfo?.fallback === 'string'\n ? prerenderInfo.fallback\n : prerenderMatch.source\n : null\n let shellCacheKey: string | null = null\n if (\n nextConfig.cacheComponents &&\n // A closed matcher has no fallback shell. Its generated outputs must\n // retain their concrete cache keys.\n prerenderInfo?.fallback !== false &&\n // Never-prerenderable params must stay out of the key even when Partial\n // Prefetching is disabled.\n (nextConfig.partialPrefetching ||\n remainingFallbackRouteParams.length > 0) &&\n fallbackPathname &&\n prerenderInfo?.fallbackRouteParams?.length &&\n !hasOmittedConcreteFallbackParam\n ) {\n const cacheKey = buildCompletedShellCacheKey(\n fallbackPathname,\n remainingPrerenderableParams,\n params\n )\n\n if (\n cacheKey !== fallbackPathname ||\n remainingFallbackRouteParams.length > 0\n ) {\n shellCacheKey = cacheKey\n }\n }\n\n let ssgCacheKey: string | null = null\n let usesShellCacheKey = false\n if (\n !isDraftMode &&\n isSSG &&\n !supportsDynamicResponse &&\n !isPossibleServerAction &&\n !hasPostponedState &&\n !isDynamicRSCRequest\n ) {\n if (shellCacheKey !== null) {\n // Normal fallback serving uses the source shell's separate cache\n // lookup. Explicit revalidation skips that path, so it must write the\n // source key here even when no params can be completed.\n if (shellCacheKey !== fallbackPathname || isOnDemandRevalidate) {\n ssgCacheKey = shellCacheKey\n usesShellCacheKey = true\n }\n } else {\n ssgCacheKey = resolvedPathname\n }\n }\n\n // the staticPathKey differs from ssgCacheKey since\n // ssgCacheKey is null in dev since we're always in \"dynamic\"\n // mode in dev to bypass the cache. It can also be null for partial\n // fallback shells that should remain shared and must not create a\n // param-specific ISR entry, but we still need to honor fallback handling.\n let staticPathKey = ssgCacheKey\n if (\n !staticPathKey &&\n (routeModule.isDev ||\n (isSSG &&\n pageIsDynamic &&\n prerenderInfo?.fallbackRouteParams?.length &&\n // Server action requests must not get a staticPathKey, otherwise they\n // enter the fallback rendering block below and return the cached HTML\n // shell with the action result appended, instead of responding with\n // just the RSC action result.\n !isPossibleServerAction))\n ) {\n staticPathKey = resolvedPathname\n }\n\n // If this is a request for an app path that should be statically generated\n // and we aren't in the edge runtime, strip the flight headers so it will\n // generate the static response.\n if (\n !routeModule.isDev &&\n !isDraftMode &&\n isSSG &&\n isRSCRequest &&\n !isDynamicRSCRequest\n ) {\n stripFlightHeaders(req.headers)\n }\n\n const ComponentMod = {\n ...entryBase,\n tree,\n handler,\n routeModule,\n __next_app__,\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.statusCode = 404\n res.end('This page could not be found')\n }\n return null\n }\n\n try {\n const varyHeader = routeModule.getVaryHeader(\n resolvedPathname,\n interceptionRoutePatterns\n )\n res.setHeader('Vary', varyHeader)\n let parentSpan: Span | undefined\n const invokeRouteModule = async (\n span: Span | undefined,\n context: AppPageRouteHandlerContext,\n renderOperation: AppPageRenderOperation\n ) => {\n const nextReq = new NodeNextRequest(req)\n const nextRes = new NodeNextResponse(res)\n\n const result =\n renderOperation === 'prerender'\n ? routeModule.prerender(nextReq, nextRes, context)\n : routeModule.render(nextReq, nextRes, context)\n\n return result.finally(() => {\n if (!span) return\n\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': isRSCRequest,\n })\n\n if (res.statusCode && res.statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n span.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n span.setAttribute('error.type', res.statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route =\n rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = isRSCRequest\n ? `RSC ${method} ${route}`\n : `${method} ${route}`\n\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n span.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== span) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })\n }\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const doRender = async ({\n span,\n postponed,\n fallbackRouteParams,\n renderOperation,\n allowEmptyStaticShell,\n }: {\n span?: Span\n allowEmptyStaticShell?: boolean\n\n /**\n * The postponed data for this render. This is only provided when resuming\n * a render that has been postponed.\n */\n postponed: string | undefined\n\n /**\n * The unknown route params for this render.\n */\n fallbackRouteParams: OpaqueFallbackRouteParams | null\n\n renderOperation: AppPageRenderOperation\n }): Promise<ResponseCacheEntry | PrerenderFailure> => {\n // A static page may have stripped Flight headers before reaching this\n // render. Parse only when the response cache invokes the render.\n const parsedRequestHeaders: ParsedRequestHeaders = parseRequestHeaders(\n req.headers,\n {\n isRoutePPREnabled,\n previewModeId: previewProps?.previewModeId,\n }\n )\n const routeMatch: RouteMatch = { resolvedPathname }\n const dev: DevRenderContext | undefined = createDevRenderContext(req)\n const context: AppPageRouteHandlerContext = {\n query,\n params,\n page: normalizedSrcPage,\n routeMatch,\n parsedRequestHeaders,\n sharedContext: {\n buildId,\n deploymentId,\n clientAssetToken,\n },\n dev,\n fallbackRouteParams,\n renderOpts: {\n App: () => null,\n Document: () => null,\n pageConfig: {},\n ComponentMod,\n Component: interopDefault(ComponentMod),\n\n params,\n routeModule,\n page: srcPage,\n postponed,\n allowEmptyStaticShell,\n serveStreamingMetadata,\n supportsDynamicResponse:\n renderOperation === 'render' &&\n (typeof postponed === 'string' || supportsDynamicResponse),\n buildManifest,\n nextFontManifest,\n reactLoadableManifest,\n subresourceIntegrityManifest,\n setCacheStatus: routerServerContext?.setCacheStatus,\n setIsrStatus: routerServerContext?.setIsrStatus,\n setReactDebugChannel: routerServerContext?.setReactDebugChannel,\n sendErrorsToBrowser: routerServerContext?.sendErrorsToBrowser,\n\n dir:\n process.env.NEXT_RUNTIME === 'nodejs'\n ? (require('path') as typeof import('path')).join(\n /* turbopackIgnore: true */\n process.cwd(),\n routeModule.relativeProjectDir\n )\n : `${process.cwd()}/${routeModule.relativeProjectDir}`,\n isDraftMode,\n botType,\n isOnDemandRevalidate,\n isPossibleServerAction,\n assetPrefix: routeModule.getAssetPrefixForRender(\n routerServerContext,\n nextConfig.assetPrefix\n ),\n nextConfigOutput: nextConfig.output,\n crossOrigin: nextConfig.crossOrigin,\n trailingSlash: nextConfig.trailingSlash,\n images: nextConfig.images,\n previewProps,\n enableTainting: nextConfig.experimental.taint,\n reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,\n\n multiZoneDraftMode,\n prefetchHints: prefetchHintsManifest,\n // With dynamicParams = false, every parameter is restricted to the\n // paths generated at build time. Advertise this even for allowed\n // URLs. Read the current manifest here because dev updates it as\n // routes compile.\n notFoundParams:\n (routeModule.isDev\n ? getRequestMeta(req, 'devNotFoundParams')\n : undefined) ??\n prerenderManifest.dynamicRoutes[normalizedSrcPage]\n ?.notFoundParams ??\n (prerenderManifest.dynamicRoutes[normalizedSrcPage]?.fallback ===\n false\n ? routeParamNames\n : undefined),\n incrementalCache,\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n basePath: nextConfig.basePath,\n serverActions: nextConfig.experimental.serverActions,\n logServerFunctions:\n typeof nextConfig.logging === 'object' &&\n Boolean(nextConfig.logging.serverFunctions),\n\n ...(isDebugStaticShell ||\n isDebugDynamicAccesses ||\n isDebugFallbackShell\n ? {\n isBuildTimePrerendering: true,\n isDebugDynamicAccesses: isDebugDynamicAccesses,\n }\n : {}),\n cacheComponents: Boolean(nextConfig.cacheComponents),\n partialPrefetching: nextConfig.partialPrefetching,\n // A fallback shell can only be upgraded to a concrete version if at\n // least one of its fallback params is a `generateStaticParams`\n // candidate (`remainingPrerenderableParams`), and only when Partial\n // Prefetching is enabled (the upgrade itself is gated on it above).\n // This gates whether the per-segment prefetch responses are flagged\n // `isUpgradeableISRFallback`; without an upgrade to wait for, the\n // client should not retry the prefetch.\n isFallbackUpgradeable:\n Boolean(nextConfig.partialPrefetching) &&\n remainingPrerenderableParams.length > 0,\n validationLevel:\n nextConfig.experimental.instantInsights.validationLevel,\n experimental: {\n isRoutePPREnabled,\n expireTime: nextConfig.expireTime,\n staleTimes: nextConfig.experimental.staleTimes,\n dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),\n optimisticRouting: Boolean(\n nextConfig.experimental.optimisticRouting\n ),\n parallelRouteMetadata: Boolean(\n nextConfig.experimental.parallelRouteMetadata\n ),\n inlineCss: Boolean(nextConfig.experimental.inlineCss),\n prefetchInlining:\n nextConfig.experimental.prefetchInlining ?? false,\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n reactBrowserBailout: Boolean(\n nextConfig.experimental.reactBrowserBailout\n ),\n serverComponentsHmrCancellation: Boolean(\n nextConfig.experimental.serverComponentsHmrCancellation\n ),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n cachedNavigations:\n nextConfig.experimental.cachedNavigations ?? false,\n clientTraceMetadata:\n nextConfig.experimental.clientTraceMetadata || ([] as any),\n clientParamParsingOrigins:\n nextConfig.experimental.clientParamParsingOrigins,\n maxPostponedStateSizeBytes: parseMaxPostponedStateSize(\n nextConfig.experimental.maxPostponedStateSize\n ),\n disableResumeDataCacheCompression:\n nextConfig.experimental.disableResumeDataCacheCompression ??\n false,\n exposeTestingApi,\n },\n\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: () => {},\n\n onInstrumentationRequestError: (error, errorContext, silenceLog) =>\n routeModule.onRequestError(\n req,\n error,\n errorContext,\n silenceLog,\n routerServerContext\n ),\n err: getRequestMeta(req, 'invokeError'),\n },\n }\n\n const result = await invokeRouteModule(span, context, renderOperation)\n\n // Keep recovery output separate from successful response cache entries.\n if ('error' in result) {\n ;(req as any).fetchMetrics = result.result.metadata.fetchMetrics\n return result\n }\n\n const { metadata } = result\n\n const {\n cacheControl,\n headers = {},\n // Add any fetch tags that were on the page to the response headers.\n fetchTags: cacheTags,\n fetchMetrics,\n } = metadata\n\n // Apply the `expireTime` fallback as soon as we have the render's\n // `cacheControl`, so every downstream consumer (the cache stored via\n // `incrementalCache.set`, the response Cache-Control header, the outgoing\n // entry returned to `handleResponse`) sees a finalized `cacheControl`\n // with a populated `expire`. This mirrors the build-time fallback in\n // `build/index.ts` so we don't apply an expire to routes that opt out of\n // revalidation entirely (`revalidate: false`) or that are dynamic\n // (`revalidate: 0`).\n if (\n cacheControl &&\n cacheControl.revalidate !== false &&\n cacheControl.revalidate > 0 &&\n cacheControl.expire === undefined\n ) {\n cacheControl.expire = nextConfig.expireTime\n }\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n // Pull any fetch metrics from the render onto the request.\n ;(req as any).fetchMetrics = fetchMetrics\n\n // we don't throw static to dynamic errors in dev as isSSG\n // is a best guess in dev since we don't have the prerender pass\n // to know whether the path is actually static or not\n if (\n isSSG &&\n cacheControl?.revalidate === 0 &&\n !routeModule.isDev &&\n !isRoutePPREnabled\n ) {\n const staticBailoutInfo = metadata.staticBailoutInfo\n\n const err = new Error(\n `Page changed from static to dynamic at runtime ${resolvedPathname}${\n staticBailoutInfo?.description\n ? `, reason: ${staticBailoutInfo.description}`\n : ``\n }` +\n `\\nsee more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`\n )\n\n if (staticBailoutInfo?.stack) {\n const stack = staticBailoutInfo.stack\n err.stack = err.message + stack.substring(stack.indexOf('\\n'))\n }\n\n throw err\n }\n\n return {\n value: {\n kind: CachedRouteKind.APP_PAGE,\n html: result,\n headers,\n rscData: metadata.flightData,\n postponed: metadata.postponed,\n status: metadata.statusCode,\n segmentData: metadata.segmentData,\n } satisfies CachedAppPageValue,\n cacheControl,\n } satisfies ResponseCacheEntry\n }\n\n const responseGenerator: ResponseGenerator = async ({\n hasResolved,\n previousCacheEntry: previousIncrementalCacheEntry,\n isRevalidating,\n span,\n forceStaticRender = false,\n }) => {\n const isProduction = routeModule.isDev === false\n const didRespond = hasResolved || res.writableEnded\n\n const reportRevalidationError = (error: unknown) =>\n routeModule.onRequestError(\n req,\n error,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'render',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: isSSG,\n isOnDemandRevalidate,\n }),\n },\n false,\n routerServerContext\n )\n\n try {\n // skip on-demand revalidate if cache is not present and\n // revalidate-if-generated is set\n if (\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousIncrementalCacheEntry &&\n !isMinimalMode\n ) {\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res)\n } else {\n res.statusCode = 404\n res.end('This page could not be found')\n }\n return null\n }\n\n let fallbackMode: FallbackMode | undefined\n\n if (prerenderInfo) {\n fallbackMode = parseFallbackField(prerenderInfo.fallback)\n }\n\n // A closed matcher rejects new paths, not regeneration of paths that\n // were produced by the build. Their cache entries can be invalidated\n // or evicted without removing the path from the build manifest.\n if (fallbackMode === FallbackMode.NOT_FOUND && isPrerendered) {\n fallbackMode = FallbackMode.BLOCKING_STATIC_RENDER\n }\n\n if (\n nextConfig.partialPrefetching &&\n prerenderInfo?.fallback === null &&\n // TODO(ensure-static): express this in a cleaner way\n !isEnsureStaticPage &&\n !prerenderInfo.isExplicitlyBlocking &&\n !hasOmittedConcreteFallbackParam &&\n !hasUnresolvedRootFallbackParams &&\n remainingPrerenderableParams.length > 0\n ) {\n // Generic source shells without unresolved root params don't have a\n // concrete fallback file of their own, so they're marked as blocking.\n // When we can complete the shell into a more specific\n // prerendered shell for this request, treat it like a prerender\n // fallback so we can serve that shell instead of blocking on the full\n // route. Root-param shells stay blocking, since unknown root branches\n // should not inherit a shell from another generated branch.\n fallbackMode = FallbackMode.PRERENDER\n }\n\n // When serving a request that requires blocking metadata, we want to\n // use a blocking render instead of the prerendered fallback. Without\n // PPR, preserve the existing behavior for built-in bots.\n if (\n fallbackMode === FallbackMode.PRERENDER &&\n (isRoutePPREnabled ? !serveStreamingMetadata : Boolean(botType))\n ) {\n fallbackMode = FallbackMode.BLOCKING_STATIC_RENDER\n }\n\n if (previousIncrementalCacheEntry?.isStale === -1) {\n isOnDemandRevalidate = true\n }\n\n // On-demand revalidation blocks for admitted paths. Cache contents\n // must not make an otherwise closed path eligible for generation.\n if (isOnDemandRevalidate && fallbackMode !== FallbackMode.NOT_FOUND) {\n fallbackMode = FallbackMode.BLOCKING_STATIC_RENDER\n }\n\n if (\n // Ordinary dev requests always use the request-specific render\n // below. Only production, forced background work, and explicit\n // shell debugging may enter fallback prerender handling.\n (isProduction || forceStaticRender || isDebugPrerender) &&\n !isMinimalMode &&\n fallbackMode !== FallbackMode.BLOCKING_STATIC_RENDER &&\n staticPathKey &&\n !didRespond &&\n !isDraftMode &&\n pageIsDynamic &&\n (isProduction || !isPrerendered)\n ) {\n // When cacheComponents is enabled, we can use the fallback\n // response if the request is not a dynamic RSC request because the\n // RSC data when this feature flag is enabled does not contain any\n // param references. Without this feature flag enabled, the RSC data\n // contains param references, and therefore we can't use the fallback.\n if (\n isRoutePPREnabled &&\n (nextConfig.cacheComponents\n ? !isDynamicRSCRequest\n : !isRSCRequest)\n ) {\n const cacheKey =\n isProduction && typeof prerenderInfo?.fallback === 'string'\n ? prerenderInfo.fallback\n : normalizedSrcPage\n\n let fallbackRouteParams: OpaqueFallbackRouteParams | null\n if (isProduction) {\n // In production, rely on the prerender manifest's fallback\n // entry — the authoritative set computed at build time by\n // `buildAppStaticPaths`.\n if (prerenderInfo?.fallbackRouteParams) {\n fallbackRouteParams = createOpaqueFallbackRouteParams(\n prerenderInfo.fallbackRouteParams\n )\n } else if (isDebugFallbackShell) {\n fallbackRouteParams = getFallbackRouteParams(\n normalizedSrcPage,\n routeModule\n )\n } else {\n fallbackRouteParams = null\n }\n } else {\n // Dev selects the source for static-shell debug renders from\n // the per-URL `getStaticPaths` result. The dev prerender\n // manifest does not contain these ad-hoc paths. `base-server`\n // passes the source's fallback params in request metadata.\n // These renders need the source set, not the completed target's\n // potentially smaller `stagedFallbackParams`.\n if (isDebugFallbackShell) {\n fallbackRouteParams = getFallbackRouteParams(\n normalizedSrcPage,\n routeModule\n )\n } else if (isDebugStaticShell) {\n fallbackRouteParams =\n getRequestMeta(req, 'fallbackRouteParams') ?? null\n } else {\n fallbackRouteParams = null\n }\n }\n\n // Debug rendering stages the params of the selected source shell.\n if (isDebugStaticShell) {\n addRequestMeta(req, 'stagedFallbackParams', fallbackRouteParams)\n }\n\n // We use the response cache here to handle the revalidation and\n // management of the fallback shell.\n const fallbackResponse = await routeModule.handleResponse({\n cacheKey,\n req,\n nextConfig,\n routeKind: RouteKind.APP_PAGE,\n isFallback: true,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled,\n responseGenerator: async () =>\n doRender({\n span,\n // We pass `undefined` as rendering a fallback isn't resumed\n // here.\n postponed: undefined,\n // Always serve the shell that matched this request\n // immediately. If there are still prerenderable params left,\n // the background path below will complete the shell into a\n // more specific cache entry for later requests.\n fallbackRouteParams,\n renderOperation: 'prerender',\n allowEmptyStaticShell: isInstantNavigationTest || undefined,\n }),\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (fallbackResponse === null || 'error' in fallbackResponse) {\n return fallbackResponse\n }\n\n // Otherwise, if we did get a fallback response, we should return it.\n if (fallbackResponse) {\n if (\n !isMinimalMode &&\n isRoutePPREnabled &&\n // Upgrading a fallback shell into a more specific ISR entry is\n // only done when Partial Prefetching is enabled, mirroring the\n // `partialFallback` flag the adapter emits for deployments.\n nextConfig.partialPrefetching &&\n // Match the build-time contract: only fallback shells that can\n // still be completed with prerenderable params should upgrade.\n remainingPrerenderableParams.length > 0 &&\n ssgCacheKey &&\n incrementalCache &&\n !isOnDemandRevalidate &&\n !isDebugFallbackShell &&\n // The testing API relies on deterministic shell behavior, so\n // don't upgrade fallback shells in the background when it's\n // exposed.\n !exposeTestingApi &&\n // Instant Navigation Testing API requests intentionally keep\n // the route in shell mode; don't upgrade these in background.\n !isInstantNavigationTest\n ) {\n scheduleOnNextTick(async () => {\n const responseCache = routeModule.getResponseCache(req)\n\n try {\n // Only the params that were just specialized should be\n // removed from the fallback render. Any remaining fallback\n // params stay deferred so the revalidated result is a more\n // specific shell (e.g. `/prefix/c/[two]`), not a fully\n // concrete route (`/prefix/c/foo`).\n const result = await responseCache.revalidate(\n ssgCacheKey,\n incrementalCache,\n isRoutePPREnabled,\n false,\n (c) => {\n return doRender({\n span: c.span,\n postponed: undefined,\n fallbackRouteParams:\n remainingFallbackRouteParams.length > 0\n ? createOpaqueFallbackRouteParams(\n remainingFallbackRouteParams\n )\n : null,\n renderOperation: 'prerender',\n })\n },\n // We don't have a prior entry for this param-specific shell.\n null,\n hasResolved,\n ctx.waitUntil\n )\n if (result !== null && 'error' in result) {\n throw result.error\n }\n } catch (err) {\n console.error(\n 'Error revalidating the page in the background',\n err\n )\n }\n })\n }\n\n // Remove the cache control from the response to prevent it from being\n // used in the surrounding cache.\n delete fallbackResponse.cacheControl\n\n return fallbackResponse\n }\n }\n }\n\n // Only requests that aren't revalidating can be resumed. If we have the\n // minimal postponed data, then we should resume the render with it.\n let postponed =\n !isOnDemandRevalidate && !isRevalidating && minimalPostponed\n ? minimalPostponed\n : undefined\n let hasFullyStaticCacheEntry = false\n\n if (\n // If this is a dynamic RSC request or a server action request, we should\n // use the postponed data from the static render (if available). This\n // ensures that we can utilize the resume data cache (RDC) from the static\n // render to ensure that the data is consistent between the static and\n // dynamic renders (for navigations) or when re-rendering after a server\n // action.\n // Only enable RDC for Navigations if the feature is enabled.\n supportsRDCForNavigations &&\n process.env.NEXT_RUNTIME !== 'edge' &&\n !isMinimalMode &&\n incrementalCache &&\n // Include both dynamic RSC requests (navigations) and server actions\n (isDynamicRSCRequest || isPossibleServerAction) &&\n // We don't typically trigger an on-demand revalidation for dynamic RSC\n // requests, as we're typically revalidating the page in the background\n // instead. However, if the cache entry is stale, we should trigger a\n // background revalidation on dynamic RSC requests. This prevents us\n // from entering an infinite loop of revalidations.\n !forceStaticRender\n ) {\n const incrementalCacheKey = shellCacheKey ?? resolvedPathname\n const incrementalCacheEntry = await incrementalCache.get(\n incrementalCacheKey,\n {\n kind: IncrementalCacheKind.APP_PAGE,\n route: routeModule.cacheOwner,\n isRoutePPREnabled: true,\n isFallback: false,\n }\n )\n\n // If the cache entry is found, we should use the postponed data from\n // the cache.\n if (\n incrementalCacheEntry &&\n incrementalCacheEntry.value &&\n incrementalCacheEntry.value.kind === CachedRouteKind.APP_PAGE\n ) {\n // CRITICAL: we're assigning the postponed data from the cache entry\n // here as we're using the RDC to resume the render.\n postponed = incrementalCacheEntry.value.postponed\n hasFullyStaticCacheEntry = postponed === undefined\n\n // If the cache entry is stale, we should trigger a background\n // revalidation so that subsequent requests will get a fresh response.\n if (\n incrementalCacheEntry &&\n // We want to trigger this flow if the cache entry is stale and if\n // the requested revalidation flow is either foreground or\n // background.\n (incrementalCacheEntry.isStale === -1 ||\n incrementalCacheEntry.isStale === true)\n ) {\n // We want to schedule this on the next tick to ensure that the\n // render is not blocked on it.\n scheduleOnNextTick(async () => {\n const responseCache = routeModule.getResponseCache(req)\n\n try {\n const result = await responseCache.revalidate(\n incrementalCacheKey,\n incrementalCache,\n isRoutePPREnabled,\n false,\n (c) =>\n responseGenerator({\n ...c,\n // CRITICAL: we need to set this to true as we're\n // revalidating in the background and typically this dynamic\n // RSC request is not treated as static.\n forceStaticRender: true,\n }),\n // CRITICAL: we need to pass null here because passing the\n // previous cache entry here (which is stale) will switch on\n // isOnDemandRevalidate and break the prerendering.\n null,\n hasResolved,\n ctx.waitUntil\n )\n if (result !== null && 'error' in result) {\n throw result.error\n }\n } catch (err) {\n console.error(\n 'Error revalidating the page in the background',\n err\n )\n }\n })\n }\n }\n }\n\n // When we're in minimal mode, if we're trying to debug the static shell,\n // return an empty App Page response instead of resuming the dynamic\n // render. The static shell has already been streamed by the platform.\n if (\n (isDebugStaticShell || isDebugDynamicAccesses) &&\n typeof postponed !== 'undefined'\n ) {\n return {\n cacheControl: { revalidate: 1, expire: undefined },\n value: {\n kind: CachedRouteKind.APP_PAGE,\n html: RenderResult.fromStatic(\n '',\n isRSCRequest\n ? RSC_CONTENT_TYPE_HEADER\n : HTML_CONTENT_TYPE_HEADER\n ),\n rscData: undefined,\n postponed,\n segmentData: undefined,\n headers: undefined,\n status: undefined,\n } satisfies CachedAppPageValue,\n }\n }\n\n const placeholderFallbackRouteParams =\n // When a request carries dynamic placeholder values (e.g. \"[slug]\"),\n // defer only the unresolved subset instead of forcing all fallback\n // params to suspend.\n !routeModule.isDev &&\n pageIsDynamic &&\n prerenderInfo?.fallbackRouteParams\n ? getPlaceholderFallbackRouteParams(\n params as\n | Record<string, undefined | string | string[]>\n | undefined,\n prerenderInfo.fallbackRouteParams\n )\n : null\n\n const fallbackRouteParamsForRender =\n placeholderFallbackRouteParams &&\n placeholderFallbackRouteParams.length > 0\n ? placeholderFallbackRouteParams\n : prerenderInfo?.fallbackRouteParams\n\n const hasPlaceholderFallbackRouteParams =\n placeholderFallbackRouteParams != null &&\n placeholderFallbackRouteParams.length > 0\n\n // When route-module.ts resolved partial nxtP* params during\n // background revalidation, filter fallbackRouteParams to only the\n // params that are still unresolved. This lets doRender produce an\n // intermediate PPR shell that suspends only for those params.\n let effectiveFallbackRouteParams: FallbackRouteParam[] | null = null\n if (\n nextConfig.cacheComponents &&\n prerenderInfo?.fallbackRouteParams\n ) {\n const resolvedKeys = getRequestMeta(req, 'resolvedRouteParamKeys')\n if (resolvedKeys && resolvedKeys.size > 0) {\n effectiveFallbackRouteParams =\n prerenderInfo.fallbackRouteParams.filter(\n (param) => !resolvedKeys.has(param.paramName)\n )\n }\n }\n\n const fallbackRouteParams =\n // In production or when debugging the static shell for a\n // non-prerendered URL, use the prerender manifest's fallback route\n // params which correctly identifies which params are unknown.\n ((isProduction && getRequestMeta(req, 'renderFallbackShell')) ||\n hasPlaceholderFallbackRouteParams ||\n (isDebugStaticShell && !isPrerendered)) &&\n fallbackRouteParamsForRender\n ? createOpaqueFallbackRouteParams(fallbackRouteParamsForRender)\n : // For intermediate shells where some params are resolved and\n // others still have placeholders, use the filtered subset so the\n // prerender suspends only for the unresolved params.\n effectiveFallbackRouteParams &&\n effectiveFallbackRouteParams.length > 0 &&\n effectiveFallbackRouteParams.length <\n (prerenderInfo?.fallbackRouteParams?.length ?? 0)\n ? createOpaqueFallbackRouteParams(effectiveFallbackRouteParams)\n : // This render defers the params left unresolved in its key.\n // The render must not store their concrete values in the\n // shared entry. Per-request resumes resolve those params\n // instead. Blocking renders and RSC-triggered revalidations\n // both need this restriction.\n //\n // The serving modes obtain the unresolved params differently:\n // - `next start` defers them in this branch.\n // - Minimal mode uses the platform's placeholders above.\n // The platform strips never-prerenderable param values before\n // calling the origin.\n !isMinimalMode &&\n (usesShellCacheKey ||\n (forceStaticRender && shellCacheKey !== null)) &&\n remainingFallbackRouteParams.length > 0\n ? createOpaqueFallbackRouteParams(\n remainingFallbackRouteParams\n )\n : isDebugFallbackShell\n ? getFallbackRouteParams(normalizedSrcPage, routeModule)\n : null\n\n // Staging defers params without replacing their values with opaque\n // placeholders. A resumed render reads the selected artifact's mask\n // from its postponed state.\n if (\n (isProduction || isDebugStaticShell) &&\n nextConfig.cacheComponents\n ) {\n let stagedFallbackParams: OpaqueFallbackRouteParams | null\n if (hasPlaceholderFallbackRouteParams) {\n stagedFallbackParams = createOpaqueFallbackRouteParams(\n placeholderFallbackRouteParams\n )\n } else if (isDebugStaticShell) {\n stagedFallbackParams = fallbackRouteParams\n } else if (hasFullyStaticCacheEntry || isPrerendered) {\n stagedFallbackParams = null\n } else if (postponed && prerenderInfo?.fallbackRouteParams) {\n // App-render uses this source-shell set only when the supplied\n // state does not record its own fallback params.\n stagedFallbackParams = createOpaqueFallbackRouteParams(\n prerenderInfo.fallbackRouteParams\n )\n } else if (prerenderInfo) {\n stagedFallbackParams = getStagedFallbackParams(prerenderInfo)\n } else {\n stagedFallbackParams = null\n }\n\n addRequestMeta(req, 'stagedFallbackParams', stagedFallbackParams)\n }\n\n // Forced static and debug renders are prerenders even when the\n // surrounding request otherwise supports dynamic rendering.\n const isRequestSpecificRender =\n !forceStaticRender &&\n !isDebugPrerender &&\n (supportsDynamicResponse || isPossibleServerAction)\n\n // Perform the render.\n const result = await doRender({\n span,\n postponed,\n fallbackRouteParams,\n renderOperation: isRequestSpecificRender ? 'render' : 'prerender',\n allowEmptyStaticShell: isInstantNavigationTest || undefined,\n })\n\n // The response cache already served the stale entry, so response\n // delivery cannot report this background failure.\n if ('error' in result && hasResolved) {\n await reportRevalidationError(result.error)\n }\n return result\n } catch (err) {\n // The foreground handler reports errors while it awaits a response.\n // Report here only after the cache has resolved that response.\n if (hasResolved) {\n await reportRevalidationError(err)\n }\n throw err\n }\n }\n\n const invokeOnCacheEntry = (cacheEntry: ResponseCacheEntry) => {\n // If we support RDC for Navigations, prefer the callback that can\n // deliver postponed state for both document and RSC requests.\n const onCacheEntry = supportsRDCForNavigations\n ? (getRequestMeta(req, 'onCacheEntryV2') ??\n getRequestMeta(req, 'onCacheEntry'))\n : getRequestMeta(req, 'onCacheEntry')\n if (!onCacheEntry) {\n return false\n }\n\n const rawCacheEntryUrl = getRequestMeta(req, 'initURL') ?? req.url\n const cacheEntryUrl = rawCacheEntryUrl\n ? (parseUrl(rawCacheEntryUrl)?.pathname ?? rawCacheEntryUrl)\n : undefined\n\n return onCacheEntry(cacheEntry, { url: cacheEntryUrl })\n }\n\n const resumeRender = (\n body: RenderResult,\n postponed: string | undefined,\n span?: Span\n ) => {\n // Attach the continuation before rendering so the prelude can start\n // streaming immediately.\n const transformer = new TransformStream<Uint8Array, Uint8Array>()\n body.push(transformer.readable)\n\n // This metadata supplies fallback params when the saved state does not\n // record them. App-render uses the saved state's own set when present.\n if (nextConfig.cacheComponents && prerenderInfo?.fallbackRouteParams) {\n addRequestMeta(\n req,\n 'stagedFallbackParams',\n createOpaqueFallbackRouteParams(prerenderInfo.fallbackRouteParams)\n )\n }\n\n // Start the resume without awaiting it. The response consumes the\n // continuation stream attached above.\n doRender({\n span,\n postponed,\n // The resume retains concrete param values; staging only defers\n // access.\n fallbackRouteParams: null,\n renderOperation: 'render',\n })\n .then(async (result) => {\n if (!result) {\n throw new Error('Invariant: expected a result to be returned')\n }\n\n if ('error' in result) {\n throw result.error\n }\n\n if (result.value?.kind !== CachedRouteKind.APP_PAGE) {\n throw new Error(\n `Invariant: expected a page response, got ${result.value?.kind}`\n )\n }\n\n // Pipe the resume result to the transformer.\n await result.value.html.pipeTo(transformer.writable)\n })\n .catch((err) => {\n // An error occurred during piping or preparing the render, abort\n // the transformers writer so we can terminate the stream.\n transformer.writable.abort(err).catch((e) => {\n console.error(\"couldn't abort transformer\", e)\n })\n })\n }\n\n const handleResponse = async (span?: Span): Promise<null | void> => {\n // Development evaluates the configured policy without emitting its\n // production matchers. Use that outcome at the same admission boundary.\n const devParamMatchingRejected =\n routeModule.isDev &&\n !isDebugPrerender &&\n getRequestMeta(req, 'devParamMatchingRejected')\n\n // Decide whether this URL is allowed before consulting ISR. An exact\n // build path remains valid even when its cached result is missing, and\n // the most specific matched route controls whether other paths may be\n // generated. Neither a cache hit nor revalidation changes that decision.\n // Server Actions may be forwarded to a worker's route pattern rather\n // than a concrete URL. That invokes the action, not a page navigation.\n if (\n !isMinimalMode &&\n !isDraftMode &&\n !isPossibleServerAction &&\n pageIsDynamic &&\n (devParamMatchingRejected ||\n (prerenderInfo?.fallback === false && !isPrerendered))\n ) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n\n const cacheEntry = await routeModule.handleResponse({\n cacheKey: ssgCacheKey,\n responseGenerator: (c) =>\n responseGenerator({\n span,\n ...c,\n }),\n routeKind: RouteKind.APP_PAGE,\n isOnDemandRevalidate,\n isRoutePPREnabled,\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n if (res.headersSent || res.writableEnded) {\n // The outer catch reports the error when we cannot send recovery.\n throw cacheEntry.error\n }\n\n // Returned failures bypass the outer catch's error reporting. Do not\n // await async reporting before sending the error response.\n const reportPrerenderError = () => {\n const errorReporting = routeModule\n .onRequestError(\n req,\n cacheEntry.error,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'render',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: isSSG,\n isOnDemandRevalidate,\n }),\n },\n false,\n routerServerContext\n )\n .catch((err) => {\n console.error(err)\n })\n ctx.waitUntil?.(errorReporting)\n }\n\n const { result } = cacheEntry\n for (const [name, value] of Object.entries(\n result.metadata.headers ?? {}\n )) {\n if (value !== undefined) {\n res.appendHeader(\n name,\n typeof value === 'number' ? value.toString() : value\n )\n }\n }\n\n // Each request needs the failure status, including callers that\n // reused another request's render through the response cache.\n res.statusCode = 500\n span?.setAttributes({\n 'http.status_code': 500,\n 'next.rsc': isRSCRequest,\n 'error.type': '500',\n })\n span?.setStatus({ code: SpanStatusCode.ERROR })\n res.removeHeader('x-nextjs-cache')\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n\n let response = result\n if (isRSCRequest) {\n // The router discards failed prefetches and falls back to a\n // document load when navigation receives a failed Flight response.\n response = RenderResult.fromStatic('', RSC_CONTENT_TYPE_HEADER)\n } else if (typeof result.metadata.postponed === 'string') {\n // The platform needs the postponed state to resume with the actual\n // request. This value is only for delivery; the response cache\n // retains the failure and never persists it as ISR output.\n //\n // The callback writes to res without applying value.status. Its\n // status and metadata headers must be set first.\n if (\n await invokeOnCacheEntry({\n value: {\n kind: CachedRouteKind.APP_PAGE,\n html: result,\n rscData: result.metadata.flightData,\n postponed: result.metadata.postponed,\n status: 500,\n headers: undefined,\n segmentData: undefined,\n },\n cacheControl: { revalidate: 0, expire: undefined },\n })\n ) {\n reportPrerenderError()\n return null\n }\n\n if (isMinimalMode) {\n // A prerender invocation may have filtered request headers, so\n // only the platform can resume with the original request.\n //\n // Let the outer catch report this error once.\n throw cacheEntry.error\n }\n\n // Each request owns its continuation. The buffered prelude and\n // postponed state can be shared by the response cache.\n response = RenderResult.fromStatic(\n result.toUnchunkedString(),\n HTML_CONTENT_TYPE_HEADER\n )\n resumeRender(response, result.metadata.postponed, span)\n }\n\n reportPrerenderError()\n return sendRenderResult({\n req,\n res,\n result: response,\n generateEtags: false,\n poweredByHeader: nextConfig.poweredByHeader,\n cacheControl: undefined,\n })\n }\n\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n // Documents and RSC payloads must not be stored in development.\n // Browsers reuse a stored response for a history navigation without\n // revalidating it, so a back navigation would restore a page from\n // before the latest edit. Static assets never reach this code. They\n // keep a revalidatable `Cache-Control`, so the browser caches them\n // between page loads.\n if (routeModule.isDev) {\n res.setHeader('Cache-Control', 'no-store')\n }\n\n if (!cacheEntry) {\n if (ssgCacheKey) {\n // A cache entry might not be generated if a response is written\n // in `getInitialProps` or `getServerSideProps`, but those shouldn't\n // have a cache key. If we do have a cache key but we don't end up\n // with a cache entry, then either Next.js or the application has a\n // bug that needs fixing.\n throw new Error('invariant: cache entry required but not generated')\n }\n return null\n }\n\n if (cacheEntry.value?.kind !== CachedRouteKind.APP_PAGE) {\n throw new Error(\n `Invariant app-page handler received invalid cache entry ${cacheEntry.value?.kind}`\n )\n }\n\n const didPostpone = typeof cacheEntry.value.postponed === 'string'\n\n // Set the build ID header for RSC navigation requests when deploymentId is configured. This\n // corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID\n // from the RSC payload when deploymentId is set (relying on this header instead). Server\n // actions are excluded here because action redirect responses get the deployment ID header\n // from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts\n // which copies headers from the internal RSC fetch).\n // For static prerenders served from CDN, routes-manifest.json adds a header.\n if (isRSCRequest && !isPossibleServerAction && deploymentId) {\n res.setHeader(NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId)\n }\n\n if (\n isSSG &&\n // We don't want to send a cache header for requests that contain dynamic\n // data. If this is a Dynamic RSC request or wasn't a Prefetch RSC\n // request, then we should set the cache header.\n !isDynamicRSCRequest &&\n (!didPostpone || isPrefetchRSCRequest)\n ) {\n if (!isMinimalMode) {\n // set x-nextjs-cache header to match the header\n // we set for the image-optimizer\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n // Set a header used by the client router to signal the response is static\n // and should respect the `static` cache staleTime value.\n res.setHeader(NEXT_IS_PRERENDER_HEADER, '1')\n }\n const { value: cachedData } = cacheEntry\n\n // Coerce the cache control parameter from the render.\n let cacheControl: CacheControl | undefined\n\n // If this is a resume request in minimal mode it is streamed with dynamic\n // content and should not be cached.\n if (hasPostponedState) {\n cacheControl = { revalidate: 0, expire: undefined }\n }\n\n // If this is in minimal mode and this is a flight request that isn't a\n // prefetch request while PPR is enabled, it cannot be cached as it contains\n // dynamic content.\n else if (isDynamicRSCRequest) {\n cacheControl = { revalidate: 0, expire: undefined }\n } else if (!routeModule.isDev) {\n // If this is a preview mode request, we shouldn't cache it\n if (isDraftMode) {\n cacheControl = { revalidate: 0, expire: undefined }\n }\n\n // If this isn't SSG, then we should set change the header only if it is\n // not set already.\n else if (!isSSG) {\n if (!res.getHeader('Cache-Control')) {\n cacheControl = { revalidate: 0, expire: undefined }\n }\n } else if (cacheEntry.cacheControl) {\n // If the cache entry has a cache control with a revalidate value that's\n // a number, use it.\n if (typeof cacheEntry.cacheControl.revalidate === 'number') {\n if (cacheEntry.cacheControl.revalidate < 1) {\n throw new Error(\n `Invalid revalidate configuration provided: ${cacheEntry.cacheControl.revalidate} < 1`\n )\n }\n\n cacheControl = {\n revalidate: cacheEntry.cacheControl.revalidate,\n expire: cacheEntry.cacheControl.expire,\n }\n }\n // Otherwise if the revalidate value is false, then we should use the\n // cache time of one year.\n else {\n cacheControl = {\n revalidate: CACHE_ONE_YEAR_SECONDS,\n expire: undefined,\n }\n }\n }\n }\n\n cacheEntry.cacheControl = cacheControl\n\n if (\n typeof segmentPrefetchHeader === 'string' &&\n cachedData?.kind === CachedRouteKind.APP_PAGE &&\n cachedData.segmentData\n ) {\n // This is a prefetch request issued by the client Segment Cache. These\n // should never reach the application layer (lambda). We should either\n // respond from the cache (HIT) or respond with 404 (MISS).\n\n // Set a header to indicate that PPR is enabled for this route. This\n // lets the client distinguish between a regular cache miss and a cache\n // miss due to PPR being disabled. In other contexts this header is used\n // to indicate that the response contains dynamic data, but here we're\n // only using it to indicate that the feature is enabled — the segment\n // response itself contains whether the data is dynamic.\n res.setHeader(NEXT_DID_POSTPONE_HEADER, '2')\n\n // Add the cache tags header to the response if it exists and we're in\n // minimal mode while rendering a static page.\n const tags = cachedData.headers?.[NEXT_CACHE_TAGS_HEADER]\n if (isMinimalMode && isSSG && tags && typeof tags === 'string') {\n res.setHeader(NEXT_CACHE_TAGS_HEADER, tags)\n }\n\n const matchedSegment = cachedData.segmentData.get(\n segmentPrefetchHeader\n )\n if (matchedSegment !== undefined) {\n // Cache hit\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.fromStatic(\n matchedSegment,\n RSC_CONTENT_TYPE_HEADER\n ),\n cacheControl: cacheEntry.cacheControl,\n })\n }\n\n // Cache miss. Either a cache entry for this route has not been generated\n // (which technically should not be possible when PPR is enabled, because\n // at a minimum there should always be a fallback entry) or there's no\n // match for the requested segment. Respond with a 404.\n res.statusCode = 404\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.EMPTY,\n cacheControl: cacheEntry.cacheControl,\n })\n }\n\n // `onCacheEntry` lets the platform capture a freshly prerendered result\n // so the proxy can write it to the ISR cache; on deploy it returns true\n // and the function returns below. In debug-shell mode the render was\n // skipped and we only serve the already-cached shell, so there is nothing\n // to capture, and we need to reach the serve path below to close the\n // document. `onCacheEntry` is absent in `next start`/dev, so this guard\n // only affects the deploy (minimalMode) path.\n if (!isDebugStaticShell && (await invokeOnCacheEntry(cacheEntry))) {\n return null\n }\n\n if (cachedData.headers) {\n const headers = { ...cachedData.headers }\n\n if (!isMinimalMode || !isSSG) {\n delete headers[NEXT_CACHE_TAGS_HEADER]\n }\n\n for (let [key, value] of Object.entries(headers)) {\n if (typeof value === 'undefined') continue\n\n if (Array.isArray(value)) {\n for (const v of value) {\n res.appendHeader(key, v)\n }\n } else if (typeof value === 'number') {\n value = value.toString()\n res.appendHeader(key, value)\n } else {\n res.appendHeader(key, value)\n }\n }\n }\n\n // Add the cache tags header to the response if it exists and we're in\n // minimal mode while rendering a static page.\n const tags = cachedData.headers?.[NEXT_CACHE_TAGS_HEADER]\n if (isMinimalMode && isSSG && tags && typeof tags === 'string') {\n res.setHeader(NEXT_CACHE_TAGS_HEADER, tags)\n }\n\n // If the request is a data request, then we shouldn't set the status code\n // from the response because it should always be 200. This should be gated\n // behind the experimental PPR flag.\n if (cachedData.status && (!isRSCRequest || !isRoutePPREnabled)) {\n res.statusCode = cachedData.status\n }\n\n // Redirect information is encoded in RSC payload, so we don't need to use redirect status codes\n if (\n !isMinimalMode &&\n cachedData.status &&\n RedirectStatusCode[cachedData.status] &&\n isRSCRequest\n ) {\n res.statusCode = 200\n }\n\n // Mark that the request did postpone.\n if (didPostpone && !isDynamicRSCRequest) {\n res.setHeader(NEXT_DID_POSTPONE_HEADER, '1')\n }\n\n // we don't go through this block when preview mode is true\n // as preview mode is a dynamic request (bypasses cache) and doesn't\n // generate both HTML and payloads in the same request so continue to just\n // return the generated payload\n if (isRSCRequest && !isDraftMode) {\n // If this is a dynamic RSC request, then stream the response.\n if (typeof cachedData.rscData === 'undefined') {\n // If the response is not an RSC response, then we can't serve it.\n if (cachedData.html.contentType !== RSC_CONTENT_TYPE_HEADER) {\n if (nextConfig.cacheComponents) {\n res.statusCode = 404\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.EMPTY,\n cacheControl: cacheEntry.cacheControl,\n })\n } else {\n // Otherwise this case is not expected.\n throw new InvariantError(\n `Expected RSC response, got ${cachedData.html.contentType}`\n )\n }\n }\n\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: cachedData.html,\n cacheControl: cacheEntry.cacheControl,\n })\n }\n\n // As this isn't a prefetch request, we should serve the static flight\n // data.\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.fromStatic(\n cachedData.rscData,\n RSC_CONTENT_TYPE_HEADER\n ),\n cacheControl: cacheEntry.cacheControl,\n })\n }\n\n // This is a request for HTML data.\n const body = cachedData.html\n\n // Instant Navigation Testing API: under the instant lock we serve the\n // static shell as a complete document without resuming the dynamic\n // render, either recovering from an empty (blocking) shell or appending\n // the closing tags to a non-empty one.\n if (isInstantNavigationTest && isDebugStaticShell) {\n const isEmptyPrelude =\n typeof cachedData.postponed === 'string' &&\n entryBase.isEmptyHTMLPrelude(cachedData.postponed)\n\n if (isEmptyPrelude) {\n // A blocking route (a Suspense boundary above <body>, or `export\n // const instant = false`) has an empty static shell. Serving it under\n // the lock would be a blank document with no way to release the lock,\n // so every reload would render the same blank shell and leave the\n // user stuck. We surface the reason instead: in development we throw\n // so it shows as an error overlay (the catch below clears the instant\n // cookie via Set-Cookie); in production we serve a minimal document\n // whose script clears the cookie client-side, since on deploy the\n // edge has already served the cached shell and committed the response\n // headers and this function only resumes by appending to the body, so\n // a Set-Cookie could not take effect. `next start` reuses the same\n // document, where throwing would render only a generic \"Internal\n // Server Error\" page.\n if (routeModule.isDev === true) {\n throw new Error(\n `The Navigation Inspector was active, but you attempted to load a blocking route. Reload the page to reset the inspector.\\n\\n` +\n `To identify why this route is blocking, refer to the Instant Navigation docs: https://preview.nextjs.org/docs/app/guides/instant-navigation`\n )\n }\n\n const recoveryHtml =\n `<!DOCTYPE html><html><head><meta charSet=\"utf-8\"/></head><body>` +\n `<script>document.cookie=\"${NEXT_INSTANT_TEST_COOKIE}=; Path=/; Max-Age=0\"</script>` +\n `<p>The Navigation Inspector was active, but you attempted to load a blocking route. Reload the page to reset the inspector.</p>` +\n `<p>To identify why this route is blocking, refer to the ` +\n `<a href=\"https://preview.nextjs.org/docs/app/guides/instant-navigation\">Instant Navigation docs</a>.</p>` +\n `</body></html>`\n\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.fromStatic(\n recoveryHtml,\n HTML_CONTENT_TYPE_HEADER\n ),\n cacheControl: { revalidate: 0, expire: undefined },\n })\n }\n\n // Non-empty shell: the cookie-guarded bootstrap that sets\n // self.__next_instant_test is embedded in the prerendered shell via\n // `bootstrapScriptContent`, so it is already present (in the served\n // shell for a fresh render, or in the cached prelude on deploy). Append\n // the closing tags so the browser can parse a complete document.\n body.push(\n new ReadableStream({\n start(controller) {\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n controller.close()\n },\n })\n )\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: { revalidate: 0, expire: undefined },\n })\n }\n\n // If there's no postponed state, we should just serve the HTML. This\n // should also be the case for a resume request because it's completed\n // as a server render (rather than a static render).\n if (!didPostpone || isMinimalMode || isRSCRequest) {\n // If we're in test mode, we should add a sentinel chunk to the response\n // that's between the static and dynamic parts so we can compare the\n // chunks and add assertions.\n if (\n process.env.__NEXT_TEST_MODE &&\n isMinimalMode &&\n isRoutePPREnabled &&\n body.contentType === HTML_CONTENT_TYPE_HEADER\n ) {\n // As we're in minimal mode, the static part would have already been\n // streamed first. The only part that this streams is the dynamic part\n // so we should FIRST stream the sentinel and THEN the dynamic part.\n body.unshift(createPPRBoundarySentinel())\n }\n\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: cacheEntry.cacheControl,\n })\n }\n\n // If we're debugging the static shell or the dynamic API accesses, we\n // should just serve the HTML without resuming the render. The returned\n // HTML will be the static shell so all the Dynamic API's will be used\n // during static generation.\n if (isDebugStaticShell || isDebugDynamicAccesses) {\n // Since we're not resuming the render, we need to at least add the\n // closing body and html tags to create valid HTML.\n body.push(\n new ReadableStream({\n start(controller) {\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n controller.close()\n },\n })\n )\n\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: { revalidate: 0, expire: undefined },\n })\n }\n\n // If we're in test mode, we should add a sentinel chunk to the response\n // that's between the static and dynamic parts so we can compare the\n // chunks and add assertions.\n if (process.env.__NEXT_TEST_MODE) {\n body.push(createPPRBoundarySentinel())\n }\n\n resumeRender(body, cachedData.postponed, span)\n\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n // We don't want to cache the response if it has postponed data because\n // the response being sent to the client it's dynamic parts are streamed\n // to the client on the same request.\n cacheControl: { revalidate: 0, expire: undefined },\n })\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan)\n } else {\n parentSpan = tracer.getActiveScopeSpan()\n return await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': httpTarget,\n },\n },\n handleResponse\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n } catch (err) {\n // If an Instant Navigation Testing document render fails (e.g. the page\n // blocks at the root with no Suspense boundary above it, producing an empty\n // or bailed-out static shell), clear the instant navigation cookie before\n // serving the error page. Otherwise the cookie would persist and every\n // reload would re-render the same broken shell, leaving the user stuck\n // without a way to release the lock.\n if (isInstantNavigationTest && !res.headersSent) {\n res.setHeader(\n 'Set-Cookie',\n `${NEXT_INSTANT_TEST_COOKIE}=; Path=/; Max-Age=0`\n )\n }\n\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'render',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: isSSG,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n throw err\n }\n }\n\n return {\n __next_app__,\n routeModule,\n handler,\n }\n}\n\n// TODO: omit this from production builds, only test builds should include it\n/**\n * Creates a readable stream that emits a PPR boundary sentinel.\n *\n * @returns A readable stream that emits a PPR boundary sentinel.\n */\nfunction createPPRBoundarySentinel() {\n return new ReadableStream({\n start(controller) {\n controller.enqueue(\n new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->')\n )\n controller.close()\n },\n })\n}\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","/**\n * Wraps a module getter from the generated loader tree code so that the\n * result of an async module (e.g. due to a top-level await) is tracked as a\n * pending import, which the cache warming phase of a prerender waits for.\n * Both bundlers emit this around every module getter in the loader tree.\n */\nexport function instrumentModuleGetter<TModule>(\n getter: () => TModule\n): () => TModule {\n if (\n process.env.NEXT_RUNTIME === 'edge' ||\n !process.env.__NEXT_CACHE_COMPONENTS\n ) {\n // The tracking is only consumed when prerendering with Cache Components,\n // which is not supported in the edge runtime (and the tracking relies on\n // Node.js APIs).\n return getter\n } else {\n return () => {\n const { trackPendingImport } =\n require('./track-module-loading.external') as typeof import('./track-module-loading.external')\n\n const exportsOrPromise = getter()\n trackPendingImport(exportsOrPromise)\n return exportsOrPromise\n }\n }\n}\n"],"names":["AppPageRouteModule","createDevRenderContext","RouteKind","getRevalidateReason","getTracer","SpanKind","SpanStatusCode","addRequestMeta","getRequestMeta","setRequestMeta","BaseServerSpan","stripFlightHeaders","parseRequestHeaders","NodeNextRequest","NodeNextResponse","isRSCRequestHeader","isNonHtmlSecFetchDest","UNDERSCORE_NOT_FOUND_ROUTE","getFallbackRouteParams","getPlaceholderFallbackRouteParams","getStagedFallbackParams","buildDynamicSegmentPlaceholder","createOpaqueFallbackRouteParams","setManifestsSingleton","shouldServeStreamingMetadata","normalizeAppPath","parseNormalizedAppRoute","getIsPossibleServerAction","RSC_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_INSTANT_TEST_COOKIE","NEXT_IS_PRERENDER_HEADER","NEXT_DID_POSTPONE_HEADER","RSC_CONTENT_TYPE_HEADER","getBotType","CachedRouteKind","IncrementalCacheKind","FallbackMode","parseFallbackField","RenderResult","CACHE_ONE_YEAR_SECONDS","HTML_CONTENT_TYPE_HEADER","NEXT_CACHE_TAGS_HEADER","NEXT_NAV_DEPLOYMENT_ID_HEADER","NEXT_RESUME_HEADER","NEXT_RESUME_STATE_LENGTH_HEADER","ENCODED_TAGS","sendRenderResult","NoFallbackError","isRouteCacheOwner","parseMaxPostponedStateSize","getMaxPostponedStateSize","getPostponedStateExceededErrorMessage","readBodyWithSizeLimit","parseUrl","entryBase","RedirectStatusCode","InvariantError","scheduleOnNextTick","getSegmentParam","buildCompletedShellCacheKey","fallbackPathname","remainingPrerenderableParams","params","prerenderableParamsByName","Map","map","param","paramName","split","segment","segmentParam","remainingParam","get","value","encodedValue","Array","isArray","item","encodeURIComponent","join","replace","createAppPageEntrypoint","tree","page","pathname","require","__next_app_require__","loadChunk","__next_app_load_chunk__","interopDefault","__next_app__","routeModule","definition","kind","APP_PAGE","bundlePath","filename","appPaths","userland","loaderTree","distDir","process","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","srcPage","TURBOPACK","normalizedSrcPage","routeParamNames","dynamicSegments","handler","req","res","ctx","prerenderManifest","prerenderInfo","requestMeta","isDev","hrtime","bigint","isMinimalMode","Boolean","httpTarget","url","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","query","pageIsDynamic","buildManifest","nextFontManifest","reactLoadableManifest","serverActionsManifest","clientReferenceManifest","subresourceIntegrityManifest","prefetchHintsManifest","isDraftMode","resolvedPathname","revalidateOnlyGenerated","routerServerContext","nextConfig","parsedUrl","interceptionRoutePatterns","deploymentId","clientAssetToken","previewProps","isOnDemandRevalidate","prerenderMatch","match","route","prerenderedRoute","cacheOwner","routes","undefined","isPrerendered","userAgent","headers","botType","isPrefetchRSCRequest","isRSCRequest","isPossibleServerAction","method","setHeader","couldSupportPPR","cacheComponents","resumeStateLengthHeader","stateLength","parseInt","maxPostponedStateSize","maxPostponedStateSizeBytes","experimental","isNaN","defaultActionBodySizeLimit","actionBodySizeLimit","serverActions","bodySizeLimit","actionBodySizeLimitBytes","parse","maxTotalBodySize","fullBody","length","postponedState","subarray","toString","actionBody","Error","body","postponed","hasDebugStaticShellQuery","__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING","__nextppronly","hasDebugFallbackShellQuery","exposeTestingApi","exposeTestingApiInProductionBuild","isInstantNavigationTest","cookie","includes","isRoutePPREnabled","dynamicRoutes","renderingMode","experimentalTestProxy","isDebugStaticShell","isDebugDynamicAccesses","isDebugFallbackShell","isDebugPrerender","minimalPostponed","hasPostponedState","staticPrefetchDataRoute","prefetchDataRoute","isEnsureStaticPage","_isEnsureStaticPage","isDynamicRSCRequest","rawSegmentPrefetchHeader","segmentPrefetchHeader","serveStreamingMetadata","htmlLimitedBots","shouldForceDynamicPPRRender","isSSG","supportsRDCForNavigations","supportsDynamicResponse","remainingFallbackRouteParams","fallbackRouteParams","filter","some","prerenderableParam","hasOmittedConcreteFallbackParam","hasUnresolvedRootFallbackParams","fallback","fallbackRootParams","source","shellCacheKey","partialPrefetching","cacheKey","ssgCacheKey","usesShellCacheKey","staticPathKey","ComponentMod","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","render404","varyHeader","getVaryHeader","parentSpan","invokeRouteModule","span","context","renderOperation","nextReq","nextRes","result","prerender","render","finally","setAttributes","setStatus","code","ERROR","setAttribute","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","name","updateName","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","doRender","allowEmptyStaticShell","parsedRequestHeaders","previewModeId","routeMatch","dev","sharedContext","renderOpts","App","Document","pageConfig","Component","setCacheStatus","setIsrStatus","setReactDebugChannel","sendErrorsToBrowser","dir","NEXT_RUNTIME","cwd","assetPrefix","getAssetPrefixForRender","nextConfigOutput","output","crossOrigin","trailingSlash","images","enableTainting","taint","reactMaxHeadersLength","prefetchHints","notFoundParams","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","basePath","logServerFunctions","logging","serverFunctions","isBuildTimePrerendering","isFallbackUpgradeable","validationLevel","instantInsights","expireTime","staleTimes","dynamicOnHover","optimisticRouting","parallelRouteMetadata","inlineCss","prefetchInlining","authInterrupts","reactBrowserBailout","serverComponentsHmrCancellation","useCacheTimeout","durableUseCacheEntries","cachedNavigations","clientTraceMetadata","clientParamParsingOrigins","disableResumeDataCacheCompression","onClose","cb","on","onAfterTaskError","onInstrumentationRequestError","error","errorContext","silenceLog","onRequestError","err","fetchMetrics","metadata","cacheControl","fetchTags","cacheTags","revalidate","expire","staticBailoutInfo","description","stack","message","substring","indexOf","html","rscData","flightData","status","segmentData","responseGenerator","hasResolved","previousCacheEntry","previousIncrementalCacheEntry","isRevalidating","forceStaticRender","isProduction","didRespond","writableEnded","reportRevalidationError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","fallbackMode","NOT_FOUND","BLOCKING_STATIC_RENDER","isExplicitlyBlocking","PRERENDER","isStale","fallbackResponse","handleResponse","routeKind","isFallback","responseCache","getResponseCache","c","hasFullyStaticCacheEntry","incrementalCacheKey","incrementalCacheEntry","fromStatic","placeholderFallbackRouteParams","fallbackRouteParamsForRender","hasPlaceholderFallbackRouteParams","effectiveFallbackRouteParams","resolvedKeys","size","has","stagedFallbackParams","isRequestSpecificRender","invokeOnCacheEntry","cacheEntry","onCacheEntry","rawCacheEntryUrl","cacheEntryUrl","resumeRender","transformer","TransformStream","push","readable","then","pipeTo","writable","catch","abort","e","cachedData","devParamMatchingRejected","adapterPath","headersSent","reportPrerenderError","errorReporting","Object","entries","appendHeader","removeHeader","response","toUnchunkedString","generateEtags","poweredByHeader","didPostpone","isMiss","getHeader","tags","matchedSegment","EMPTY","key","v","contentType","isEmptyPrelude","isEmptyHTMLPrelude","recoveryHtml","ReadableStream","start","controller","enqueue","CLOSED","BODY_AND_HTML","close","__NEXT_TEST_MODE","unshift","createPPRBoundarySentinel","withPropagatedContext","trace","spanName","SERVER","attributes","TextEncoder","encode","module","exports","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","instrumentModuleGetter","getter","__NEXT_CACHE_COMPONENTS","trackPendingImport","exportsOrPromise"],"mappings":"uCAIA,IAAA,EAKO,EAAA,CAAA,AAJLA,CAIK,OACP,EAAuC,EAAA,CAAA,AAA9BC,CAA8B,IALnB,GAOpB,EAA0B,EAA+B,CAAhDC,AAAgD,AAHS,AAA3D,CAGkD,OAEzD,CAJ+B,AAEb,AAAuC,CAErB,EAAA,CAAA,AAA3BC,CAA2B,GAFV,AAFa,GAKvC,AALqG,EAQrF,EAJ8D,AAMvE,CAJLC,AAIK,CAAA,GAAA,GANqB,CAQ5B,CANW,CASTK,CARAJ,CASK,CAHLE,AAGK,CAAA,CAZ6B,IAG1B,CAQM,CAEhB,AAP4C,AAF1CD,EAS6B,EAAA,CAAtBI,AAAsB,CAAA,AAJf,CAGT,CACgE,AAHrEF,KAIF,CAVgB,CAUmB,EAAA,CAAA,AAA1BG,CAA0B,AADZ,CADiB,EAFxB,EACdF,EAIF,CAF+B,CAKxB,EAAA,CAFLG,AAEK,CAAA,IAJoB,CAA4D,CAKvF,EAEkB,EACX,CAAA,AAFLC,CAEK,AAR4B,CAQ5B,KANc,CAOrB,EAAmC,EAAA,CAA1BE,AAA0B,CAAA,CAL5B,AAEU,EAEyB,AADxCD,EAEwE,EAC1E,CANwE,CAMlC,EAAA,CAA7BE,AAA6B,CAAA,IADX,EAF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