@oqura/wisdom 0.0.0-stage → 0.3.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1444) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +4 -0
  3. package/README.md +150 -3
  4. package/dist/src/bin.js +13 -0
  5. package/dist/src/captures.js +866 -0
  6. package/dist/src/cli.js +577 -0
  7. package/dist/src/client.js +116 -0
  8. package/dist/src/clone.js +72 -0
  9. package/dist/src/connect.js +87 -0
  10. package/dist/src/content.js +27 -0
  11. package/dist/src/conversation.js +254 -0
  12. package/dist/src/daemon.js +178 -0
  13. package/dist/src/dashboard.js +32 -0
  14. package/dist/src/database.js +101 -0
  15. package/dist/src/discovery.js +525 -0
  16. package/dist/src/doctor.js +145 -0
  17. package/dist/src/evidence.js +37 -0
  18. package/dist/src/handoff.js +60 -0
  19. package/dist/src/harnesses/claude-code/adapter.js +79 -0
  20. package/dist/src/harnesses/claude-code/hook.js +63 -0
  21. package/dist/src/harnesses/claude-code/launch.js +58 -0
  22. package/dist/src/harnesses/codex/adapter.js +144 -0
  23. package/dist/src/harnesses/codex/hook.js +102 -0
  24. package/dist/src/harnesses/codex/launch.js +194 -0
  25. package/dist/src/harnesses/index.js +53 -0
  26. package/dist/src/harnesses/launch.js +217 -0
  27. package/dist/src/harnesses/pi/adapter.js +44 -0
  28. package/dist/src/harnesses/pi/extension.js +119 -0
  29. package/dist/src/harnesses/pi/launch.js +82 -0
  30. package/dist/src/harnesses/types.js +42 -0
  31. package/dist/src/ledger.js +277 -0
  32. package/dist/src/markdown.js +173 -0
  33. package/dist/src/mcp.js +32 -0
  34. package/dist/src/paths.js +109 -0
  35. package/dist/src/prices.js +40 -0
  36. package/dist/src/schema.js +64 -0
  37. package/dist/src/secrets.js +62 -0
  38. package/dist/src/share.js +243 -0
  39. package/dist/src/shared.js +179 -0
  40. package/dist/src/stats.js +171 -0
  41. package/dist/src/store.js +2 -0
  42. package/dist/src/views.js +98 -0
  43. package/dist/src/workspace.js +294 -0
  44. package/dist-dashboard/.next/BUILD_ID +1 -0
  45. package/dist-dashboard/.next/app-path-routes-manifest.json +7 -0
  46. package/dist-dashboard/.next/build-manifest.json +54 -0
  47. package/dist-dashboard/.next/package.json +1 -0
  48. package/dist-dashboard/.next/prerender-manifest.json +69 -0
  49. package/dist-dashboard/.next/required-server-files.json +374 -0
  50. package/dist-dashboard/.next/routes-manifest.json +75 -0
  51. package/dist-dashboard/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  52. package/dist-dashboard/.next/server/app/_global-error/page/build-manifest.json +21 -0
  53. package/dist-dashboard/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  54. package/dist-dashboard/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  55. package/dist-dashboard/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  56. package/dist-dashboard/.next/server/app/_global-error/page.js +10 -0
  57. package/dist-dashboard/.next/server/app/_global-error/page.js.map +5 -0
  58. package/dist-dashboard/.next/server/app/_global-error/page.js.nft.json +1 -0
  59. package/dist-dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  60. package/dist-dashboard/.next/server/app/_global-error.html +1 -0
  61. package/dist-dashboard/.next/server/app/_global-error.meta +30 -0
  62. package/dist-dashboard/.next/server/app/_global-error.rsc +18 -0
  63. package/dist-dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +23 -0
  64. package/dist-dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +18 -0
  65. package/dist-dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
  66. package/dist-dashboard/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  67. package/dist-dashboard/.next/server/app/_not-found/page/build-manifest.json +21 -0
  68. package/dist-dashboard/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
  69. package/dist-dashboard/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  70. package/dist-dashboard/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  71. package/dist-dashboard/.next/server/app/_not-found/page.js +12 -0
  72. package/dist-dashboard/.next/server/app/_not-found/page.js.map +5 -0
  73. package/dist-dashboard/.next/server/app/_not-found/page.js.nft.json +1 -0
  74. package/dist-dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  75. package/dist-dashboard/.next/server/app/_not-found.html +4 -0
  76. package/dist-dashboard/.next/server/app/_not-found.meta +35 -0
  77. package/dist-dashboard/.next/server/app/_not-found.rsc +20 -0
  78. package/dist-dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +20 -0
  79. package/dist-dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +26 -0
  80. package/dist-dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
  81. package/dist-dashboard/.next/server/app/api/live/route/app-paths-manifest.json +3 -0
  82. package/dist-dashboard/.next/server/app/api/live/route/build-manifest.json +12 -0
  83. package/dist-dashboard/.next/server/app/api/live/route/server-reference-manifest.json +4 -0
  84. package/dist-dashboard/.next/server/app/api/live/route.js +7 -0
  85. package/dist-dashboard/.next/server/app/api/live/route.js.map +5 -0
  86. package/dist-dashboard/.next/server/app/api/live/route.js.nft.json +1 -0
  87. package/dist-dashboard/.next/server/app/api/live/route_client-reference-manifest.js +3 -0
  88. package/dist-dashboard/.next/server/app/api/view/route/app-paths-manifest.json +3 -0
  89. package/dist-dashboard/.next/server/app/api/view/route/build-manifest.json +12 -0
  90. package/dist-dashboard/.next/server/app/api/view/route/server-reference-manifest.json +4 -0
  91. package/dist-dashboard/.next/server/app/api/view/route.js +7 -0
  92. package/dist-dashboard/.next/server/app/api/view/route.js.map +5 -0
  93. package/dist-dashboard/.next/server/app/api/view/route.js.nft.json +1 -0
  94. package/dist-dashboard/.next/server/app/api/view/route_client-reference-manifest.js +3 -0
  95. package/dist-dashboard/.next/server/app/page/app-paths-manifest.json +3 -0
  96. package/dist-dashboard/.next/server/app/page/build-manifest.json +21 -0
  97. package/dist-dashboard/.next/server/app/page/next-font-manifest.json +6 -0
  98. package/dist-dashboard/.next/server/app/page/react-loadable-manifest.json +1 -0
  99. package/dist-dashboard/.next/server/app/page/server-reference-manifest.json +4 -0
  100. package/dist-dashboard/.next/server/app/page.js +13 -0
  101. package/dist-dashboard/.next/server/app/page.js.map +5 -0
  102. package/dist-dashboard/.next/server/app/page.js.nft.json +1 -0
  103. package/dist-dashboard/.next/server/app/page_client-reference-manifest.js +3 -0
  104. package/dist-dashboard/.next/server/app-paths-manifest.json +7 -0
  105. package/dist-dashboard/.next/server/chunks/[externals]__0bwf06g0pqv3h._.js +3 -0
  106. package/dist-dashboard/.next/server/chunks/[root-of-the-server]__17sjqi0dthgwf._.js +5 -0
  107. package/dist-dashboard/.next/server/chunks/[turbopack]_runtime.js +937 -0
  108. package/dist-dashboard/.next/server/chunks/_0ak64smt0plep._.js +3 -0
  109. package/dist-dashboard/.next/server/chunks/_17wd0do43vgms._.js +3 -0
  110. package/dist-dashboard/.next/server/chunks/_1cstru0a1pgds._.js +6 -0
  111. package/dist-dashboard/.next/server/chunks/_next-internal_server_app_api_live_route_actions_0dk5m02naz6qd.js +3 -0
  112. package/dist-dashboard/.next/server/chunks/_next-internal_server_app_api_view_route_actions_1xagbxi05m8ul.js +3 -0
  113. package/dist-dashboard/.next/server/chunks/lib_watchdog_ts_0ica6d9fc6bpo._.js +3 -0
  114. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__0m5uvupnpkk3r._.js +3 -0
  115. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
  116. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1_44ly6o596ao._.js +3 -0
  117. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
  118. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1ireqd10pl8it._.js +6 -0
  119. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1jhlq20oy3-ee._.js +3 -0
  120. package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1ru_-wpbt025r._.js +3 -0
  121. package/dist-dashboard/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
  122. package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
  123. package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
  124. package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
  125. package/dist-dashboard/.next/server/chunks/ssr/components_Dashboard_tsx_1o2cg2bz5flxn._.js +3 -0
  126. package/dist-dashboard/.next/server/chunks/ssr/node_modules_01xbj_9zg44kw._.js +33 -0
  127. package/dist-dashboard/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
  128. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
  129. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_1c5t_vsn6u8fr._.js +3 -0
  130. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_1hgv5i-pr1hza._.js +3 -0
  131. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
  132. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
  133. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
  134. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12cvwrhav8wvb.js +3 -0
  135. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
  136. package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1nazowj1bdbgt.js +3 -0
  137. package/dist-dashboard/.next/server/functions-config-manifest.json +4 -0
  138. package/dist-dashboard/.next/server/instrumentation.js +4 -0
  139. package/dist-dashboard/.next/server/middleware-build-manifest.js +54 -0
  140. package/dist-dashboard/.next/server/middleware-manifest.json +6 -0
  141. package/dist-dashboard/.next/server/next-font-manifest.js +1 -0
  142. package/dist-dashboard/.next/server/next-font-manifest.json +6 -0
  143. package/dist-dashboard/.next/server/pages/404.html +4 -0
  144. package/dist-dashboard/.next/server/pages/500.html +1 -0
  145. package/dist-dashboard/.next/server/pages-manifest.json +4 -0
  146. package/dist-dashboard/.next/server/prefetch-hints.json +25 -0
  147. package/dist-dashboard/.next/server/preview-props.json +5 -0
  148. package/dist-dashboard/.next/server/server-reference-manifest.js +1 -0
  149. package/dist-dashboard/.next/server/server-reference-manifest.json +5 -0
  150. package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_buildManifest.js +11 -0
  151. package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_clientMiddlewareManifest.js +1 -0
  152. package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_ssgManifest.js +1 -0
  153. package/dist-dashboard/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  154. package/dist-dashboard/.next/static/chunks/0nwv0w1bwzuep.css +1 -0
  155. package/dist-dashboard/.next/static/chunks/0r-yur70-ku2o.js +22 -0
  156. package/dist-dashboard/.next/static/chunks/0umf92h1sb77c.js +1 -0
  157. package/dist-dashboard/.next/static/chunks/2bmsncssm91b5.js +1 -0
  158. package/dist-dashboard/.next/static/chunks/2khxl0v1q4i6n.js +1 -0
  159. package/dist-dashboard/.next/static/chunks/3cfn99dbrcvvp.js +31 -0
  160. package/dist-dashboard/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
  161. package/dist-dashboard/node_modules/@next/env/dist/index.js +1 -0
  162. package/dist-dashboard/node_modules/@next/env/package.json +36 -0
  163. package/dist-dashboard/node_modules/@swc/helpers/LICENSE +201 -0
  164. package/dist-dashboard/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  165. package/dist-dashboard/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  166. package/dist-dashboard/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
  167. package/dist-dashboard/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
  168. package/dist-dashboard/node_modules/@swc/helpers/package.json +705 -0
  169. package/dist-dashboard/node_modules/client-only/index.js +0 -0
  170. package/dist-dashboard/node_modules/client-only/package.json +19 -0
  171. package/dist-dashboard/node_modules/next/dist/build/adapter/build-complete.js +1648 -0
  172. package/dist-dashboard/node_modules/next/dist/build/adapter/fallback-shell-runs.js +140 -0
  173. package/dist-dashboard/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
  174. package/dist-dashboard/node_modules/next/dist/build/adapter/synthetic-symlinks.js +85 -0
  175. package/dist-dashboard/node_modules/next/dist/build/after-production-compile.js +96 -0
  176. package/dist-dashboard/node_modules/next/dist/build/analysis/extract-const-value.js +229 -0
  177. package/dist-dashboard/node_modules/next/dist/build/analysis/get-page-static-info.js +646 -0
  178. package/dist-dashboard/node_modules/next/dist/build/analysis/parse-module.js +20 -0
  179. package/dist-dashboard/node_modules/next/dist/build/analyze/graph-dump.js +291 -0
  180. package/dist-dashboard/node_modules/next/dist/build/analyze/index.js +259 -0
  181. package/dist-dashboard/node_modules/next/dist/build/analyze/snapshot.js +199 -0
  182. package/dist-dashboard/node_modules/next/dist/build/babel/loader/get-config.js +420 -0
  183. package/dist-dashboard/node_modules/next/dist/build/babel/loader/index.js +56 -0
  184. package/dist-dashboard/node_modules/next/dist/build/babel/loader/transform.js +103 -0
  185. package/dist-dashboard/node_modules/next/dist/build/babel/loader/util.js +20 -0
  186. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/commonjs.js +42 -0
  187. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/jsx-pragma.js +74 -0
  188. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-font-unsupported.js +32 -0
  189. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-page-config.js +84 -0
  190. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-page-disallow-re-export-all-exports.js +25 -0
  191. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js +329 -0
  192. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/optimize-hook-destructuring.js +60 -0
  193. package/dist-dashboard/node_modules/next/dist/build/babel/plugins/react-loadable-plugin.js +145 -0
  194. package/dist-dashboard/node_modules/next/dist/build/babel/preset.js +250 -0
  195. package/dist-dashboard/node_modules/next/dist/build/browser-variant-modules.js +28 -0
  196. package/dist-dashboard/node_modules/next/dist/build/build-context.js +58 -0
  197. package/dist-dashboard/node_modules/next/dist/build/collect-build-traces.js +552 -0
  198. package/dist-dashboard/node_modules/next/dist/build/compiler.js +84 -0
  199. package/dist-dashboard/node_modules/next/dist/build/create-compiler-aliases.js +479 -0
  200. package/dist-dashboard/node_modules/next/dist/build/define-env.js +257 -0
  201. package/dist-dashboard/node_modules/next/dist/build/duration-to-string.js +98 -0
  202. package/dist-dashboard/node_modules/next/dist/build/entries.js +682 -0
  203. package/dist-dashboard/node_modules/next/dist/build/file-classifier.js +76 -0
  204. package/dist-dashboard/node_modules/next/dist/build/generate-build-id.js +27 -0
  205. package/dist-dashboard/node_modules/next/dist/build/generate-routes-manifest.js +93 -0
  206. package/dist-dashboard/node_modules/next/dist/build/get-babel-config-file.js +35 -0
  207. package/dist-dashboard/node_modules/next/dist/build/get-babel-loader-config.js +129 -0
  208. package/dist-dashboard/node_modules/next/dist/build/get-convention-file-base-name.js +29 -0
  209. package/dist-dashboard/node_modules/next/dist/build/get-static-info-including-layouts.js +80 -0
  210. package/dist-dashboard/node_modules/next/dist/build/get-supported-browsers.js +38 -0
  211. package/dist-dashboard/node_modules/next/dist/build/handle-entrypoints.js +170 -0
  212. package/dist-dashboard/node_modules/next/dist/build/handle-externals.js +286 -0
  213. package/dist-dashboard/node_modules/next/dist/build/index.js +3027 -0
  214. package/dist-dashboard/node_modules/next/dist/build/is-writeable.js +26 -0
  215. package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/empty.js +10 -0
  216. package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/fileMock.js +15 -0
  217. package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/nextFontMock.js +20 -0
  218. package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/styleMock.js +10 -0
  219. package/dist-dashboard/node_modules/next/dist/build/jest/jest.js +245 -0
  220. package/dist-dashboard/node_modules/next/dist/build/jest/object-proxy.js +50 -0
  221. package/dist-dashboard/node_modules/next/dist/build/load-entrypoint.js +30 -0
  222. package/dist-dashboard/node_modules/next/dist/build/load-jsconfig.js +178 -0
  223. package/dist-dashboard/node_modules/next/dist/build/lockfile.js +238 -0
  224. package/dist-dashboard/node_modules/next/dist/build/manifests/formatter/format-manifest.js +19 -0
  225. package/dist-dashboard/node_modules/next/dist/build/next-config-ts/require-hook.js +85 -0
  226. package/dist-dashboard/node_modules/next/dist/build/next-config-ts/transpile-config.js +136 -0
  227. package/dist-dashboard/node_modules/next/dist/build/next-dir-paths.js +37 -0
  228. package/dist-dashboard/node_modules/next/dist/build/nft.js +119 -0
  229. package/dist-dashboard/node_modules/next/dist/build/normalize-catchall-routes.js +28 -0
  230. package/dist-dashboard/node_modules/next/dist/build/output/format.js +84 -0
  231. package/dist-dashboard/node_modules/next/dist/build/output/index.js +186 -0
  232. package/dist-dashboard/node_modules/next/dist/build/output/log.js +135 -0
  233. package/dist-dashboard/node_modules/next/dist/build/output/store.js +204 -0
  234. package/dist-dashboard/node_modules/next/dist/build/page-extensions-type.js +6 -0
  235. package/dist-dashboard/node_modules/next/dist/build/polyfills/fetch/index.js +6 -0
  236. package/dist-dashboard/node_modules/next/dist/build/polyfills/fetch/whatwg-fetch.js +7 -0
  237. package/dist-dashboard/node_modules/next/dist/build/polyfills/object-assign.js +6 -0
  238. package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/auto.js +4 -0
  239. package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/implementation.js +4 -0
  240. package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/index.js +19 -0
  241. package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/polyfill.js +6 -0
  242. package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/shim.js +6 -0
  243. package/dist-dashboard/node_modules/next/dist/build/polyfills/polyfill-module.js +1 -0
  244. package/dist-dashboard/node_modules/next/dist/build/polyfills/polyfill-nomodule.js +1 -0
  245. package/dist-dashboard/node_modules/next/dist/build/polyfills/process.js +5 -0
  246. package/dist-dashboard/node_modules/next/dist/build/preview-key-utils.js +91 -0
  247. package/dist-dashboard/node_modules/next/dist/build/print-build-errors.js +141 -0
  248. package/dist-dashboard/node_modules/next/dist/build/progress.js +147 -0
  249. package/dist-dashboard/node_modules/next/dist/build/rendering-mode.js +26 -0
  250. package/dist-dashboard/node_modules/next/dist/build/route-bundle-stats.js +155 -0
  251. package/dist-dashboard/node_modules/next/dist/build/route-discovery.js +381 -0
  252. package/dist-dashboard/node_modules/next/dist/build/segment-config/app/app-segment-config.js +192 -0
  253. package/dist-dashboard/node_modules/next/dist/build/segment-config/app/app-segments.js +238 -0
  254. package/dist-dashboard/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +48 -0
  255. package/dist-dashboard/node_modules/next/dist/build/segment-config/middleware/middleware-config.js +121 -0
  256. package/dist-dashboard/node_modules/next/dist/build/segment-config/pages/pages-segment-config.js +62 -0
  257. package/dist-dashboard/node_modules/next/dist/build/sort-by-page-exts.js +30 -0
  258. package/dist-dashboard/node_modules/next/dist/build/spinner.js +158 -0
  259. package/dist-dashboard/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +143 -0
  260. package/dist-dashboard/node_modules/next/dist/build/static-paths/app.js +880 -0
  261. package/dist-dashboard/node_modules/next/dist/build/static-paths/pages.js +137 -0
  262. package/dist-dashboard/node_modules/next/dist/build/static-paths/param-matching.js +200 -0
  263. package/dist-dashboard/node_modules/next/dist/build/static-paths/types.js +6 -0
  264. package/dist-dashboard/node_modules/next/dist/build/static-paths/utils.js +119 -0
  265. package/dist-dashboard/node_modules/next/dist/build/swc/helpers.js +15 -0
  266. package/dist-dashboard/node_modules/next/dist/build/swc/index.js +1339 -0
  267. package/dist-dashboard/node_modules/next/dist/build/swc/install-bindings.js +30 -0
  268. package/dist-dashboard/node_modules/next/dist/build/swc/jest-transformer.js +77 -0
  269. package/dist-dashboard/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
  270. package/dist-dashboard/node_modules/next/dist/build/swc/options.js +411 -0
  271. package/dist-dashboard/node_modules/next/dist/build/swc/types.js +6 -0
  272. package/dist-dashboard/node_modules/next/dist/build/templates/app-page-runtime.js +1636 -0
  273. package/dist-dashboard/node_modules/next/dist/build/templates/app-page.js +59 -0
  274. package/dist-dashboard/node_modules/next/dist/build/templates/app-route.js +437 -0
  275. package/dist-dashboard/node_modules/next/dist/build/templates/edge-app-route.js +124 -0
  276. package/dist-dashboard/node_modules/next/dist/build/templates/edge-ssr-app.js +388 -0
  277. package/dist-dashboard/node_modules/next/dist/build/templates/edge-ssr.js +380 -0
  278. package/dist-dashboard/node_modules/next/dist/build/templates/edge-wrapper.js +24 -0
  279. package/dist-dashboard/node_modules/next/dist/build/templates/helpers.js +36 -0
  280. package/dist-dashboard/node_modules/next/dist/build/templates/middleware.js +172 -0
  281. package/dist-dashboard/node_modules/next/dist/build/templates/pages-api.js +211 -0
  282. package/dist-dashboard/node_modules/next/dist/build/templates/pages-edge-api.js +78 -0
  283. package/dist-dashboard/node_modules/next/dist/build/templates/pages.js +155 -0
  284. package/dist-dashboard/node_modules/next/dist/build/turbopack-analyze/index.js +130 -0
  285. package/dist-dashboard/node_modules/next/dist/build/turbopack-build/impl.js +255 -0
  286. package/dist-dashboard/node_modules/next/dist/build/turbopack-build/index.js +18 -0
  287. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/env.js +29 -0
  288. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/helpers.js +100 -0
  289. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/index.js +30 -0
  290. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/result.js +51 -0
  291. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/tcp.js +41 -0
  292. package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/types.js +8 -0
  293. package/dist-dashboard/node_modules/next/dist/build/type-check.js +169 -0
  294. package/dist-dashboard/node_modules/next/dist/build/utils.js +1348 -0
  295. package/dist-dashboard/node_modules/next/dist/build/validate-app-paths.js +190 -0
  296. package/dist-dashboard/node_modules/next/dist/build/warn-about-edge-runtime.js +78 -0
  297. package/dist-dashboard/node_modules/next/dist/build/webpack/alias/react-dom-server-experimental.js +34 -0
  298. package/dist-dashboard/node_modules/next/dist/build/webpack/alias/react-dom-server.js +34 -0
  299. package/dist-dashboard/node_modules/next/dist/build/webpack/cache-invalidation.js +87 -0
  300. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/base.js +82 -0
  301. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/index.js +573 -0
  302. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/client.js +49 -0
  303. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/file-resolve.js +21 -0
  304. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.js +37 -0
  305. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +67 -0
  306. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/index.js +22 -0
  307. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +88 -0
  308. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +63 -0
  309. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/messages.js +45 -0
  310. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +162 -0
  311. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/images/index.js +42 -0
  312. package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/images/messages.js +16 -0
  313. package/dist-dashboard/node_modules/next/dist/build/webpack/config/helpers.js +78 -0
  314. package/dist-dashboard/node_modules/next/dist/build/webpack/config/index.js +47 -0
  315. package/dist-dashboard/node_modules/next/dist/build/webpack/config/utils.js +13 -0
  316. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/CssSyntaxError.js +32 -0
  317. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/camelcase.js +89 -0
  318. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +268 -0
  319. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/index.js +36 -0
  320. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-icss-parser.js +105 -0
  321. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-import-parser.js +204 -0
  322. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +314 -0
  323. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js +83 -0
  324. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/getUrl.js +23 -0
  325. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/utils.js +459 -0
  326. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/devtool/devtool-style-inject.js +129 -0
  327. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/empty-loader.js +14 -0
  328. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/error-loader.js +32 -0
  329. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/get-module-build-info.js +15 -0
  330. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/instrumentation-client-stub.js +8 -0
  331. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/codegen.js +156 -0
  332. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/index.js +14 -0
  333. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/interface.js +16 -0
  334. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +441 -0
  335. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/utils.js +58 -0
  336. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/discover.js +120 -0
  337. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/resolve-route-data.js +183 -0
  338. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/types.js +7 -0
  339. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/modularize-import-loader.js +39 -0
  340. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-app-loader/create-app-route-code.js +61 -0
  341. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js +943 -0
  342. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-barrel-loader.js +268 -0
  343. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js +37 -0
  344. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js +63 -0
  345. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-function-loader.js +55 -0
  346. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js +108 -0
  347. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-error-browser-binary-loader.js +17 -0
  348. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-action-entry-loader.js +32 -0
  349. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js +45 -0
  350. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-client-module-loader.js +47 -0
  351. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-css-loader.js +52 -0
  352. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-client-wrapper.js +33 -0
  353. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-validate.js +23 -0
  354. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/cache-wrapper.js +13 -0
  355. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js +199 -0
  356. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js +14 -0
  357. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/server-reference.js +13 -0
  358. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/track-dynamic-import.js +13 -0
  359. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-server-reference-proxy-loader.js +29 -0
  360. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js +125 -0
  361. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-font-loader/postcss-next-font.js +165 -0
  362. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-image-loader/blur.js +73 -0
  363. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-image-loader/index.js +87 -0
  364. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-instrumentation-client-loader.js +31 -0
  365. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-invalid-import-error-loader.js +24 -0
  366. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-metadata-image-loader.js +153 -0
  367. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js +342 -0
  368. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-asset-loader.js +46 -0
  369. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +61 -0
  370. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-wasm-loader.js +46 -0
  371. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-root-params-loader.js +164 -0
  372. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js +129 -0
  373. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/index.js +220 -0
  374. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoLinkTag.js +57 -0
  375. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js +217 -0
  376. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/isEqualLocals.js +27 -0
  377. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js +241 -0
  378. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Error.js +40 -0
  379. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Warning.js +35 -0
  380. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js +119 -0
  381. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/utils.js +86 -0
  382. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js +97 -0
  383. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/file-protocol.js +70 -0
  384. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/join-function.js +186 -0
  385. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/postcss.js +88 -0
  386. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/value-processor.js +97 -0
  387. package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/utils.js +100 -0
  388. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +65 -0
  389. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +179 -0
  390. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/copy-file-plugin.js +67 -0
  391. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/css-chunking-plugin.js +277 -0
  392. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.js +92 -0
  393. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +115 -0
  394. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/devtools-ignore-list-plugin.js +78 -0
  395. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.js +218 -0
  396. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +801 -0
  397. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +429 -0
  398. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/force-complete-runtime.js +42 -0
  399. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/jsconfig-paths-plugin.js +219 -0
  400. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/memory-with-gc-cache-plugin.js +114 -0
  401. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +629 -0
  402. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/mini-css-extract-plugin.js +24 -0
  403. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js +188 -0
  404. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.js +120 -0
  405. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-trace-entrypoints-plugin.js +547 -0
  406. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +433 -0
  407. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-types-plugin/shared.js +14 -0
  408. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +53 -0
  409. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/optional-peer-dependency-resolve-plugin.js +45 -0
  410. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js +146 -0
  411. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/profiling-plugin.js +282 -0
  412. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/react-loadable-plugin.js +169 -0
  413. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/rspack-flight-client-entry-plugin.js +97 -0
  414. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/rspack-profiling-plugin.js +62 -0
  415. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/slow-module-detection-plugin.js +178 -0
  416. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.js +58 -0
  417. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/telemetry-plugin.js +188 -0
  418. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/update-telemetry-loader-context-from-swc.js +28 -0
  419. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/use-cache-tracker-utils.js +43 -0
  420. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/getModuleTrace.js +89 -0
  421. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js +43 -0
  422. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parse-dynamic-code-evaluation-error.js +19 -0
  423. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseBabel.js +29 -0
  424. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseCss.js +29 -0
  425. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.js +26 -0
  426. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextFontError.js +33 -0
  427. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextInvalidImportError.js +26 -0
  428. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +180 -0
  429. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +43 -0
  430. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/simpleWebpackError.js +18 -0
  431. package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js +138 -0
  432. package/dist-dashboard/node_modules/next/dist/build/webpack/stringify-request.js +15 -0
  433. package/dist-dashboard/node_modules/next/dist/build/webpack/utils.js +109 -0
  434. package/dist-dashboard/node_modules/next/dist/build/webpack-build/impl.js +402 -0
  435. package/dist-dashboard/node_modules/next/dist/build/webpack-build/index.js +184 -0
  436. package/dist-dashboard/node_modules/next/dist/build/webpack-config-rules/resolve.js +55 -0
  437. package/dist-dashboard/node_modules/next/dist/build/webpack-config.js +2375 -0
  438. package/dist-dashboard/node_modules/next/dist/build/worker.js +44 -0
  439. package/dist-dashboard/node_modules/next/dist/build/write-build-id.js +19 -0
  440. package/dist-dashboard/node_modules/next/dist/cli/next-test.js +175 -0
  441. package/dist-dashboard/node_modules/next/dist/client/add-base-path.js +24 -0
  442. package/dist-dashboard/node_modules/next/dist/client/app-call-server.js +32 -0
  443. package/dist-dashboard/node_modules/next/dist/client/app-find-source-map-url.js +39 -0
  444. package/dist-dashboard/node_modules/next/dist/client/assign-location.js +29 -0
  445. package/dist-dashboard/node_modules/next/dist/client/components/app-router-announcer.js +78 -0
  446. package/dist-dashboard/node_modules/next/dist/client/components/app-router-headers.js +128 -0
  447. package/dist-dashboard/node_modules/next/dist/client/components/app-router-instance.js +263 -0
  448. package/dist-dashboard/node_modules/next/dist/client/components/app-router-state.js +527 -0
  449. package/dist-dashboard/node_modules/next/dist/client/components/app-router-utils.js +58 -0
  450. package/dist-dashboard/node_modules/next/dist/client/components/app-router.js +531 -0
  451. package/dist-dashboard/node_modules/next/dist/client/components/builtin/default.js +35 -0
  452. package/dist-dashboard/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
  453. package/dist-dashboard/node_modules/next/dist/client/components/builtin/global-error.js +100 -0
  454. package/dist-dashboard/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +48 -0
  455. package/dist-dashboard/node_modules/next/dist/client/components/error-boundary.js +148 -0
  456. package/dist-dashboard/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
  457. package/dist-dashboard/node_modules/next/dist/client/components/errors/root-error-boundary.js +41 -0
  458. package/dist-dashboard/node_modules/next/dist/client/components/forbidden.js +40 -0
  459. package/dist-dashboard/node_modules/next/dist/client/components/handle-isr-error.js +45 -0
  460. package/dist-dashboard/node_modules/next/dist/client/components/hooks-server-context.js +42 -0
  461. package/dist-dashboard/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
  462. package/dist-dashboard/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
  463. package/dist-dashboard/node_modules/next/dist/client/components/instant-samples.js +127 -0
  464. package/dist-dashboard/node_modules/next/dist/client/components/is-next-router-error.js +23 -0
  465. package/dist-dashboard/node_modules/next/dist/client/components/links.js +315 -0
  466. package/dist-dashboard/node_modules/next/dist/client/components/nav-failure-handler.js +61 -0
  467. package/dist-dashboard/node_modules/next/dist/client/components/navigation-devtools.js +126 -0
  468. package/dist-dashboard/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +38 -0
  469. package/dist-dashboard/node_modules/next/dist/client/components/navigation-untracked.js +68 -0
  470. package/dist-dashboard/node_modules/next/dist/client/components/navigation.js +242 -0
  471. package/dist-dashboard/node_modules/next/dist/client/components/navigation.react-server.js +71 -0
  472. package/dist-dashboard/node_modules/next/dist/client/components/navigator.js +73 -0
  473. package/dist-dashboard/node_modules/next/dist/client/components/not-found.js +38 -0
  474. package/dist-dashboard/node_modules/next/dist/client/components/offline.js +172 -0
  475. package/dist-dashboard/node_modules/next/dist/client/components/prefetch.js +83 -0
  476. package/dist-dashboard/node_modules/next/dist/client/components/readonly-url-search-params.js +41 -0
  477. package/dist-dashboard/node_modules/next/dist/client/components/redirect-boundary.js +107 -0
  478. package/dist-dashboard/node_modules/next/dist/client/components/redirect-error.js +43 -0
  479. package/dist-dashboard/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
  480. package/dist-dashboard/node_modules/next/dist/client/components/redirect.js +79 -0
  481. package/dist-dashboard/node_modules/next/dist/client/components/render-tree.js +1439 -0
  482. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +213 -0
  483. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
  484. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +174 -0
  485. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +26 -0
  486. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-segment-key.js +42 -0
  487. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +624 -0
  488. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +70 -0
  489. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
  490. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
  491. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +29 -0
  492. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +56 -0
  493. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +93 -0
  494. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +78 -0
  495. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +350 -0
  496. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +67 -0
  497. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +70 -0
  498. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/router-reducer.js +66 -0
  499. package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +66 -0
  500. package/dist-dashboard/node_modules/next/dist/client/components/router-transition.js +135 -0
  501. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/bfcache.js +120 -0
  502. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache-key.js +56 -0
  503. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache-map.js +326 -0
  504. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache.js +2671 -0
  505. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/decode-server-response.js +419 -0
  506. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/fetch.js +37 -0
  507. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/lru.js +152 -0
  508. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +415 -0
  509. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +643 -0
  510. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/scheduler.js +1809 -0
  511. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/types.js +93 -0
  512. package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/vary-path.js +340 -0
  513. package/dist-dashboard/node_modules/next/dist/client/components/sequential-router-queue.js +163 -0
  514. package/dist-dashboard/node_modules/next/dist/client/components/server-async-storage.js +43 -0
  515. package/dist-dashboard/node_modules/next/dist/client/components/static-generation-bailout.js +42 -0
  516. package/dist-dashboard/node_modules/next/dist/client/components/unauthorized.js +41 -0
  517. package/dist-dashboard/node_modules/next/dist/client/components/unrecognized-action-error.js +39 -0
  518. package/dist-dashboard/node_modules/next/dist/client/components/unresolved-thenable.js +23 -0
  519. package/dist-dashboard/node_modules/next/dist/client/components/unstable-rethrow.js +31 -0
  520. package/dist-dashboard/node_modules/next/dist/client/components/use-action-queue.js +140 -0
  521. package/dist-dashboard/node_modules/next/dist/client/components/use-offline.js +68 -0
  522. package/dist-dashboard/node_modules/next/dist/client/dev/debug-channel.js +111 -0
  523. package/dist-dashboard/node_modules/next/dist/client/flight-data-helpers.js +182 -0
  524. package/dist-dashboard/node_modules/next/dist/client/has-base-path.js +23 -0
  525. package/dist-dashboard/node_modules/next/dist/client/lib/console.js +177 -0
  526. package/dist-dashboard/node_modules/next/dist/client/lib/javascript-url.js +32 -0
  527. package/dist-dashboard/node_modules/next/dist/client/navigation-build-id.js +53 -0
  528. package/dist-dashboard/node_modules/next/dist/client/normalize-trailing-slash.js +37 -0
  529. package/dist-dashboard/node_modules/next/dist/client/remove-base-path.js +32 -0
  530. package/dist-dashboard/node_modules/next/dist/client/route-params.js +271 -0
  531. package/dist-dashboard/node_modules/next/dist/client/sequential-call-server.js +45 -0
  532. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
  533. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
  534. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
  535. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
  536. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
  537. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
  538. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
  539. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
  540. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
  541. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
  542. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
  543. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
  544. package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
  545. package/dist-dashboard/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
  546. package/dist-dashboard/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
  547. package/dist-dashboard/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
  548. package/dist-dashboard/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
  549. package/dist-dashboard/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
  550. package/dist-dashboard/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
  551. package/dist-dashboard/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
  552. package/dist-dashboard/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
  553. package/dist-dashboard/node_modules/next/dist/compiled/@vercel/detect-agent/index.js +1 -0
  554. package/dist-dashboard/node_modules/next/dist/compiled/@vercel/detect-agent/package.json +1 -0
  555. package/dist-dashboard/node_modules/next/dist/compiled/async-retry/index.js +1 -0
  556. package/dist-dashboard/node_modules/next/dist/compiled/async-retry/package.json +1 -0
  557. package/dist-dashboard/node_modules/next/dist/compiled/async-sema/index.js +1 -0
  558. package/dist-dashboard/node_modules/next/dist/compiled/async-sema/package.json +1 -0
  559. package/dist-dashboard/node_modules/next/dist/compiled/busboy/index.js +1 -0
  560. package/dist-dashboard/node_modules/next/dist/compiled/busboy/package.json +1 -0
  561. package/dist-dashboard/node_modules/next/dist/compiled/bytes/index.js +8 -0
  562. package/dist-dashboard/node_modules/next/dist/compiled/bytes/package.json +1 -0
  563. package/dist-dashboard/node_modules/next/dist/compiled/ci-info/index.js +1 -0
  564. package/dist-dashboard/node_modules/next/dist/compiled/ci-info/package.json +1 -0
  565. package/dist-dashboard/node_modules/next/dist/compiled/commander/index.js +1 -0
  566. package/dist-dashboard/node_modules/next/dist/compiled/commander/package.json +1 -0
  567. package/dist-dashboard/node_modules/next/dist/compiled/comment-json/index.js +7 -0
  568. package/dist-dashboard/node_modules/next/dist/compiled/comment-json/package.json +1 -0
  569. package/dist-dashboard/node_modules/next/dist/compiled/compression/index.js +58 -0
  570. package/dist-dashboard/node_modules/next/dist/compiled/compression/package.json +1 -0
  571. package/dist-dashboard/node_modules/next/dist/compiled/conf/index.js +3 -0
  572. package/dist-dashboard/node_modules/next/dist/compiled/conf/package.json +1 -0
  573. package/dist-dashboard/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
  574. package/dist-dashboard/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
  575. package/dist-dashboard/node_modules/next/dist/compiled/cookie/index.js +7 -0
  576. package/dist-dashboard/node_modules/next/dist/compiled/cookie/package.json +1 -0
  577. package/dist-dashboard/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
  578. package/dist-dashboard/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
  579. package/dist-dashboard/node_modules/next/dist/compiled/debug/index.js +1 -0
  580. package/dist-dashboard/node_modules/next/dist/compiled/debug/package.json +1 -0
  581. package/dist-dashboard/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
  582. package/dist-dashboard/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
  583. package/dist-dashboard/node_modules/next/dist/compiled/find-up/index.js +1 -0
  584. package/dist-dashboard/node_modules/next/dist/compiled/find-up/package.json +1 -0
  585. package/dist-dashboard/node_modules/next/dist/compiled/fresh/index.js +8 -0
  586. package/dist-dashboard/node_modules/next/dist/compiled/fresh/package.json +1 -0
  587. package/dist-dashboard/node_modules/next/dist/compiled/hash.js/sha256/256.js +1 -0
  588. package/dist-dashboard/node_modules/next/dist/compiled/hash.js/sha256/package.json +1 -0
  589. package/dist-dashboard/node_modules/next/dist/compiled/httpxy/index.js +1 -0
  590. package/dist-dashboard/node_modules/next/dist/compiled/httpxy/package.json +1 -0
  591. package/dist-dashboard/node_modules/next/dist/compiled/image-detector/detector.js +1 -0
  592. package/dist-dashboard/node_modules/next/dist/compiled/image-size/index.js +1 -0
  593. package/dist-dashboard/node_modules/next/dist/compiled/image-size/package.json +1 -0
  594. package/dist-dashboard/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
  595. package/dist-dashboard/node_modules/next/dist/compiled/ipaddr.js/package.json +1 -0
  596. package/dist-dashboard/node_modules/next/dist/compiled/is-animated/index.js +1 -0
  597. package/dist-dashboard/node_modules/next/dist/compiled/is-animated/package.json +1 -0
  598. package/dist-dashboard/node_modules/next/dist/compiled/is-docker/index.js +1 -0
  599. package/dist-dashboard/node_modules/next/dist/compiled/is-docker/package.json +1 -0
  600. package/dist-dashboard/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
  601. package/dist-dashboard/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
  602. package/dist-dashboard/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
  603. package/dist-dashboard/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
  604. package/dist-dashboard/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
  605. package/dist-dashboard/node_modules/next/dist/compiled/nanoid/package.json +1 -0
  606. package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +327 -0
  607. package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +327 -0
  608. package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +8 -0
  609. package/dist-dashboard/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
  610. package/dist-dashboard/node_modules/next/dist/compiled/p-limit/index.js +1 -0
  611. package/dist-dashboard/node_modules/next/dist/compiled/p-limit/package.json +1 -0
  612. package/dist-dashboard/node_modules/next/dist/compiled/p-queue/index.js +1 -0
  613. package/dist-dashboard/node_modules/next/dist/compiled/p-queue/package.json +1 -0
  614. package/dist-dashboard/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
  615. package/dist-dashboard/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
  616. package/dist-dashboard/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -0
  617. package/dist-dashboard/node_modules/next/dist/compiled/path-to-regexp/package.json +1 -0
  618. package/dist-dashboard/node_modules/next/dist/compiled/picomatch/index.js +1 -0
  619. package/dist-dashboard/node_modules/next/dist/compiled/picomatch/package.json +1 -0
  620. package/dist-dashboard/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
  621. package/dist-dashboard/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
  622. package/dist-dashboard/node_modules/next/dist/compiled/react-is/index.js +7 -0
  623. package/dist-dashboard/node_modules/next/dist/compiled/react-is/package.json +26 -0
  624. package/dist-dashboard/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
  625. package/dist-dashboard/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
  626. package/dist-dashboard/node_modules/next/dist/compiled/semver/index.js +1 -0
  627. package/dist-dashboard/node_modules/next/dist/compiled/semver/package.json +1 -0
  628. package/dist-dashboard/node_modules/next/dist/compiled/send/index.js +70 -0
  629. package/dist-dashboard/node_modules/next/dist/compiled/send/package.json +1 -0
  630. package/dist-dashboard/node_modules/next/dist/compiled/source-map/package.json +1 -0
  631. package/dist-dashboard/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
  632. package/dist-dashboard/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
  633. package/dist-dashboard/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
  634. package/dist-dashboard/node_modules/next/dist/compiled/string-hash/index.js +1 -0
  635. package/dist-dashboard/node_modules/next/dist/compiled/string-hash/package.json +1 -0
  636. package/dist-dashboard/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
  637. package/dist-dashboard/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
  638. package/dist-dashboard/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
  639. package/dist-dashboard/node_modules/next/dist/compiled/superstruct/package.json +1 -0
  640. package/dist-dashboard/node_modules/next/dist/compiled/tar/index.min.js +1 -0
  641. package/dist-dashboard/node_modules/next/dist/compiled/tar/package.json +1 -0
  642. package/dist-dashboard/node_modules/next/dist/compiled/text-table/index.js +1 -0
  643. package/dist-dashboard/node_modules/next/dist/compiled/text-table/package.json +1 -0
  644. package/dist-dashboard/node_modules/next/dist/compiled/watchpack/package.json +1 -0
  645. package/dist-dashboard/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
  646. package/dist-dashboard/node_modules/next/dist/compiled/write-file-atomic/index.js +1 -0
  647. package/dist-dashboard/node_modules/next/dist/compiled/write-file-atomic/package.json +1 -0
  648. package/dist-dashboard/node_modules/next/dist/compiled/ws/index.js +1 -0
  649. package/dist-dashboard/node_modules/next/dist/compiled/ws/package.json +1 -0
  650. package/dist-dashboard/node_modules/next/dist/compiled/zod/index.cjs +1 -0
  651. package/dist-dashboard/node_modules/next/dist/compiled/zod/package.json +1 -0
  652. package/dist-dashboard/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -0
  653. package/dist-dashboard/node_modules/next/dist/compiled/zod-validation-error/package.json +1 -0
  654. package/dist-dashboard/node_modules/next/dist/experimental/testmode/context.js +57 -0
  655. package/dist-dashboard/node_modules/next/dist/experimental/testmode/fetch.js +150 -0
  656. package/dist-dashboard/node_modules/next/dist/experimental/testmode/httpget.js +33 -0
  657. package/dist-dashboard/node_modules/next/dist/experimental/testmode/server-edge.js +32 -0
  658. package/dist-dashboard/node_modules/next/dist/experimental/testmode/server.js +73 -0
  659. package/dist-dashboard/node_modules/next/dist/export/helpers/create-incremental-cache.js +66 -0
  660. package/dist-dashboard/node_modules/next/dist/export/utils.js +37 -0
  661. package/dist-dashboard/node_modules/next/dist/lib/batcher.js +65 -0
  662. package/dist-dashboard/node_modules/next/dist/lib/build-custom-route.js +46 -0
  663. package/dist-dashboard/node_modules/next/dist/lib/bundler.js +168 -0
  664. package/dist-dashboard/node_modules/next/dist/lib/client-and-server-references.js +54 -0
  665. package/dist-dashboard/node_modules/next/dist/lib/coalesced-function.js +39 -0
  666. package/dist-dashboard/node_modules/next/dist/lib/compile-error.js +14 -0
  667. package/dist-dashboard/node_modules/next/dist/lib/constants.js +420 -0
  668. package/dist-dashboard/node_modules/next/dist/lib/create-client-router-filter.js +83 -0
  669. package/dist-dashboard/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
  670. package/dist-dashboard/node_modules/next/dist/lib/detect-typo.js +51 -0
  671. package/dist-dashboard/node_modules/next/dist/lib/dist-dir.js +88 -0
  672. package/dist-dashboard/node_modules/next/dist/lib/download-swc.js +175 -0
  673. package/dist-dashboard/node_modules/next/dist/lib/fallback.js +88 -0
  674. package/dist-dashboard/node_modules/next/dist/lib/file-exists.js +53 -0
  675. package/dist-dashboard/node_modules/next/dist/lib/find-config.js +102 -0
  676. package/dist-dashboard/node_modules/next/dist/lib/find-pages-dir.js +57 -0
  677. package/dist-dashboard/node_modules/next/dist/lib/find-root.js +280 -0
  678. package/dist-dashboard/node_modules/next/dist/lib/format-cli-help-output.js +84 -0
  679. package/dist-dashboard/node_modules/next/dist/lib/format-dynamic-import-path.js +43 -0
  680. package/dist-dashboard/node_modules/next/dist/lib/format-server-error.js +75 -0
  681. package/dist-dashboard/node_modules/next/dist/lib/framework/boundary-components.js +62 -0
  682. package/dist-dashboard/node_modules/next/dist/lib/framework/boundary-constants.js +36 -0
  683. package/dist-dashboard/node_modules/next/dist/lib/fs/rename.js +87 -0
  684. package/dist-dashboard/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
  685. package/dist-dashboard/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +52 -0
  686. package/dist-dashboard/node_modules/next/dist/lib/get-files-in-dir.js +33 -0
  687. package/dist-dashboard/node_modules/next/dist/lib/get-network-host.js +44 -0
  688. package/dist-dashboard/node_modules/next/dist/lib/get-package-version.js +118 -0
  689. package/dist-dashboard/node_modules/next/dist/lib/get-project-dir.js +51 -0
  690. package/dist-dashboard/node_modules/next/dist/lib/git-worktree.js +74 -0
  691. package/dist-dashboard/node_modules/next/dist/lib/has-necessary-dependencies.js +49 -0
  692. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-cache-directory.js +62 -0
  693. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-npx-command.js +29 -0
  694. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-online.js +50 -0
  695. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-pkg-manager.js +65 -0
  696. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-registry.js +41 -0
  697. package/dist-dashboard/node_modules/next/dist/lib/helpers/get-reserved-port.js +116 -0
  698. package/dist-dashboard/node_modules/next/dist/lib/helpers/git.js +104 -0
  699. package/dist-dashboard/node_modules/next/dist/lib/helpers/install.js +83 -0
  700. package/dist-dashboard/node_modules/next/dist/lib/import-next-warning.js +50 -0
  701. package/dist-dashboard/node_modules/next/dist/lib/inline-static-env.js +108 -0
  702. package/dist-dashboard/node_modules/next/dist/lib/install-dependencies.js +40 -0
  703. package/dist-dashboard/node_modules/next/dist/lib/interop-default.js +16 -0
  704. package/dist-dashboard/node_modules/next/dist/lib/is-api-route.js +15 -0
  705. package/dist-dashboard/node_modules/next/dist/lib/is-app-page-route.js +15 -0
  706. package/dist-dashboard/node_modules/next/dist/lib/is-app-route-route.js +15 -0
  707. package/dist-dashboard/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
  708. package/dist-dashboard/node_modules/next/dist/lib/is-error.js +66 -0
  709. package/dist-dashboard/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
  710. package/dist-dashboard/node_modules/next/dist/lib/is-internal-component.js +36 -0
  711. package/dist-dashboard/node_modules/next/dist/lib/is-serializable-props.js +82 -0
  712. package/dist-dashboard/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
  713. package/dist-dashboard/node_modules/next/dist/lib/load-custom-routes.js +594 -0
  714. package/dist-dashboard/node_modules/next/dist/lib/memory/gc-observer.js +53 -0
  715. package/dist-dashboard/node_modules/next/dist/lib/memory/shutdown.js +29 -0
  716. package/dist-dashboard/node_modules/next/dist/lib/memory/startup.js +47 -0
  717. package/dist-dashboard/node_modules/next/dist/lib/memory/trace.js +109 -0
  718. package/dist-dashboard/node_modules/next/dist/lib/metadata/constants.js +40 -0
  719. package/dist-dashboard/node_modules/next/dist/lib/metadata/default-metadata.js +82 -0
  720. package/dist-dashboard/node_modules/next/dist/lib/metadata/generate/icon-mark.js +22 -0
  721. package/dist-dashboard/node_modules/next/dist/lib/metadata/generate/utils.js +52 -0
  722. package/dist-dashboard/node_modules/next/dist/lib/metadata/get-metadata-route.js +162 -0
  723. package/dist-dashboard/node_modules/next/dist/lib/metadata/index.js +18 -0
  724. package/dist-dashboard/node_modules/next/dist/lib/metadata/is-metadata-route.js +221 -0
  725. package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-context.js +18 -0
  726. package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-elements.js +1498 -0
  727. package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-parallel.js +175 -0
  728. package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-resolution-primitives.js +467 -0
  729. package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata.js +174 -0
  730. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolve-metadata-parallel.js +632 -0
  731. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolve-metadata.js +485 -0
  732. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
  733. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
  734. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
  735. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
  736. package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
  737. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
  738. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/extra-types.js +9 -0
  739. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/icons.js +6 -0
  740. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/manifest-types.js +6 -0
  741. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/metadata-interface.js +18 -0
  742. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/metadata-types.js +10 -0
  743. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/opengraph-types.js +6 -0
  744. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/resolvers.js +6 -0
  745. package/dist-dashboard/node_modules/next/dist/lib/metadata/types/twitter-types.js +7 -0
  746. package/dist-dashboard/node_modules/next/dist/lib/mime-type.js +20 -0
  747. package/dist-dashboard/node_modules/next/dist/lib/mkcert.js +188 -0
  748. package/dist-dashboard/node_modules/next/dist/lib/multi-file-writer.js +75 -0
  749. package/dist-dashboard/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
  750. package/dist-dashboard/node_modules/next/dist/lib/non-nullable.js +15 -0
  751. package/dist-dashboard/node_modules/next/dist/lib/normalize-path.js +21 -0
  752. package/dist-dashboard/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
  753. package/dist-dashboard/node_modules/next/dist/lib/page-types.js +18 -0
  754. package/dist-dashboard/node_modules/next/dist/lib/patch-incorrect-lockfile.js +181 -0
  755. package/dist-dashboard/node_modules/next/dist/lib/pick.js +19 -0
  756. package/dist-dashboard/node_modules/next/dist/lib/picocolors.js +187 -0
  757. package/dist-dashboard/node_modules/next/dist/lib/pretty-bytes.js +70 -0
  758. package/dist-dashboard/node_modules/next/dist/lib/profiles-dir.js +45 -0
  759. package/dist-dashboard/node_modules/next/dist/lib/realpath.js +20 -0
  760. package/dist-dashboard/node_modules/next/dist/lib/recursive-copy.js +76 -0
  761. package/dist-dashboard/node_modules/next/dist/lib/recursive-delete.js +176 -0
  762. package/dist-dashboard/node_modules/next/dist/lib/recursive-readdir.js +124 -0
  763. package/dist-dashboard/node_modules/next/dist/lib/redirect-status.js +46 -0
  764. package/dist-dashboard/node_modules/next/dist/lib/require-instrumentation-client.js +32 -0
  765. package/dist-dashboard/node_modules/next/dist/lib/resolve-build-paths.js +178 -0
  766. package/dist-dashboard/node_modules/next/dist/lib/resolve-from.js +57 -0
  767. package/dist-dashboard/node_modules/next/dist/lib/route-pattern-normalizer.js +107 -0
  768. package/dist-dashboard/node_modules/next/dist/lib/scheduler.js +64 -0
  769. package/dist-dashboard/node_modules/next/dist/lib/semver-noop.js +18 -0
  770. package/dist-dashboard/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
  771. package/dist-dashboard/node_modules/next/dist/lib/setup-exception-listeners.js +11 -0
  772. package/dist-dashboard/node_modules/next/dist/lib/static-env.js +88 -0
  773. package/dist-dashboard/node_modules/next/dist/lib/try-to-parse-path.js +67 -0
  774. package/dist-dashboard/node_modules/next/dist/lib/turbopack-cache-seed.js +171 -0
  775. package/dist-dashboard/node_modules/next/dist/lib/turbopack-warning.js +185 -0
  776. package/dist-dashboard/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +243 -0
  777. package/dist-dashboard/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +61 -0
  778. package/dist-dashboard/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
  779. package/dist-dashboard/node_modules/next/dist/lib/typescript/loadTsConfig.js +181 -0
  780. package/dist-dashboard/node_modules/next/dist/lib/typescript/missingDependencyError.js +22 -0
  781. package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeCheck.js +141 -0
  782. package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +52 -0
  783. package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +244 -0
  784. package/dist-dashboard/node_modules/next/dist/lib/typescript/type-paths.js +51 -0
  785. package/dist-dashboard/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +77 -0
  786. package/dist-dashboard/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +395 -0
  787. package/dist-dashboard/node_modules/next/dist/lib/url.js +75 -0
  788. package/dist-dashboard/node_modules/next/dist/lib/verify-partytown-setup.js +100 -0
  789. package/dist-dashboard/node_modules/next/dist/lib/verify-root-layout.js +165 -0
  790. package/dist-dashboard/node_modules/next/dist/lib/verify-typescript-setup.js +271 -0
  791. package/dist-dashboard/node_modules/next/dist/lib/wait.js +19 -0
  792. package/dist-dashboard/node_modules/next/dist/lib/warn-missing-react-dependencies.js +33 -0
  793. package/dist-dashboard/node_modules/next/dist/lib/with-promise-cache.js +24 -0
  794. package/dist-dashboard/node_modules/next/dist/lib/worker.js +230 -0
  795. package/dist-dashboard/node_modules/next/dist/server/ReactDOMServerPages.js +16 -0
  796. package/dist-dashboard/node_modules/next/dist/server/accept-header.js +120 -0
  797. package/dist-dashboard/node_modules/next/dist/server/after/after-context.js +158 -0
  798. package/dist-dashboard/node_modules/next/dist/server/after/after.js +24 -0
  799. package/dist-dashboard/node_modules/next/dist/server/after/awaiter.js +70 -0
  800. package/dist-dashboard/node_modules/next/dist/server/after/builtin-request-context.js +38 -0
  801. package/dist-dashboard/node_modules/next/dist/server/after/index.js +21 -0
  802. package/dist-dashboard/node_modules/next/dist/server/after/run-with-after.js +35 -0
  803. package/dist-dashboard/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
  804. package/dist-dashboard/node_modules/next/dist/server/api-utils/index.js +208 -0
  805. package/dist-dashboard/node_modules/next/dist/server/api-utils/node/api-resolver.js +355 -0
  806. package/dist-dashboard/node_modules/next/dist/server/api-utils/node/parse-body.js +67 -0
  807. package/dist-dashboard/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +89 -0
  808. package/dist-dashboard/node_modules/next/dist/server/api-utils/web.js +17 -0
  809. package/dist-dashboard/node_modules/next/dist/server/app-render/action-async-storage-instance.js +14 -0
  810. package/dist-dashboard/node_modules/next/dist/server/app-render/action-async-storage.external.js +13 -0
  811. package/dist-dashboard/node_modules/next/dist/server/app-render/action-handler.js +1088 -0
  812. package/dist-dashboard/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
  813. package/dist-dashboard/node_modules/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
  814. package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +308 -0
  815. package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-render-utils.js +72 -0
  816. package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-scheduling.js +176 -0
  817. package/dist-dashboard/node_modules/next/dist/server/app-render/app-render.js +6631 -0
  818. package/dist-dashboard/node_modules/next/dist/server/app-render/async-local-storage.js +81 -0
  819. package/dist-dashboard/node_modules/next/dist/server/app-render/blocking-route-messages.js +230 -0
  820. package/dist-dashboard/node_modules/next/dist/server/app-render/cache-signal.js +207 -0
  821. package/dist-dashboard/node_modules/next/dist/server/app-render/collect-segment-data.js +1003 -0
  822. package/dist-dashboard/node_modules/next/dist/server/app-render/console-async-storage-instance.js +14 -0
  823. package/dist-dashboard/node_modules/next/dist/server/app-render/console-async-storage.external.js +13 -0
  824. package/dist-dashboard/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +39 -0
  825. package/dist-dashboard/node_modules/next/dist/server/app-render/create-component-tree.js +782 -0
  826. package/dist-dashboard/node_modules/next/dist/server/app-render/create-error-handler.js +196 -0
  827. package/dist-dashboard/node_modules/next/dist/server/app-render/create-transport-tree-from-loader-tree.js +190 -0
  828. package/dist-dashboard/node_modules/next/dist/server/app-render/csrf-protection.js +86 -0
  829. package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.js +47 -0
  830. package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.node.js +60 -0
  831. package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.web.js +56 -0
  832. package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-error-delivery.js +28 -0
  833. package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-events.js +26 -0
  834. package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-scheduler.js +86 -0
  835. package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-worker-globals.js +41 -0
  836. package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +81 -0
  837. package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
  838. package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +36 -0
  839. package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-rendering-client.js +124 -0
  840. package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-rendering.js +1132 -0
  841. package/dist-dashboard/node_modules/next/dist/server/app-render/encryption-utils-server.js +114 -0
  842. package/dist-dashboard/node_modules/next/dist/server/app-render/encryption-utils.js +89 -0
  843. package/dist-dashboard/node_modules/next/dist/server/app-render/encryption.js +248 -0
  844. package/dist-dashboard/node_modules/next/dist/server/app-render/entry-base.js +260 -0
  845. package/dist-dashboard/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
  846. package/dist-dashboard/node_modules/next/dist/server/app-render/get-asset-query-string.js +29 -0
  847. package/dist-dashboard/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +45 -0
  848. package/dist-dashboard/node_modules/next/dist/server/app-render/get-layer-assets.js +69 -0
  849. package/dist-dashboard/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
  850. package/dist-dashboard/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +32 -0
  851. package/dist-dashboard/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
  852. package/dist-dashboard/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
  853. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-test-bootstrap.js +20 -0
  854. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +31 -0
  855. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +118 -0
  856. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +38 -0
  857. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +233 -0
  858. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +383 -0
  859. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
  860. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +873 -0
  861. package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +88 -0
  862. package/dist-dashboard/node_modules/next/dist/server/app-render/interop-default.js +17 -0
  863. package/dist-dashboard/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +91 -0
  864. package/dist-dashboard/node_modules/next/dist/server/app-render/manifests-singleton.js +399 -0
  865. package/dist-dashboard/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +29 -0
  866. package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/instrument-module-getter.js +32 -0
  867. package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-dynamic-import.js +49 -0
  868. package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
  869. package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +62 -0
  870. package/dist-dashboard/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +37 -0
  871. package/dist-dashboard/node_modules/next/dist/server/app-render/postponed-state.js +266 -0
  872. package/dist-dashboard/node_modules/next/dist/server/app-render/prospective-render-utils.js +70 -0
  873. package/dist-dashboard/node_modules/next/dist/server/app-render/react-large-shell-error.js +17 -0
  874. package/dist-dashboard/node_modules/next/dist/server/app-render/react-server.node.js +39 -0
  875. package/dist-dashboard/node_modules/next/dist/server/app-render/render-css-resource.js +57 -0
  876. package/dist-dashboard/node_modules/next/dist/server/app-render/render-in-browser.js +27 -0
  877. package/dist-dashboard/node_modules/next/dist/server/app-render/required-scripts.js +72 -0
  878. package/dist-dashboard/node_modules/next/dist/server/app-render/rsc/preloads.js +74 -0
  879. package/dist-dashboard/node_modules/next/dist/server/app-render/rsc/taint.js +75 -0
  880. package/dist-dashboard/node_modules/next/dist/server/app-render/segment-config/ensure-static.js +206 -0
  881. package/dist-dashboard/node_modules/next/dist/server/app-render/segment-explorer-path.js +128 -0
  882. package/dist-dashboard/node_modules/next/dist/server/app-render/server-inserted-html.js +77 -0
  883. package/dist-dashboard/node_modules/next/dist/server/app-render/staged-rendering.js +316 -0
  884. package/dist-dashboard/node_modules/next/dist/server/app-render/stale-time.js +101 -0
  885. package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.js +155 -0
  886. package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.node.js +848 -0
  887. package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.web.js +233 -0
  888. package/dist-dashboard/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
  889. package/dist-dashboard/node_modules/next/dist/server/app-render/sync-io-messages.js +59 -0
  890. package/dist-dashboard/node_modules/next/dist/server/app-render/types.js +66 -0
  891. package/dist-dashboard/node_modules/next/dist/server/app-render/use-flight-response.js +204 -0
  892. package/dist-dashboard/node_modules/next/dist/server/app-render/vary-params.js +262 -0
  893. package/dist-dashboard/node_modules/next/dist/server/app-render/wait-for-response.js +36 -0
  894. package/dist-dashboard/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +235 -0
  895. package/dist-dashboard/node_modules/next/dist/server/app-render/work-async-storage-instance.js +14 -0
  896. package/dist-dashboard/node_modules/next/dist/server/app-render/work-async-storage.external.js +13 -0
  897. package/dist-dashboard/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
  898. package/dist-dashboard/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +260 -0
  899. package/dist-dashboard/node_modules/next/dist/server/async-storage/draft-mode-provider.js +58 -0
  900. package/dist-dashboard/node_modules/next/dist/server/async-storage/request-store.js +202 -0
  901. package/dist-dashboard/node_modules/next/dist/server/async-storage/with-store.js +6 -0
  902. package/dist-dashboard/node_modules/next/dist/server/async-storage/work-store.js +96 -0
  903. package/dist-dashboard/node_modules/next/dist/server/base-http/helpers.js +36 -0
  904. package/dist-dashboard/node_modules/next/dist/server/base-http/index.js +54 -0
  905. package/dist-dashboard/node_modules/next/dist/server/base-http/node.js +143 -0
  906. package/dist-dashboard/node_modules/next/dist/server/base-http/web.js +116 -0
  907. package/dist-dashboard/node_modules/next/dist/server/base-server.js +2147 -0
  908. package/dist-dashboard/node_modules/next/dist/server/body-streams.js +122 -0
  909. package/dist-dashboard/node_modules/next/dist/server/cache-dir.js +26 -0
  910. package/dist-dashboard/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
  911. package/dist-dashboard/node_modules/next/dist/server/ci-info.js +41 -0
  912. package/dist-dashboard/node_modules/next/dist/server/client-component-renderer-logger.js +171 -0
  913. package/dist-dashboard/node_modules/next/dist/server/config-schema.js +852 -0
  914. package/dist-dashboard/node_modules/next/dist/server/config-shared.js +417 -0
  915. package/dist-dashboard/node_modules/next/dist/server/config-utils.js +185 -0
  916. package/dist-dashboard/node_modules/next/dist/server/config.js +1658 -0
  917. package/dist-dashboard/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
  918. package/dist-dashboard/node_modules/next/dist/server/crypto-utils.js +70 -0
  919. package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/file-logger.js +186 -0
  920. package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +610 -0
  921. package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/source-map.js +222 -0
  922. package/dist-dashboard/node_modules/next/dist/server/dev/debug-channel.js +108 -0
  923. package/dist-dashboard/node_modules/next/dist/server/dev/dev-indicator-server-state.js +15 -0
  924. package/dist-dashboard/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +233 -0
  925. package/dist-dashboard/node_modules/next/dist/server/dev/dev-validation-worker.js +308 -0
  926. package/dist-dashboard/node_modules/next/dist/server/dev/get-source-map-from-file.js +80 -0
  927. package/dist-dashboard/node_modules/next/dist/server/dev/hot-middleware.js +302 -0
  928. package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
  929. package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
  930. package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1894 -0
  931. package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-types.js +63 -0
  932. package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1386 -0
  933. package/dist-dashboard/node_modules/next/dist/server/dev/log-requests.js +152 -0
  934. package/dist-dashboard/node_modules/next/dist/server/dev/messages.js +66 -0
  935. package/dist-dashboard/node_modules/next/dist/server/dev/middleware-turbopack.js +406 -0
  936. package/dist-dashboard/node_modules/next/dist/server/dev/middleware-webpack.js +487 -0
  937. package/dist-dashboard/node_modules/next/dist/server/dev/node-stack-frames.js +64 -0
  938. package/dist-dashboard/node_modules/next/dist/server/dev/on-demand-entry-handler.js +773 -0
  939. package/dist-dashboard/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
  940. package/dist-dashboard/node_modules/next/dist/server/dev/require-cache.js +109 -0
  941. package/dist-dashboard/node_modules/next/dist/server/dev/runtime-error-state.js +220 -0
  942. package/dist-dashboard/node_modules/next/dist/server/dev/serialized-errors.js +63 -0
  943. package/dist-dashboard/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
  944. package/dist-dashboard/node_modules/next/dist/server/dev/static-paths-worker.js +107 -0
  945. package/dist-dashboard/node_modules/next/dist/server/dev/turbopack-utils.js +711 -0
  946. package/dist-dashboard/node_modules/next/dist/server/dev/use-cache-probe-pool.js +178 -0
  947. package/dist-dashboard/node_modules/next/dist/server/dev/use-cache-probe-worker.js +181 -0
  948. package/dist-dashboard/node_modules/next/dist/server/dynamic-rendering-utils.js +528 -0
  949. package/dist-dashboard/node_modules/next/dist/server/font-utils.js +43 -0
  950. package/dist-dashboard/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
  951. package/dist-dashboard/node_modules/next/dist/server/get-page-files.js +40 -0
  952. package/dist-dashboard/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
  953. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/detect-content-type.js +229 -0
  954. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/extract-etag.js +53 -0
  955. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-image-size.js +25 -0
  956. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-max-age.js +41 -0
  957. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-previously-cached-image-or-null.js +22 -0
  958. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/image-error.js +23 -0
  959. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/image-type.js +86 -0
  960. package/dist-dashboard/node_modules/next/dist/server/image-optimizer/transform.js +227 -0
  961. package/dist-dashboard/node_modules/next/dist/server/image-optimizer.js +878 -0
  962. package/dist-dashboard/node_modules/next/dist/server/instrumentation/types.js +6 -0
  963. package/dist-dashboard/node_modules/next/dist/server/instrumentation/utils.js +21 -0
  964. package/dist-dashboard/node_modules/next/dist/server/internal-utils.js +39 -0
  965. package/dist-dashboard/node_modules/next/dist/server/is-private-ip.js +36 -0
  966. package/dist-dashboard/node_modules/next/dist/server/lib/app-dir-module.js +59 -0
  967. package/dist-dashboard/node_modules/next/dist/server/lib/app-info-log.js +145 -0
  968. package/dist-dashboard/node_modules/next/dist/server/lib/async-callback-set.js +29 -0
  969. package/dist-dashboard/node_modules/next/dist/server/lib/cache-control.js +22 -0
  970. package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/default.external.js +18 -0
  971. package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/default.js +192 -0
  972. package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/types.js +8 -0
  973. package/dist-dashboard/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +112 -0
  974. package/dist-dashboard/node_modules/next/dist/server/lib/clone-response.js +77 -0
  975. package/dist-dashboard/node_modules/next/dist/server/lib/cpu-profile.js +56 -0
  976. package/dist-dashboard/node_modules/next/dist/server/lib/decode-query-path-parameter.js +26 -0
  977. package/dist-dashboard/node_modules/next/dist/server/lib/dedupe-fetch.js +159 -0
  978. package/dist-dashboard/node_modules/next/dist/server/lib/dev-bundler-service.js +110 -0
  979. package/dist-dashboard/node_modules/next/dist/server/lib/disk-lru-cache.external.js +63 -0
  980. package/dist-dashboard/node_modules/next/dist/server/lib/encode-header-safe.js +44 -0
  981. package/dist-dashboard/node_modules/next/dist/server/lib/etag.js +56 -0
  982. package/dist-dashboard/node_modules/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
  983. package/dist-dashboard/node_modules/next/dist/server/lib/find-page-file.js +147 -0
  984. package/dist-dashboard/node_modules/next/dist/server/lib/fix-mojibake.js +25 -0
  985. package/dist-dashboard/node_modules/next/dist/server/lib/format-hostname.js +16 -0
  986. package/dist-dashboard/node_modules/next/dist/server/lib/generate-agent-files.js +303 -0
  987. package/dist-dashboard/node_modules/next/dist/server/lib/i18n-provider.js +125 -0
  988. package/dist-dashboard/node_modules/next/dist/server/lib/implicit-tags.js +87 -0
  989. package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +500 -0
  990. package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/index.js +556 -0
  991. package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +55 -0
  992. package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +81 -0
  993. package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
  994. package/dist-dashboard/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
  995. package/dist-dashboard/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
  996. package/dist-dashboard/node_modules/next/dist/server/lib/is-non-html-sec-fetch-dest.js +38 -0
  997. package/dist-dashboard/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
  998. package/dist-dashboard/node_modules/next/dist/server/lib/lazy-module.js +76 -0
  999. package/dist-dashboard/node_modules/next/dist/server/lib/lazy-result.js +46 -0
  1000. package/dist-dashboard/node_modules/next/dist/server/lib/lru-cache.js +187 -0
  1001. package/dist-dashboard/node_modules/next/dist/server/lib/match-next-data-pathname.js +20 -0
  1002. package/dist-dashboard/node_modules/next/dist/server/lib/mock-request.js +345 -0
  1003. package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/module-loader.js +8 -0
  1004. package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +21 -0
  1005. package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/route-module-loader.js +22 -0
  1006. package/dist-dashboard/node_modules/next/dist/server/lib/node-fs-methods.js +42 -0
  1007. package/dist-dashboard/node_modules/next/dist/server/lib/params-utils.js +52 -0
  1008. package/dist-dashboard/node_modules/next/dist/server/lib/parse-stack.js +46 -0
  1009. package/dist-dashboard/node_modules/next/dist/server/lib/patch-fetch.js +1033 -0
  1010. package/dist-dashboard/node_modules/next/dist/server/lib/patch-set-header.js +45 -0
  1011. package/dist-dashboard/node_modules/next/dist/server/lib/postponed-request-body.js +60 -0
  1012. package/dist-dashboard/node_modules/next/dist/server/lib/release-compression-stream.js +24 -0
  1013. package/dist-dashboard/node_modules/next/dist/server/lib/render-server.js +149 -0
  1014. package/dist-dashboard/node_modules/next/dist/server/lib/route-cache-key.js +77 -0
  1015. package/dist-dashboard/node_modules/next/dist/server/lib/router-server.js +826 -0
  1016. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +108 -0
  1017. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/build-data-route.js +71 -0
  1018. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
  1019. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +181 -0
  1020. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +38 -0
  1021. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/filesystem.js +793 -0
  1022. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +149 -0
  1023. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +110 -0
  1024. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/normalize-catchall-routes.js +320 -0
  1025. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/proxy-request.js +128 -0
  1026. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +652 -0
  1027. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/root-params-type-utils.js +61 -0
  1028. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +326 -0
  1029. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/router-server-context.js +26 -0
  1030. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/strict-route-matching-config.js +28 -0
  1031. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/typegen.js +938 -0
  1032. package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/types.js +6 -0
  1033. package/dist-dashboard/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
  1034. package/dist-dashboard/node_modules/next/dist/server/lib/server-ipc/utils.js +83 -0
  1035. package/dist-dashboard/node_modules/next/dist/server/lib/source-maps.js +241 -0
  1036. package/dist-dashboard/node_modules/next/dist/server/lib/start-server.js +550 -0
  1037. package/dist-dashboard/node_modules/next/dist/server/lib/streaming-metadata.js +27 -0
  1038. package/dist-dashboard/node_modules/next/dist/server/lib/to-route.js +37 -0
  1039. package/dist-dashboard/node_modules/next/dist/server/lib/trace/constants.js +248 -0
  1040. package/dist-dashboard/node_modules/next/dist/server/lib/trace/local-span-recorder.js +385 -0
  1041. package/dist-dashboard/node_modules/next/dist/server/lib/trace/request-insights-identity.js +37 -0
  1042. package/dist-dashboard/node_modules/next/dist/server/lib/trace/request-insights.js +308 -0
  1043. package/dist-dashboard/node_modules/next/dist/server/lib/trace/span-store.js +69 -0
  1044. package/dist-dashboard/node_modules/next/dist/server/lib/trace/tracer.js +392 -0
  1045. package/dist-dashboard/node_modules/next/dist/server/lib/trace/utils.js +16 -0
  1046. package/dist-dashboard/node_modules/next/dist/server/lib/types.js +6 -0
  1047. package/dist-dashboard/node_modules/next/dist/server/lib/utils.js +343 -0
  1048. package/dist-dashboard/node_modules/next/dist/server/lib/worker-utils.js +32 -0
  1049. package/dist-dashboard/node_modules/next/dist/server/load-components.js +190 -0
  1050. package/dist-dashboard/node_modules/next/dist/server/load-default-error-components.js +41 -0
  1051. package/dist-dashboard/node_modules/next/dist/server/load-manifest.external.js +116 -0
  1052. package/dist-dashboard/node_modules/next/dist/server/match-bundle.js +25 -0
  1053. package/dist-dashboard/node_modules/next/dist/server/mcp/get-mcp-middleware.js +51 -0
  1054. package/dist-dashboard/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +51 -0
  1055. package/dist-dashboard/node_modules/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
  1056. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/compile-route.js +86 -0
  1057. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-compilation-issues.js +68 -0
  1058. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-errors.js +114 -0
  1059. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-logs.js +67 -0
  1060. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +188 -0
  1061. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +59 -0
  1062. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-request-insights.js +57 -0
  1063. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-routes.js +136 -0
  1064. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +121 -0
  1065. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
  1066. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +82 -0
  1067. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/format-compilation-issues.js +72 -0
  1068. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +137 -0
  1069. package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/resolve-path-to-route.js +49 -0
  1070. package/dist-dashboard/node_modules/next/dist/server/next-server.js +1453 -0
  1071. package/dist-dashboard/node_modules/next/dist/server/next-typescript.js +13 -0
  1072. package/dist-dashboard/node_modules/next/dist/server/next.js +473 -0
  1073. package/dist-dashboard/node_modules/next/dist/server/node-environment-baseline.js +25 -0
  1074. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +300 -0
  1075. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-exit.js +49 -0
  1076. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-file.js +56 -0
  1077. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/date.js +52 -0
  1078. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
  1079. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +630 -0
  1080. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +29 -0
  1081. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/io-utils.js +103 -0
  1082. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
  1083. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +161 -0
  1084. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/random.js +28 -0
  1085. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +507 -0
  1086. package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
  1087. package/dist-dashboard/node_modules/next/dist/server/node-environment.js +19 -0
  1088. package/dist-dashboard/node_modules/next/dist/server/node-polyfill-crypto.js +21 -0
  1089. package/dist-dashboard/node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
  1090. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
  1091. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
  1092. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
  1093. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
  1094. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/index.js +42 -0
  1095. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/index.js +44 -0
  1096. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
  1097. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
  1098. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
  1099. package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
  1100. package/dist-dashboard/node_modules/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
  1101. package/dist-dashboard/node_modules/next/dist/server/normalizers/normalizer.js +6 -0
  1102. package/dist-dashboard/node_modules/next/dist/server/normalizers/normalizers.js +23 -0
  1103. package/dist-dashboard/node_modules/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
  1104. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/base-path.js +21 -0
  1105. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/next-data.js +34 -0
  1106. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
  1107. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/prefix.js +35 -0
  1108. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/rsc.js +19 -0
  1109. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +33 -0
  1110. package/dist-dashboard/node_modules/next/dist/server/normalizers/request/suffix.js +27 -0
  1111. package/dist-dashboard/node_modules/next/dist/server/normalizers/underscore-normalizer.js +17 -0
  1112. package/dist-dashboard/node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
  1113. package/dist-dashboard/node_modules/next/dist/server/og/cache-image-response.js +336 -0
  1114. package/dist-dashboard/node_modules/next/dist/server/og/image-response.js +72 -0
  1115. package/dist-dashboard/node_modules/next/dist/server/patch-error-inspect.js +515 -0
  1116. package/dist-dashboard/node_modules/next/dist/server/pipe-readable.js +224 -0
  1117. package/dist-dashboard/node_modules/next/dist/server/post-process.js +39 -0
  1118. package/dist-dashboard/node_modules/next/dist/server/render-result.js +234 -0
  1119. package/dist-dashboard/node_modules/next/dist/server/render.js +1004 -0
  1120. package/dist-dashboard/node_modules/next/dist/server/request/cache-stages.js +250 -0
  1121. package/dist-dashboard/node_modules/next/dist/server/request/connection.js +104 -0
  1122. package/dist-dashboard/node_modules/next/dist/server/request/cookies.js +204 -0
  1123. package/dist-dashboard/node_modules/next/dist/server/request/draft-mode.js +192 -0
  1124. package/dist-dashboard/node_modules/next/dist/server/request/fallback-params.js +109 -0
  1125. package/dist-dashboard/node_modules/next/dist/server/request/headers.js +201 -0
  1126. package/dist-dashboard/node_modules/next/dist/server/request/io.js +87 -0
  1127. package/dist-dashboard/node_modules/next/dist/server/request/params.js +500 -0
  1128. package/dist-dashboard/node_modules/next/dist/server/request/pathname.js +89 -0
  1129. package/dist-dashboard/node_modules/next/dist/server/request/root-params.js +146 -0
  1130. package/dist-dashboard/node_modules/next/dist/server/request/search-params.js +505 -0
  1131. package/dist-dashboard/node_modules/next/dist/server/request/utils.js +77 -0
  1132. package/dist-dashboard/node_modules/next/dist/server/request-meta.js +55 -0
  1133. package/dist-dashboard/node_modules/next/dist/server/require-hook.js +82 -0
  1134. package/dist-dashboard/node_modules/next/dist/server/require.js +109 -0
  1135. package/dist-dashboard/node_modules/next/dist/server/response-cache/index.js +361 -0
  1136. package/dist-dashboard/node_modules/next/dist/server/response-cache/types.js +41 -0
  1137. package/dist-dashboard/node_modules/next/dist/server/response-cache/utils.js +100 -0
  1138. package/dist-dashboard/node_modules/next/dist/server/response-cache/web.js +104 -0
  1139. package/dist-dashboard/node_modules/next/dist/server/resume-data-cache/cache-store.js +119 -0
  1140. package/dist-dashboard/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +144 -0
  1141. package/dist-dashboard/node_modules/next/dist/server/revalidation-utils.js +158 -0
  1142. package/dist-dashboard/node_modules/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
  1143. package/dist-dashboard/node_modules/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
  1144. package/dist-dashboard/node_modules/next/dist/server/route-definitions/locale-route-definition.js +6 -0
  1145. package/dist-dashboard/node_modules/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
  1146. package/dist-dashboard/node_modules/next/dist/server/route-definitions/pages-route-definition.js +6 -0
  1147. package/dist-dashboard/node_modules/next/dist/server/route-definitions/route-definition.js +6 -0
  1148. package/dist-dashboard/node_modules/next/dist/server/route-kind.js +32 -0
  1149. package/dist-dashboard/node_modules/next/dist/server/route-matches/app-page-route-match.js +6 -0
  1150. package/dist-dashboard/node_modules/next/dist/server/route-matches/app-route-route-match.js +6 -0
  1151. package/dist-dashboard/node_modules/next/dist/server/route-matches/locale-route-match.js +6 -0
  1152. package/dist-dashboard/node_modules/next/dist/server/route-matches/pages-api-route-match.js +16 -0
  1153. package/dist-dashboard/node_modules/next/dist/server/route-matches/pages-route-match.js +6 -0
  1154. package/dist-dashboard/node_modules/next/dist/server/route-matches/route-match.js +6 -0
  1155. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/dev-render-context.js +23 -0
  1156. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +52 -0
  1157. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
  1158. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.js +188 -0
  1159. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.render.js +39 -0
  1160. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +62 -0
  1161. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +58 -0
  1162. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
  1163. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
  1164. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
  1165. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
  1166. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
  1167. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
  1168. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
  1169. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +136 -0
  1170. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
  1171. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
  1172. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
  1173. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
  1174. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
  1175. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
  1176. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
  1177. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
  1178. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
  1179. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +121 -0
  1180. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
  1181. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
  1182. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
  1183. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
  1184. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
  1185. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
  1186. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
  1187. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
  1188. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +81 -0
  1189. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
  1190. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
  1191. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
  1192. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
  1193. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
  1194. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/module.js +915 -0
  1195. package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
  1196. package/dist-dashboard/node_modules/next/dist/server/route-modules/checks.js +45 -0
  1197. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
  1198. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.compiled.js +20 -0
  1199. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.js +92 -0
  1200. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.render.js +20 -0
  1201. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/pages-handler.js +576 -0
  1202. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
  1203. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
  1204. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
  1205. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
  1206. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
  1207. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
  1208. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
  1209. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
  1210. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
  1211. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
  1212. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
  1213. package/dist-dashboard/node_modules/next/dist/server/route-modules/pages-api/module.js +54 -0
  1214. package/dist-dashboard/node_modules/next/dist/server/route-modules/route-module.js +700 -0
  1215. package/dist-dashboard/node_modules/next/dist/server/runtime-reacts.external.js +46 -0
  1216. package/dist-dashboard/node_modules/next/dist/server/send-payload.js +88 -0
  1217. package/dist-dashboard/node_modules/next/dist/server/send-response.js +70 -0
  1218. package/dist-dashboard/node_modules/next/dist/server/serve-static.js +62 -0
  1219. package/dist-dashboard/node_modules/next/dist/server/server-route-utils.js +30 -0
  1220. package/dist-dashboard/node_modules/next/dist/server/server-utils.js +340 -0
  1221. package/dist-dashboard/node_modules/next/dist/server/setup-http-agent-env.js +27 -0
  1222. package/dist-dashboard/node_modules/next/dist/server/stream-utils/encoded-tags.js +122 -0
  1223. package/dist-dashboard/node_modules/next/dist/server/stream-utils/node-buffered-transform-stream.js +51 -0
  1224. package/dist-dashboard/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +935 -0
  1225. package/dist-dashboard/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +74 -0
  1226. package/dist-dashboard/node_modules/next/dist/server/typescript/constant.js +100 -0
  1227. package/dist-dashboard/node_modules/next/dist/server/typescript/index.js +199 -0
  1228. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/client-boundary.js +100 -0
  1229. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/config.js +561 -0
  1230. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
  1231. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/error.js +38 -0
  1232. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/metadata.js +234 -0
  1233. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/server-boundary.js +115 -0
  1234. package/dist-dashboard/node_modules/next/dist/server/typescript/rules/server.js +79 -0
  1235. package/dist-dashboard/node_modules/next/dist/server/typescript/utils.js +212 -0
  1236. package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-life-profile.js +60 -0
  1237. package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-life.js +79 -0
  1238. package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-tag.js +46 -0
  1239. package/dist-dashboard/node_modules/next/dist/server/use-cache/clone-cache-entry.js +28 -0
  1240. package/dist-dashboard/node_modules/next/dist/server/use-cache/constants.js +40 -0
  1241. package/dist-dashboard/node_modules/next/dist/server/use-cache/handlers.js +265 -0
  1242. package/dist-dashboard/node_modules/next/dist/server/use-cache/tiered-cache-handler.js +147 -0
  1243. package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-errors.js +58 -0
  1244. package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-messages.js +190 -0
  1245. package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-probe-globals.js +39 -0
  1246. package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-probe-scheduler.js +117 -0
  1247. package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +2689 -0
  1248. package/dist-dashboard/node_modules/next/dist/server/utils.js +73 -0
  1249. package/dist-dashboard/node_modules/next/dist/server/web/adapter.js +407 -0
  1250. package/dist-dashboard/node_modules/next/dist/server/web/edge-route-module-wrapper.js +135 -0
  1251. package/dist-dashboard/node_modules/next/dist/server/web/error.js +54 -0
  1252. package/dist-dashboard/node_modules/next/dist/server/web/exports/index.js +56 -0
  1253. package/dist-dashboard/node_modules/next/dist/server/web/get-edge-preview-props.js +23 -0
  1254. package/dist-dashboard/node_modules/next/dist/server/web/globals.js +116 -0
  1255. package/dist-dashboard/node_modules/next/dist/server/web/http.js +39 -0
  1256. package/dist-dashboard/node_modules/next/dist/server/web/internal-edge-wait-until.js +64 -0
  1257. package/dist-dashboard/node_modules/next/dist/server/web/next-url.js +195 -0
  1258. package/dist-dashboard/node_modules/next/dist/server/web/sandbox/context.js +444 -0
  1259. package/dist-dashboard/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
  1260. package/dist-dashboard/node_modules/next/dist/server/web/sandbox/index.js +28 -0
  1261. package/dist-dashboard/node_modules/next/dist/server/web/sandbox/resource-managers.js +123 -0
  1262. package/dist-dashboard/node_modules/next/dist/server/web/sandbox/sandbox.js +133 -0
  1263. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +288 -0
  1264. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +138 -0
  1265. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
  1266. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +221 -0
  1267. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
  1268. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/fetch-event.js +90 -0
  1269. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/image-response.js +18 -0
  1270. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/request.js +99 -0
  1271. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/response.js +128 -0
  1272. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/revalidate.js +188 -0
  1273. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +299 -0
  1274. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +50 -0
  1275. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/url-pattern.js +13 -0
  1276. package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/user-agent.js +46 -0
  1277. package/dist-dashboard/node_modules/next/dist/server/web/types.js +6 -0
  1278. package/dist-dashboard/node_modules/next/dist/server/web/utils.js +147 -0
  1279. package/dist-dashboard/node_modules/next/dist/server/web/web-on-close.js +79 -0
  1280. package/dist-dashboard/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
  1281. package/dist-dashboard/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
  1282. package/dist-dashboard/node_modules/next/dist/shared/lib/app-router-types.js +169 -0
  1283. package/dist-dashboard/node_modules/next/dist/shared/lib/constants.js +458 -0
  1284. package/dist-dashboard/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
  1285. package/dist-dashboard/node_modules/next/dist/shared/lib/deployment-id.js +63 -0
  1286. package/dist-dashboard/node_modules/next/dist/shared/lib/dset.js +34 -0
  1287. package/dist-dashboard/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
  1288. package/dist-dashboard/node_modules/next/dist/shared/lib/entry-constants.js +36 -0
  1289. package/dist-dashboard/node_modules/next/dist/shared/lib/error-source.js +36 -0
  1290. package/dist-dashboard/node_modules/next/dist/shared/lib/errors/code-frame.js +21 -0
  1291. package/dist-dashboard/node_modules/next/dist/shared/lib/errors/constants.js +19 -0
  1292. package/dist-dashboard/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +27 -0
  1293. package/dist-dashboard/node_modules/next/dist/shared/lib/errors/ensure-static-gsp-errors.js +30 -0
  1294. package/dist-dashboard/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
  1295. package/dist-dashboard/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
  1296. package/dist-dashboard/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
  1297. package/dist-dashboard/node_modules/next/dist/shared/lib/hash.js +42 -0
  1298. package/dist-dashboard/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
  1299. package/dist-dashboard/node_modules/next/dist/shared/lib/head.js +164 -0
  1300. package/dist-dashboard/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
  1301. package/dist-dashboard/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +36 -0
  1302. package/dist-dashboard/node_modules/next/dist/shared/lib/htmlescape.js +52 -0
  1303. package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
  1304. package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
  1305. package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
  1306. package/dist-dashboard/node_modules/next/dist/shared/lib/image-blur-svg.js +22 -0
  1307. package/dist-dashboard/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
  1308. package/dist-dashboard/node_modules/next/dist/shared/lib/image-config.js +128 -0
  1309. package/dist-dashboard/node_modules/next/dist/shared/lib/instant-messages.js +35 -0
  1310. package/dist-dashboard/node_modules/next/dist/shared/lib/invariant-error.js +18 -0
  1311. package/dist-dashboard/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
  1312. package/dist-dashboard/node_modules/next/dist/shared/lib/is-thenable.js +20 -0
  1313. package/dist-dashboard/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
  1314. package/dist-dashboard/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
  1315. package/dist-dashboard/node_modules/next/dist/shared/lib/lazy-dynamic/react-browser-bailout.js +45 -0
  1316. package/dist-dashboard/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
  1317. package/dist-dashboard/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
  1318. package/dist-dashboard/node_modules/next/dist/shared/lib/magic-identifier.js +198 -0
  1319. package/dist-dashboard/node_modules/next/dist/shared/lib/match-local-pattern.js +46 -0
  1320. package/dist-dashboard/node_modules/next/dist/shared/lib/match-remote-pattern.js +59 -0
  1321. package/dist-dashboard/node_modules/next/dist/shared/lib/modern-browserslist-target.js +15 -0
  1322. package/dist-dashboard/node_modules/next/dist/shared/lib/no-fallback-error.external.js +18 -0
  1323. package/dist-dashboard/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
  1324. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
  1325. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
  1326. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
  1327. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
  1328. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
  1329. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
  1330. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
  1331. package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
  1332. package/dist-dashboard/node_modules/next/dist/shared/lib/promise-with-resolvers.js +26 -0
  1333. package/dist-dashboard/node_modules/next/dist/shared/lib/request-insights.js +30 -0
  1334. package/dist-dashboard/node_modules/next/dist/shared/lib/router/adapters.js +139 -0
  1335. package/dist-dashboard/node_modules/next/dist/shared/lib/router/routes/app.js +146 -0
  1336. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
  1337. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
  1338. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
  1339. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/app-paths.js +84 -0
  1340. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
  1341. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +70 -0
  1342. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
  1343. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
  1344. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
  1345. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +166 -0
  1346. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
  1347. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
  1348. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
  1349. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/html-bots.js +17 -0
  1350. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/index.js +30 -0
  1351. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
  1352. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +151 -0
  1353. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/is-bot.js +57 -0
  1354. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  1355. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
  1356. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +30 -0
  1357. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
  1358. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +39 -0
  1359. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-url.js +38 -0
  1360. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
  1361. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
  1362. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +289 -0
  1363. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/querystring.js +110 -0
  1364. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
  1365. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
  1366. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +22 -0
  1367. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +112 -0
  1368. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
  1369. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +41 -0
  1370. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-regex.js +256 -0
  1371. package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +200 -0
  1372. package/dist-dashboard/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
  1373. package/dist-dashboard/node_modules/next/dist/shared/lib/rsc-transport.js +108 -0
  1374. package/dist-dashboard/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +86 -0
  1375. package/dist-dashboard/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +87 -0
  1376. package/dist-dashboard/node_modules/next/dist/shared/lib/segment.js +90 -0
  1377. package/dist-dashboard/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
  1378. package/dist-dashboard/node_modules/next/dist/shared/lib/server-reference-info.js +68 -0
  1379. package/dist-dashboard/node_modules/next/dist/shared/lib/side-effect.js +63 -0
  1380. package/dist-dashboard/node_modules/next/dist/shared/lib/size-limit.js +40 -0
  1381. package/dist-dashboard/node_modules/next/dist/shared/lib/turbopack/internal-error.js +48 -0
  1382. package/dist-dashboard/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
  1383. package/dist-dashboard/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
  1384. package/dist-dashboard/node_modules/next/dist/shared/lib/utils.js +207 -0
  1385. package/dist-dashboard/node_modules/next/dist/shared/lib/zod.js +97 -0
  1386. package/dist-dashboard/node_modules/next/dist/telemetry/agent-name.js +20 -0
  1387. package/dist-dashboard/node_modules/next/dist/telemetry/anonymous-meta.js +91 -0
  1388. package/dist-dashboard/node_modules/next/dist/telemetry/detached-flush.js +49 -0
  1389. package/dist-dashboard/node_modules/next/dist/telemetry/events/build.js +186 -0
  1390. package/dist-dashboard/node_modules/next/dist/telemetry/events/index.js +41 -0
  1391. package/dist-dashboard/node_modules/next/dist/telemetry/events/plugins.js +51 -0
  1392. package/dist-dashboard/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
  1393. package/dist-dashboard/node_modules/next/dist/telemetry/events/version.js +68 -0
  1394. package/dist-dashboard/node_modules/next/dist/telemetry/flush-telemetry.js +19 -0
  1395. package/dist-dashboard/node_modules/next/dist/telemetry/post-telemetry-payload.js +44 -0
  1396. package/dist-dashboard/node_modules/next/dist/telemetry/project-id.js +48 -0
  1397. package/dist-dashboard/node_modules/next/dist/telemetry/storage.js +317 -0
  1398. package/dist-dashboard/node_modules/next/dist/trace/index.js +58 -0
  1399. package/dist-dashboard/node_modules/next/dist/trace/report/index.js +40 -0
  1400. package/dist-dashboard/node_modules/next/dist/trace/report/to-json-build.js +42 -0
  1401. package/dist-dashboard/node_modules/next/dist/trace/report/to-json.js +215 -0
  1402. package/dist-dashboard/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
  1403. package/dist-dashboard/node_modules/next/dist/trace/shared.js +39 -0
  1404. package/dist-dashboard/node_modules/next/dist/trace/trace.js +216 -0
  1405. package/dist-dashboard/node_modules/next/license.md +21 -0
  1406. package/dist-dashboard/node_modules/next/package.json +140 -0
  1407. package/dist-dashboard/node_modules/react/LICENSE +21 -0
  1408. package/dist-dashboard/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  1409. package/dist-dashboard/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  1410. package/dist-dashboard/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  1411. package/dist-dashboard/node_modules/react/cjs/react.development.js +1284 -0
  1412. package/dist-dashboard/node_modules/react/cjs/react.production.js +542 -0
  1413. package/dist-dashboard/node_modules/react/compiler-runtime.js +14 -0
  1414. package/dist-dashboard/node_modules/react/index.js +7 -0
  1415. package/dist-dashboard/node_modules/react/jsx-dev-runtime.js +7 -0
  1416. package/dist-dashboard/node_modules/react/jsx-runtime.js +7 -0
  1417. package/dist-dashboard/node_modules/react/package.json +51 -0
  1418. package/dist-dashboard/node_modules/react-dom/LICENSE +21 -0
  1419. package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
  1420. package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
  1421. package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7414 -0
  1422. package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7518 -0
  1423. package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.node.production.js +7715 -0
  1424. package/dist-dashboard/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  1425. package/dist-dashboard/node_modules/react-dom/index.js +38 -0
  1426. package/dist-dashboard/node_modules/react-dom/package.json +117 -0
  1427. package/dist-dashboard/node_modules/react-dom/server.browser.js +16 -0
  1428. package/dist-dashboard/node_modules/react-dom/server.edge.js +17 -0
  1429. package/dist-dashboard/node_modules/react-dom/server.node.js +18 -0
  1430. package/dist-dashboard/node_modules/react-dom/static.node.js +14 -0
  1431. package/dist-dashboard/node_modules/styled-jsx/dist/index/index.js +499 -0
  1432. package/dist-dashboard/node_modules/styled-jsx/index.js +1 -0
  1433. package/dist-dashboard/node_modules/styled-jsx/license.md +21 -0
  1434. package/dist-dashboard/node_modules/styled-jsx/package.json +132 -0
  1435. package/dist-dashboard/node_modules/styled-jsx/style.js +1 -0
  1436. package/dist-dashboard/package.json +22 -0
  1437. package/dist-dashboard/public/icons/back-button-96.png +0 -0
  1438. package/dist-dashboard/public/icons/codex.png +0 -0
  1439. package/dist-dashboard/server.js +38 -0
  1440. package/integrations/claude-code/.claude-plugin/plugin.json +5 -0
  1441. package/integrations/claude-code/hook.mjs +5 -0
  1442. package/integrations/codex/hook.mjs +12 -0
  1443. package/package.json +61 -6
  1444. package/skills/wisdom-ledger/SKILL.md +88 -0
