@semiont/frontend 0.3.2 → 0.3.4
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.
- package/package.json +1 -1
- package/standalone/apps/frontend/.next/BUILD_ID +1 -1
- package/standalone/apps/frontend/.next/app-path-routes-manifest.json +5 -5
- package/standalone/apps/frontend/.next/build-manifest.json +6 -6
- package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
- package/standalone/apps/frontend/.next/react-loadable-manifest.json +2 -2
- package/standalone/apps/frontend/.next/required-server-files.json +18 -6
- package/standalone/apps/frontend/.next/routes-manifest.json +1 -0
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js +776 -516
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js +1718 -1455
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js +724 -461
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js +370 -109
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js +581 -318
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js +449 -186
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js +430 -168
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js +31 -16
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js +388 -126
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js +537 -275
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js +388 -126
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +745 -482
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js +366 -103
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js +600 -339
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js +956 -691
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js +1699 -1436
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js +390 -127
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js +1779 -1518
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js +1601 -1338
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js +2048 -1785
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js +462 -204
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js +476 -216
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js +489 -229
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error/page.js +627 -240
- package/standalone/apps/frontend/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.html +1 -2
- package/standalone/apps/frontend/.next/server/app/_global-error.rsc +13 -9
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +13 -9
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found/page.js +814 -559
- package/standalone/apps/frontend/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.rsc +8 -6
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +8 -6
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js +54 -39
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js +49 -34
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js +24 -9
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js +24 -9
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app-paths-manifest.json +5 -5
- package/standalone/apps/frontend/.next/server/chunks/2617.js +43 -7
- package/standalone/apps/frontend/.next/server/chunks/3144.js +7 -3
- package/standalone/apps/frontend/.next/server/chunks/4741.js +60 -252
- package/standalone/apps/frontend/.next/server/chunks/730.js +1 -1
- package/standalone/apps/frontend/.next/server/chunks/7420.js +21 -288
- package/standalone/apps/frontend/.next/server/chunks/7873.js +24 -2
- package/standalone/apps/frontend/.next/server/chunks/{7246.js → 8569.js} +1169 -282
- package/standalone/apps/frontend/.next/server/chunks/{2628.js → 9927.js} +11422 -4290
- package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/middleware.js +17991 -10692
- package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
- package/standalone/apps/frontend/.next/server/pages/500.html +1 -2
- package/standalone/apps/frontend/.next/server/prefetch-hints.json +1 -0
- package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
- package/standalone/apps/frontend/.next/static/I_XveRdyStDMqYJPcAAy5/_buildManifest.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/1315.3f76aa23520d903e.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/{432.4c1d971431c60454.js → 432.8cb455bfe72957a9.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/87c73c54-e11922cda838f8cc.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/{891cff7f-c20ce667b1225aa7.js → 891cff7f-d7677a8f46c597cc.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/{layout-4b67f7b5d5ba4728.js → layout-956ba0ffa1199bff.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{layout-f76e1916749e66f6.js → layout-262d8dd6c6e33738.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{layout-a403fd7a4877cc04.js → layout-c072ce8c7aeaa92e.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{layout-2d4e9c2be4b4a4c7.js → layout-b60605082e447f42.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/common-42653c14d34c8864.js +69 -0
- package/standalone/apps/frontend/.next/static/chunks/framework-b879567b90d34fb5.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/vendors-63213253c18580f4.js +40 -0
- package/standalone/apps/frontend/.next/static/chunks/{webpack-abf2ad17f175f867.js → webpack-a0284d55d288650f.js} +1 -1
- package/standalone/apps/frontend/package.json +5 -5
- package/standalone/apps/frontend/server.js +1 -1
- package/standalone/node_modules/@next/env/package.json +1 -1
- package/standalone/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
- package/standalone/node_modules/next/dist/build/analysis/extract-const-value.js +78 -63
- package/standalone/node_modules/next/dist/build/analysis/get-page-static-info.js +64 -40
- package/standalone/node_modules/next/dist/build/create-compiler-aliases.js +2 -0
- package/standalone/node_modules/next/dist/build/define-env.js +29 -11
- package/standalone/node_modules/next/dist/build/duration-to-string.js +1 -1
- package/standalone/node_modules/next/dist/build/entries.js +55 -295
- package/standalone/node_modules/next/dist/build/file-classifier.js +76 -0
- package/standalone/node_modules/next/dist/build/get-supported-browsers.js +38 -0
- package/standalone/node_modules/next/dist/build/load-jsconfig.js +7 -7
- package/standalone/node_modules/next/dist/build/lockfile.js +90 -9
- package/standalone/node_modules/next/dist/build/next-config-ts/transpile-config.js +128 -49
- package/standalone/node_modules/next/dist/build/print-build-errors.js +72 -0
- package/standalone/node_modules/next/dist/build/route-discovery.js +353 -0
- package/standalone/node_modules/next/dist/build/segment-config/app/app-segment-config.js +34 -17
- package/standalone/node_modules/next/dist/build/static-paths/app.js +68 -15
- package/standalone/node_modules/next/dist/build/static-paths/pages.js +3 -3
- package/standalone/node_modules/next/dist/build/swc/index.js +125 -48
- package/standalone/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
- package/standalone/node_modules/next/dist/build/swc/options.js +23 -6
- package/standalone/node_modules/next/dist/build/utils.js +48 -94
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/index.js +14 -3
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +4 -2
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +4 -2
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +1 -0
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +5 -5
- package/standalone/node_modules/next/dist/build/webpack/config/index.js +3 -2
- package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +2 -1
- package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +8 -1
- package/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +13 -4
- package/standalone/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +3 -1
- package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +2 -16
- package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +2 -2
- package/standalone/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +106 -0
- package/standalone/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +16 -8
- package/standalone/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +24 -11
- package/standalone/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +21 -2
- package/standalone/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +6 -5
- package/standalone/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +10 -14
- package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +18 -4
- package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +5 -4
- package/standalone/node_modules/next/dist/build/webpack-config.js +18 -8
- package/standalone/node_modules/next/dist/cli/next-test.js +4 -3
- package/standalone/node_modules/next/dist/client/app-find-source-map-url.js +2 -1
- package/standalone/node_modules/next/dist/client/components/app-router-headers.js +10 -0
- package/standalone/node_modules/next/dist/client/components/app-router-instance.js +82 -4
- package/standalone/node_modules/next/dist/client/components/app-router.js +39 -20
- package/standalone/node_modules/next/dist/client/components/builtin/app-error.js +29 -65
- package/standalone/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
- package/standalone/node_modules/next/dist/client/components/builtin/global-error.js +56 -38
- package/standalone/node_modules/next/dist/client/components/error-boundary.js +16 -6
- package/standalone/node_modules/next/dist/client/components/forbidden.js +1 -1
- package/standalone/node_modules/next/dist/client/components/handle-isr-error.js +3 -4
- package/standalone/node_modules/next/dist/client/components/links.js +7 -0
- package/standalone/node_modules/next/dist/client/components/navigation-untracked.js +2 -0
- package/standalone/node_modules/next/dist/client/components/navigation.js +27 -0
- package/standalone/node_modules/next/dist/client/components/navigation.react-server.js +5 -2
- package/standalone/node_modules/next/dist/client/components/not-found.js +1 -1
- package/standalone/node_modules/next/dist/client/components/redirect-boundary.js +1 -1
- package/standalone/node_modules/next/dist/client/components/redirect-error.js +0 -9
- package/standalone/node_modules/next/dist/client/components/redirect.js +2 -2
- package/standalone/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +73 -0
- package/standalone/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +102 -8
- package/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +165 -48
- package/standalone/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +19 -11
- package/standalone/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +669 -457
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +19 -20
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +5 -117
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +34 -19
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +16 -32
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +85 -57
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +12 -10
- package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +10 -1
- package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer.js +1 -1
- package/standalone/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/cache.js +732 -231
- package/standalone/node_modules/next/dist/client/components/segment-cache/lru.js +13 -6
- package/standalone/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/navigation.js +388 -250
- package/standalone/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/scheduler.js +154 -55
- package/standalone/node_modules/next/dist/client/components/segment-cache/vary-path.js +63 -1
- package/standalone/node_modules/next/dist/client/components/unauthorized.js +1 -1
- package/standalone/node_modules/next/dist/client/components/use-action-queue.js +49 -3
- package/standalone/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js +9 -1
- package/standalone/node_modules/next/dist/client/flight-data-helpers.js +42 -29
- package/standalone/node_modules/next/dist/client/lib/javascript-url.js +32 -0
- package/standalone/node_modules/next/dist/client/lib/promise.js +53 -0
- package/standalone/node_modules/next/dist/client/{app-build-id.js → navigation-build-id.js} +17 -13
- package/standalone/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js +14 -0
- package/standalone/node_modules/next/dist/client/route-loader.js +9 -46
- package/standalone/node_modules/next/dist/client/router.js +1 -1
- package/standalone/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +74 -3
- package/standalone/node_modules/next/dist/compiled/babel/bundle.js +1 -1
- package/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +4 -4
- package/standalone/node_modules/next/dist/compiled/browserslist/index.js +1 -1
- package/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/standalone/node_modules/next/dist/compiled/next-devtools/index.js +2209 -23
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
- package/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +10 -10
- package/standalone/node_modules/next/dist/compiled/react-is/package.json +1 -1
- package/standalone/node_modules/next/dist/compiled/tar/index.min.js +1 -0
- package/standalone/node_modules/next/dist/compiled/tar/package.json +1 -1
- package/standalone/node_modules/next/dist/compiled/unistore/unistore.js +1 -1
- package/standalone/node_modules/next/dist/lib/bundler.js +97 -0
- package/standalone/node_modules/next/dist/lib/constants.js +19 -4
- package/standalone/node_modules/next/dist/lib/download-swc.js +2 -2
- package/standalone/node_modules/next/dist/lib/find-root.js +11 -7
- package/standalone/node_modules/next/dist/lib/format-server-error.js +1 -0
- package/standalone/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +3 -20
- package/standalone/node_modules/next/dist/lib/interop-default.js +1 -0
- package/standalone/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
- package/standalone/node_modules/next/dist/lib/load-custom-routes.js +49 -5
- package/standalone/node_modules/next/dist/lib/memory/trace.js +109 -0
- package/standalone/node_modules/next/dist/lib/metadata/get-metadata-route.js +11 -2
- package/standalone/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
- package/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
- package/standalone/node_modules/next/dist/lib/try-to-parse-path.js +1 -2
- package/standalone/node_modules/next/dist/lib/turbopack-warning.js +0 -1
- package/standalone/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +6 -3
- package/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +1 -1
- package/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -1
- package/standalone/node_modules/next/dist/lib/typescript/runTypeCheck.js +6 -8
- package/standalone/node_modules/next/dist/lib/typescript/type-paths.js +7 -12
- package/standalone/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +17 -7
- package/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +9 -12
- package/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +66 -16
- package/standalone/node_modules/next/dist/next-devtools/server/shared.js +6 -10
- package/standalone/node_modules/next/dist/next-devtools/shared/webpack-module-path.js +4 -4
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js +22 -4
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js +7 -1
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js +18 -13
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js +7 -4
- package/standalone/node_modules/next/dist/server/app-render/action-handler.js +83 -15
- package/standalone/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +0 -82
- package/standalone/node_modules/next/dist/server/app-render/app-render-render-utils.js +45 -81
- package/standalone/node_modules/next/dist/server/app-render/app-render.js +1746 -803
- package/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +136 -50
- package/standalone/node_modules/next/dist/server/app-render/create-error-handler.js +6 -4
- package/standalone/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +52 -26
- package/standalone/node_modules/next/dist/server/app-render/csrf-protection.js +14 -3
- package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
- package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
- package/standalone/node_modules/next/dist/server/app-render/dynamic-rendering.js +353 -37
- package/standalone/node_modules/next/dist/server/app-render/get-asset-query-string.js +2 -2
- package/standalone/node_modules/next/dist/server/app-render/get-layer-assets.js +1 -1
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
- package/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +8 -1
- package/standalone/node_modules/next/dist/server/app-render/postponed-state.js +2 -1
- package/standalone/node_modules/next/dist/server/app-render/prospective-render-utils.js +1 -0
- package/standalone/node_modules/next/dist/server/app-render/segment-explorer-path.js +35 -10
- package/standalone/node_modules/next/dist/server/app-render/staged-rendering.js +142 -72
- package/standalone/node_modules/next/dist/server/app-render/stale-time.js +111 -0
- package/standalone/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
- package/standalone/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
- package/standalone/node_modules/next/dist/server/app-render/types.js +10 -4
- package/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +3 -1
- package/standalone/node_modules/next/dist/server/app-render/vary-params.js +336 -0
- package/standalone/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +59 -12
- package/standalone/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +54 -26
- package/standalone/node_modules/next/dist/server/async-storage/request-store.js +4 -4
- package/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -5
- package/standalone/node_modules/next/dist/server/base-server.js +65 -53
- package/standalone/node_modules/next/dist/server/config-schema.js +93 -8
- package/standalone/node_modules/next/dist/server/config-shared.js +57 -7
- package/standalone/node_modules/next/dist/server/config.js +96 -25
- package/standalone/node_modules/next/dist/server/dev/browser-logs/file-logger.js +9 -6
- package/standalone/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +46 -0
- package/standalone/node_modules/next/dist/server/dev/browser-logs/source-map.js +1 -4
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +264 -33
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +8 -4
- package/standalone/node_modules/next/dist/server/dev/log-requests.js +10 -2
- package/standalone/node_modules/next/dist/server/dev/middleware-turbopack.js +20 -10
- package/standalone/node_modules/next/dist/server/dev/middleware-webpack.js +13 -3
- package/standalone/node_modules/next/dist/server/dev/next-dev-server.js +19 -6
- package/standalone/node_modules/next/dist/server/dev/on-demand-entry-handler.js +69 -0
- package/standalone/node_modules/next/dist/server/dev/require-cache.js +51 -21
- package/standalone/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
- package/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +1 -0
- package/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +6 -15
- package/standalone/node_modules/next/dist/server/dynamic-rendering-utils.js +22 -0
- package/standalone/node_modules/next/dist/server/image-optimizer.js +157 -27
- package/standalone/node_modules/next/dist/server/lib/app-info-log.js +16 -38
- package/standalone/node_modules/next/dist/server/lib/cache-control.js +1 -1
- package/standalone/node_modules/next/dist/server/lib/clone-response.js +16 -16
- package/standalone/node_modules/next/dist/server/lib/cpu-profile.js +47 -16
- package/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +2 -2
- package/standalone/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
- package/standalone/node_modules/next/dist/server/lib/find-page-file.js +27 -7
- package/standalone/node_modules/next/dist/server/lib/implicit-tags.js +3 -3
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +5 -3
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +32 -10
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +18 -1
- package/standalone/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
- package/standalone/node_modules/next/dist/server/lib/lru-cache.js +9 -1
- package/standalone/node_modules/next/dist/server/lib/patch-fetch.js +40 -7
- package/standalone/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
- package/standalone/node_modules/next/dist/server/lib/render-server.js +4 -1
- package/standalone/node_modules/next/dist/server/lib/router-server.js +24 -13
- package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
- package/standalone/node_modules/next/dist/server/lib/router-utils/filesystem.js +16 -15
- package/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +32 -11
- package/standalone/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +3 -3
- package/standalone/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +71 -71
- package/standalone/node_modules/next/dist/server/lib/router-utils/typegen.js +247 -2
- package/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +2 -1
- package/standalone/node_modules/next/dist/server/lib/start-server.js +73 -39
- package/standalone/node_modules/next/dist/server/lib/trace/tracer.js +11 -1
- package/standalone/node_modules/next/dist/server/lib/utils.js +40 -11
- package/standalone/node_modules/next/dist/server/load-components.js +2 -0
- package/standalone/node_modules/next/dist/server/load-manifest.external.js +37 -17
- package/standalone/node_modules/next/dist/server/mcp/tools/get-errors.js +11 -4
- package/standalone/node_modules/next/dist/server/mcp/tools/get-logs.js +9 -3
- package/standalone/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +52 -44
- package/standalone/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +6 -2
- package/standalone/node_modules/next/dist/server/mcp/tools/get-routes.js +44 -79
- package/standalone/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +12 -4
- package/standalone/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +62 -72
- package/standalone/node_modules/next/dist/server/next-server.js +69 -99
- package/standalone/node_modules/next/dist/server/next.js +3 -0
- package/standalone/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +61 -6
- package/standalone/node_modules/next/dist/server/node-environment-extensions/date.js +4 -4
- package/standalone/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +13 -6
- package/standalone/node_modules/next/dist/server/node-environment-extensions/{utils.js → io-utils.js} +14 -5
- package/standalone/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +8 -8
- package/standalone/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
- package/standalone/node_modules/next/dist/server/node-environment-extensions/random.js +2 -2
- package/standalone/node_modules/next/dist/server/node-environment-extensions/{unhandled-rejection.js → unhandled-rejection.external.js} +23 -4
- package/standalone/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +3 -3
- package/standalone/node_modules/next/dist/server/node-environment.js +1 -1
- package/standalone/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +2 -1
- package/standalone/node_modules/next/dist/server/patch-error-inspect.js +37 -20
- package/standalone/node_modules/next/dist/server/render-result.js +9 -0
- package/standalone/node_modules/next/dist/server/render.js +27 -25
- package/standalone/node_modules/next/dist/server/require-hook.js +19 -8
- package/standalone/node_modules/next/dist/server/response-cache/utils.js +1 -0
- package/standalone/node_modules/next/dist/server/resume-data-cache/cache-store.js +35 -23
- package/standalone/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +16 -7
- package/standalone/node_modules/next/dist/server/revalidation-utils.js +12 -7
- package/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +2 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +4 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/module.js +31 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
- package/standalone/node_modules/next/dist/server/route-modules/pages/pages-handler.js +31 -8
- package/standalone/node_modules/next/dist/server/route-modules/route-module.js +71 -18
- package/standalone/node_modules/next/dist/server/stream-utils/encoded-tags.js +8 -0
- package/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +239 -58
- package/standalone/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +7 -2
- package/standalone/node_modules/next/dist/server/typescript/constant.js +1 -0
- package/standalone/node_modules/next/dist/server/typescript/rules/config.js +14 -3
- package/standalone/node_modules/next/dist/server/web/adapter.js +7 -3
- package/standalone/node_modules/next/dist/server/web/next-url.js +6 -2
- package/standalone/node_modules/next/dist/server/web/sandbox/sandbox.js +3 -0
- package/standalone/node_modules/next/dist/shared/lib/app-router-types.js +30 -11
- package/standalone/node_modules/next/dist/shared/lib/constants.js +7 -7
- package/standalone/node_modules/next/dist/shared/lib/deployment-id.js +37 -10
- package/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/standalone/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
- package/standalone/node_modules/next/dist/shared/lib/format-webpack-messages.js +22 -2
- package/standalone/node_modules/next/dist/shared/lib/image-config.js +3 -1
- package/standalone/node_modules/next/dist/shared/lib/is-internal.js +2 -0
- package/standalone/node_modules/next/dist/shared/lib/magic-identifier.js +6 -6
- package/standalone/node_modules/next/dist/shared/lib/router/router.js +32 -0
- package/standalone/node_modules/next/dist/shared/lib/router/utils/app-paths.js +11 -0
- package/standalone/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +11 -4
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +3 -2
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +9 -2
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-url.js +8 -2
- package/standalone/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
- package/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +4 -0
- package/standalone/node_modules/next/dist/shared/lib/size-limit.js +6 -1
- package/standalone/node_modules/next/dist/shared/lib/turbopack/compilation-events.js +47 -10
- package/standalone/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js +90 -116
- package/standalone/node_modules/next/dist/shared/lib/turbopack/utils.js +14 -26
- package/standalone/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
- package/standalone/node_modules/next/dist/shared/lib/utils.js +2 -2
- package/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/standalone/node_modules/next/dist/trace/index.js +4 -0
- package/standalone/node_modules/next/dist/trace/report/to-json-build.js +11 -108
- package/standalone/node_modules/next/dist/trace/report/to-json.js +52 -38
- package/standalone/node_modules/next/dist/trace/trace.js +15 -1
- package/standalone/node_modules/next/package.json +21 -23
- package/standalone/node_modules/react/cjs/react.development.js +1284 -0
- package/standalone/package.json +3 -3
- package/standalone/packages/core/package.json +1 -1
- package/standalone/apps/frontend/.next/static/chunks/1315.18c68981a2eab4fe.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/87c73c54-c5fda2db2a4bd732.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/common-d9b436492e46bb05.js +0 -69
- package/standalone/apps/frontend/.next/static/chunks/framework-86c2a58f458066a5.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/vendors-c7197feb11002a6e.js +0 -10
- package/standalone/apps/frontend/.next/static/kMwuefB4Z1_6Xta5NPqs1/_buildManifest.js +0 -1
- package/standalone/node_modules/next/dist/client/components/router-reducer/handle-mutable.js +0 -66
- package/standalone/node_modules/next/dist/compiled/babel/code-frame.js +0 -1
- package/standalone/node_modules/next/dist/compiled/babel-code-frame/index.js +0 -1
- package/standalone/node_modules/next/dist/compiled/babel-code-frame/package.json +0 -1
- package/standalone/node_modules/next/dist/compiled/tar/index.js +0 -1
- package/standalone/node_modules/next/dist/server/app-render/staged-validation.js +0 -32
- package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +0 -76
- package/standalone/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +0 -52
- package/standalone/node_modules/typescript/lib/typescript.js +0 -200276
- package/standalone/node_modules/typescript/package.json +0 -120
- /package/standalone/apps/frontend/.next/static/{kMwuefB4Z1_6Xta5NPqs1 → I_XveRdyStDMqYJPcAAy5}/_ssgManifest.js +0 -0
|
@@ -28,6 +28,14 @@ module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.j
|
|
|
28
28
|
|
|
29
29
|
/***/ }),
|
|
30
30
|
|
|
31
|
+
/***/ 17891:
|
|
32
|
+
/***/ ((module) => {
|
|
33
|
+
|
|
34
|
+
"use strict";
|
|
35
|
+
module.exports = require("next/dist/shared/lib/router/utils/get-segment-param");
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
31
39
|
/***/ 19121:
|
|
32
40
|
/***/ ((module) => {
|
|
33
41
|
|
|
@@ -335,142 +343,12 @@ module.exports = require("crypto");
|
|
|
335
343
|
|
|
336
344
|
/***/ }),
|
|
337
345
|
|
|
338
|
-
/***/
|
|
339
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
340
|
-
|
|
341
|
-
"use strict";
|
|
342
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
343
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
344
|
-
/* harmony export */ });
|
|
345
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
346
|
-
|
|
347
|
-
function TrashIcon({ title, titleId, ...props }, svgRef) {
|
|
348
|
-
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
349
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
350
|
-
fill: "none",
|
|
351
|
-
viewBox: "0 0 24 24",
|
|
352
|
-
strokeWidth: 1.5,
|
|
353
|
-
stroke: "currentColor",
|
|
354
|
-
"aria-hidden": "true",
|
|
355
|
-
"data-slot": "icon",
|
|
356
|
-
ref: svgRef,
|
|
357
|
-
"aria-labelledby": titleId
|
|
358
|
-
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
359
|
-
id: titleId
|
|
360
|
-
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
361
|
-
strokeLinecap: "round",
|
|
362
|
-
strokeLinejoin: "round",
|
|
363
|
-
d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
364
|
-
}));
|
|
365
|
-
}
|
|
366
|
-
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
|
|
367
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
/***/ }),
|
|
371
|
-
|
|
372
|
-
/***/ 63033:
|
|
373
|
-
/***/ ((module) => {
|
|
374
|
-
|
|
375
|
-
"use strict";
|
|
376
|
-
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
377
|
-
|
|
378
|
-
/***/ }),
|
|
379
|
-
|
|
380
|
-
/***/ 67729:
|
|
346
|
+
/***/ 57697:
|
|
381
347
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
382
348
|
|
|
383
349
|
"use strict";
|
|
384
350
|
__webpack_require__.r(__webpack_exports__);
|
|
385
351
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
386
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
387
|
-
/* harmony export */ });
|
|
388
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30274);
|
|
389
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
390
|
-
// This file is generated by the Webpack next-flight-loader.
|
|
391
|
-
|
|
392
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
393
|
-
function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/terms/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
394
|
-
"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/terms/page.tsx",
|
|
395
|
-
"default",
|
|
396
|
-
));
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
/***/ }),
|
|
400
|
-
|
|
401
|
-
/***/ 70722:
|
|
402
|
-
/***/ ((module) => {
|
|
403
|
-
|
|
404
|
-
"use strict";
|
|
405
|
-
module.exports = require("next/dist/shared/lib/invariant-error");
|
|
406
|
-
|
|
407
|
-
/***/ }),
|
|
408
|
-
|
|
409
|
-
/***/ 77068:
|
|
410
|
-
/***/ ((module) => {
|
|
411
|
-
|
|
412
|
-
"use strict";
|
|
413
|
-
module.exports = require("next/dist/shared/lib/size-limit");
|
|
414
|
-
|
|
415
|
-
/***/ }),
|
|
416
|
-
|
|
417
|
-
/***/ 79551:
|
|
418
|
-
/***/ ((module) => {
|
|
419
|
-
|
|
420
|
-
"use strict";
|
|
421
|
-
module.exports = require("url");
|
|
422
|
-
|
|
423
|
-
/***/ }),
|
|
424
|
-
|
|
425
|
-
/***/ 84071:
|
|
426
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
427
|
-
|
|
428
|
-
"use strict";
|
|
429
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
430
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
431
|
-
/* harmony export */ });
|
|
432
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
433
|
-
|
|
434
|
-
function CogIcon({ title, titleId, ...props }, svgRef) {
|
|
435
|
-
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
436
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
437
|
-
fill: "none",
|
|
438
|
-
viewBox: "0 0 24 24",
|
|
439
|
-
strokeWidth: 1.5,
|
|
440
|
-
stroke: "currentColor",
|
|
441
|
-
"aria-hidden": "true",
|
|
442
|
-
"data-slot": "icon",
|
|
443
|
-
ref: svgRef,
|
|
444
|
-
"aria-labelledby": titleId
|
|
445
|
-
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
446
|
-
id: titleId
|
|
447
|
-
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
448
|
-
strokeLinecap: "round",
|
|
449
|
-
strokeLinejoin: "round",
|
|
450
|
-
d: "M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"
|
|
451
|
-
}));
|
|
452
|
-
}
|
|
453
|
-
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CogIcon);
|
|
454
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
/***/ }),
|
|
458
|
-
|
|
459
|
-
/***/ 86439:
|
|
460
|
-
/***/ ((module) => {
|
|
461
|
-
|
|
462
|
-
"use strict";
|
|
463
|
-
module.exports = require("next/dist/shared/lib/no-fallback-error.external");
|
|
464
|
-
|
|
465
|
-
/***/ }),
|
|
466
|
-
|
|
467
|
-
/***/ 87587:
|
|
468
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
469
|
-
|
|
470
|
-
"use strict";
|
|
471
|
-
__webpack_require__.r(__webpack_exports__);
|
|
472
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
473
|
-
/* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
474
352
|
/* harmony export */ __next_app__: () => (/* binding */ __next_app__),
|
|
475
353
|
/* harmony export */ handler: () => (/* binding */ handler),
|
|
476
354
|
/* harmony export */ routeModule: () => (/* binding */ routeModule)
|
|
@@ -513,25 +391,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
513
391
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(38038);
|
|
514
392
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__);
|
|
515
393
|
/* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(29898);
|
|
516
|
-
/* harmony import */ var
|
|
517
|
-
/* harmony import */ var
|
|
518
|
-
/* harmony import */ var
|
|
519
|
-
/* harmony import */ var
|
|
520
|
-
/* harmony import */ var
|
|
521
|
-
/* harmony import */ var
|
|
522
|
-
/* harmony import */ var
|
|
523
|
-
/* harmony import */ var
|
|
524
|
-
/* harmony import */ var
|
|
525
|
-
/* harmony import */ var
|
|
526
|
-
/* harmony import */ var
|
|
527
|
-
/* harmony import */ var
|
|
528
|
-
/* harmony import */ var
|
|
529
|
-
/* harmony import */ var
|
|
530
|
-
/* harmony import */ var
|
|
531
|
-
/* harmony import */ var
|
|
532
|
-
/* harmony import */ var
|
|
394
|
+
/* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62918);
|
|
395
|
+
/* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__);
|
|
396
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(98798);
|
|
397
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
|
|
398
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
|
|
399
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
|
|
400
|
+
/* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(77068);
|
|
401
|
+
/* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__);
|
|
402
|
+
/* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(31214);
|
|
403
|
+
/* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__);
|
|
404
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(35402);
|
|
405
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__);
|
|
406
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(29059);
|
|
407
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__);
|
|
408
|
+
/* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(70722);
|
|
409
|
+
/* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__);
|
|
410
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(31182);
|
|
411
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__);
|
|
412
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(43954);
|
|
413
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__);
|
|
414
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(17891);
|
|
415
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__);
|
|
533
416
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
534
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in
|
|
417
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__) if(["default","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__[__WEBPACK_IMPORT_KEY__]
|
|
535
418
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
536
419
|
const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 95235));
|
|
537
420
|
const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 25195));
|
|
@@ -540,8 +423,12 @@ const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_requi
|
|
|
540
423
|
const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 4253, 23));
|
|
541
424
|
const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 49184, 23));
|
|
542
425
|
const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 57149));
|
|
543
|
-
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
544
|
-
const
|
|
426
|
+
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
427
|
+
const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 28310));
|
|
428
|
+
const module9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
429
|
+
const page10 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 67729));
|
|
430
|
+
|
|
431
|
+
|
|
545
432
|
|
|
546
433
|
|
|
547
434
|
|
|
@@ -580,21 +467,24 @@ const tree = {
|
|
|
580
467
|
'terms',
|
|
581
468
|
{
|
|
582
469
|
children: ['__PAGE__', {}, {
|
|
583
|
-
page: [
|
|
470
|
+
page: [page10, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/terms/page.tsx"],
|
|
584
471
|
|
|
585
472
|
}]
|
|
586
473
|
},
|
|
587
474
|
{
|
|
475
|
+
'global-error': [module9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
588
476
|
|
|
589
|
-
|
|
590
|
-
|
|
477
|
+
},
|
|
478
|
+
[]
|
|
591
479
|
]
|
|
592
480
|
},
|
|
593
481
|
{
|
|
594
482
|
'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
|
|
595
|
-
'
|
|
483
|
+
'global-error': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
484
|
+
'not-found': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
|
|
596
485
|
|
|
597
|
-
}
|
|
486
|
+
},
|
|
487
|
+
["_not-found","_global-error","api"]
|
|
598
488
|
]
|
|
599
489
|
},
|
|
600
490
|
{
|
|
@@ -605,11 +495,10 @@ const tree = {
|
|
|
605
495
|
'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
|
|
606
496
|
'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
|
|
607
497
|
|
|
608
|
-
}
|
|
498
|
+
},
|
|
499
|
+
[]
|
|
609
500
|
]
|
|
610
501
|
}.children;
|
|
611
|
-
|
|
612
|
-
|
|
613
502
|
const __next_app_require__ = __webpack_require__
|
|
614
503
|
const __next_app_load_chunk__ = () => Promise.resolve()
|
|
615
504
|
const __next_app__ = {
|
|
@@ -622,6 +511,7 @@ const __next_app__ = {
|
|
|
622
511
|
|
|
623
512
|
|
|
624
513
|
|
|
514
|
+
|
|
625
515
|
// Create and export the route module that will be consumed.
|
|
626
516
|
const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
|
|
627
517
|
definition: {
|
|
@@ -639,12 +529,53 @@ const routeModule = new next_dist_server_route_modules_app_page_module_compiled_
|
|
|
639
529
|
distDir: ".next" || 0,
|
|
640
530
|
relativeProjectDir: false || ''
|
|
641
531
|
});
|
|
532
|
+
function buildDynamicSegmentPlaceholder(param) {
|
|
533
|
+
const { repeat, optional } = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getParamProperties)(param.paramType);
|
|
534
|
+
if (optional) {
|
|
535
|
+
return `[[...${param.paramName}]]`;
|
|
536
|
+
}
|
|
537
|
+
if (repeat) {
|
|
538
|
+
return `[...${param.paramName}]`;
|
|
539
|
+
}
|
|
540
|
+
return `[${param.paramName}]`;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Builds the cache key for the most complete prerenderable shell we can derive
|
|
544
|
+
* from the shell that matched this request. Only params that can still be
|
|
545
|
+
* filled by `generateStaticParams` are substituted; fully dynamic params stay
|
|
546
|
+
* as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into
|
|
547
|
+
* `/c/[two]` rather than `/c/foo`.
|
|
548
|
+
*/ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {
|
|
549
|
+
const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[
|
|
550
|
+
param.paramName,
|
|
551
|
+
param
|
|
552
|
+
]));
|
|
553
|
+
return fallbackPathname.split('/').map((segment)=>{
|
|
554
|
+
const segmentParam = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getSegmentParam)(segment);
|
|
555
|
+
if (!segmentParam) {
|
|
556
|
+
return segment;
|
|
557
|
+
}
|
|
558
|
+
const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);
|
|
559
|
+
if (!remainingParam) {
|
|
560
|
+
return segment;
|
|
561
|
+
}
|
|
562
|
+
const value = params == null ? void 0 : params[remainingParam.paramName];
|
|
563
|
+
if (!value) {
|
|
564
|
+
return segment;
|
|
565
|
+
}
|
|
566
|
+
const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);
|
|
567
|
+
return segment.replace(buildDynamicSegmentPlaceholder(remainingParam), encodedValue);
|
|
568
|
+
}).join('/') || '/';
|
|
569
|
+
}
|
|
642
570
|
async function handler(req, res, ctx) {
|
|
643
|
-
var _this;
|
|
571
|
+
var _this, _prerenderManifest_routes_resolvedPathname, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams;
|
|
572
|
+
if (ctx.requestMeta) {
|
|
573
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.setRequestMeta)(req, ctx.requestMeta);
|
|
574
|
+
}
|
|
644
575
|
if (routeModule.isDev) {
|
|
645
576
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
646
577
|
}
|
|
647
|
-
const isMinimalMode = Boolean(
|
|
578
|
+
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode'));
|
|
648
579
|
let srcPage = "/[locale]/terms/page";
|
|
649
580
|
// turbopack doesn't normalize `/index` in the page name
|
|
650
581
|
// so we need to to process dynamic routes properly
|
|
@@ -664,7 +595,7 @@ async function handler(req, res, ctx) {
|
|
|
664
595
|
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
665
596
|
return null;
|
|
666
597
|
}
|
|
667
|
-
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId } = prepareResult;
|
|
598
|
+
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken } = prepareResult;
|
|
668
599
|
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_13__.normalizeAppPath)(srcPage);
|
|
669
600
|
let { isOnDemandRevalidate } = prepareResult;
|
|
670
601
|
// We use the resolvedPathname instead of the parsedUrl.pathname because it
|
|
@@ -674,7 +605,8 @@ async function handler(req, res, ctx) {
|
|
|
674
605
|
// treat the pathname as dynamic. Currently, there's a bug in the PPR
|
|
675
606
|
// implementation that incorrectly leaves %%drp placeholders in the output of
|
|
676
607
|
// parallel routes. This is addressed with cacheComponents.
|
|
677
|
-
const
|
|
608
|
+
const prerenderMatch = nextConfig.experimental.ppr && !nextConfig.cacheComponents && (0,next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__.isInterceptionRouteAppPath)(resolvedPathname) ? null : routeModule.match(resolvedPathname, prerenderManifest);
|
|
609
|
+
const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;
|
|
678
610
|
const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
|
|
679
611
|
const userAgent = req.headers['user-agent'] || '';
|
|
680
612
|
const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_16__.getBotType)(userAgent);
|
|
@@ -691,15 +623,65 @@ async function handler(req, res, ctx) {
|
|
|
691
623
|
* If the route being rendered is an app page, and the ppr feature has been
|
|
692
624
|
* enabled, then the given route _could_ support PPR.
|
|
693
625
|
*/ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
|
|
626
|
+
// Stash postponed state for server actions when in minimal mode.
|
|
627
|
+
// We extract it here so the RDC is available for the re-render after the action completes.
|
|
628
|
+
const resumeStateLengthHeader = req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_STATE_LENGTH_HEADER];
|
|
629
|
+
if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {
|
|
630
|
+
const stateLength = parseInt(resumeStateLengthHeader, 10);
|
|
631
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
632
|
+
if (!isNaN(stateLength) && stateLength > 0) {
|
|
633
|
+
var _nextConfig_experimental_serverActions;
|
|
634
|
+
if (stateLength > maxPostponedStateSizeBytes) {
|
|
635
|
+
res.statusCode = 413;
|
|
636
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
637
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
638
|
+
return null;
|
|
639
|
+
}
|
|
640
|
+
// Calculate max total body size to prevent buffering excessively large
|
|
641
|
+
// payloads before the action handler checks. We use stateLength (not
|
|
642
|
+
// maxPostponedStateSizeBytes) so the postponed state doesn't eat into
|
|
643
|
+
// the action body budget - it's already validated above.
|
|
644
|
+
const defaultActionBodySizeLimit = '1 MB';
|
|
645
|
+
const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;
|
|
646
|
+
const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? (__webpack_require__(32683).parse)(actionBodySizeLimit) : 1024 * 1024 // 1 MB
|
|
647
|
+
;
|
|
648
|
+
const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;
|
|
649
|
+
const fullBody = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxTotalBodySize);
|
|
650
|
+
if (fullBody === null) {
|
|
651
|
+
res.statusCode = 413;
|
|
652
|
+
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`);
|
|
653
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
654
|
+
return null;
|
|
655
|
+
}
|
|
656
|
+
if (fullBody.length >= stateLength) {
|
|
657
|
+
// Extract postponed state from the beginning
|
|
658
|
+
const postponedState = fullBody.subarray(0, stateLength).toString('utf8');
|
|
659
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponedState);
|
|
660
|
+
// Store the remaining action body for the action handler
|
|
661
|
+
const actionBody = fullBody.subarray(stateLength);
|
|
662
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'actionBody', actionBody);
|
|
663
|
+
} else {
|
|
664
|
+
throw Object.defineProperty(new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`), "__NEXT_ERROR_CODE", {
|
|
665
|
+
value: "E979",
|
|
666
|
+
enumerable: false,
|
|
667
|
+
configurable: true
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
694
672
|
if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && couldSupportPPR && req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_HEADER] === '1' && req.method === 'POST') {
|
|
673
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
695
674
|
// Decode the postponed state from the request body, it will come as
|
|
696
675
|
// an array of buffers, so collect them and then concat them to form
|
|
697
676
|
// the string.
|
|
698
|
-
const body =
|
|
699
|
-
|
|
700
|
-
|
|
677
|
+
const body = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxPostponedStateSizeBytes);
|
|
678
|
+
if (body === null) {
|
|
679
|
+
res.statusCode = 413;
|
|
680
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
681
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
682
|
+
return null;
|
|
701
683
|
}
|
|
702
|
-
const postponed =
|
|
684
|
+
const postponed = body.toString('utf8');
|
|
703
685
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponed);
|
|
704
686
|
}
|
|
705
687
|
// When enabled, this will allow the use of the `?__nextppronly` query to
|
|
@@ -708,14 +690,29 @@ async function handler(req, res, ctx) {
|
|
|
708
690
|
// When enabled, this will allow the use of the `?__nextppronly` query
|
|
709
691
|
// to enable debugging of the fallback shell.
|
|
710
692
|
const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
|
|
693
|
+
// Whether the testing API is exposed (dev mode or explicit flag)
|
|
694
|
+
const exposeTestingApi = routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true;
|
|
695
|
+
// Enable the Instant Navigation Testing API. Renders only the prefetched
|
|
696
|
+
// portion of the page, excluding dynamic content. This allows tests to
|
|
697
|
+
// assert on the prefetched UI state deterministically.
|
|
698
|
+
// - Header: Used for client-side navigations where we can set request headers
|
|
699
|
+
// - Cookie: Used for MPA navigations (page reload, full page load) where we
|
|
700
|
+
// can't set request headers. Only applies to document requests (no RSC
|
|
701
|
+
// header) - RSC requests should proceed normally even during a locked scope,
|
|
702
|
+
// with blocking happening on the client side.
|
|
703
|
+
const isInstantNavigationTest = exposeTestingApi && (req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.NEXT_INSTANT_PREFETCH_HEADER] === '1' || req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_HEADER] === undefined && typeof req.headers.cookie === 'string' && req.headers.cookie.includes(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.NEXT_INSTANT_TEST_COOKIE + '='));
|
|
711
704
|
// This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
|
|
712
705
|
// prerender manifest and this is an app page.
|
|
713
|
-
const isRoutePPREnabled =
|
|
706
|
+
const isRoutePPREnabled = // When the instant navigation testing API is active, enable the PPR
|
|
707
|
+
// prerender path even without Cache Components. In dev mode without CC,
|
|
708
|
+
// static pages need this path to produce buffered segment data (the
|
|
709
|
+
// legacy prerender path hangs in dev mode).
|
|
710
|
+
(couldSupportPPR || isInstantNavigationTest) && (((_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
|
|
714
711
|
// enabled or not, but that would require plumbing the appConfig through
|
|
715
712
|
// to the server during development. We assume that the page supports it
|
|
716
|
-
// but only during development.
|
|
717
|
-
hasDebugStaticShellQuery && (
|
|
718
|
-
const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
|
|
713
|
+
// but only during development or when the testing API is exposed.
|
|
714
|
+
(hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
|
|
715
|
+
const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;
|
|
719
716
|
// We should enable debugging dynamic accesses when the static shell
|
|
720
717
|
// debugging has been enabled and we're also in development mode.
|
|
721
718
|
const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
|
|
@@ -727,7 +724,11 @@ async function handler(req, res, ctx) {
|
|
|
727
724
|
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
728
725
|
// we can use this fact to only generate the flight data for the request
|
|
729
726
|
// because we can't cache the HTML (as it's also dynamic).
|
|
730
|
-
|
|
727
|
+
const staticPrefetchDataRoute = (_prerenderManifest_routes_resolvedPathname = prerenderManifest.routes[resolvedPathname]) == null ? void 0 : _prerenderManifest_routes_resolvedPathname.prefetchDataRoute;
|
|
728
|
+
let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static
|
|
729
|
+
// so we can serve the prebuilt .rsc without a dynamic render.
|
|
730
|
+
// Only do this for routes that have a concrete prefetchDataRoute.
|
|
731
|
+
!staticPrefetchDataRoute;
|
|
731
732
|
// During a PPR revalidation, the RSC request is not dynamic if we do not have the postponed data.
|
|
732
733
|
// We only attach the postponed data during a resume. If there's no postponed data, then it must be a revalidation.
|
|
733
734
|
// This is to ensure that we don't bypass the cache during a revalidation.
|
|
@@ -743,10 +744,11 @@ async function handler(req, res, ctx) {
|
|
|
743
744
|
// being true for a revalidate due to modifying the base-server this.renderOpts
|
|
744
745
|
// when fixing this to correct logic it causes hydration issue since we set
|
|
745
746
|
// serveStreamingMetadata to true during export
|
|
746
|
-
const serveStreamingMetadata =
|
|
747
|
-
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a
|
|
748
|
-
// to serve a static response.
|
|
749
|
-
|
|
747
|
+
const serveStreamingMetadata = botType && isRoutePPREnabled ? false : !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
|
|
748
|
+
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a bot request and PPR is enabled, then we don't want
|
|
749
|
+
// to serve a static response. This applies to both DOM bots (like Googlebot)
|
|
750
|
+
// and HTML-limited bots.
|
|
751
|
+
!(botType && isRoutePPREnabled));
|
|
750
752
|
// When a page supports cacheComponents, we can support RDC for Navigations
|
|
751
753
|
const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;
|
|
752
754
|
// In development, we always want to generate dynamic HTML.
|
|
@@ -763,18 +765,37 @@ async function handler(req, res, ctx) {
|
|
|
763
765
|
// RSC request, we'll pass the minimal postponed data to the render
|
|
764
766
|
// which will trigger the `supportsDynamicResponse` to be true.
|
|
765
767
|
isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);
|
|
766
|
-
// When
|
|
767
|
-
|
|
768
|
+
// When bots request PPR page, perform the full dynamic rendering.
|
|
769
|
+
// This applies to both DOM bots (like Googlebot) and HTML-limited bots.
|
|
770
|
+
const shouldWaitOnAllReady = Boolean(botType) && isRoutePPREnabled;
|
|
771
|
+
const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];
|
|
772
|
+
const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;
|
|
768
773
|
let ssgCacheKey = null;
|
|
769
774
|
if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
770
|
-
|
|
775
|
+
// For normal SSG routes we cache by the fully resolved pathname. For
|
|
776
|
+
// partial fallbacks we instead derive the cache key from the shell
|
|
777
|
+
// that matched this request so `/prefix/[one]/[two]` can specialize into
|
|
778
|
+
// `/prefix/c/[two]` without promoting all the way to `/prefix/c/foo`.
|
|
779
|
+
const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;
|
|
780
|
+
if (nextConfig.experimental.partialFallbacks === true && fallbackPathname && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && !hasUnresolvedRootFallbackParams) {
|
|
781
|
+
if (remainingPrerenderableParams.length > 0) {
|
|
782
|
+
const completedShellCacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);
|
|
783
|
+
// If applying the current request params doesn't make the shell any
|
|
784
|
+
// more complete, then this shell is already at its most complete
|
|
785
|
+
// form and should remain shared rather than creating a new cache entry.
|
|
786
|
+
ssgCacheKey = completedShellCacheKey !== fallbackPathname ? completedShellCacheKey : null;
|
|
787
|
+
}
|
|
788
|
+
} else {
|
|
789
|
+
ssgCacheKey = resolvedPathname;
|
|
790
|
+
}
|
|
771
791
|
}
|
|
772
792
|
// the staticPathKey differs from ssgCacheKey since
|
|
773
793
|
// ssgCacheKey is null in dev since we're always in "dynamic"
|
|
774
|
-
// mode in dev to bypass the cache
|
|
775
|
-
//
|
|
794
|
+
// mode in dev to bypass the cache. It can also be null for partial
|
|
795
|
+
// fallback shells that should remain shared and must not create a
|
|
796
|
+
// param-specific ISR entry, but we still need to honor fallback handling.
|
|
776
797
|
let staticPathKey = ssgCacheKey;
|
|
777
|
-
if (!staticPathKey && routeModule.isDev) {
|
|
798
|
+
if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams))) {
|
|
778
799
|
staticPathKey = resolvedPathname;
|
|
779
800
|
}
|
|
780
801
|
// If this is a request for an app path that should be statically generated
|
|
@@ -784,9 +805,8 @@ async function handler(req, res, ctx) {
|
|
|
784
805
|
(0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
|
|
785
806
|
}
|
|
786
807
|
const ComponentMod = {
|
|
787
|
-
...
|
|
808
|
+
...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__,
|
|
788
809
|
tree,
|
|
789
|
-
GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
790
810
|
handler,
|
|
791
811
|
routeModule,
|
|
792
812
|
__next_app__
|
|
@@ -804,6 +824,8 @@ async function handler(req, res, ctx) {
|
|
|
804
824
|
const method = req.method || 'GET';
|
|
805
825
|
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.getTracer)();
|
|
806
826
|
const activeSpan = tracer.getActiveScopeSpan();
|
|
827
|
+
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
828
|
+
const remainingFallbackRouteParams = nextConfig.experimental.partialFallbacks === true && remainingPrerenderableParams.length > 0 ? (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams.filter((param)=>!remainingPrerenderableParams.some((prerenderableParam)=>prerenderableParam.paramName === param.paramName))) ?? [] : [];
|
|
807
829
|
const render404 = async ()=>{
|
|
808
830
|
// TODO: should route-module itself handle rendering the 404
|
|
809
831
|
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
@@ -816,6 +838,7 @@ async function handler(req, res, ctx) {
|
|
|
816
838
|
try {
|
|
817
839
|
const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
|
|
818
840
|
res.setHeader('Vary', varyHeader);
|
|
841
|
+
let parentSpan;
|
|
819
842
|
const invokeRouteModule = async (span, context)=>{
|
|
820
843
|
const nextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextRequest(req);
|
|
821
844
|
const nextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextResponse(res);
|
|
@@ -843,19 +866,29 @@ async function handler(req, res, ctx) {
|
|
|
843
866
|
'next.span_name': name
|
|
844
867
|
});
|
|
845
868
|
span.updateName(name);
|
|
869
|
+
// Propagate http.route to the parent span if one exists (e.g.
|
|
870
|
+
// a platform-created HTTP span in adapter deployments).
|
|
871
|
+
if (parentSpan && parentSpan !== span) {
|
|
872
|
+
parentSpan.setAttribute('http.route', route);
|
|
873
|
+
parentSpan.updateName(name);
|
|
874
|
+
}
|
|
846
875
|
} else {
|
|
847
876
|
span.updateName(`${method} ${srcPage}`);
|
|
848
877
|
}
|
|
849
878
|
});
|
|
850
879
|
};
|
|
851
|
-
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache');
|
|
880
|
+
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, prerenderManifest, isMinimalMode);
|
|
881
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
882
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
852
883
|
const doRender = async ({ span, postponed, fallbackRouteParams, forceStaticRender })=>{
|
|
853
884
|
const context = {
|
|
854
885
|
query,
|
|
855
886
|
params,
|
|
856
887
|
page: normalizedSrcPage,
|
|
857
888
|
sharedContext: {
|
|
858
|
-
buildId
|
|
889
|
+
buildId,
|
|
890
|
+
deploymentId,
|
|
891
|
+
clientAssetToken
|
|
859
892
|
},
|
|
860
893
|
serverComponentsHmrCache: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'serverComponentsHmrCache'),
|
|
861
894
|
fallbackRouteParams,
|
|
@@ -891,7 +924,6 @@ async function handler(req, res, ctx) {
|
|
|
891
924
|
trailingSlash: nextConfig.trailingSlash,
|
|
892
925
|
images: nextConfig.images,
|
|
893
926
|
previewProps: prerenderManifest.preview,
|
|
894
|
-
deploymentId: deploymentId,
|
|
895
927
|
enableTainting: nextConfig.experimental.taint,
|
|
896
928
|
htmlLimitedBots: nextConfig.htmlLimitedBots,
|
|
897
929
|
reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,
|
|
@@ -900,8 +932,9 @@ async function handler(req, res, ctx) {
|
|
|
900
932
|
cacheLifeProfiles: nextConfig.cacheLife,
|
|
901
933
|
basePath: nextConfig.basePath,
|
|
902
934
|
serverActions: nextConfig.experimental.serverActions,
|
|
935
|
+
logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),
|
|
903
936
|
...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {
|
|
904
|
-
|
|
937
|
+
isBuildTimePrerendering: true,
|
|
905
938
|
supportsDynamicResponse: false,
|
|
906
939
|
isStaticGeneration: true,
|
|
907
940
|
isDebugDynamicAccesses: isDebugDynamicAccesses
|
|
@@ -912,11 +945,14 @@ async function handler(req, res, ctx) {
|
|
|
912
945
|
expireTime: nextConfig.expireTime,
|
|
913
946
|
staleTimes: nextConfig.experimental.staleTimes,
|
|
914
947
|
dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),
|
|
948
|
+
optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),
|
|
915
949
|
inlineCss: Boolean(nextConfig.experimental.inlineCss),
|
|
950
|
+
prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,
|
|
916
951
|
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
952
|
+
cachedNavigations: Boolean(nextConfig.experimental.cachedNavigations),
|
|
917
953
|
clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],
|
|
918
954
|
clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,
|
|
919
|
-
maxPostponedStateSizeBytes: (0,
|
|
955
|
+
maxPostponedStateSizeBytes: (0,next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize)
|
|
920
956
|
},
|
|
921
957
|
waitUntil: ctx.waitUntil,
|
|
922
958
|
onClose: (cb)=>{
|
|
@@ -924,15 +960,9 @@ async function handler(req, res, ctx) {
|
|
|
924
960
|
},
|
|
925
961
|
onAfterTaskError: ()=>{},
|
|
926
962
|
onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),
|
|
927
|
-
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
928
|
-
dev: routeModule.isDev
|
|
963
|
+
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
929
964
|
}
|
|
930
965
|
};
|
|
931
|
-
if (isDebugStaticShell || isDebugDynamicAccesses) {
|
|
932
|
-
context.renderOpts.nextExport = true;
|
|
933
|
-
context.renderOpts.supportsDynamicResponse = false;
|
|
934
|
-
context.renderOpts.isDebugDynamicAccesses = isDebugDynamicAccesses;
|
|
935
|
-
}
|
|
936
966
|
// When we're revalidating in the background, we should not allow dynamic
|
|
937
967
|
// responses.
|
|
938
968
|
if (forceStaticRender) {
|
|
@@ -995,6 +1025,16 @@ async function handler(req, res, ctx) {
|
|
|
995
1025
|
if (prerenderInfo) {
|
|
996
1026
|
fallbackMode = (0,next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.parseFallbackField)(prerenderInfo.fallback);
|
|
997
1027
|
}
|
|
1028
|
+
if (nextConfig.experimental.partialFallbacks === true && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {
|
|
1029
|
+
// Generic source shells without unresolved root params don't have a
|
|
1030
|
+
// concrete fallback file of their own, so they're marked as blocking.
|
|
1031
|
+
// When we can complete the shell into a more specific
|
|
1032
|
+
// prerendered shell for this request, treat it like a prerender
|
|
1033
|
+
// fallback so we can serve that shell instead of blocking on the full
|
|
1034
|
+
// route. Root-param shells stay blocking, since unknown root branches
|
|
1035
|
+
// should not inherit a shell from another generated branch.
|
|
1036
|
+
fallbackMode = next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.PRERENDER;
|
|
1037
|
+
}
|
|
998
1038
|
// When serving a HTML bot request, we want to serve a blocking render and
|
|
999
1039
|
// not the prerendered page. This ensures that the correct content is served
|
|
1000
1040
|
// to the bot in the head.
|
|
@@ -1019,10 +1059,10 @@ async function handler(req, res, ctx) {
|
|
|
1019
1059
|
// getStaticPaths.
|
|
1020
1060
|
(isProduction || prerenderInfo) && // When fallback isn't present, abort this render so we 404
|
|
1021
1061
|
fallbackMode === next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.NOT_FOUND) {
|
|
1022
|
-
if (nextConfig.
|
|
1062
|
+
if (nextConfig.adapterPath) {
|
|
1023
1063
|
return await render404();
|
|
1024
1064
|
}
|
|
1025
|
-
throw new
|
|
1065
|
+
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError();
|
|
1026
1066
|
}
|
|
1027
1067
|
// When cacheComponents is enabled, we can use the fallback
|
|
1028
1068
|
// response if the request is not a dynamic RSC request because the
|
|
@@ -1031,10 +1071,19 @@ async function handler(req, res, ctx) {
|
|
|
1031
1071
|
// contains param references, and therefore we can't use the fallback.
|
|
1032
1072
|
if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {
|
|
1033
1073
|
const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;
|
|
1034
|
-
const fallbackRouteParams = //
|
|
1035
|
-
//
|
|
1036
|
-
|
|
1074
|
+
const fallbackRouteParams = // In production or when debugging the static shell (e.g. instant
|
|
1075
|
+
// navigation testing), use the prerender manifest's fallback
|
|
1076
|
+
// route params which correctly identifies which params are
|
|
1077
|
+
// unknown. Note: in dev, this block is only entered for
|
|
1078
|
+
// non-prerendered URLs (guarded by the outer condition).
|
|
1079
|
+
(isProduction || isDebugStaticShell) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : // fallback (simulating the worst-case shell).
|
|
1037
1080
|
isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
|
|
1081
|
+
// When rendering a debug static shell, override the fallback
|
|
1082
|
+
// params on the request so that the staged rendering correctly
|
|
1083
|
+
// defers params that are not statically known.
|
|
1084
|
+
if (isDebugStaticShell && fallbackRouteParams) {
|
|
1085
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackRouteParams);
|
|
1086
|
+
}
|
|
1038
1087
|
// We use the response cache here to handle the revalidation and
|
|
1039
1088
|
// management of the fallback shell.
|
|
1040
1089
|
const fallbackResponse = await routeModule.handleResponse({
|
|
@@ -1050,8 +1099,12 @@ async function handler(req, res, ctx) {
|
|
|
1050
1099
|
// We pass `undefined` as rendering a fallback isn't resumed
|
|
1051
1100
|
// here.
|
|
1052
1101
|
postponed: undefined,
|
|
1102
|
+
// Always serve the shell that matched this request
|
|
1103
|
+
// immediately. If there are still prerenderable params left,
|
|
1104
|
+
// the background path below will complete the shell into a
|
|
1105
|
+
// more specific cache entry for later requests.
|
|
1053
1106
|
fallbackRouteParams,
|
|
1054
|
-
forceStaticRender:
|
|
1107
|
+
forceStaticRender: true
|
|
1055
1108
|
}),
|
|
1056
1109
|
waitUntil: ctx.waitUntil,
|
|
1057
1110
|
isMinimalMode
|
|
@@ -1060,6 +1113,39 @@ async function handler(req, res, ctx) {
|
|
|
1060
1113
|
if (fallbackResponse === null) return null;
|
|
1061
1114
|
// Otherwise, if we did get a fallback response, we should return it.
|
|
1062
1115
|
if (fallbackResponse) {
|
|
1116
|
+
if (!isMinimalMode && isRoutePPREnabled && // Match the build-time contract: only fallback shells that can
|
|
1117
|
+
// still be completed with prerenderable params should upgrade.
|
|
1118
|
+
remainingPrerenderableParams.length > 0 && nextConfig.experimental.partialFallbacks === true && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so
|
|
1119
|
+
// don't upgrade fallback shells in the background when it's
|
|
1120
|
+
// exposed.
|
|
1121
|
+
!exposeTestingApi && // Instant Navigation Testing API requests intentionally keep
|
|
1122
|
+
// the route in shell mode; don't upgrade these in background.
|
|
1123
|
+
!isInstantNavigationTest && // Avoid background revalidate during prefetches; this can trigger
|
|
1124
|
+
// static prerender errors that surface as 500s for the prefetch
|
|
1125
|
+
// request itself.
|
|
1126
|
+
!isPrefetchRSCRequest) {
|
|
1127
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
1128
|
+
const responseCache = routeModule.getResponseCache(req);
|
|
1129
|
+
try {
|
|
1130
|
+
// Only the params that were just specialized should be
|
|
1131
|
+
// removed from the fallback render. Any remaining fallback
|
|
1132
|
+
// params stay deferred so the revalidated result is a more
|
|
1133
|
+
// specific shell (e.g. `/prefix/c/[two]`), not a fully
|
|
1134
|
+
// concrete route (`/prefix/c/foo`).
|
|
1135
|
+
await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{
|
|
1136
|
+
return doRender({
|
|
1137
|
+
span: c.span,
|
|
1138
|
+
postponed: undefined,
|
|
1139
|
+
fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : null,
|
|
1140
|
+
forceStaticRender: true
|
|
1141
|
+
});
|
|
1142
|
+
}, // We don't have a prior entry for this param-specific shell.
|
|
1143
|
+
null, hasResolved, ctx.waitUntil);
|
|
1144
|
+
} catch (err) {
|
|
1145
|
+
console.error('Error revalidating the page in the background', err);
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1063
1149
|
// Remove the cache control from the response to prevent it from being
|
|
1064
1150
|
// used in the surrounding cache.
|
|
1065
1151
|
delete fallbackResponse.cacheControl;
|
|
@@ -1070,12 +1156,15 @@ async function handler(req, res, ctx) {
|
|
|
1070
1156
|
// Only requests that aren't revalidating can be resumed. If we have the
|
|
1071
1157
|
// minimal postponed data, then we should resume the render with it.
|
|
1072
1158
|
let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;
|
|
1073
|
-
// If this is a dynamic RSC request
|
|
1074
|
-
// the static render (if available). This
|
|
1075
|
-
// resume data cache (RDC) from the static
|
|
1076
|
-
// is consistent between the static and
|
|
1159
|
+
// If this is a dynamic RSC request or a server action request, we should
|
|
1160
|
+
// use the postponed data from the static render (if available). This
|
|
1161
|
+
// ensures that we can utilize the resume data cache (RDC) from the static
|
|
1162
|
+
// render to ensure that the data is consistent between the static and
|
|
1163
|
+
// dynamic renders (for navigations) or when re-rendering after a server
|
|
1164
|
+
// action.
|
|
1077
1165
|
if (// Only enable RDC for Navigations if the feature is enabled.
|
|
1078
|
-
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache &&
|
|
1166
|
+
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions
|
|
1167
|
+
(isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC
|
|
1079
1168
|
// requests, as we're typically revalidating the page in the background
|
|
1080
1169
|
// instead. However, if the cache entry is stale, we should trigger a
|
|
1081
1170
|
// background revalidation on dynamic RSC requests. This prevents us
|
|
@@ -1100,7 +1189,7 @@ async function handler(req, res, ctx) {
|
|
|
1100
1189
|
(incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {
|
|
1101
1190
|
// We want to schedule this on the next tick to ensure that the
|
|
1102
1191
|
// render is not blocked on it.
|
|
1103
|
-
(0,
|
|
1192
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
1104
1193
|
const responseCache = routeModule.getResponseCache(req);
|
|
1105
1194
|
try {
|
|
1106
1195
|
await responseCache.revalidate(resolvedPathname, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({
|
|
@@ -1137,11 +1226,21 @@ async function handler(req, res, ctx) {
|
|
|
1137
1226
|
}
|
|
1138
1227
|
};
|
|
1139
1228
|
}
|
|
1140
|
-
const fallbackRouteParams = //
|
|
1141
|
-
//
|
|
1142
|
-
//
|
|
1143
|
-
isProduction && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)
|
|
1144
|
-
|
|
1229
|
+
const fallbackRouteParams = // In production or when debugging the static shell for a
|
|
1230
|
+
// non-prerendered URL, use the prerender manifest's fallback route
|
|
1231
|
+
// params which correctly identifies which params are unknown.
|
|
1232
|
+
(isProduction && (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'renderFallbackShell') || isDebugStaticShell && !isPrerendered) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
|
|
1233
|
+
// For staged dynamic rendering (Cached Navigations) and debug static
|
|
1234
|
+
// shell rendering, pass the fallback params via request meta so the
|
|
1235
|
+
// RequestStore knows which params to defer. We don't pass them as
|
|
1236
|
+
// fallbackRouteParams because that would replace actual param values
|
|
1237
|
+
// with opaque placeholders during segment resolution.
|
|
1238
|
+
if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents && !isPrerendered && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
|
|
1239
|
+
const fallbackParams = (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
|
|
1240
|
+
if (fallbackParams) {
|
|
1241
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackParams);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1145
1244
|
// Perform the render.
|
|
1146
1245
|
return doRender({
|
|
1147
1246
|
span,
|
|
@@ -1172,7 +1271,7 @@ async function handler(req, res, ctx) {
|
|
|
1172
1271
|
}
|
|
1173
1272
|
// In dev, we should not cache pages for any reason.
|
|
1174
1273
|
if (routeModule.isDev) {
|
|
1175
|
-
res.setHeader('Cache-Control', 'no-
|
|
1274
|
+
res.setHeader('Cache-Control', 'no-cache, must-revalidate');
|
|
1176
1275
|
}
|
|
1177
1276
|
if (!cacheEntry) {
|
|
1178
1277
|
if (ssgCacheKey) {
|
|
@@ -1198,6 +1297,16 @@ async function handler(req, res, ctx) {
|
|
|
1198
1297
|
});
|
|
1199
1298
|
}
|
|
1200
1299
|
const didPostpone = typeof cacheEntry.value.postponed === 'string';
|
|
1300
|
+
// Set the build ID header for RSC navigation requests when deploymentId is configured. This
|
|
1301
|
+
// corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID
|
|
1302
|
+
// from the RSC payload when deploymentId is set (relying on this header instead). Server
|
|
1303
|
+
// actions are excluded here because action redirect responses get the deployment ID header
|
|
1304
|
+
// from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts
|
|
1305
|
+
// which copies headers from the internal RSC fetch).
|
|
1306
|
+
// For static prerenders served from CDN, routes-manifest.json adds a header.
|
|
1307
|
+
if (isRSCRequest && !isPossibleServerAction && deploymentId) {
|
|
1308
|
+
res.setHeader(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);
|
|
1309
|
+
}
|
|
1201
1310
|
if (isSSG && // We don't want to send a cache header for requests that contain dynamic
|
|
1202
1311
|
// data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
|
|
1203
1312
|
// request, then we should set the cache header.
|
|
@@ -1258,7 +1367,7 @@ async function handler(req, res, ctx) {
|
|
|
1258
1367
|
};
|
|
1259
1368
|
} else {
|
|
1260
1369
|
cacheControl = {
|
|
1261
|
-
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.
|
|
1370
|
+
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.CACHE_ONE_YEAR_SECONDS,
|
|
1262
1371
|
expire: undefined
|
|
1263
1372
|
};
|
|
1264
1373
|
}
|
|
@@ -1286,7 +1395,7 @@ async function handler(req, res, ctx) {
|
|
|
1286
1395
|
const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);
|
|
1287
1396
|
if (matchedSegment !== undefined) {
|
|
1288
1397
|
// Cache hit
|
|
1289
|
-
return (0,
|
|
1398
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1290
1399
|
req,
|
|
1291
1400
|
res,
|
|
1292
1401
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1302,7 +1411,7 @@ async function handler(req, res, ctx) {
|
|
|
1302
1411
|
// don't bother to respond with 404, because these requests are only
|
|
1303
1412
|
// issued as part of a prefetch.
|
|
1304
1413
|
res.statusCode = 204;
|
|
1305
|
-
return (0,
|
|
1414
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1306
1415
|
req,
|
|
1307
1416
|
res,
|
|
1308
1417
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1357,7 +1466,7 @@ async function handler(req, res, ctx) {
|
|
|
1357
1466
|
res.statusCode = cachedData.status;
|
|
1358
1467
|
}
|
|
1359
1468
|
// Redirect information is encoded in RSC payload, so we don't need to use redirect status codes
|
|
1360
|
-
if (!isMinimalMode && cachedData.status &&
|
|
1469
|
+
if (!isMinimalMode && cachedData.status && next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__.RedirectStatusCode[cachedData.status] && isRSCRequest) {
|
|
1361
1470
|
res.statusCode = 200;
|
|
1362
1471
|
}
|
|
1363
1472
|
// Mark that the request did postpone.
|
|
@@ -1375,7 +1484,7 @@ async function handler(req, res, ctx) {
|
|
|
1375
1484
|
if (cachedData.html.contentType !== next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_CONTENT_TYPE_HEADER) {
|
|
1376
1485
|
if (nextConfig.cacheComponents) {
|
|
1377
1486
|
res.statusCode = 404;
|
|
1378
|
-
return (0,
|
|
1487
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1379
1488
|
req,
|
|
1380
1489
|
res,
|
|
1381
1490
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1385,14 +1494,14 @@ async function handler(req, res, ctx) {
|
|
|
1385
1494
|
});
|
|
1386
1495
|
} else {
|
|
1387
1496
|
// Otherwise this case is not expected.
|
|
1388
|
-
throw Object.defineProperty(new
|
|
1497
|
+
throw Object.defineProperty(new next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__.InvariantError(`Expected RSC response, got ${cachedData.html.contentType}`), "__NEXT_ERROR_CODE", {
|
|
1389
1498
|
value: "E789",
|
|
1390
1499
|
enumerable: false,
|
|
1391
1500
|
configurable: true
|
|
1392
1501
|
});
|
|
1393
1502
|
}
|
|
1394
1503
|
}
|
|
1395
|
-
return (0,
|
|
1504
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1396
1505
|
req,
|
|
1397
1506
|
res,
|
|
1398
1507
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1403,7 +1512,7 @@ async function handler(req, res, ctx) {
|
|
|
1403
1512
|
}
|
|
1404
1513
|
// As this isn't a prefetch request, we should serve the static flight
|
|
1405
1514
|
// data.
|
|
1406
|
-
return (0,
|
|
1515
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1407
1516
|
req,
|
|
1408
1517
|
res,
|
|
1409
1518
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1414,6 +1523,27 @@ async function handler(req, res, ctx) {
|
|
|
1414
1523
|
}
|
|
1415
1524
|
// This is a request for HTML data.
|
|
1416
1525
|
const body = cachedData.html;
|
|
1526
|
+
// Instant Navigation Testing API: serve the static shell with an
|
|
1527
|
+
// injected script that sets self.__next_instant_test and kicks off a
|
|
1528
|
+
// static RSC fetch for hydration. The transform stream also appends
|
|
1529
|
+
// closing </body></html> tags so the browser can parse the full document.
|
|
1530
|
+
// In dev mode, also inject self.__next_r so the HMR WebSocket and
|
|
1531
|
+
// debug channel can initialize.
|
|
1532
|
+
if (isInstantNavigationTest && isDebugStaticShell) {
|
|
1533
|
+
const instantTestRequestId = routeModule.isDev === true ? crypto.randomUUID() : null;
|
|
1534
|
+
body.pipeThrough((0,next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__.createInstantTestScriptInsertionTransformStream)(instantTestRequestId));
|
|
1535
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1536
|
+
req,
|
|
1537
|
+
res,
|
|
1538
|
+
generateEtags: nextConfig.generateEtags,
|
|
1539
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
1540
|
+
result: body,
|
|
1541
|
+
cacheControl: {
|
|
1542
|
+
revalidate: 0,
|
|
1543
|
+
expire: undefined
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1417
1547
|
// If there's no postponed state, we should just serve the HTML. This
|
|
1418
1548
|
// should also be the case for a resume request because it's completed
|
|
1419
1549
|
// as a server render (rather than a static render).
|
|
@@ -1422,7 +1552,7 @@ async function handler(req, res, ctx) {
|
|
|
1422
1552
|
// that's between the static and dynamic parts so we can compare the
|
|
1423
1553
|
// chunks and add assertions.
|
|
1424
1554
|
if (false) {}
|
|
1425
|
-
return (0,
|
|
1555
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1426
1556
|
req,
|
|
1427
1557
|
res,
|
|
1428
1558
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1444,7 +1574,7 @@ async function handler(req, res, ctx) {
|
|
|
1444
1574
|
controller.close();
|
|
1445
1575
|
}
|
|
1446
1576
|
}));
|
|
1447
|
-
return (0,
|
|
1577
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1448
1578
|
req,
|
|
1449
1579
|
res,
|
|
1450
1580
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1501,7 +1631,7 @@ async function handler(req, res, ctx) {
|
|
|
1501
1631
|
console.error("couldn't abort transformer", e);
|
|
1502
1632
|
});
|
|
1503
1633
|
});
|
|
1504
|
-
return (0,
|
|
1634
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1505
1635
|
req,
|
|
1506
1636
|
res,
|
|
1507
1637
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1518,9 +1648,10 @@ async function handler(req, res, ctx) {
|
|
|
1518
1648
|
};
|
|
1519
1649
|
// TODO: activeSpan code path is for when wrapped by
|
|
1520
1650
|
// next-server can be removed when this is no longer used
|
|
1521
|
-
if (activeSpan) {
|
|
1651
|
+
if (isWrappedByNextServer && activeSpan) {
|
|
1522
1652
|
await handleResponse(activeSpan);
|
|
1523
1653
|
} else {
|
|
1654
|
+
parentSpan = tracer.getActiveScopeSpan();
|
|
1524
1655
|
return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
|
|
1525
1656
|
spanName: `${method} ${srcPage}`,
|
|
1526
1657
|
kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
|
|
@@ -1528,10 +1659,10 @@ async function handler(req, res, ctx) {
|
|
|
1528
1659
|
'http.method': method,
|
|
1529
1660
|
'http.target': req.url
|
|
1530
1661
|
}
|
|
1531
|
-
}, handleResponse));
|
|
1662
|
+
}, handleResponse), undefined, !isWrappedByNextServer);
|
|
1532
1663
|
}
|
|
1533
1664
|
} catch (err) {
|
|
1534
|
-
if (!(err instanceof
|
|
1665
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError)) {
|
|
1535
1666
|
const silenceLog = false;
|
|
1536
1667
|
await routeModule.onRequestError(req, err, {
|
|
1537
1668
|
routerKind: 'App Router',
|
|
@@ -1564,6 +1695,135 @@ async function handler(req, res, ctx) {
|
|
|
1564
1695
|
//# sourceMappingURL=app-page.js.map
|
|
1565
1696
|
|
|
1566
1697
|
|
|
1698
|
+
/***/ }),
|
|
1699
|
+
|
|
1700
|
+
/***/ 61998:
|
|
1701
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1702
|
+
|
|
1703
|
+
"use strict";
|
|
1704
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1705
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1706
|
+
/* harmony export */ });
|
|
1707
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
1708
|
+
|
|
1709
|
+
function TrashIcon({ title, titleId, ...props }, svgRef) {
|
|
1710
|
+
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
1711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1712
|
+
fill: "none",
|
|
1713
|
+
viewBox: "0 0 24 24",
|
|
1714
|
+
strokeWidth: 1.5,
|
|
1715
|
+
stroke: "currentColor",
|
|
1716
|
+
"aria-hidden": "true",
|
|
1717
|
+
"data-slot": "icon",
|
|
1718
|
+
ref: svgRef,
|
|
1719
|
+
"aria-labelledby": titleId
|
|
1720
|
+
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
1721
|
+
id: titleId
|
|
1722
|
+
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
1723
|
+
strokeLinecap: "round",
|
|
1724
|
+
strokeLinejoin: "round",
|
|
1725
|
+
d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
1726
|
+
}));
|
|
1727
|
+
}
|
|
1728
|
+
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
|
|
1729
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
/***/ }),
|
|
1733
|
+
|
|
1734
|
+
/***/ 63033:
|
|
1735
|
+
/***/ ((module) => {
|
|
1736
|
+
|
|
1737
|
+
"use strict";
|
|
1738
|
+
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
1739
|
+
|
|
1740
|
+
/***/ }),
|
|
1741
|
+
|
|
1742
|
+
/***/ 67729:
|
|
1743
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1744
|
+
|
|
1745
|
+
"use strict";
|
|
1746
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1747
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1748
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1749
|
+
/* harmony export */ });
|
|
1750
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30274);
|
|
1751
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
1752
|
+
// This file is generated by the Webpack next-flight-loader.
|
|
1753
|
+
|
|
1754
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
1755
|
+
function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/terms/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
1756
|
+
"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/terms/page.tsx",
|
|
1757
|
+
"default",
|
|
1758
|
+
));
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
/***/ }),
|
|
1762
|
+
|
|
1763
|
+
/***/ 70722:
|
|
1764
|
+
/***/ ((module) => {
|
|
1765
|
+
|
|
1766
|
+
"use strict";
|
|
1767
|
+
module.exports = require("next/dist/shared/lib/invariant-error");
|
|
1768
|
+
|
|
1769
|
+
/***/ }),
|
|
1770
|
+
|
|
1771
|
+
/***/ 77068:
|
|
1772
|
+
/***/ ((module) => {
|
|
1773
|
+
|
|
1774
|
+
"use strict";
|
|
1775
|
+
module.exports = require("next/dist/shared/lib/size-limit");
|
|
1776
|
+
|
|
1777
|
+
/***/ }),
|
|
1778
|
+
|
|
1779
|
+
/***/ 79551:
|
|
1780
|
+
/***/ ((module) => {
|
|
1781
|
+
|
|
1782
|
+
"use strict";
|
|
1783
|
+
module.exports = require("url");
|
|
1784
|
+
|
|
1785
|
+
/***/ }),
|
|
1786
|
+
|
|
1787
|
+
/***/ 84071:
|
|
1788
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1789
|
+
|
|
1790
|
+
"use strict";
|
|
1791
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1792
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1793
|
+
/* harmony export */ });
|
|
1794
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
1795
|
+
|
|
1796
|
+
function CogIcon({ title, titleId, ...props }, svgRef) {
|
|
1797
|
+
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
1798
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1799
|
+
fill: "none",
|
|
1800
|
+
viewBox: "0 0 24 24",
|
|
1801
|
+
strokeWidth: 1.5,
|
|
1802
|
+
stroke: "currentColor",
|
|
1803
|
+
"aria-hidden": "true",
|
|
1804
|
+
"data-slot": "icon",
|
|
1805
|
+
ref: svgRef,
|
|
1806
|
+
"aria-labelledby": titleId
|
|
1807
|
+
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
1808
|
+
id: titleId
|
|
1809
|
+
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
1810
|
+
strokeLinecap: "round",
|
|
1811
|
+
strokeLinejoin: "round",
|
|
1812
|
+
d: "M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"
|
|
1813
|
+
}));
|
|
1814
|
+
}
|
|
1815
|
+
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CogIcon);
|
|
1816
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
/***/ }),
|
|
1820
|
+
|
|
1821
|
+
/***/ 86439:
|
|
1822
|
+
/***/ ((module) => {
|
|
1823
|
+
|
|
1824
|
+
"use strict";
|
|
1825
|
+
module.exports = require("next/dist/shared/lib/no-fallback-error.external");
|
|
1826
|
+
|
|
1567
1827
|
/***/ }),
|
|
1568
1828
|
|
|
1569
1829
|
/***/ 88421:
|
|
@@ -1649,7 +1909,7 @@ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(A
|
|
|
1649
1909
|
var __webpack_require__ = require("../../../webpack-runtime.js");
|
|
1650
1910
|
__webpack_require__.C(exports);
|
|
1651
1911
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
1652
|
-
var __webpack_exports__ = __webpack_require__.X(0, [
|
|
1912
|
+
var __webpack_exports__ = __webpack_require__.X(0, [8569,4741,9927,7420,3144,8255,9988], () => (__webpack_exec__(57697)));
|
|
1653
1913
|
module.exports = __webpack_exports__;
|
|
1654
1914
|
|
|
1655
1915
|
})();
|