@@ -0,0 +1,1636 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "createAppPageEntrypoint", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return createAppPageEntrypoint;
9
+ }
10
+ });
11
+ const _modulecompiled = require("../../server/route-modules/app-page/module.compiled");
12
+ const _devrendercontext = require("../../server/route-modules/app-page/dev-render-context");
13
+ const _routekind = require("../../server/route-kind");
14
+ const _utils = require("../../server/instrumentation/utils");
15
+ const _tracer = require("../../server/lib/trace/tracer");
16
+ const _requestmeta = require("../../server/request-meta");
17
+ const _constants = require("../../server/lib/trace/constants");
18
+ const _stripflightheaders = require("../../server/app-render/strip-flight-headers");
19
+ const _parserequestheaders = require("../../server/route-modules/app-page/parse-request-headers");
20
+ const _node = require("../../server/base-http/node");
21
+ const _isrscrequest = require("../../server/lib/is-rsc-request");
22
+ const _isnonhtmlsecfetchdest = require("../../server/lib/is-non-html-sec-fetch-dest");
23
+ const _entryconstants = require("../../shared/lib/entry-constants");
24
+ const _fallbackparams = require("../../server/request/fallback-params");
25
+ const _manifestssingleton = require("../../server/app-render/manifests-singleton");
26
+ const _streamingmetadata = require("../../server/lib/streaming-metadata");
27
+ const _apppaths = require("../../shared/lib/router/utils/app-paths");
28
+ const _app = require("../../shared/lib/router/routes/app");
29
+ const _serveractionrequestmeta = require("../../server/lib/server-action-request-meta");
30
+ const _approuterheaders = require("../../client/components/app-router-headers");
31
+ const _isbot = require("../../shared/lib/router/utils/is-bot");
32
+ const _responsecache = require("../../server/response-cache");
33
+ const _fallback = require("../../lib/fallback");
34
+ const _renderresult = /*#__PURE__*/ _interop_require_default(require("../../server/render-result"));
35
+ const _constants1 = require("../../lib/constants");
36
+ const _encodedtags = require("../../server/stream-utils/encoded-tags");
37
+ const _sendpayload = require("../../server/send-payload");
38
+ const _nofallbackerrorexternal = require("../../shared/lib/no-fallback-error.external");
39
+ const _routecachekey = require("../../server/lib/route-cache-key");
40
+ const _sizelimit = require("../../shared/lib/size-limit");
41
+ const _postponedrequestbody = require("../../server/lib/postponed-request-body");
42
+ const _url = require("../../lib/url");
43
+ const _entrybase = /*#__PURE__*/ _interop_require_wildcard(require("../../server/app-render/entry-base"));
44
+ const _redirectstatuscode = require("../../client/components/redirect-status-code");
45
+ const _invarianterror = require("../../shared/lib/invariant-error");
46
+ const _scheduler = require("../../lib/scheduler");
47
+ const _getsegmentparam = require("../../shared/lib/router/utils/get-segment-param");
48
+ function _interop_require_default(obj) {
49
+ return obj && obj.__esModule ? obj : {
50
+ default: obj
51
+ };
52
+ }
53
+ function _getRequireWildcardCache(nodeInterop) {
54
+ if (typeof WeakMap !== "function") return null;
55
+ var cacheBabelInterop = new WeakMap();
56
+ var cacheNodeInterop = new WeakMap();
57
+ return (_getRequireWildcardCache = function(nodeInterop) {
58
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
59
+ })(nodeInterop);
60
+ }
61
+ function _interop_require_wildcard(obj, nodeInterop) {
62
+ if (!nodeInterop && obj && obj.__esModule) {
63
+ return obj;
64
+ }
65
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
66
+ return {
67
+ default: obj
68
+ };
69
+ }
70
+ var cache = _getRequireWildcardCache(nodeInterop);
71
+ if (cache && cache.has(obj)) {
72
+ return cache.get(obj);
73
+ }
74
+ var newObj = {
75
+ __proto__: null
76
+ };
77
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
78
+ for(var key in obj){
79
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
80
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
81
+ if (desc && (desc.get || desc.set)) {
82
+ Object.defineProperty(newObj, key, desc);
83
+ } else {
84
+ newObj[key] = obj[key];
85
+ }
86
+ }
87
+ }
88
+ newObj.default = obj;
89
+ if (cache) {
90
+ cache.set(obj, newObj);
91
+ }
92
+ return newObj;
93
+ }
94
+ /**
95
+ * Builds the cache key for the most complete prerenderable shell we can derive
96
+ * from the shell that matched this request. Only params that can still be
97
+ * filled by `generateStaticParams` are substituted; fully dynamic params stay
98
+ * as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into
99
+ * `/c/[two]` rather than `/c/foo`.
100
+ */ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {
101
+ const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[
102
+ param.paramName,
103
+ param
104
+ ]));
105
+ return fallbackPathname.split('/').map((segment)=>{
106
+ const segmentParam = (0, _getsegmentparam.getSegmentParam)(segment);
107
+ if (!segmentParam) {
108
+ return segment;
109
+ }
110
+ const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);
111
+ if (!remainingParam) {
112
+ return segment;
113
+ }
114
+ const value = params == null ? void 0 : params[remainingParam.paramName];
115
+ if (!value) {
116
+ return segment;
117
+ }
118
+ const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);
119
+ return segment.replace((0, _fallbackparams.buildDynamicSegmentPlaceholder)(remainingParam), encodedValue);
120
+ }).join('/') || '/';
121
+ }
122
+ function createAppPageEntrypoint({ tree, page, pathname, require: __next_app_require__, loadChunk: __next_app_load_chunk__, interopDefault }) {
123
+ const __next_app__ = {
124
+ require: __next_app_require__,
125
+ loadChunk: __next_app_load_chunk__
126
+ };
127
+ const routeModule = new _modulecompiled.AppPageRouteModule({
128
+ definition: {
129
+ kind: _routekind.RouteKind.APP_PAGE,
130
+ page,
131
+ pathname,
132
+ // The following aren't used in production.
133
+ bundlePath: '',
134
+ filename: '',
135
+ appPaths: []
136
+ },
137
+ userland: {
138
+ loaderTree: tree
139
+ },
140
+ distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',
141
+ relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || ''
142
+ });
143
+ let srcPage = page;
144
+ // turbopack doesn't normalize `/index` in the page name
145
+ // so we need to to process dynamic routes properly
146
+ // TODO: fix turbopack providing differing value from webpack
147
+ if (process.env.TURBOPACK) {
148
+ srcPage = srcPage.replace(/\/index$/, '') || '/';
149
+ } else if (srcPage === '/index') {
150
+ // we always normalize /index specifically
151
+ srcPage = '/';
152
+ }
153
+ const normalizedSrcPage = (0, _apppaths.normalizeAppPath)(srcPage);
154
+ // The legacy prerender manifest says whether unmatched values return 404,
155
+ // but does not list all of the route's parameter names. Read them from the
156
+ // route pattern once, since the names do not depend on the request.
157
+ const routeParamNames = (0, _app.parseNormalizedAppRoute)(normalizedSrcPage).dynamicSegments.map((segment)=>segment.param.paramName);
158
+ async function handler(req, res, ctx) {
159
+ var _this, _prerenderInfo_fallbackRouteParams, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams1, _prerenderInfo_fallbackRouteParams2;
160
+ if (ctx.requestMeta) {
161
+ (0, _requestmeta.setRequestMeta)(req, ctx.requestMeta);
162
+ }
163
+ if (routeModule.isDev) {
164
+ (0, _requestmeta.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
165
+ }
166
+ const isMinimalMode = Boolean((0, _requestmeta.getRequestMeta)(req, 'minimalMode'));
167
+ // Capture the request target before `prepare()` runs, since route
168
+ // normalization (e.g. `normalizeCdnUrl`) rewrites `req.url` and would
169
+ // otherwise change the `http.target` span attribute. This mirrors
170
+ // `BaseServer.handleRequest`, which records the target before normalization.
171
+ const httpTarget = req.url;
172
+ const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;
173
+ const prepareResult = await routeModule.prepare(req, res, {
174
+ srcPage,
175
+ multiZoneDraftMode
176
+ });
177
+ if (!prepareResult) {
178
+ res.statusCode = 400;
179
+ res.end('Bad Request');
180
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
181
+ return null;
182
+ }
183
+ const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, prefetchHintsManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken, previewProps } = prepareResult;
184
+ let { isOnDemandRevalidate } = prepareResult;
185
+ // We use the resolvedPathname instead of the parsedUrl.pathname because it
186
+ // is not rewritten as resolvedPathname is. This will ensure that the correct
187
+ // prerender info is used instead of using the original pathname as the
188
+ // source.
189
+ const prerenderMatch = routeModule.match(resolvedPathname, prerenderManifest);
190
+ const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;
191
+ // A sibling's prerender must not change this route's rendering mode or
192
+ // supply prefetch metadata for its response.
193
+ const prerenderedRoute = routeModule.isDev || (0, _routecachekey.isRouteCacheOwner)(resolvedPathname, routeModule.cacheOwner, prerenderManifest.routes[resolvedPathname]) ? prerenderManifest.routes[resolvedPathname] : undefined;
194
+ const isPrerendered = Boolean(prerenderedRoute);
195
+ const userAgent = req.headers['user-agent'] || '';
196
+ const botType = (0, _isbot.getBotType)(userAgent);
197
+ /**
198
+ * If true, this indicates that the request being made is for an app
199
+ * prefetch request.
200
+ */ const isPrefetchRSCRequest = (0, _requestmeta.getRequestMeta)(req, 'isPrefetchRSCRequest') ?? req.headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] === '1' // exclude runtime prefetches, which use '2'
201
+ ;
202
+ // NOTE: Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later
203
+ const isRSCRequest = (0, _requestmeta.getRequestMeta)(req, 'isRSCRequest') ?? (0, _isrscrequest.isRSCRequestHeader)(req.headers[_approuterheaders.RSC_HEADER]);
204
+ const isPossibleServerAction = (0, _serveractionrequestmeta.getIsPossibleServerAction)(req);
205
+ // For subresource requests (e.g. images or fonts), return plain text 404
206
+ // instead of rendering the not-found route.
207
+ if (normalizedSrcPage === _entryconstants.UNDERSCORE_NOT_FOUND_ROUTE && (req.method === 'GET' || req.method === 'HEAD') && !isRSCRequest && (0, _isnonhtmlsecfetchdest.isNonHtmlSecFetchDest)(req.headers['sec-fetch-dest'])) {
208
+ res.statusCode = 404;
209
+ res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
210
+ res.setHeader('Content-Type', 'text/plain; charset=utf-8');
211
+ res.end('Not Found');
212
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
213
+ return null;
214
+ }
215
+ /**
216
+ * If the route being rendered is an app page, and the ppr feature has been
217
+ * enabled, then the given route _could_ support PPR.
218
+ */ const couldSupportPPR = Boolean(nextConfig.cacheComponents);
219
+ // Stash postponed state for server actions when in minimal mode.
220
+ // We extract it here so the RDC is available for the re-render after the action completes.
221
+ const resumeStateLengthHeader = req.headers[_constants1.NEXT_RESUME_STATE_LENGTH_HEADER];
222
+ if (!(0, _requestmeta.getRequestMeta)(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {
223
+ const stateLength = parseInt(resumeStateLengthHeader, 10);
224
+ const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0, _postponedrequestbody.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
225
+ if (!isNaN(stateLength) && stateLength > 0) {
226
+ var _nextConfig_experimental_serverActions;
227
+ if (stateLength > maxPostponedStateSizeBytes) {
228
+ res.statusCode = 413;
229
+ res.end((0, _postponedrequestbody.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
230
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
231
+ return null;
232
+ }
233
+ // Calculate max total body size to prevent buffering excessively large
234
+ // payloads before the action handler checks. We use stateLength (not
235
+ // maxPostponedStateSizeBytes) so the postponed state doesn't eat into
236
+ // the action body budget - it's already validated above.
237
+ const defaultActionBodySizeLimit = '1 MB';
238
+ const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;
239
+ const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? require('next/dist/compiled/bytes').parse(actionBodySizeLimit) : 1024 * 1024 // 1 MB
240
+ ;
241
+ const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;
242
+ const fullBody = await (0, _postponedrequestbody.readBodyWithSizeLimit)(req, maxTotalBodySize);
243
+ if (fullBody === null) {
244
+ res.statusCode = 413;
245
+ res.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`);
246
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
247
+ return null;
248
+ }
249
+ if (fullBody.length >= stateLength) {
250
+ // Extract postponed state from the beginning
251
+ const postponedState = fullBody.subarray(0, stateLength).toString('utf8');
252
+ (0, _requestmeta.addRequestMeta)(req, 'postponed', postponedState);
253
+ // Store the remaining action body for the action handler
254
+ const actionBody = fullBody.subarray(stateLength);
255
+ (0, _requestmeta.addRequestMeta)(req, 'actionBody', actionBody);
256
+ } else {
257
+ throw new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`);
258
+ }
259
+ }
260
+ }
261
+ if (typeof (0, _requestmeta.getRequestMeta)(req, 'postponed') !== 'string' && couldSupportPPR && req.headers[_constants1.NEXT_RESUME_HEADER] === '1' && req.method === 'POST') {
262
+ const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0, _postponedrequestbody.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
263
+ // Decode the postponed state from the request body, it will come as
264
+ // an array of buffers, so collect them and then concat them to form
265
+ // the string.
266
+ const body = await (0, _postponedrequestbody.readBodyWithSizeLimit)(req, maxPostponedStateSizeBytes);
267
+ if (body === null) {
268
+ res.statusCode = 413;
269
+ res.end((0, _postponedrequestbody.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
270
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
271
+ return null;
272
+ }
273
+ const postponed = body.toString('utf8');
274
+ (0, _requestmeta.addRequestMeta)(req, 'postponed', postponed);
275
+ }
276
+ // When enabled, this will allow the use of the `?__nextppronly` query to
277
+ // enable debugging of the static shell.
278
+ const hasDebugStaticShellQuery = process.env.__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING === '1' && typeof query.__nextppronly !== 'undefined' && couldSupportPPR;
279
+ // When enabled, this will allow the use of the `?__nextppronly` query
280
+ // to enable debugging of the fallback shell.
281
+ const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
282
+ // Whether the testing API is exposed (dev mode or explicit flag)
283
+ const exposeTestingApi = nextConfig.cacheComponents === true && (routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true);
284
+ // Enable the Instant Navigation Testing API. Renders only the prefetched
285
+ // portion of the page, excluding dynamic content. This allows tests to
286
+ // assert on the prefetched UI state deterministically.
287
+ //
288
+ // The instant test cookie is sent automatically with all requests while a
289
+ // navigation lock is held. We treat a request as a test render when the
290
+ // cookie is present and either:
291
+ // - it's a document request (no RSC header) — covers MPA navigations
292
+ // - it's a prefetch RSC request — covers client-side prefetches
293
+ // Regular RSC navigation requests proceed normally even during a locked
294
+ // scope; blocking happens on the client side.
295
+ const isInstantNavigationTest = exposeTestingApi && typeof req.headers.cookie === 'string' && req.headers.cookie.includes(_approuterheaders.NEXT_INSTANT_TEST_COOKIE + '=') && (!(0, _isrscrequest.isRSCRequestHeader)(req.headers[_approuterheaders.RSC_HEADER]) || req.headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] === '1');
296
+ // This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
297
+ // prerender manifest and this is an app page.
298
+ const isRoutePPREnabled = couldSupportPPR && (((_this = prerenderManifest.routes[normalizedSrcPage] ?? prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _this.renderingMode) === 'PARTIALLY_STATIC' || // Ideally we'd want to check the appConfig to see if this page has PPR
299
+ // enabled or not, but that would require plumbing the appConfig through
300
+ // to the server during development. We assume that the page supports it
301
+ // but only during development or when the testing API is exposed.
302
+ (hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
303
+ const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;
304
+ // We should enable debugging dynamic accesses when the static shell
305
+ // debugging has been enabled and we're also in development mode.
306
+ const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
307
+ const isDebugFallbackShell = hasDebugFallbackShellQuery && isRoutePPREnabled;
308
+ const isDebugPrerender = isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell;
309
+ // If we're in minimal mode, then try to get the postponed information from
310
+ // the request metadata. If available, use it for resuming the postponed
311
+ // render.
312
+ const minimalPostponed = isRoutePPREnabled ? (0, _requestmeta.getRequestMeta)(req, 'postponed') : undefined;
313
+ const hasPostponedState = typeof minimalPostponed === 'string';
314
+ // If PPR is enabled, and this is a RSC request (but not a prefetch), then
315
+ // we can use this fact to only generate the flight data for the request
316
+ // because we can't cache the HTML (as it's also dynamic).
317
+ const staticPrefetchDataRoute = prerenderedRoute == null ? void 0 : prerenderedRoute.prefetchDataRoute;
318
+ const isEnsureStaticPage = (prerenderInfo == null ? void 0 : prerenderInfo._isEnsureStaticPage) === true;
319
+ let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static
320
+ // so we can serve the prebuilt .rsc without a dynamic render.
321
+ // Only do this for routes that have a concrete prefetchDataRoute.
322
+ !staticPrefetchDataRoute && // Do not serve `ensureStatic = "navigation"` with a dynamic response,
323
+ // (we want to do a blocking prerender instead)
324
+ // TODO(ensure-static): express this in a cleaner way
325
+ !isEnsureStaticPage;
326
+ // During a PPR revalidation, the RSC request is not dynamic if postponed
327
+ // metadata is absent. An empty string represents a resume request without
328
+ // postponed state, which should perform a full dynamic render.
329
+ if (isMinimalMode) {
330
+ isDynamicRSCRequest = isDynamicRSCRequest && hasPostponedState;
331
+ }
332
+ // Need to read this before it's stripped by stripFlightHeaders. We don't
333
+ // need to transfer it to the request meta because it's only read
334
+ // within this function; the static segment data should have already been
335
+ // generated, so we will always either return a static response or a 404.
336
+ const rawSegmentPrefetchHeader = req.headers[_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER];
337
+ const segmentPrefetchHeader = (0, _requestmeta.getRequestMeta)(req, 'segmentPrefetchRSCRequest') ?? (isPrefetchRSCRequest ? typeof rawSegmentPrefetchHeader === 'string' ? rawSegmentPrefetchHeader : Array.isArray(rawSegmentPrefetchHeader) ? rawSegmentPrefetchHeader[0] : undefined : undefined);
338
+ // TODO: investigate existing bug with shouldServeStreamingMetadata always
339
+ // being true for a revalidate due to modifying the base-server this.renderOpts
340
+ // when fixing this to correct logic it causes hydration issue since we set
341
+ // serveStreamingMetadata to true during export
342
+ const serveStreamingMetadata = !userAgent ? true : (0, _streamingmetadata.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
343
+ // A PPR shell has already closed its head before the dynamic render resumes.
344
+ // Blocking metadata resolved during the resume would therefore be emitted
345
+ // after the head, where HTML-limited bots cannot observe it. Bypass the
346
+ // shell so blocking metadata is included in the initial document head.
347
+ const shouldForceDynamicPPRRender = isRoutePPREnabled && !serveStreamingMetadata;
348
+ const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && !shouldForceDynamicPPRRender);
349
+ // When a page supports cacheComponents, we can support RDC for Navigations
350
+ const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;
351
+ // In development, we always want to generate dynamic HTML.
352
+ const supportsDynamicResponse = // If we're in development, we always support dynamic HTML, unless it's
353
+ // a data request, in which case we only produce static HTML.
354
+ routeModule.isDev === true || // If this is a draft mode request, it supports dynamic HTML.
355
+ isDraftMode || // If this is not SSG or does not have static paths, then it supports
356
+ // dynamic HTML.
357
+ !isSSG || // If this request has provided postponed data, it supports dynamic
358
+ // HTML.
359
+ hasPostponedState || // If this handler supports onCacheEntryV2, then we can only support
360
+ // dynamic responses if it's a dynamic RSC request and not in minimal mode. If it
361
+ // doesn't support it we must fallback to the default behavior.
362
+ (supportsRDCForNavigations && (0, _requestmeta.getRequestMeta)(req, 'onCacheEntryV2') ? // which will generate the RDC for the route. When resuming a Dynamic
363
+ // RSC request, we'll pass the minimal postponed data to the render
364
+ // which will trigger the `supportsDynamicResponse` to be true.
365
+ isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);
366
+ const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];
367
+ const remainingFallbackRouteParams = nextConfig.cacheComponents ? (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams.filter((param)=>!remainingPrerenderableParams.some((prerenderableParam)=>prerenderableParam.paramName === param.paramName))) ?? [] : [];
368
+ // Concrete optional routes like `/optional-catchall` can still match their
369
+ // generic shell entry (eg /optional-catchall/[[...slug]]) in the prerender manifest.
370
+ // If the omitted param already resolved to a real prerendered path, keep serving that concrete result.
371
+ const hasOmittedConcreteFallbackParam = isPrerendered && remainingPrerenderableParams.some((param)=>{
372
+ const value = params == null ? void 0 : params[param.paramName];
373
+ return value == null || Array.isArray(value) && value.length === 0;
374
+ });
375
+ const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;
376
+ // SSG writes and navigation RDC reads use the same shell key. Completion
377
+ // uses the matched shell rather than the fully resolved pathname. A request
378
+ // for `/prefix/c/foo` can complete `/prefix/[one]/[two]` to
379
+ // `/prefix/c/[two]`. This avoids creating an entry for every value of
380
+ // `two`.
381
+ //
382
+ // The completed-shell key also applies when unresolved root params require
383
+ // a blocking render. A source shell cannot be shared across root branches.
384
+ // Completion resolves the params into the key as follows:
385
+ // - Root params and other prerenderable params use concrete values.
386
+ // - Never-prerenderable params remain placeholders.
387
+ // The values of those placeholder params must not partition the cache.
388
+ const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;
389
+ let shellCacheKey = null;
390
+ if (nextConfig.cacheComponents && // A closed matcher has no fallback shell. Its generated outputs must
391
+ // retain their concrete cache keys.
392
+ (prerenderInfo == null ? void 0 : prerenderInfo.fallback) !== false && // Never-prerenderable params must stay out of the key even when Partial
393
+ // Prefetching is disabled.
394
+ (nextConfig.partialPrefetching || remainingFallbackRouteParams.length > 0) && fallbackPathname && (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams1 = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams1.length) && !hasOmittedConcreteFallbackParam) {
395
+ const cacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);
396
+ if (cacheKey !== fallbackPathname || remainingFallbackRouteParams.length > 0) {
397
+ shellCacheKey = cacheKey;
398
+ }
399
+ }
400
+ let ssgCacheKey = null;
401
+ let usesShellCacheKey = false;
402
+ if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !hasPostponedState && !isDynamicRSCRequest) {
403
+ if (shellCacheKey !== null) {
404
+ // Normal fallback serving uses the source shell's separate cache
405
+ // lookup. Explicit revalidation skips that path, so it must write the
406
+ // source key here even when no params can be completed.
407
+ if (shellCacheKey !== fallbackPathname || isOnDemandRevalidate) {
408
+ ssgCacheKey = shellCacheKey;
409
+ usesShellCacheKey = true;
410
+ }
411
+ } else {
412
+ ssgCacheKey = resolvedPathname;
413
+ }
414
+ }
415
+ // the staticPathKey differs from ssgCacheKey since
416
+ // ssgCacheKey is null in dev since we're always in "dynamic"
417
+ // mode in dev to bypass the cache. It can also be null for partial
418
+ // fallback shells that should remain shared and must not create a
419
+ // param-specific ISR entry, but we still need to honor fallback handling.
420
+ let staticPathKey = ssgCacheKey;
421
+ if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams2 = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams2.length) && // Server action requests must not get a staticPathKey, otherwise they
422
+ // enter the fallback rendering block below and return the cached HTML
423
+ // shell with the action result appended, instead of responding with
424
+ // just the RSC action result.
425
+ !isPossibleServerAction)) {
426
+ staticPathKey = resolvedPathname;
427
+ }
428
+ // If this is a request for an app path that should be statically generated
429
+ // and we aren't in the edge runtime, strip the flight headers so it will
430
+ // generate the static response.
431
+ if (!routeModule.isDev && !isDraftMode && isSSG && isRSCRequest && !isDynamicRSCRequest) {
432
+ (0, _stripflightheaders.stripFlightHeaders)(req.headers);
433
+ }
434
+ const ComponentMod = {
435
+ ..._entrybase,
436
+ tree,
437
+ handler,
438
+ routeModule,
439
+ __next_app__
440
+ };
441
+ // Before rendering (which initializes component tree modules), we have to
442
+ // set the reference manifests to our global store so Server Action's
443
+ // encryption util can access to them at the top level of the page module.
444
+ if (serverActionsManifest && clientReferenceManifest) {
445
+ (0, _manifestssingleton.setManifestsSingleton)({
446
+ page: srcPage,
447
+ clientReferenceManifest,
448
+ serverActionsManifest
449
+ });
450
+ }
451
+ const method = req.method || 'GET';
452
+ const tracer = (0, _tracer.getTracer)();
453
+ const activeSpan = tracer.getActiveScopeSpan();
454
+ const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
455
+ const render404 = async ()=>{
456
+ // TODO: should route-module itself handle rendering the 404
457
+ if (routerServerContext == null ? void 0 : routerServerContext.render404) {
458
+ await routerServerContext.render404(req, res, parsedUrl, false);
459
+ } else {
460
+ res.statusCode = 404;
461
+ res.end('This page could not be found');
462
+ }
463
+ return null;
464
+ };
465
+ try {
466
+ const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
467
+ res.setHeader('Vary', varyHeader);
468
+ let parentSpan;
469
+ const invokeRouteModule = async (span, context, renderOperation)=>{
470
+ const nextReq = new _node.NodeNextRequest(req);
471
+ const nextRes = new _node.NodeNextResponse(res);
472
+ const result = renderOperation === 'prerender' ? routeModule.prerender(nextReq, nextRes, context) : routeModule.render(nextReq, nextRes, context);
473
+ return result.finally(()=>{
474
+ if (!span) return;
475
+ span.setAttributes({
476
+ 'http.status_code': res.statusCode,
477
+ 'next.rsc': isRSCRequest
478
+ });
479
+ if (res.statusCode && res.statusCode >= 500) {
480
+ // For 5xx status codes: SHOULD be set to 'Error' span status.
481
+ // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
482
+ span.setStatus({
483
+ code: _tracer.SpanStatusCode.ERROR
484
+ });
485
+ // For span status 'Error', SHOULD set 'error.type' attribute.
486
+ span.setAttribute('error.type', res.statusCode.toString());
487
+ }
488
+ const rootSpanAttributes = tracer.getRootSpanAttributes();
489
+ // We were unable to get attributes, probably OTEL is not enabled
490
+ if (!rootSpanAttributes) {
491
+ return;
492
+ }
493
+ if (rootSpanAttributes.get('next.span_type') !== _constants.BaseServerSpan.handleRequest) {
494
+ console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);
495
+ return;
496
+ }
497
+ const route = rootSpanAttributes.get('next.route') || normalizedSrcPage;
498
+ const name = isRSCRequest ? `RSC ${method} ${route}` : `${method} ${route}`;
499
+ span.setAttributes({
500
+ 'next.route': route,
501
+ 'http.route': route,
502
+ 'next.span_name': name
503
+ });
504
+ span.updateName(name);
505
+ // Propagate http.route to the parent span if one exists (e.g.
506
+ // a platform-created HTTP span in adapter deployments).
507
+ if (parentSpan && parentSpan !== span) {
508
+ parentSpan.setAttribute('http.route', route);
509
+ parentSpan.updateName(name);
510
+ }
511
+ });
512
+ };
513
+ const incrementalCache = (0, _requestmeta.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, previewProps, prerenderManifest, isMinimalMode);
514
+ incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
515
+ globalThis.__incrementalCache = incrementalCache;
516
+ const doRender = async ({ span, postponed, fallbackRouteParams, renderOperation, allowEmptyStaticShell })=>{
517
+ var _prerenderManifest_dynamicRoutes_normalizedSrcPage, _prerenderManifest_dynamicRoutes_normalizedSrcPage1;
518
+ // A static page may have stripped Flight headers before reaching this
519
+ // render. Parse only when the response cache invokes the render.
520
+ const parsedRequestHeaders = (0, _parserequestheaders.parseRequestHeaders)(req.headers, {
521
+ isRoutePPREnabled,
522
+ previewModeId: previewProps == null ? void 0 : previewProps.previewModeId
523
+ });
524
+ const routeMatch = {
525
+ resolvedPathname
526
+ };
527
+ const dev = (0, _devrendercontext.createDevRenderContext)(req);
528
+ const context = {
529
+ query,
530
+ params,
531
+ page: normalizedSrcPage,
532
+ routeMatch,
533
+ parsedRequestHeaders,
534
+ sharedContext: {
535
+ buildId,
536
+ deploymentId,
537
+ clientAssetToken
538
+ },
539
+ dev,
540
+ fallbackRouteParams,
541
+ renderOpts: {
542
+ App: ()=>null,
543
+ Document: ()=>null,
544
+ pageConfig: {},
545
+ ComponentMod,
546
+ Component: interopDefault(ComponentMod),
547
+ params,
548
+ routeModule,
549
+ page: srcPage,
550
+ postponed,
551
+ allowEmptyStaticShell,
552
+ serveStreamingMetadata,
553
+ supportsDynamicResponse: renderOperation === 'render' && (typeof postponed === 'string' || supportsDynamicResponse),
554
+ buildManifest,
555
+ nextFontManifest,
556
+ reactLoadableManifest,
557
+ subresourceIntegrityManifest,
558
+ setCacheStatus: routerServerContext == null ? void 0 : routerServerContext.setCacheStatus,
559
+ setIsrStatus: routerServerContext == null ? void 0 : routerServerContext.setIsrStatus,
560
+ setReactDebugChannel: routerServerContext == null ? void 0 : routerServerContext.setReactDebugChannel,
561
+ sendErrorsToBrowser: routerServerContext == null ? void 0 : routerServerContext.sendErrorsToBrowser,
562
+ dir: process.env.NEXT_RUNTIME === 'nodejs' ? require('path').join(/* turbopackIgnore: true */ process.cwd(), routeModule.relativeProjectDir) : `${process.cwd()}/${routeModule.relativeProjectDir}`,
563
+ isDraftMode,
564
+ botType,
565
+ isOnDemandRevalidate,
566
+ isPossibleServerAction,
567
+ assetPrefix: routeModule.getAssetPrefixForRender(routerServerContext, nextConfig.assetPrefix),
568
+ nextConfigOutput: nextConfig.output,
569
+ crossOrigin: nextConfig.crossOrigin,
570
+ trailingSlash: nextConfig.trailingSlash,
571
+ images: nextConfig.images,
572
+ previewProps,
573
+ enableTainting: nextConfig.experimental.taint,
574
+ reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,
575
+ multiZoneDraftMode,
576
+ prefetchHints: prefetchHintsManifest,
577
+ // With dynamicParams = false, every parameter is restricted to the
578
+ // paths generated at build time. Advertise this even for allowed
579
+ // URLs. Read the current manifest here because dev updates it as
580
+ // routes compile.
581
+ notFoundParams: (routeModule.isDev ? (0, _requestmeta.getRequestMeta)(req, 'devNotFoundParams') : undefined) ?? ((_prerenderManifest_dynamicRoutes_normalizedSrcPage = prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _prerenderManifest_dynamicRoutes_normalizedSrcPage.notFoundParams) ?? (((_prerenderManifest_dynamicRoutes_normalizedSrcPage1 = prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _prerenderManifest_dynamicRoutes_normalizedSrcPage1.fallback) === false ? routeParamNames : undefined),
582
+ incrementalCache,
583
+ cacheLifeProfiles: nextConfig.cacheLife,
584
+ staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,
585
+ basePath: nextConfig.basePath,
586
+ serverActions: nextConfig.experimental.serverActions,
587
+ logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),
588
+ ...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {
589
+ isBuildTimePrerendering: true,
590
+ isDebugDynamicAccesses: isDebugDynamicAccesses
591
+ } : {},
592
+ cacheComponents: Boolean(nextConfig.cacheComponents),
593
+ partialPrefetching: nextConfig.partialPrefetching,
594
+ // A fallback shell can only be upgraded to a concrete version if at
595
+ // least one of its fallback params is a `generateStaticParams`
596
+ // candidate (`remainingPrerenderableParams`), and only when Partial
597
+ // Prefetching is enabled (the upgrade itself is gated on it above).
598
+ // This gates whether the per-segment prefetch responses are flagged
599
+ // `isUpgradeableISRFallback`; without an upgrade to wait for, the
600
+ // client should not retry the prefetch.
601
+ isFallbackUpgradeable: Boolean(nextConfig.partialPrefetching) && remainingPrerenderableParams.length > 0,
602
+ validationLevel: nextConfig.experimental.instantInsights.validationLevel,
603
+ experimental: {
604
+ isRoutePPREnabled,
605
+ expireTime: nextConfig.expireTime,
606
+ staleTimes: nextConfig.experimental.staleTimes,
607
+ dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),
608
+ optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),
609
+ parallelRouteMetadata: Boolean(nextConfig.experimental.parallelRouteMetadata),
610
+ inlineCss: Boolean(nextConfig.experimental.inlineCss),
611
+ prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,
612
+ authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
613
+ reactBrowserBailout: Boolean(nextConfig.experimental.reactBrowserBailout),
614
+ serverComponentsHmrCancellation: Boolean(nextConfig.experimental.serverComponentsHmrCancellation),
615
+ useCacheTimeout: nextConfig.experimental.useCacheTimeout,
616
+ durableUseCacheEntries: Boolean(nextConfig.experimental.durableUseCacheEntries),
617
+ cachedNavigations: nextConfig.experimental.cachedNavigations ?? false,
618
+ clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],
619
+ clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,
620
+ maxPostponedStateSizeBytes: (0, _sizelimit.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize),
621
+ disableResumeDataCacheCompression: nextConfig.experimental.disableResumeDataCacheCompression ?? false,
622
+ exposeTestingApi
623
+ },
624
+ waitUntil: ctx.waitUntil,
625
+ onClose: (cb)=>{
626
+ res.on('close', cb);
627
+ },
628
+ onAfterTaskError: ()=>{},
629
+ onInstrumentationRequestError: (error, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),
630
+ err: (0, _requestmeta.getRequestMeta)(req, 'invokeError')
631
+ }
632
+ };
633
+ const result = await invokeRouteModule(span, context, renderOperation);
634
+ // Keep recovery output separate from successful response cache entries.
635
+ if ('error' in result) {
636
+ ;
637
+ req.fetchMetrics = result.result.metadata.fetchMetrics;
638
+ return result;
639
+ }
640
+ const { metadata } = result;
641
+ const { cacheControl, headers = {}, // Add any fetch tags that were on the page to the response headers.
642
+ fetchTags: cacheTags, fetchMetrics } = metadata;
643
+ // Apply the `expireTime` fallback as soon as we have the render's
644
+ // `cacheControl`, so every downstream consumer (the cache stored via
645
+ // `incrementalCache.set`, the response Cache-Control header, the outgoing
646
+ // entry returned to `handleResponse`) sees a finalized `cacheControl`
647
+ // with a populated `expire`. This mirrors the build-time fallback in
648
+ // `build/index.ts` so we don't apply an expire to routes that opt out of
649
+ // revalidation entirely (`revalidate: false`) or that are dynamic
650
+ // (`revalidate: 0`).
651
+ if (cacheControl && cacheControl.revalidate !== false && cacheControl.revalidate > 0 && cacheControl.expire === undefined) {
652
+ cacheControl.expire = nextConfig.expireTime;
653
+ }
654
+ if (cacheTags) {
655
+ headers[_constants1.NEXT_CACHE_TAGS_HEADER] = cacheTags;
656
+ }
657
+ // Pull any fetch metrics from the render onto the request.
658
+ ;
659
+ req.fetchMetrics = fetchMetrics;
660
+ // we don't throw static to dynamic errors in dev as isSSG
661
+ // is a best guess in dev since we don't have the prerender pass
662
+ // to know whether the path is actually static or not
663
+ if (isSSG && (cacheControl == null ? void 0 : cacheControl.revalidate) === 0 && !routeModule.isDev && !isRoutePPREnabled) {
664
+ const staticBailoutInfo = metadata.staticBailoutInfo;
665
+ const err = new Error(`Page changed from static to dynamic at runtime ${resolvedPathname}${(staticBailoutInfo == null ? void 0 : staticBailoutInfo.description) ? `, reason: ${staticBailoutInfo.description}` : ``}` + `\nsee more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`);
666
+ if (staticBailoutInfo == null ? void 0 : staticBailoutInfo.stack) {
667
+ const stack = staticBailoutInfo.stack;
668
+ err.stack = err.message + stack.substring(stack.indexOf('\n'));
669
+ }
670
+ throw err;
671
+ }
672
+ return {
673
+ value: {
674
+ kind: _responsecache.CachedRouteKind.APP_PAGE,
675
+ html: result,
676
+ headers,
677
+ rscData: metadata.flightData,
678
+ postponed: metadata.postponed,
679
+ status: metadata.statusCode,
680
+ segmentData: metadata.segmentData
681
+ },
682
+ cacheControl
683
+ };
684
+ };
685
+ const responseGenerator = async ({ hasResolved, previousCacheEntry: previousIncrementalCacheEntry, isRevalidating, span, forceStaticRender = false })=>{
686
+ const isProduction = routeModule.isDev === false;
687
+ const didRespond = hasResolved || res.writableEnded;
688
+ const reportRevalidationError = (error)=>routeModule.onRequestError(req, error, {
689
+ routerKind: 'App Router',
690
+ routePath: srcPage,
691
+ routeType: 'render',
692
+ revalidateReason: (0, _utils.getRevalidateReason)({
693
+ isStaticGeneration: isSSG,
694
+ isOnDemandRevalidate
695
+ })
696
+ }, false, routerServerContext);
697
+ try {
698
+ var _prerenderInfo_fallbackRouteParams;
699
+ // skip on-demand revalidate if cache is not present and
700
+ // revalidate-if-generated is set
701
+ if (isOnDemandRevalidate && revalidateOnlyGenerated && !previousIncrementalCacheEntry && !isMinimalMode) {
702
+ if (routerServerContext == null ? void 0 : routerServerContext.render404) {
703
+ await routerServerContext.render404(req, res);
704
+ } else {
705
+ res.statusCode = 404;
706
+ res.end('This page could not be found');
707
+ }
708
+ return null;
709
+ }
710
+ let fallbackMode;
711
+ if (prerenderInfo) {
712
+ fallbackMode = (0, _fallback.parseFallbackField)(prerenderInfo.fallback);
713
+ }
714
+ // A closed matcher rejects new paths, not regeneration of paths that
715
+ // were produced by the build. Their cache entries can be invalidated
716
+ // or evicted without removing the path from the build manifest.
717
+ if (fallbackMode === _fallback.FallbackMode.NOT_FOUND && isPrerendered) {
718
+ fallbackMode = _fallback.FallbackMode.BLOCKING_STATIC_RENDER;
719
+ }
720
+ if (nextConfig.partialPrefetching && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && // TODO(ensure-static): express this in a cleaner way
721
+ !isEnsureStaticPage && !prerenderInfo.isExplicitlyBlocking && !hasOmittedConcreteFallbackParam && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {
722
+ // Generic source shells without unresolved root params don't have a
723
+ // concrete fallback file of their own, so they're marked as blocking.
724
+ // When we can complete the shell into a more specific
725
+ // prerendered shell for this request, treat it like a prerender
726
+ // fallback so we can serve that shell instead of blocking on the full
727
+ // route. Root-param shells stay blocking, since unknown root branches
728
+ // should not inherit a shell from another generated branch.
729
+ fallbackMode = _fallback.FallbackMode.PRERENDER;
730
+ }
731
+ // When serving a request that requires blocking metadata, we want to
732
+ // use a blocking render instead of the prerendered fallback. Without
733
+ // PPR, preserve the existing behavior for built-in bots.
734
+ if (fallbackMode === _fallback.FallbackMode.PRERENDER && (isRoutePPREnabled ? !serveStreamingMetadata : Boolean(botType))) {
735
+ fallbackMode = _fallback.FallbackMode.BLOCKING_STATIC_RENDER;
736
+ }
737
+ if ((previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.isStale) === -1) {
738
+ isOnDemandRevalidate = true;
739
+ }
740
+ // On-demand revalidation blocks for admitted paths. Cache contents
741
+ // must not make an otherwise closed path eligible for generation.
742
+ if (isOnDemandRevalidate && fallbackMode !== _fallback.FallbackMode.NOT_FOUND) {
743
+ fallbackMode = _fallback.FallbackMode.BLOCKING_STATIC_RENDER;
744
+ }
745
+ if (// Ordinary dev requests always use the request-specific render
746
+ // below. Only production, forced background work, and explicit
747
+ // shell debugging may enter fallback prerender handling.
748
+ (isProduction || forceStaticRender || isDebugPrerender) && !isMinimalMode && fallbackMode !== _fallback.FallbackMode.BLOCKING_STATIC_RENDER && staticPathKey && !didRespond && !isDraftMode && pageIsDynamic && (isProduction || !isPrerendered)) {
749
+ // When cacheComponents is enabled, we can use the fallback
750
+ // response if the request is not a dynamic RSC request because the
751
+ // RSC data when this feature flag is enabled does not contain any
752
+ // param references. Without this feature flag enabled, the RSC data
753
+ // contains param references, and therefore we can't use the fallback.
754
+ if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {
755
+ const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;
756
+ let fallbackRouteParams;
757
+ if (isProduction) {
758
+ // In production, rely on the prerender manifest's fallback
759
+ // entry — the authoritative set computed at build time by
760
+ // `buildAppStaticPaths`.
761
+ if (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) {
762
+ fallbackRouteParams = (0, _fallbackparams.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
763
+ } else if (isDebugFallbackShell) {
764
+ fallbackRouteParams = (0, _fallbackparams.getFallbackRouteParams)(normalizedSrcPage, routeModule);
765
+ } else {
766
+ fallbackRouteParams = null;
767
+ }
768
+ } else {
769
+ // Dev selects the source for static-shell debug renders from
770
+ // the per-URL `getStaticPaths` result. The dev prerender
771
+ // manifest does not contain these ad-hoc paths. `base-server`
772
+ // passes the source's fallback params in request metadata.
773
+ // These renders need the source set, not the completed target's
774
+ // potentially smaller `stagedFallbackParams`.
775
+ if (isDebugFallbackShell) {
776
+ fallbackRouteParams = (0, _fallbackparams.getFallbackRouteParams)(normalizedSrcPage, routeModule);
777
+ } else if (isDebugStaticShell) {
778
+ fallbackRouteParams = (0, _requestmeta.getRequestMeta)(req, 'fallbackRouteParams') ?? null;
779
+ } else {
780
+ fallbackRouteParams = null;
781
+ }
782
+ }
783
+ // Debug rendering stages the params of the selected source shell.
784
+ if (isDebugStaticShell) {
785
+ (0, _requestmeta.addRequestMeta)(req, 'stagedFallbackParams', fallbackRouteParams);
786
+ }
787
+ // We use the response cache here to handle the revalidation and
788
+ // management of the fallback shell.
789
+ const fallbackResponse = await routeModule.handleResponse({
790
+ cacheKey,
791
+ req,
792
+ nextConfig,
793
+ routeKind: _routekind.RouteKind.APP_PAGE,
794
+ isFallback: true,
795
+ previewProps,
796
+ prerenderManifest,
797
+ isRoutePPREnabled,
798
+ responseGenerator: async ()=>doRender({
799
+ span,
800
+ // We pass `undefined` as rendering a fallback isn't resumed
801
+ // here.
802
+ postponed: undefined,
803
+ // Always serve the shell that matched this request
804
+ // immediately. If there are still prerenderable params left,
805
+ // the background path below will complete the shell into a
806
+ // more specific cache entry for later requests.
807
+ fallbackRouteParams,
808
+ renderOperation: 'prerender',
809
+ allowEmptyStaticShell: isInstantNavigationTest || undefined
810
+ }),
811
+ waitUntil: ctx.waitUntil,
812
+ isMinimalMode
813
+ });
814
+ if (fallbackResponse === null || 'error' in fallbackResponse) {
815
+ return fallbackResponse;
816
+ }
817
+ // Otherwise, if we did get a fallback response, we should return it.
818
+ if (fallbackResponse) {
819
+ if (!isMinimalMode && isRoutePPREnabled && // Upgrading a fallback shell into a more specific ISR entry is
820
+ // only done when Partial Prefetching is enabled, mirroring the
821
+ // `partialFallback` flag the adapter emits for deployments.
822
+ nextConfig.partialPrefetching && // Match the build-time contract: only fallback shells that can
823
+ // still be completed with prerenderable params should upgrade.
824
+ remainingPrerenderableParams.length > 0 && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so
825
+ // don't upgrade fallback shells in the background when it's
826
+ // exposed.
827
+ !exposeTestingApi && // Instant Navigation Testing API requests intentionally keep
828
+ // the route in shell mode; don't upgrade these in background.
829
+ !isInstantNavigationTest) {
830
+ (0, _scheduler.scheduleOnNextTick)(async ()=>{
831
+ const responseCache = routeModule.getResponseCache(req);
832
+ try {
833
+ // Only the params that were just specialized should be
834
+ // removed from the fallback render. Any remaining fallback
835
+ // params stay deferred so the revalidated result is a more
836
+ // specific shell (e.g. `/prefix/c/[two]`), not a fully
837
+ // concrete route (`/prefix/c/foo`).
838
+ const result = await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{
839
+ return doRender({
840
+ span: c.span,
841
+ postponed: undefined,
842
+ fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? (0, _fallbackparams.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : null,
843
+ renderOperation: 'prerender'
844
+ });
845
+ }, // We don't have a prior entry for this param-specific shell.
846
+ null, hasResolved, ctx.waitUntil);
847
+ if (result !== null && 'error' in result) {
848
+ throw result.error;
849
+ }
850
+ } catch (err) {
851
+ console.error('Error revalidating the page in the background', err);
852
+ }
853
+ });
854
+ }
855
+ // Remove the cache control from the response to prevent it from being
856
+ // used in the surrounding cache.
857
+ delete fallbackResponse.cacheControl;
858
+ return fallbackResponse;
859
+ }
860
+ }
861
+ }
862
+ // Only requests that aren't revalidating can be resumed. If we have the
863
+ // minimal postponed data, then we should resume the render with it.
864
+ let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;
865
+ let hasFullyStaticCacheEntry = false;
866
+ if (// If this is a dynamic RSC request or a server action request, we should
867
+ // use the postponed data from the static render (if available). This
868
+ // ensures that we can utilize the resume data cache (RDC) from the static
869
+ // render to ensure that the data is consistent between the static and
870
+ // dynamic renders (for navigations) or when re-rendering after a server
871
+ // action.
872
+ // Only enable RDC for Navigations if the feature is enabled.
873
+ supportsRDCForNavigations && process.env.NEXT_RUNTIME !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions
874
+ (isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC
875
+ // requests, as we're typically revalidating the page in the background
876
+ // instead. However, if the cache entry is stale, we should trigger a
877
+ // background revalidation on dynamic RSC requests. This prevents us
878
+ // from entering an infinite loop of revalidations.
879
+ !forceStaticRender) {
880
+ const incrementalCacheKey = shellCacheKey ?? resolvedPathname;
881
+ const incrementalCacheEntry = await incrementalCache.get(incrementalCacheKey, {
882
+ kind: _responsecache.IncrementalCacheKind.APP_PAGE,
883
+ route: routeModule.cacheOwner,
884
+ isRoutePPREnabled: true,
885
+ isFallback: false
886
+ });
887
+ // If the cache entry is found, we should use the postponed data from
888
+ // the cache.
889
+ if (incrementalCacheEntry && incrementalCacheEntry.value && incrementalCacheEntry.value.kind === _responsecache.CachedRouteKind.APP_PAGE) {
890
+ // CRITICAL: we're assigning the postponed data from the cache entry
891
+ // here as we're using the RDC to resume the render.
892
+ postponed = incrementalCacheEntry.value.postponed;
893
+ hasFullyStaticCacheEntry = postponed === undefined;
894
+ // If the cache entry is stale, we should trigger a background
895
+ // revalidation so that subsequent requests will get a fresh response.
896
+ if (incrementalCacheEntry && // We want to trigger this flow if the cache entry is stale and if
897
+ // the requested revalidation flow is either foreground or
898
+ // background.
899
+ (incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {
900
+ // We want to schedule this on the next tick to ensure that the
901
+ // render is not blocked on it.
902
+ (0, _scheduler.scheduleOnNextTick)(async ()=>{
903
+ const responseCache = routeModule.getResponseCache(req);
904
+ try {
905
+ const result = await responseCache.revalidate(incrementalCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({
906
+ ...c,
907
+ // CRITICAL: we need to set this to true as we're
908
+ // revalidating in the background and typically this dynamic
909
+ // RSC request is not treated as static.
910
+ forceStaticRender: true
911
+ }), // CRITICAL: we need to pass null here because passing the
912
+ // previous cache entry here (which is stale) will switch on
913
+ // isOnDemandRevalidate and break the prerendering.
914
+ null, hasResolved, ctx.waitUntil);
915
+ if (result !== null && 'error' in result) {
916
+ throw result.error;
917
+ }
918
+ } catch (err) {
919
+ console.error('Error revalidating the page in the background', err);
920
+ }
921
+ });
922
+ }
923
+ }
924
+ }
925
+ // When we're in minimal mode, if we're trying to debug the static shell,
926
+ // return an empty App Page response instead of resuming the dynamic
927
+ // render. The static shell has already been streamed by the platform.
928
+ if ((isDebugStaticShell || isDebugDynamicAccesses) && typeof postponed !== 'undefined') {
929
+ return {
930
+ cacheControl: {
931
+ revalidate: 1,
932
+ expire: undefined
933
+ },
934
+ value: {
935
+ kind: _responsecache.CachedRouteKind.APP_PAGE,
936
+ html: _renderresult.default.fromStatic('', isRSCRequest ? _approuterheaders.RSC_CONTENT_TYPE_HEADER : _constants1.HTML_CONTENT_TYPE_HEADER),
937
+ rscData: undefined,
938
+ postponed,
939
+ segmentData: undefined,
940
+ headers: undefined,
941
+ status: undefined
942
+ }
943
+ };
944
+ }
945
+ const placeholderFallbackRouteParams = // When a request carries dynamic placeholder values (e.g. "[slug]"),
946
+ // defer only the unresolved subset instead of forcing all fallback
947
+ // params to suspend.
948
+ !routeModule.isDev && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0, _fallbackparams.getPlaceholderFallbackRouteParams)(params, prerenderInfo.fallbackRouteParams) : null;
949
+ const fallbackRouteParamsForRender = placeholderFallbackRouteParams && placeholderFallbackRouteParams.length > 0 ? placeholderFallbackRouteParams : prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams;
950
+ const hasPlaceholderFallbackRouteParams = placeholderFallbackRouteParams != null && placeholderFallbackRouteParams.length > 0;
951
+ // When route-module.ts resolved partial nxtP* params during
952
+ // background revalidation, filter fallbackRouteParams to only the
953
+ // params that are still unresolved. This lets doRender produce an
954
+ // intermediate PPR shell that suspends only for those params.
955
+ let effectiveFallbackRouteParams = null;
956
+ if (nextConfig.cacheComponents && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
957
+ const resolvedKeys = (0, _requestmeta.getRequestMeta)(req, 'resolvedRouteParamKeys');
958
+ if (resolvedKeys && resolvedKeys.size > 0) {
959
+ effectiveFallbackRouteParams = prerenderInfo.fallbackRouteParams.filter((param)=>!resolvedKeys.has(param.paramName));
960
+ }
961
+ }
962
+ const fallbackRouteParams = // In production or when debugging the static shell for a
963
+ // non-prerendered URL, use the prerender manifest's fallback route
964
+ // params which correctly identifies which params are unknown.
965
+ (isProduction && (0, _requestmeta.getRequestMeta)(req, 'renderFallbackShell') || hasPlaceholderFallbackRouteParams || isDebugStaticShell && !isPrerendered) && fallbackRouteParamsForRender ? (0, _fallbackparams.createOpaqueFallbackRouteParams)(fallbackRouteParamsForRender) : // others still have placeholders, use the filtered subset so the
966
+ // prerender suspends only for the unresolved params.
967
+ effectiveFallbackRouteParams && effectiveFallbackRouteParams.length > 0 && effectiveFallbackRouteParams.length < ((prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams.length) ?? 0) ? (0, _fallbackparams.createOpaqueFallbackRouteParams)(effectiveFallbackRouteParams) : // The render must not store their concrete values in the
968
+ // shared entry. Per-request resumes resolve those params
969
+ // instead. Blocking renders and RSC-triggered revalidations
970
+ // both need this restriction.
971
+ //
972
+ // The serving modes obtain the unresolved params differently:
973
+ // - `next start` defers them in this branch.
974
+ // - Minimal mode uses the platform's placeholders above.
975
+ // The platform strips never-prerenderable param values before
976
+ // calling the origin.
977
+ !isMinimalMode && (usesShellCacheKey || forceStaticRender && shellCacheKey !== null) && remainingFallbackRouteParams.length > 0 ? (0, _fallbackparams.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : isDebugFallbackShell ? (0, _fallbackparams.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
978
+ // Staging defers params without replacing their values with opaque
979
+ // placeholders. A resumed render reads the selected artifact's mask
980
+ // from its postponed state.
981
+ if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents) {
982
+ let stagedFallbackParams;
983
+ if (hasPlaceholderFallbackRouteParams) {
984
+ stagedFallbackParams = (0, _fallbackparams.createOpaqueFallbackRouteParams)(placeholderFallbackRouteParams);
985
+ } else if (isDebugStaticShell) {
986
+ stagedFallbackParams = fallbackRouteParams;
987
+ } else if (hasFullyStaticCacheEntry || isPrerendered) {
988
+ stagedFallbackParams = null;
989
+ } else if (postponed && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
990
+ // App-render uses this source-shell set only when the supplied
991
+ // state does not record its own fallback params.
992
+ stagedFallbackParams = (0, _fallbackparams.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
993
+ } else if (prerenderInfo) {
994
+ stagedFallbackParams = (0, _fallbackparams.getStagedFallbackParams)(prerenderInfo);
995
+ } else {
996
+ stagedFallbackParams = null;
997
+ }
998
+ (0, _requestmeta.addRequestMeta)(req, 'stagedFallbackParams', stagedFallbackParams);
999
+ }
1000
+ // Forced static and debug renders are prerenders even when the
1001
+ // surrounding request otherwise supports dynamic rendering.
1002
+ const isRequestSpecificRender = !forceStaticRender && !isDebugPrerender && (supportsDynamicResponse || isPossibleServerAction);
1003
+ // Perform the render.
1004
+ const result = await doRender({
1005
+ span,
1006
+ postponed,
1007
+ fallbackRouteParams,
1008
+ renderOperation: isRequestSpecificRender ? 'render' : 'prerender',
1009
+ allowEmptyStaticShell: isInstantNavigationTest || undefined
1010
+ });
1011
+ // The response cache already served the stale entry, so response
1012
+ // delivery cannot report this background failure.
1013
+ if ('error' in result && hasResolved) {
1014
+ await reportRevalidationError(result.error);
1015
+ }
1016
+ return result;
1017
+ } catch (err) {
1018
+ // The foreground handler reports errors while it awaits a response.
1019
+ // Report here only after the cache has resolved that response.
1020
+ if (hasResolved) {
1021
+ await reportRevalidationError(err);
1022
+ }
1023
+ throw err;
1024
+ }
1025
+ };
1026
+ const invokeOnCacheEntry = (cacheEntry)=>{
1027
+ var _parseUrl;
1028
+ // If we support RDC for Navigations, prefer the callback that can
1029
+ // deliver postponed state for both document and RSC requests.
1030
+ const onCacheEntry = supportsRDCForNavigations ? (0, _requestmeta.getRequestMeta)(req, 'onCacheEntryV2') ?? (0, _requestmeta.getRequestMeta)(req, 'onCacheEntry') : (0, _requestmeta.getRequestMeta)(req, 'onCacheEntry');
1031
+ if (!onCacheEntry) {
1032
+ return false;
1033
+ }
1034
+ const rawCacheEntryUrl = (0, _requestmeta.getRequestMeta)(req, 'initURL') ?? req.url;
1035
+ const cacheEntryUrl = rawCacheEntryUrl ? ((_parseUrl = (0, _url.parseUrl)(rawCacheEntryUrl)) == null ? void 0 : _parseUrl.pathname) ?? rawCacheEntryUrl : undefined;
1036
+ return onCacheEntry(cacheEntry, {
1037
+ url: cacheEntryUrl
1038
+ });
1039
+ };
1040
+ const resumeRender = (body, postponed, span)=>{
1041
+ // Attach the continuation before rendering so the prelude can start
1042
+ // streaming immediately.
1043
+ const transformer = new TransformStream();
1044
+ body.push(transformer.readable);
1045
+ // This metadata supplies fallback params when the saved state does not
1046
+ // record them. App-render uses the saved state's own set when present.
1047
+ if (nextConfig.cacheComponents && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
1048
+ (0, _requestmeta.addRequestMeta)(req, 'stagedFallbackParams', (0, _fallbackparams.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams));
1049
+ }
1050
+ // Start the resume without awaiting it. The response consumes the
1051
+ // continuation stream attached above.
1052
+ doRender({
1053
+ span,
1054
+ postponed,
1055
+ // The resume retains concrete param values; staging only defers
1056
+ // access.
1057
+ fallbackRouteParams: null,
1058
+ renderOperation: 'render'
1059
+ }).then(async (result)=>{
1060
+ var _result_value;
1061
+ if (!result) {
1062
+ throw new Error('Invariant: expected a result to be returned');
1063
+ }
1064
+ if ('error' in result) {
1065
+ throw result.error;
1066
+ }
1067
+ if (((_result_value = result.value) == null ? void 0 : _result_value.kind) !== _responsecache.CachedRouteKind.APP_PAGE) {
1068
+ var _result_value1;
1069
+ throw new Error(`Invariant: expected a page response, got ${(_result_value1 = result.value) == null ? void 0 : _result_value1.kind}`);
1070
+ }
1071
+ // Pipe the resume result to the transformer.
1072
+ await result.value.html.pipeTo(transformer.writable);
1073
+ }).catch((err)=>{
1074
+ // An error occurred during piping or preparing the render, abort
1075
+ // the transformers writer so we can terminate the stream.
1076
+ transformer.writable.abort(err).catch((e)=>{
1077
+ console.error("couldn't abort transformer", e);
1078
+ });
1079
+ });
1080
+ };
1081
+ const handleResponse = async (span)=>{
1082
+ var _cacheEntry_value, _cachedData_headers;
1083
+ // Development evaluates the configured policy without emitting its
1084
+ // production matchers. Use that outcome at the same admission boundary.
1085
+ const devParamMatchingRejected = routeModule.isDev && !isDebugPrerender && (0, _requestmeta.getRequestMeta)(req, 'devParamMatchingRejected');
1086
+ // Decide whether this URL is allowed before consulting ISR. An exact
1087
+ // build path remains valid even when its cached result is missing, and
1088
+ // the most specific matched route controls whether other paths may be
1089
+ // generated. Neither a cache hit nor revalidation changes that decision.
1090
+ // Server Actions may be forwarded to a worker's route pattern rather
1091
+ // than a concrete URL. That invokes the action, not a page navigation.
1092
+ if (!isMinimalMode && !isDraftMode && !isPossibleServerAction && pageIsDynamic && (devParamMatchingRejected || (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === false && !isPrerendered)) {
1093
+ if (nextConfig.adapterPath) {
1094
+ return await render404();
1095
+ }
1096
+ throw new _nofallbackerrorexternal.NoFallbackError();
1097
+ }
1098
+ const cacheEntry = await routeModule.handleResponse({
1099
+ cacheKey: ssgCacheKey,
1100
+ responseGenerator: (c)=>responseGenerator({
1101
+ span,
1102
+ ...c
1103
+ }),
1104
+ routeKind: _routekind.RouteKind.APP_PAGE,
1105
+ isOnDemandRevalidate,
1106
+ isRoutePPREnabled,
1107
+ req,
1108
+ nextConfig,
1109
+ previewProps,
1110
+ prerenderManifest,
1111
+ waitUntil: ctx.waitUntil,
1112
+ isMinimalMode
1113
+ });
1114
+ if (cacheEntry !== null && 'error' in cacheEntry) {
1115
+ if (res.headersSent || res.writableEnded) {
1116
+ // The outer catch reports the error when we cannot send recovery.
1117
+ throw cacheEntry.error;
1118
+ }
1119
+ // Returned failures bypass the outer catch's error reporting. Do not
1120
+ // await async reporting before sending the error response.
1121
+ const reportPrerenderError = ()=>{
1122
+ const errorReporting = routeModule.onRequestError(req, cacheEntry.error, {
1123
+ routerKind: 'App Router',
1124
+ routePath: srcPage,
1125
+ routeType: 'render',
1126
+ revalidateReason: (0, _utils.getRevalidateReason)({
1127
+ isStaticGeneration: isSSG,
1128
+ isOnDemandRevalidate
1129
+ })
1130
+ }, false, routerServerContext).catch((err)=>{
1131
+ console.error(err);
1132
+ });
1133
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, errorReporting);
1134
+ };
1135
+ const { result } = cacheEntry;
1136
+ for (const [name, value] of Object.entries(result.metadata.headers ?? {})){
1137
+ if (value !== undefined) {
1138
+ res.appendHeader(name, typeof value === 'number' ? value.toString() : value);
1139
+ }
1140
+ }
1141
+ // Each request needs the failure status, including callers that
1142
+ // reused another request's render through the response cache.
1143
+ res.statusCode = 500;
1144
+ span == null ? void 0 : span.setAttributes({
1145
+ 'http.status_code': 500,
1146
+ 'next.rsc': isRSCRequest,
1147
+ 'error.type': '500'
1148
+ });
1149
+ span == null ? void 0 : span.setStatus({
1150
+ code: _tracer.SpanStatusCode.ERROR
1151
+ });
1152
+ res.removeHeader('x-nextjs-cache');
1153
+ res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
1154
+ let response = result;
1155
+ if (isRSCRequest) {
1156
+ // The router discards failed prefetches and falls back to a
1157
+ // document load when navigation receives a failed Flight response.
1158
+ response = _renderresult.default.fromStatic('', _approuterheaders.RSC_CONTENT_TYPE_HEADER);
1159
+ } else if (typeof result.metadata.postponed === 'string') {
1160
+ // The platform needs the postponed state to resume with the actual
1161
+ // request. This value is only for delivery; the response cache
1162
+ // retains the failure and never persists it as ISR output.
1163
+ //
1164
+ // The callback writes to res without applying value.status. Its
1165
+ // status and metadata headers must be set first.
1166
+ if (await invokeOnCacheEntry({
1167
+ value: {
1168
+ kind: _responsecache.CachedRouteKind.APP_PAGE,
1169
+ html: result,
1170
+ rscData: result.metadata.flightData,
1171
+ postponed: result.metadata.postponed,
1172
+ status: 500,
1173
+ headers: undefined,
1174
+ segmentData: undefined
1175
+ },
1176
+ cacheControl: {
1177
+ revalidate: 0,
1178
+ expire: undefined
1179
+ }
1180
+ })) {
1181
+ reportPrerenderError();
1182
+ return null;
1183
+ }
1184
+ if (isMinimalMode) {
1185
+ // A prerender invocation may have filtered request headers, so
1186
+ // only the platform can resume with the original request.
1187
+ //
1188
+ // Let the outer catch report this error once.
1189
+ throw cacheEntry.error;
1190
+ }
1191
+ // Each request owns its continuation. The buffered prelude and
1192
+ // postponed state can be shared by the response cache.
1193
+ response = _renderresult.default.fromStatic(result.toUnchunkedString(), _constants1.HTML_CONTENT_TYPE_HEADER);
1194
+ resumeRender(response, result.metadata.postponed, span);
1195
+ }
1196
+ reportPrerenderError();
1197
+ return (0, _sendpayload.sendRenderResult)({
1198
+ req,
1199
+ res,
1200
+ result: response,
1201
+ generateEtags: false,
1202
+ poweredByHeader: nextConfig.poweredByHeader,
1203
+ cacheControl: undefined
1204
+ });
1205
+ }
1206
+ if (isDraftMode) {
1207
+ res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
1208
+ }
1209
+ // Documents and RSC payloads must not be stored in development.
1210
+ // Browsers reuse a stored response for a history navigation without
1211
+ // revalidating it, so a back navigation would restore a page from
1212
+ // before the latest edit. Static assets never reach this code. They
1213
+ // keep a revalidatable `Cache-Control`, so the browser caches them
1214
+ // between page loads.
1215
+ if (routeModule.isDev) {
1216
+ res.setHeader('Cache-Control', 'no-store');
1217
+ }
1218
+ if (!cacheEntry) {
1219
+ if (ssgCacheKey) {
1220
+ // A cache entry might not be generated if a response is written
1221
+ // in `getInitialProps` or `getServerSideProps`, but those shouldn't
1222
+ // have a cache key. If we do have a cache key but we don't end up
1223
+ // with a cache entry, then either Next.js or the application has a
1224
+ // bug that needs fixing.
1225
+ throw new Error('invariant: cache entry required but not generated');
1226
+ }
1227
+ return null;
1228
+ }
1229
+ if (((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== _responsecache.CachedRouteKind.APP_PAGE) {
1230
+ var _cacheEntry_value1;
1231
+ throw new Error(`Invariant app-page handler received invalid cache entry ${(_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`);
1232
+ }
1233
+ const didPostpone = typeof cacheEntry.value.postponed === 'string';
1234
+ // Set the build ID header for RSC navigation requests when deploymentId is configured. This
1235
+ // corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID
1236
+ // from the RSC payload when deploymentId is set (relying on this header instead). Server
1237
+ // actions are excluded here because action redirect responses get the deployment ID header
1238
+ // from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts
1239
+ // which copies headers from the internal RSC fetch).
1240
+ // For static prerenders served from CDN, routes-manifest.json adds a header.
1241
+ if (isRSCRequest && !isPossibleServerAction && deploymentId) {
1242
+ res.setHeader(_constants1.NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);
1243
+ }
1244
+ if (isSSG && // We don't want to send a cache header for requests that contain dynamic
1245
+ // data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
1246
+ // request, then we should set the cache header.
1247
+ !isDynamicRSCRequest && (!didPostpone || isPrefetchRSCRequest)) {
1248
+ if (!isMinimalMode) {
1249
+ // set x-nextjs-cache header to match the header
1250
+ // we set for the image-optimizer
1251
+ res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');
1252
+ }
1253
+ // Set a header used by the client router to signal the response is static
1254
+ // and should respect the `static` cache staleTime value.
1255
+ res.setHeader(_approuterheaders.NEXT_IS_PRERENDER_HEADER, '1');
1256
+ }
1257
+ const { value: cachedData } = cacheEntry;
1258
+ // Coerce the cache control parameter from the render.
1259
+ let cacheControl;
1260
+ // If this is a resume request in minimal mode it is streamed with dynamic
1261
+ // content and should not be cached.
1262
+ if (hasPostponedState) {
1263
+ cacheControl = {
1264
+ revalidate: 0,
1265
+ expire: undefined
1266
+ };
1267
+ } else if (isDynamicRSCRequest) {
1268
+ cacheControl = {
1269
+ revalidate: 0,
1270
+ expire: undefined
1271
+ };
1272
+ } else if (!routeModule.isDev) {
1273
+ // If this is a preview mode request, we shouldn't cache it
1274
+ if (isDraftMode) {
1275
+ cacheControl = {
1276
+ revalidate: 0,
1277
+ expire: undefined
1278
+ };
1279
+ } else if (!isSSG) {
1280
+ if (!res.getHeader('Cache-Control')) {
1281
+ cacheControl = {
1282
+ revalidate: 0,
1283
+ expire: undefined
1284
+ };
1285
+ }
1286
+ } else if (cacheEntry.cacheControl) {
1287
+ // If the cache entry has a cache control with a revalidate value that's
1288
+ // a number, use it.
1289
+ if (typeof cacheEntry.cacheControl.revalidate === 'number') {
1290
+ if (cacheEntry.cacheControl.revalidate < 1) {
1291
+ throw new Error(`Invalid revalidate configuration provided: ${cacheEntry.cacheControl.revalidate} < 1`);
1292
+ }
1293
+ cacheControl = {
1294
+ revalidate: cacheEntry.cacheControl.revalidate,
1295
+ expire: cacheEntry.cacheControl.expire
1296
+ };
1297
+ } else {
1298
+ cacheControl = {
1299
+ revalidate: _constants1.CACHE_ONE_YEAR_SECONDS,
1300
+ expire: undefined
1301
+ };
1302
+ }
1303
+ }
1304
+ }
1305
+ cacheEntry.cacheControl = cacheControl;
1306
+ if (typeof segmentPrefetchHeader === 'string' && (cachedData == null ? void 0 : cachedData.kind) === _responsecache.CachedRouteKind.APP_PAGE && cachedData.segmentData) {
1307
+ var _cachedData_headers1;
1308
+ // This is a prefetch request issued by the client Segment Cache. These
1309
+ // should never reach the application layer (lambda). We should either
1310
+ // respond from the cache (HIT) or respond with 404 (MISS).
1311
+ // Set a header to indicate that PPR is enabled for this route. This
1312
+ // lets the client distinguish between a regular cache miss and a cache
1313
+ // miss due to PPR being disabled. In other contexts this header is used
1314
+ // to indicate that the response contains dynamic data, but here we're
1315
+ // only using it to indicate that the feature is enabled — the segment
1316
+ // response itself contains whether the data is dynamic.
1317
+ res.setHeader(_approuterheaders.NEXT_DID_POSTPONE_HEADER, '2');
1318
+ // Add the cache tags header to the response if it exists and we're in
1319
+ // minimal mode while rendering a static page.
1320
+ const tags = (_cachedData_headers1 = cachedData.headers) == null ? void 0 : _cachedData_headers1[_constants1.NEXT_CACHE_TAGS_HEADER];
1321
+ if (isMinimalMode && isSSG && tags && typeof tags === 'string') {
1322
+ res.setHeader(_constants1.NEXT_CACHE_TAGS_HEADER, tags);
1323
+ }
1324
+ const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);
1325
+ if (matchedSegment !== undefined) {
1326
+ // Cache hit
1327
+ return (0, _sendpayload.sendRenderResult)({
1328
+ req,
1329
+ res,
1330
+ generateEtags: nextConfig.generateEtags,
1331
+ poweredByHeader: nextConfig.poweredByHeader,
1332
+ result: _renderresult.default.fromStatic(matchedSegment, _approuterheaders.RSC_CONTENT_TYPE_HEADER),
1333
+ cacheControl: cacheEntry.cacheControl
1334
+ });
1335
+ }
1336
+ // Cache miss. Either a cache entry for this route has not been generated
1337
+ // (which technically should not be possible when PPR is enabled, because
1338
+ // at a minimum there should always be a fallback entry) or there's no
1339
+ // match for the requested segment. Respond with a 404.
1340
+ res.statusCode = 404;
1341
+ return (0, _sendpayload.sendRenderResult)({
1342
+ req,
1343
+ res,
1344
+ generateEtags: nextConfig.generateEtags,
1345
+ poweredByHeader: nextConfig.poweredByHeader,
1346
+ result: _renderresult.default.EMPTY,
1347
+ cacheControl: cacheEntry.cacheControl
1348
+ });
1349
+ }
1350
+ // `onCacheEntry` lets the platform capture a freshly prerendered result
1351
+ // so the proxy can write it to the ISR cache; on deploy it returns true
1352
+ // and the function returns below. In debug-shell mode the render was
1353
+ // skipped and we only serve the already-cached shell, so there is nothing
1354
+ // to capture, and we need to reach the serve path below to close the
1355
+ // document. `onCacheEntry` is absent in `next start`/dev, so this guard
1356
+ // only affects the deploy (minimalMode) path.
1357
+ if (!isDebugStaticShell && await invokeOnCacheEntry(cacheEntry)) {
1358
+ return null;
1359
+ }
1360
+ if (cachedData.headers) {
1361
+ const headers = {
1362
+ ...cachedData.headers
1363
+ };
1364
+ if (!isMinimalMode || !isSSG) {
1365
+ delete headers[_constants1.NEXT_CACHE_TAGS_HEADER];
1366
+ }
1367
+ for (let [key, value] of Object.entries(headers)){
1368
+ if (typeof value === 'undefined') continue;
1369
+ if (Array.isArray(value)) {
1370
+ for (const v of value){
1371
+ res.appendHeader(key, v);
1372
+ }
1373
+ } else if (typeof value === 'number') {
1374
+ value = value.toString();
1375
+ res.appendHeader(key, value);
1376
+ } else {
1377
+ res.appendHeader(key, value);
1378
+ }
1379
+ }
1380
+ }
1381
+ // Add the cache tags header to the response if it exists and we're in
1382
+ // minimal mode while rendering a static page.
1383
+ const tags = (_cachedData_headers = cachedData.headers) == null ? void 0 : _cachedData_headers[_constants1.NEXT_CACHE_TAGS_HEADER];
1384
+ if (isMinimalMode && isSSG && tags && typeof tags === 'string') {
1385
+ res.setHeader(_constants1.NEXT_CACHE_TAGS_HEADER, tags);
1386
+ }
1387
+ // If the request is a data request, then we shouldn't set the status code
1388
+ // from the response because it should always be 200. This should be gated
1389
+ // behind the experimental PPR flag.
1390
+ if (cachedData.status && (!isRSCRequest || !isRoutePPREnabled)) {
1391
+ res.statusCode = cachedData.status;
1392
+ }
1393
+ // Redirect information is encoded in RSC payload, so we don't need to use redirect status codes
1394
+ if (!isMinimalMode && cachedData.status && _redirectstatuscode.RedirectStatusCode[cachedData.status] && isRSCRequest) {
1395
+ res.statusCode = 200;
1396
+ }
1397
+ // Mark that the request did postpone.
1398
+ if (didPostpone && !isDynamicRSCRequest) {
1399
+ res.setHeader(_approuterheaders.NEXT_DID_POSTPONE_HEADER, '1');
1400
+ }
1401
+ // we don't go through this block when preview mode is true
1402
+ // as preview mode is a dynamic request (bypasses cache) and doesn't
1403
+ // generate both HTML and payloads in the same request so continue to just
1404
+ // return the generated payload
1405
+ if (isRSCRequest && !isDraftMode) {
1406
+ // If this is a dynamic RSC request, then stream the response.
1407
+ if (typeof cachedData.rscData === 'undefined') {
1408
+ // If the response is not an RSC response, then we can't serve it.
1409
+ if (cachedData.html.contentType !== _approuterheaders.RSC_CONTENT_TYPE_HEADER) {
1410
+ if (nextConfig.cacheComponents) {
1411
+ res.statusCode = 404;
1412
+ return (0, _sendpayload.sendRenderResult)({
1413
+ req,
1414
+ res,
1415
+ generateEtags: nextConfig.generateEtags,
1416
+ poweredByHeader: nextConfig.poweredByHeader,
1417
+ result: _renderresult.default.EMPTY,
1418
+ cacheControl: cacheEntry.cacheControl
1419
+ });
1420
+ } else {
1421
+ // Otherwise this case is not expected.
1422
+ throw new _invarianterror.InvariantError(`Expected RSC response, got ${cachedData.html.contentType}`);
1423
+ }
1424
+ }
1425
+ return (0, _sendpayload.sendRenderResult)({
1426
+ req,
1427
+ res,
1428
+ generateEtags: nextConfig.generateEtags,
1429
+ poweredByHeader: nextConfig.poweredByHeader,
1430
+ result: cachedData.html,
1431
+ cacheControl: cacheEntry.cacheControl
1432
+ });
1433
+ }
1434
+ // As this isn't a prefetch request, we should serve the static flight
1435
+ // data.
1436
+ return (0, _sendpayload.sendRenderResult)({
1437
+ req,
1438
+ res,
1439
+ generateEtags: nextConfig.generateEtags,
1440
+ poweredByHeader: nextConfig.poweredByHeader,
1441
+ result: _renderresult.default.fromStatic(cachedData.rscData, _approuterheaders.RSC_CONTENT_TYPE_HEADER),
1442
+ cacheControl: cacheEntry.cacheControl
1443
+ });
1444
+ }
1445
+ // This is a request for HTML data.
1446
+ const body = cachedData.html;
1447
+ // Instant Navigation Testing API: under the instant lock we serve the
1448
+ // static shell as a complete document without resuming the dynamic
1449
+ // render, either recovering from an empty (blocking) shell or appending
1450
+ // the closing tags to a non-empty one.
1451
+ if (isInstantNavigationTest && isDebugStaticShell) {
1452
+ const isEmptyPrelude = typeof cachedData.postponed === 'string' && _entrybase.isEmptyHTMLPrelude(cachedData.postponed);
1453
+ if (isEmptyPrelude) {
1454
+ // A blocking route (a Suspense boundary above <body>, or `export
1455
+ // const instant = false`) has an empty static shell. Serving it under
1456
+ // the lock would be a blank document with no way to release the lock,
1457
+ // so every reload would render the same blank shell and leave the
1458
+ // user stuck. We surface the reason instead: in development we throw
1459
+ // so it shows as an error overlay (the catch below clears the instant
1460
+ // cookie via Set-Cookie); in production we serve a minimal document
1461
+ // whose script clears the cookie client-side, since on deploy the
1462
+ // edge has already served the cached shell and committed the response
1463
+ // headers and this function only resumes by appending to the body, so
1464
+ // a Set-Cookie could not take effect. `next start` reuses the same
1465
+ // document, where throwing would render only a generic "Internal
1466
+ // Server Error" page.
1467
+ if (routeModule.isDev === true) {
1468
+ throw new Error(`The Navigation Inspector was active, but you attempted to load a blocking route. Reload the page to reset the inspector.\n\n` + `To identify why this route is blocking, refer to the Instant Navigation docs: https://preview.nextjs.org/docs/app/guides/instant-navigation`);
1469
+ }
1470
+ const recoveryHtml = `<!DOCTYPE html><html><head><meta charSet="utf-8"/></head><body>` + `<script>document.cookie="${_approuterheaders.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>`;
1471
+ return (0, _sendpayload.sendRenderResult)({
1472
+ req,
1473
+ res,
1474
+ generateEtags: nextConfig.generateEtags,
1475
+ poweredByHeader: nextConfig.poweredByHeader,
1476
+ result: _renderresult.default.fromStatic(recoveryHtml, _constants1.HTML_CONTENT_TYPE_HEADER),
1477
+ cacheControl: {
1478
+ revalidate: 0,
1479
+ expire: undefined
1480
+ }
1481
+ });
1482
+ }
1483
+ // Non-empty shell: the cookie-guarded bootstrap that sets
1484
+ // self.__next_instant_test is embedded in the prerendered shell via
1485
+ // `bootstrapScriptContent`, so it is already present (in the served
1486
+ // shell for a fresh render, or in the cached prelude on deploy). Append
1487
+ // the closing tags so the browser can parse a complete document.
1488
+ body.push(new ReadableStream({
1489
+ start (controller) {
1490
+ controller.enqueue(_encodedtags.ENCODED_TAGS.CLOSED.BODY_AND_HTML);
1491
+ controller.close();
1492
+ }
1493
+ }));
1494
+ return (0, _sendpayload.sendRenderResult)({
1495
+ req,
1496
+ res,
1497
+ generateEtags: nextConfig.generateEtags,
1498
+ poweredByHeader: nextConfig.poweredByHeader,
1499
+ result: body,
1500
+ cacheControl: {
1501
+ revalidate: 0,
1502
+ expire: undefined
1503
+ }
1504
+ });
1505
+ }
1506
+ // If there's no postponed state, we should just serve the HTML. This
1507
+ // should also be the case for a resume request because it's completed
1508
+ // as a server render (rather than a static render).
1509
+ if (!didPostpone || isMinimalMode || isRSCRequest) {
1510
+ // If we're in test mode, we should add a sentinel chunk to the response
1511
+ // that's between the static and dynamic parts so we can compare the
1512
+ // chunks and add assertions.
1513
+ if (process.env.__NEXT_TEST_MODE && isMinimalMode && isRoutePPREnabled && body.contentType === _constants1.HTML_CONTENT_TYPE_HEADER) {
1514
+ // As we're in minimal mode, the static part would have already been
1515
+ // streamed first. The only part that this streams is the dynamic part
1516
+ // so we should FIRST stream the sentinel and THEN the dynamic part.
1517
+ body.unshift(createPPRBoundarySentinel());
1518
+ }
1519
+ return (0, _sendpayload.sendRenderResult)({
1520
+ req,
1521
+ res,
1522
+ generateEtags: nextConfig.generateEtags,
1523
+ poweredByHeader: nextConfig.poweredByHeader,
1524
+ result: body,
1525
+ cacheControl: cacheEntry.cacheControl
1526
+ });
1527
+ }
1528
+ // If we're debugging the static shell or the dynamic API accesses, we
1529
+ // should just serve the HTML without resuming the render. The returned
1530
+ // HTML will be the static shell so all the Dynamic API's will be used
1531
+ // during static generation.
1532
+ if (isDebugStaticShell || isDebugDynamicAccesses) {
1533
+ // Since we're not resuming the render, we need to at least add the
1534
+ // closing body and html tags to create valid HTML.
1535
+ body.push(new ReadableStream({
1536
+ start (controller) {
1537
+ controller.enqueue(_encodedtags.ENCODED_TAGS.CLOSED.BODY_AND_HTML);
1538
+ controller.close();
1539
+ }
1540
+ }));
1541
+ return (0, _sendpayload.sendRenderResult)({
1542
+ req,
1543
+ res,
1544
+ generateEtags: nextConfig.generateEtags,
1545
+ poweredByHeader: nextConfig.poweredByHeader,
1546
+ result: body,
1547
+ cacheControl: {
1548
+ revalidate: 0,
1549
+ expire: undefined
1550
+ }
1551
+ });
1552
+ }
1553
+ // If we're in test mode, we should add a sentinel chunk to the response
1554
+ // that's between the static and dynamic parts so we can compare the
1555
+ // chunks and add assertions.
1556
+ if (process.env.__NEXT_TEST_MODE) {
1557
+ body.push(createPPRBoundarySentinel());
1558
+ }
1559
+ resumeRender(body, cachedData.postponed, span);
1560
+ return (0, _sendpayload.sendRenderResult)({
1561
+ req,
1562
+ res,
1563
+ generateEtags: nextConfig.generateEtags,
1564
+ poweredByHeader: nextConfig.poweredByHeader,
1565
+ result: body,
1566
+ // We don't want to cache the response if it has postponed data because
1567
+ // the response being sent to the client it's dynamic parts are streamed
1568
+ // to the client on the same request.
1569
+ cacheControl: {
1570
+ revalidate: 0,
1571
+ expire: undefined
1572
+ }
1573
+ });
1574
+ };
1575
+ // TODO: activeSpan code path is for when wrapped by
1576
+ // next-server can be removed when this is no longer used
1577
+ if (isWrappedByNextServer && activeSpan) {
1578
+ await handleResponse(activeSpan);
1579
+ } else {
1580
+ parentSpan = tracer.getActiveScopeSpan();
1581
+ return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(_constants.BaseServerSpan.handleRequest, {
1582
+ spanName: `${method} ${srcPage}`,
1583
+ kind: _tracer.SpanKind.SERVER,
1584
+ attributes: {
1585
+ 'http.method': method,
1586
+ 'http.target': httpTarget
1587
+ }
1588
+ }, handleResponse), undefined, !isWrappedByNextServer);
1589
+ }
1590
+ } catch (err) {
1591
+ // If an Instant Navigation Testing document render fails (e.g. the page
1592
+ // blocks at the root with no Suspense boundary above it, producing an empty
1593
+ // or bailed-out static shell), clear the instant navigation cookie before
1594
+ // serving the error page. Otherwise the cookie would persist and every
1595
+ // reload would re-render the same broken shell, leaving the user stuck
1596
+ // without a way to release the lock.
1597
+ if (isInstantNavigationTest && !res.headersSent) {
1598
+ res.setHeader('Set-Cookie', `${_approuterheaders.NEXT_INSTANT_TEST_COOKIE}=; Path=/; Max-Age=0`);
1599
+ }
1600
+ if (!(err instanceof _nofallbackerrorexternal.NoFallbackError)) {
1601
+ const silenceLog = false;
1602
+ await routeModule.onRequestError(req, err, {
1603
+ routerKind: 'App Router',
1604
+ routePath: srcPage,
1605
+ routeType: 'render',
1606
+ revalidateReason: (0, _utils.getRevalidateReason)({
1607
+ isStaticGeneration: isSSG,
1608
+ isOnDemandRevalidate
1609
+ })
1610
+ }, silenceLog, routerServerContext);
1611
+ }
1612
+ // rethrow so that we can handle serving error page
1613
+ throw err;
1614
+ }
1615
+ }
1616
+ return {
1617
+ __next_app__,
1618
+ routeModule,
1619
+ handler
1620
+ };
1621
+ }
1622
+ // TODO: omit this from production builds, only test builds should include it
1623
+ /**
1624
+ * Creates a readable stream that emits a PPR boundary sentinel.
1625
+ *
1626
+ * @returns A readable stream that emits a PPR boundary sentinel.
1627
+ */ function createPPRBoundarySentinel() {
1628
+ return new ReadableStream({
1629
+ start (controller) {
1630
+ controller.enqueue(new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->'));
1631
+ controller.close();
1632
+ }
1633
+ });
1634
+ }
1635
+
1636
+ //# sourceMappingURL=app-page-runtime.js.map