@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
|
@@ -63,6 +63,14 @@ module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.j
|
|
|
63
63
|
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 80860));
|
|
64
64
|
|
|
65
65
|
|
|
66
|
+
/***/ }),
|
|
67
|
+
|
|
68
|
+
/***/ 17891:
|
|
69
|
+
/***/ ((module) => {
|
|
70
|
+
|
|
71
|
+
"use strict";
|
|
72
|
+
module.exports = require("next/dist/shared/lib/router/utils/get-segment-param");
|
|
73
|
+
|
|
66
74
|
/***/ }),
|
|
67
75
|
|
|
68
76
|
/***/ 19121:
|
|
@@ -213,186 +221,12 @@ module.exports = require("next/dist/server/app-render/work-unit-async-storage.ex
|
|
|
213
221
|
|
|
214
222
|
/***/ }),
|
|
215
223
|
|
|
216
|
-
/***/
|
|
217
|
-
/***/ ((module) => {
|
|
218
|
-
|
|
219
|
-
"use strict";
|
|
220
|
-
module.exports = require("next/dist/shared/lib/invariant-error");
|
|
221
|
-
|
|
222
|
-
/***/ }),
|
|
223
|
-
|
|
224
|
-
/***/ 77068:
|
|
225
|
-
/***/ ((module) => {
|
|
226
|
-
|
|
227
|
-
"use strict";
|
|
228
|
-
module.exports = require("next/dist/shared/lib/size-limit");
|
|
229
|
-
|
|
230
|
-
/***/ }),
|
|
231
|
-
|
|
232
|
-
/***/ 79551:
|
|
233
|
-
/***/ ((module) => {
|
|
234
|
-
|
|
235
|
-
"use strict";
|
|
236
|
-
module.exports = require("url");
|
|
237
|
-
|
|
238
|
-
/***/ }),
|
|
239
|
-
|
|
240
|
-
/***/ 80860:
|
|
241
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
242
|
-
|
|
243
|
-
"use strict";
|
|
244
|
-
// ESM COMPAT FLAG
|
|
245
|
-
__webpack_require__.r(__webpack_exports__);
|
|
246
|
-
|
|
247
|
-
// EXPORTS
|
|
248
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
249
|
-
"default": () => (/* binding */ SignUp)
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
253
|
-
var react_jsx_runtime = __webpack_require__(92692);
|
|
254
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
255
|
-
var react = __webpack_require__(71277);
|
|
256
|
-
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
257
|
-
var next_auth_react = __webpack_require__(62341);
|
|
258
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/api/navigation.js
|
|
259
|
-
var navigation = __webpack_require__(67994);
|
|
260
|
-
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
261
|
-
var react_client = __webpack_require__(56305);
|
|
262
|
-
// EXTERNAL MODULE: ../../packages/react-ui/dist/index.mjs + 27 modules
|
|
263
|
-
var dist = __webpack_require__(76552);
|
|
264
|
-
;// __barrel_optimize__?names=PageLayout,SignUpForm!=!../../packages/react-ui/dist/index.mjs
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
// EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
|
|
268
|
-
var CookiePreferences = __webpack_require__(80386);
|
|
269
|
-
// EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
|
|
270
|
-
var KeyboardShortcutsContext = __webpack_require__(40953);
|
|
271
|
-
// EXTERNAL MODULE: ./src/lib/routing.ts
|
|
272
|
-
var routing = __webpack_require__(46391);
|
|
273
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/client/app-dir/link.js
|
|
274
|
-
var app_dir_link = __webpack_require__(58599);
|
|
275
|
-
var link_default = /*#__PURE__*/__webpack_require__.n(app_dir_link);
|
|
276
|
-
;// ./src/app/[locale]/auth/signup/page.tsx
|
|
277
|
-
/* __next_internal_client_entry_do_not_use__ default auto */
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* SignUpContent - Thin Next.js wrapper for SignUpForm
|
|
289
|
-
*
|
|
290
|
-
* This component:
|
|
291
|
-
* - Reads Next.js-specific hooks (useSearchParams, useTranslations)
|
|
292
|
-
* - Passes data as props to the pure SignUpForm component
|
|
293
|
-
* - Wraps in PageLayout
|
|
294
|
-
*
|
|
295
|
-
* The actual form logic is in features/auth/components/SignUpForm.tsx
|
|
296
|
-
*/ function SignUpContent() {
|
|
297
|
-
const t = (0,react_client/* useTranslations */.c)('AuthSignUp');
|
|
298
|
-
const tFooter = (0,react_client/* useTranslations */.c)('Footer');
|
|
299
|
-
const tNav = (0,react_client/* useTranslations */.c)('Navigation');
|
|
300
|
-
const tHome = (0,react_client/* useTranslations */.c)('Home');
|
|
301
|
-
const searchParams = (0,navigation.useSearchParams)();
|
|
302
|
-
const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
|
|
303
|
-
const callbackUrl = searchParams?.get('callbackUrl') || '/auth/welcome';
|
|
304
|
-
const handleSignUp = async ()=>{
|
|
305
|
-
await (0,next_auth_react.signIn)('google', {
|
|
306
|
-
callbackUrl
|
|
307
|
-
});
|
|
308
|
-
};
|
|
309
|
-
const translations = {
|
|
310
|
-
pageTitle: t('pageTitle'),
|
|
311
|
-
signUpPrompt: t('signUpPrompt'),
|
|
312
|
-
signUpWithGoogle: t('signUpWithGoogle'),
|
|
313
|
-
creatingAccount: t('creatingAccount'),
|
|
314
|
-
approvedDomainsInfo: t('approvedDomainsInfo'),
|
|
315
|
-
termsAgreement: t('termsAgreement'),
|
|
316
|
-
alreadyHaveAccount: t('alreadyHaveAccount'),
|
|
317
|
-
tagline: tHome('tagline'),
|
|
318
|
-
backToHome: t('backToHome')
|
|
319
|
-
};
|
|
320
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.PageLayout, {
|
|
321
|
-
Link: routing/* Link */.N,
|
|
322
|
-
routes: routing/* routes */.J,
|
|
323
|
-
t: tFooter,
|
|
324
|
-
tNav: tNav,
|
|
325
|
-
tHome: tHome,
|
|
326
|
-
CookiePreferences: CookiePreferences/* CookiePreferences */.f,
|
|
327
|
-
...keyboardContext?.openKeyboardHelp && {
|
|
328
|
-
onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
|
|
329
|
-
},
|
|
330
|
-
className: "semiont-page-layout--auth",
|
|
331
|
-
showAuthLinks: false,
|
|
332
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.SignUpForm, {
|
|
333
|
-
onSignUp: handleSignUp,
|
|
334
|
-
Link: (link_default()),
|
|
335
|
-
translations: translations
|
|
336
|
-
})
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
function LoadingFallback() {
|
|
340
|
-
const t = (0,react_client/* useTranslations */.c)('AuthSignUp');
|
|
341
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
342
|
-
children: t('loading')
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
function SignUp() {
|
|
346
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react.Suspense, {
|
|
347
|
-
fallback: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(LoadingFallback, {}),
|
|
348
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(SignUpContent, {})
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
/***/ }),
|
|
354
|
-
|
|
355
|
-
/***/ 84071:
|
|
356
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
357
|
-
|
|
358
|
-
"use strict";
|
|
359
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
360
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
361
|
-
/* harmony export */ });
|
|
362
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
363
|
-
|
|
364
|
-
function CogIcon({ title, titleId, ...props }, svgRef) {
|
|
365
|
-
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
366
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
367
|
-
fill: "none",
|
|
368
|
-
viewBox: "0 0 24 24",
|
|
369
|
-
strokeWidth: 1.5,
|
|
370
|
-
stroke: "currentColor",
|
|
371
|
-
"aria-hidden": "true",
|
|
372
|
-
"data-slot": "icon",
|
|
373
|
-
ref: svgRef,
|
|
374
|
-
"aria-labelledby": titleId
|
|
375
|
-
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
376
|
-
id: titleId
|
|
377
|
-
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
378
|
-
strokeLinecap: "round",
|
|
379
|
-
strokeLinejoin: "round",
|
|
380
|
-
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"
|
|
381
|
-
}));
|
|
382
|
-
}
|
|
383
|
-
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CogIcon);
|
|
384
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
/***/ }),
|
|
388
|
-
|
|
389
|
-
/***/ 84659:
|
|
224
|
+
/***/ 66353:
|
|
390
225
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
391
226
|
|
|
392
227
|
"use strict";
|
|
393
228
|
__webpack_require__.r(__webpack_exports__);
|
|
394
229
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
395
|
-
/* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
396
230
|
/* harmony export */ __next_app__: () => (/* binding */ __next_app__),
|
|
397
231
|
/* harmony export */ handler: () => (/* binding */ handler),
|
|
398
232
|
/* harmony export */ routeModule: () => (/* binding */ routeModule)
|
|
@@ -435,25 +269,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
435
269
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(38038);
|
|
436
270
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__);
|
|
437
271
|
/* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(29898);
|
|
438
|
-
/* harmony import */ var
|
|
439
|
-
/* harmony import */ var
|
|
440
|
-
/* harmony import */ var
|
|
441
|
-
/* harmony import */ var
|
|
442
|
-
/* harmony import */ var
|
|
443
|
-
/* harmony import */ var
|
|
444
|
-
/* harmony import */ var
|
|
445
|
-
/* harmony import */ var
|
|
446
|
-
/* harmony import */ var
|
|
447
|
-
/* harmony import */ var
|
|
448
|
-
/* harmony import */ var
|
|
449
|
-
/* harmony import */ var
|
|
450
|
-
/* harmony import */ var
|
|
451
|
-
/* harmony import */ var
|
|
452
|
-
/* harmony import */ var
|
|
453
|
-
/* harmony import */ var
|
|
454
|
-
/* harmony import */ var
|
|
272
|
+
/* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62918);
|
|
273
|
+
/* 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__);
|
|
274
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(98798);
|
|
275
|
+
/* 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__);
|
|
276
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
|
|
277
|
+
/* 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__);
|
|
278
|
+
/* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(77068);
|
|
279
|
+
/* 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__);
|
|
280
|
+
/* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(31214);
|
|
281
|
+
/* 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__);
|
|
282
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(35402);
|
|
283
|
+
/* 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__);
|
|
284
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(29059);
|
|
285
|
+
/* 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__);
|
|
286
|
+
/* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(70722);
|
|
287
|
+
/* 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__);
|
|
288
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(31182);
|
|
289
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__);
|
|
290
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(43954);
|
|
291
|
+
/* 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__);
|
|
292
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(17891);
|
|
293
|
+
/* 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__);
|
|
455
294
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
456
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in
|
|
295
|
+
/* 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__]
|
|
457
296
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
458
297
|
const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 95235));
|
|
459
298
|
const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 25195));
|
|
@@ -462,8 +301,13 @@ const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_requi
|
|
|
462
301
|
const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 4253, 23));
|
|
463
302
|
const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 49184, 23));
|
|
464
303
|
const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 57149));
|
|
465
|
-
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
466
|
-
const
|
|
304
|
+
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
305
|
+
const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 28310));
|
|
306
|
+
const module9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
307
|
+
const module10 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
308
|
+
const page11 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6281));
|
|
309
|
+
|
|
310
|
+
|
|
467
311
|
|
|
468
312
|
|
|
469
313
|
|
|
@@ -505,27 +349,31 @@ const tree = {
|
|
|
505
349
|
'signup',
|
|
506
350
|
{
|
|
507
351
|
children: ['__PAGE__', {}, {
|
|
508
|
-
page: [
|
|
352
|
+
page: [page11, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/auth/signup/page.tsx"],
|
|
509
353
|
|
|
510
354
|
}]
|
|
511
355
|
},
|
|
512
356
|
{
|
|
357
|
+
'global-error': [module10, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
513
358
|
|
|
514
|
-
|
|
515
|
-
|
|
359
|
+
},
|
|
360
|
+
[]
|
|
516
361
|
]
|
|
517
362
|
},
|
|
518
363
|
{
|
|
364
|
+
'global-error': [module9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
519
365
|
|
|
520
|
-
|
|
521
|
-
|
|
366
|
+
},
|
|
367
|
+
[]
|
|
522
368
|
]
|
|
523
369
|
},
|
|
524
370
|
{
|
|
525
371
|
'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
|
|
526
|
-
'
|
|
372
|
+
'global-error': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
373
|
+
'not-found': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
|
|
527
374
|
|
|
528
|
-
}
|
|
375
|
+
},
|
|
376
|
+
["_not-found","_global-error","api"]
|
|
529
377
|
]
|
|
530
378
|
},
|
|
531
379
|
{
|
|
@@ -536,11 +384,10 @@ const tree = {
|
|
|
536
384
|
'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
|
|
537
385
|
'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
|
|
538
386
|
|
|
539
|
-
}
|
|
387
|
+
},
|
|
388
|
+
[]
|
|
540
389
|
]
|
|
541
390
|
}.children;
|
|
542
|
-
|
|
543
|
-
|
|
544
391
|
const __next_app_require__ = __webpack_require__
|
|
545
392
|
const __next_app_load_chunk__ = () => Promise.resolve()
|
|
546
393
|
const __next_app__ = {
|
|
@@ -553,6 +400,7 @@ const __next_app__ = {
|
|
|
553
400
|
|
|
554
401
|
|
|
555
402
|
|
|
403
|
+
|
|
556
404
|
// Create and export the route module that will be consumed.
|
|
557
405
|
const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
|
|
558
406
|
definition: {
|
|
@@ -570,12 +418,53 @@ const routeModule = new next_dist_server_route_modules_app_page_module_compiled_
|
|
|
570
418
|
distDir: ".next" || 0,
|
|
571
419
|
relativeProjectDir: false || ''
|
|
572
420
|
});
|
|
421
|
+
function buildDynamicSegmentPlaceholder(param) {
|
|
422
|
+
const { repeat, optional } = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getParamProperties)(param.paramType);
|
|
423
|
+
if (optional) {
|
|
424
|
+
return `[[...${param.paramName}]]`;
|
|
425
|
+
}
|
|
426
|
+
if (repeat) {
|
|
427
|
+
return `[...${param.paramName}]`;
|
|
428
|
+
}
|
|
429
|
+
return `[${param.paramName}]`;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Builds the cache key for the most complete prerenderable shell we can derive
|
|
433
|
+
* from the shell that matched this request. Only params that can still be
|
|
434
|
+
* filled by `generateStaticParams` are substituted; fully dynamic params stay
|
|
435
|
+
* as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into
|
|
436
|
+
* `/c/[two]` rather than `/c/foo`.
|
|
437
|
+
*/ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {
|
|
438
|
+
const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[
|
|
439
|
+
param.paramName,
|
|
440
|
+
param
|
|
441
|
+
]));
|
|
442
|
+
return fallbackPathname.split('/').map((segment)=>{
|
|
443
|
+
const segmentParam = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getSegmentParam)(segment);
|
|
444
|
+
if (!segmentParam) {
|
|
445
|
+
return segment;
|
|
446
|
+
}
|
|
447
|
+
const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);
|
|
448
|
+
if (!remainingParam) {
|
|
449
|
+
return segment;
|
|
450
|
+
}
|
|
451
|
+
const value = params == null ? void 0 : params[remainingParam.paramName];
|
|
452
|
+
if (!value) {
|
|
453
|
+
return segment;
|
|
454
|
+
}
|
|
455
|
+
const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);
|
|
456
|
+
return segment.replace(buildDynamicSegmentPlaceholder(remainingParam), encodedValue);
|
|
457
|
+
}).join('/') || '/';
|
|
458
|
+
}
|
|
573
459
|
async function handler(req, res, ctx) {
|
|
574
|
-
var _this;
|
|
460
|
+
var _this, _prerenderManifest_routes_resolvedPathname, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams;
|
|
461
|
+
if (ctx.requestMeta) {
|
|
462
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.setRequestMeta)(req, ctx.requestMeta);
|
|
463
|
+
}
|
|
575
464
|
if (routeModule.isDev) {
|
|
576
465
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
577
466
|
}
|
|
578
|
-
const isMinimalMode = Boolean(
|
|
467
|
+
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode'));
|
|
579
468
|
let srcPage = "/[locale]/auth/signup/page";
|
|
580
469
|
// turbopack doesn't normalize `/index` in the page name
|
|
581
470
|
// so we need to to process dynamic routes properly
|
|
@@ -595,7 +484,7 @@ async function handler(req, res, ctx) {
|
|
|
595
484
|
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
596
485
|
return null;
|
|
597
486
|
}
|
|
598
|
-
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId } = prepareResult;
|
|
487
|
+
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken } = prepareResult;
|
|
599
488
|
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_13__.normalizeAppPath)(srcPage);
|
|
600
489
|
let { isOnDemandRevalidate } = prepareResult;
|
|
601
490
|
// We use the resolvedPathname instead of the parsedUrl.pathname because it
|
|
@@ -605,7 +494,8 @@ async function handler(req, res, ctx) {
|
|
|
605
494
|
// treat the pathname as dynamic. Currently, there's a bug in the PPR
|
|
606
495
|
// implementation that incorrectly leaves %%drp placeholders in the output of
|
|
607
496
|
// parallel routes. This is addressed with cacheComponents.
|
|
608
|
-
const
|
|
497
|
+
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);
|
|
498
|
+
const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;
|
|
609
499
|
const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
|
|
610
500
|
const userAgent = req.headers['user-agent'] || '';
|
|
611
501
|
const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_16__.getBotType)(userAgent);
|
|
@@ -622,15 +512,65 @@ async function handler(req, res, ctx) {
|
|
|
622
512
|
* If the route being rendered is an app page, and the ppr feature has been
|
|
623
513
|
* enabled, then the given route _could_ support PPR.
|
|
624
514
|
*/ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
|
|
515
|
+
// Stash postponed state for server actions when in minimal mode.
|
|
516
|
+
// We extract it here so the RDC is available for the re-render after the action completes.
|
|
517
|
+
const resumeStateLengthHeader = req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_STATE_LENGTH_HEADER];
|
|
518
|
+
if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {
|
|
519
|
+
const stateLength = parseInt(resumeStateLengthHeader, 10);
|
|
520
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
521
|
+
if (!isNaN(stateLength) && stateLength > 0) {
|
|
522
|
+
var _nextConfig_experimental_serverActions;
|
|
523
|
+
if (stateLength > maxPostponedStateSizeBytes) {
|
|
524
|
+
res.statusCode = 413;
|
|
525
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
526
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
527
|
+
return null;
|
|
528
|
+
}
|
|
529
|
+
// Calculate max total body size to prevent buffering excessively large
|
|
530
|
+
// payloads before the action handler checks. We use stateLength (not
|
|
531
|
+
// maxPostponedStateSizeBytes) so the postponed state doesn't eat into
|
|
532
|
+
// the action body budget - it's already validated above.
|
|
533
|
+
const defaultActionBodySizeLimit = '1 MB';
|
|
534
|
+
const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;
|
|
535
|
+
const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? (__webpack_require__(32683).parse)(actionBodySizeLimit) : 1024 * 1024 // 1 MB
|
|
536
|
+
;
|
|
537
|
+
const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;
|
|
538
|
+
const fullBody = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxTotalBodySize);
|
|
539
|
+
if (fullBody === null) {
|
|
540
|
+
res.statusCode = 413;
|
|
541
|
+
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`);
|
|
542
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
543
|
+
return null;
|
|
544
|
+
}
|
|
545
|
+
if (fullBody.length >= stateLength) {
|
|
546
|
+
// Extract postponed state from the beginning
|
|
547
|
+
const postponedState = fullBody.subarray(0, stateLength).toString('utf8');
|
|
548
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponedState);
|
|
549
|
+
// Store the remaining action body for the action handler
|
|
550
|
+
const actionBody = fullBody.subarray(stateLength);
|
|
551
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'actionBody', actionBody);
|
|
552
|
+
} else {
|
|
553
|
+
throw Object.defineProperty(new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`), "__NEXT_ERROR_CODE", {
|
|
554
|
+
value: "E979",
|
|
555
|
+
enumerable: false,
|
|
556
|
+
configurable: true
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
625
561
|
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') {
|
|
562
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
626
563
|
// Decode the postponed state from the request body, it will come as
|
|
627
564
|
// an array of buffers, so collect them and then concat them to form
|
|
628
565
|
// the string.
|
|
629
|
-
const body =
|
|
630
|
-
|
|
631
|
-
|
|
566
|
+
const body = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxPostponedStateSizeBytes);
|
|
567
|
+
if (body === null) {
|
|
568
|
+
res.statusCode = 413;
|
|
569
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
570
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
571
|
+
return null;
|
|
632
572
|
}
|
|
633
|
-
const postponed =
|
|
573
|
+
const postponed = body.toString('utf8');
|
|
634
574
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponed);
|
|
635
575
|
}
|
|
636
576
|
// When enabled, this will allow the use of the `?__nextppronly` query to
|
|
@@ -639,14 +579,29 @@ async function handler(req, res, ctx) {
|
|
|
639
579
|
// When enabled, this will allow the use of the `?__nextppronly` query
|
|
640
580
|
// to enable debugging of the fallback shell.
|
|
641
581
|
const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
|
|
582
|
+
// Whether the testing API is exposed (dev mode or explicit flag)
|
|
583
|
+
const exposeTestingApi = routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true;
|
|
584
|
+
// Enable the Instant Navigation Testing API. Renders only the prefetched
|
|
585
|
+
// portion of the page, excluding dynamic content. This allows tests to
|
|
586
|
+
// assert on the prefetched UI state deterministically.
|
|
587
|
+
// - Header: Used for client-side navigations where we can set request headers
|
|
588
|
+
// - Cookie: Used for MPA navigations (page reload, full page load) where we
|
|
589
|
+
// can't set request headers. Only applies to document requests (no RSC
|
|
590
|
+
// header) - RSC requests should proceed normally even during a locked scope,
|
|
591
|
+
// with blocking happening on the client side.
|
|
592
|
+
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 + '='));
|
|
642
593
|
// This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
|
|
643
594
|
// prerender manifest and this is an app page.
|
|
644
|
-
const isRoutePPREnabled =
|
|
595
|
+
const isRoutePPREnabled = // When the instant navigation testing API is active, enable the PPR
|
|
596
|
+
// prerender path even without Cache Components. In dev mode without CC,
|
|
597
|
+
// static pages need this path to produce buffered segment data (the
|
|
598
|
+
// legacy prerender path hangs in dev mode).
|
|
599
|
+
(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
|
|
645
600
|
// enabled or not, but that would require plumbing the appConfig through
|
|
646
601
|
// to the server during development. We assume that the page supports it
|
|
647
|
-
// but only during development.
|
|
648
|
-
hasDebugStaticShellQuery && (
|
|
649
|
-
const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
|
|
602
|
+
// but only during development or when the testing API is exposed.
|
|
603
|
+
(hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
|
|
604
|
+
const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;
|
|
650
605
|
// We should enable debugging dynamic accesses when the static shell
|
|
651
606
|
// debugging has been enabled and we're also in development mode.
|
|
652
607
|
const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
|
|
@@ -658,7 +613,11 @@ async function handler(req, res, ctx) {
|
|
|
658
613
|
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
659
614
|
// we can use this fact to only generate the flight data for the request
|
|
660
615
|
// because we can't cache the HTML (as it's also dynamic).
|
|
661
|
-
|
|
616
|
+
const staticPrefetchDataRoute = (_prerenderManifest_routes_resolvedPathname = prerenderManifest.routes[resolvedPathname]) == null ? void 0 : _prerenderManifest_routes_resolvedPathname.prefetchDataRoute;
|
|
617
|
+
let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static
|
|
618
|
+
// so we can serve the prebuilt .rsc without a dynamic render.
|
|
619
|
+
// Only do this for routes that have a concrete prefetchDataRoute.
|
|
620
|
+
!staticPrefetchDataRoute;
|
|
662
621
|
// During a PPR revalidation, the RSC request is not dynamic if we do not have the postponed data.
|
|
663
622
|
// We only attach the postponed data during a resume. If there's no postponed data, then it must be a revalidation.
|
|
664
623
|
// This is to ensure that we don't bypass the cache during a revalidation.
|
|
@@ -674,10 +633,11 @@ async function handler(req, res, ctx) {
|
|
|
674
633
|
// being true for a revalidate due to modifying the base-server this.renderOpts
|
|
675
634
|
// when fixing this to correct logic it causes hydration issue since we set
|
|
676
635
|
// serveStreamingMetadata to true during export
|
|
677
|
-
const serveStreamingMetadata =
|
|
678
|
-
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a
|
|
679
|
-
// to serve a static response.
|
|
680
|
-
|
|
636
|
+
const serveStreamingMetadata = botType && isRoutePPREnabled ? false : !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
|
|
637
|
+
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a bot request and PPR is enabled, then we don't want
|
|
638
|
+
// to serve a static response. This applies to both DOM bots (like Googlebot)
|
|
639
|
+
// and HTML-limited bots.
|
|
640
|
+
!(botType && isRoutePPREnabled));
|
|
681
641
|
// When a page supports cacheComponents, we can support RDC for Navigations
|
|
682
642
|
const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;
|
|
683
643
|
// In development, we always want to generate dynamic HTML.
|
|
@@ -694,18 +654,37 @@ async function handler(req, res, ctx) {
|
|
|
694
654
|
// RSC request, we'll pass the minimal postponed data to the render
|
|
695
655
|
// which will trigger the `supportsDynamicResponse` to be true.
|
|
696
656
|
isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);
|
|
697
|
-
// When
|
|
698
|
-
|
|
657
|
+
// When bots request PPR page, perform the full dynamic rendering.
|
|
658
|
+
// This applies to both DOM bots (like Googlebot) and HTML-limited bots.
|
|
659
|
+
const shouldWaitOnAllReady = Boolean(botType) && isRoutePPREnabled;
|
|
660
|
+
const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];
|
|
661
|
+
const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;
|
|
699
662
|
let ssgCacheKey = null;
|
|
700
663
|
if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
701
|
-
|
|
664
|
+
// For normal SSG routes we cache by the fully resolved pathname. For
|
|
665
|
+
// partial fallbacks we instead derive the cache key from the shell
|
|
666
|
+
// that matched this request so `/prefix/[one]/[two]` can specialize into
|
|
667
|
+
// `/prefix/c/[two]` without promoting all the way to `/prefix/c/foo`.
|
|
668
|
+
const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;
|
|
669
|
+
if (nextConfig.experimental.partialFallbacks === true && fallbackPathname && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && !hasUnresolvedRootFallbackParams) {
|
|
670
|
+
if (remainingPrerenderableParams.length > 0) {
|
|
671
|
+
const completedShellCacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);
|
|
672
|
+
// If applying the current request params doesn't make the shell any
|
|
673
|
+
// more complete, then this shell is already at its most complete
|
|
674
|
+
// form and should remain shared rather than creating a new cache entry.
|
|
675
|
+
ssgCacheKey = completedShellCacheKey !== fallbackPathname ? completedShellCacheKey : null;
|
|
676
|
+
}
|
|
677
|
+
} else {
|
|
678
|
+
ssgCacheKey = resolvedPathname;
|
|
679
|
+
}
|
|
702
680
|
}
|
|
703
681
|
// the staticPathKey differs from ssgCacheKey since
|
|
704
682
|
// ssgCacheKey is null in dev since we're always in "dynamic"
|
|
705
|
-
// mode in dev to bypass the cache
|
|
706
|
-
//
|
|
683
|
+
// mode in dev to bypass the cache. It can also be null for partial
|
|
684
|
+
// fallback shells that should remain shared and must not create a
|
|
685
|
+
// param-specific ISR entry, but we still need to honor fallback handling.
|
|
707
686
|
let staticPathKey = ssgCacheKey;
|
|
708
|
-
if (!staticPathKey && routeModule.isDev) {
|
|
687
|
+
if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams))) {
|
|
709
688
|
staticPathKey = resolvedPathname;
|
|
710
689
|
}
|
|
711
690
|
// If this is a request for an app path that should be statically generated
|
|
@@ -715,9 +694,8 @@ async function handler(req, res, ctx) {
|
|
|
715
694
|
(0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
|
|
716
695
|
}
|
|
717
696
|
const ComponentMod = {
|
|
718
|
-
...
|
|
697
|
+
...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__,
|
|
719
698
|
tree,
|
|
720
|
-
GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
721
699
|
handler,
|
|
722
700
|
routeModule,
|
|
723
701
|
__next_app__
|
|
@@ -735,6 +713,8 @@ async function handler(req, res, ctx) {
|
|
|
735
713
|
const method = req.method || 'GET';
|
|
736
714
|
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.getTracer)();
|
|
737
715
|
const activeSpan = tracer.getActiveScopeSpan();
|
|
716
|
+
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
717
|
+
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))) ?? [] : [];
|
|
738
718
|
const render404 = async ()=>{
|
|
739
719
|
// TODO: should route-module itself handle rendering the 404
|
|
740
720
|
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
@@ -747,6 +727,7 @@ async function handler(req, res, ctx) {
|
|
|
747
727
|
try {
|
|
748
728
|
const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
|
|
749
729
|
res.setHeader('Vary', varyHeader);
|
|
730
|
+
let parentSpan;
|
|
750
731
|
const invokeRouteModule = async (span, context)=>{
|
|
751
732
|
const nextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextRequest(req);
|
|
752
733
|
const nextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextResponse(res);
|
|
@@ -774,19 +755,29 @@ async function handler(req, res, ctx) {
|
|
|
774
755
|
'next.span_name': name
|
|
775
756
|
});
|
|
776
757
|
span.updateName(name);
|
|
758
|
+
// Propagate http.route to the parent span if one exists (e.g.
|
|
759
|
+
// a platform-created HTTP span in adapter deployments).
|
|
760
|
+
if (parentSpan && parentSpan !== span) {
|
|
761
|
+
parentSpan.setAttribute('http.route', route);
|
|
762
|
+
parentSpan.updateName(name);
|
|
763
|
+
}
|
|
777
764
|
} else {
|
|
778
765
|
span.updateName(`${method} ${srcPage}`);
|
|
779
766
|
}
|
|
780
767
|
});
|
|
781
768
|
};
|
|
782
|
-
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache');
|
|
769
|
+
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, prerenderManifest, isMinimalMode);
|
|
770
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
771
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
783
772
|
const doRender = async ({ span, postponed, fallbackRouteParams, forceStaticRender })=>{
|
|
784
773
|
const context = {
|
|
785
774
|
query,
|
|
786
775
|
params,
|
|
787
776
|
page: normalizedSrcPage,
|
|
788
777
|
sharedContext: {
|
|
789
|
-
buildId
|
|
778
|
+
buildId,
|
|
779
|
+
deploymentId,
|
|
780
|
+
clientAssetToken
|
|
790
781
|
},
|
|
791
782
|
serverComponentsHmrCache: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'serverComponentsHmrCache'),
|
|
792
783
|
fallbackRouteParams,
|
|
@@ -822,7 +813,6 @@ async function handler(req, res, ctx) {
|
|
|
822
813
|
trailingSlash: nextConfig.trailingSlash,
|
|
823
814
|
images: nextConfig.images,
|
|
824
815
|
previewProps: prerenderManifest.preview,
|
|
825
|
-
deploymentId: deploymentId,
|
|
826
816
|
enableTainting: nextConfig.experimental.taint,
|
|
827
817
|
htmlLimitedBots: nextConfig.htmlLimitedBots,
|
|
828
818
|
reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,
|
|
@@ -831,8 +821,9 @@ async function handler(req, res, ctx) {
|
|
|
831
821
|
cacheLifeProfiles: nextConfig.cacheLife,
|
|
832
822
|
basePath: nextConfig.basePath,
|
|
833
823
|
serverActions: nextConfig.experimental.serverActions,
|
|
824
|
+
logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),
|
|
834
825
|
...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {
|
|
835
|
-
|
|
826
|
+
isBuildTimePrerendering: true,
|
|
836
827
|
supportsDynamicResponse: false,
|
|
837
828
|
isStaticGeneration: true,
|
|
838
829
|
isDebugDynamicAccesses: isDebugDynamicAccesses
|
|
@@ -843,11 +834,14 @@ async function handler(req, res, ctx) {
|
|
|
843
834
|
expireTime: nextConfig.expireTime,
|
|
844
835
|
staleTimes: nextConfig.experimental.staleTimes,
|
|
845
836
|
dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),
|
|
837
|
+
optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),
|
|
846
838
|
inlineCss: Boolean(nextConfig.experimental.inlineCss),
|
|
839
|
+
prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,
|
|
847
840
|
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
841
|
+
cachedNavigations: Boolean(nextConfig.experimental.cachedNavigations),
|
|
848
842
|
clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],
|
|
849
843
|
clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,
|
|
850
|
-
maxPostponedStateSizeBytes: (0,
|
|
844
|
+
maxPostponedStateSizeBytes: (0,next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize)
|
|
851
845
|
},
|
|
852
846
|
waitUntil: ctx.waitUntil,
|
|
853
847
|
onClose: (cb)=>{
|
|
@@ -855,15 +849,9 @@ async function handler(req, res, ctx) {
|
|
|
855
849
|
},
|
|
856
850
|
onAfterTaskError: ()=>{},
|
|
857
851
|
onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),
|
|
858
|
-
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
859
|
-
dev: routeModule.isDev
|
|
852
|
+
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
860
853
|
}
|
|
861
854
|
};
|
|
862
|
-
if (isDebugStaticShell || isDebugDynamicAccesses) {
|
|
863
|
-
context.renderOpts.nextExport = true;
|
|
864
|
-
context.renderOpts.supportsDynamicResponse = false;
|
|
865
|
-
context.renderOpts.isDebugDynamicAccesses = isDebugDynamicAccesses;
|
|
866
|
-
}
|
|
867
855
|
// When we're revalidating in the background, we should not allow dynamic
|
|
868
856
|
// responses.
|
|
869
857
|
if (forceStaticRender) {
|
|
@@ -926,6 +914,16 @@ async function handler(req, res, ctx) {
|
|
|
926
914
|
if (prerenderInfo) {
|
|
927
915
|
fallbackMode = (0,next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.parseFallbackField)(prerenderInfo.fallback);
|
|
928
916
|
}
|
|
917
|
+
if (nextConfig.experimental.partialFallbacks === true && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {
|
|
918
|
+
// Generic source shells without unresolved root params don't have a
|
|
919
|
+
// concrete fallback file of their own, so they're marked as blocking.
|
|
920
|
+
// When we can complete the shell into a more specific
|
|
921
|
+
// prerendered shell for this request, treat it like a prerender
|
|
922
|
+
// fallback so we can serve that shell instead of blocking on the full
|
|
923
|
+
// route. Root-param shells stay blocking, since unknown root branches
|
|
924
|
+
// should not inherit a shell from another generated branch.
|
|
925
|
+
fallbackMode = next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.PRERENDER;
|
|
926
|
+
}
|
|
929
927
|
// When serving a HTML bot request, we want to serve a blocking render and
|
|
930
928
|
// not the prerendered page. This ensures that the correct content is served
|
|
931
929
|
// to the bot in the head.
|
|
@@ -950,10 +948,10 @@ async function handler(req, res, ctx) {
|
|
|
950
948
|
// getStaticPaths.
|
|
951
949
|
(isProduction || prerenderInfo) && // When fallback isn't present, abort this render so we 404
|
|
952
950
|
fallbackMode === next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.NOT_FOUND) {
|
|
953
|
-
if (nextConfig.
|
|
951
|
+
if (nextConfig.adapterPath) {
|
|
954
952
|
return await render404();
|
|
955
953
|
}
|
|
956
|
-
throw new
|
|
954
|
+
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError();
|
|
957
955
|
}
|
|
958
956
|
// When cacheComponents is enabled, we can use the fallback
|
|
959
957
|
// response if the request is not a dynamic RSC request because the
|
|
@@ -962,10 +960,19 @@ async function handler(req, res, ctx) {
|
|
|
962
960
|
// contains param references, and therefore we can't use the fallback.
|
|
963
961
|
if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {
|
|
964
962
|
const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;
|
|
965
|
-
const fallbackRouteParams = //
|
|
966
|
-
//
|
|
967
|
-
|
|
963
|
+
const fallbackRouteParams = // In production or when debugging the static shell (e.g. instant
|
|
964
|
+
// navigation testing), use the prerender manifest's fallback
|
|
965
|
+
// route params which correctly identifies which params are
|
|
966
|
+
// unknown. Note: in dev, this block is only entered for
|
|
967
|
+
// non-prerendered URLs (guarded by the outer condition).
|
|
968
|
+
(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).
|
|
968
969
|
isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
|
|
970
|
+
// When rendering a debug static shell, override the fallback
|
|
971
|
+
// params on the request so that the staged rendering correctly
|
|
972
|
+
// defers params that are not statically known.
|
|
973
|
+
if (isDebugStaticShell && fallbackRouteParams) {
|
|
974
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackRouteParams);
|
|
975
|
+
}
|
|
969
976
|
// We use the response cache here to handle the revalidation and
|
|
970
977
|
// management of the fallback shell.
|
|
971
978
|
const fallbackResponse = await routeModule.handleResponse({
|
|
@@ -981,8 +988,12 @@ async function handler(req, res, ctx) {
|
|
|
981
988
|
// We pass `undefined` as rendering a fallback isn't resumed
|
|
982
989
|
// here.
|
|
983
990
|
postponed: undefined,
|
|
991
|
+
// Always serve the shell that matched this request
|
|
992
|
+
// immediately. If there are still prerenderable params left,
|
|
993
|
+
// the background path below will complete the shell into a
|
|
994
|
+
// more specific cache entry for later requests.
|
|
984
995
|
fallbackRouteParams,
|
|
985
|
-
forceStaticRender:
|
|
996
|
+
forceStaticRender: true
|
|
986
997
|
}),
|
|
987
998
|
waitUntil: ctx.waitUntil,
|
|
988
999
|
isMinimalMode
|
|
@@ -991,6 +1002,39 @@ async function handler(req, res, ctx) {
|
|
|
991
1002
|
if (fallbackResponse === null) return null;
|
|
992
1003
|
// Otherwise, if we did get a fallback response, we should return it.
|
|
993
1004
|
if (fallbackResponse) {
|
|
1005
|
+
if (!isMinimalMode && isRoutePPREnabled && // Match the build-time contract: only fallback shells that can
|
|
1006
|
+
// still be completed with prerenderable params should upgrade.
|
|
1007
|
+
remainingPrerenderableParams.length > 0 && nextConfig.experimental.partialFallbacks === true && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so
|
|
1008
|
+
// don't upgrade fallback shells in the background when it's
|
|
1009
|
+
// exposed.
|
|
1010
|
+
!exposeTestingApi && // Instant Navigation Testing API requests intentionally keep
|
|
1011
|
+
// the route in shell mode; don't upgrade these in background.
|
|
1012
|
+
!isInstantNavigationTest && // Avoid background revalidate during prefetches; this can trigger
|
|
1013
|
+
// static prerender errors that surface as 500s for the prefetch
|
|
1014
|
+
// request itself.
|
|
1015
|
+
!isPrefetchRSCRequest) {
|
|
1016
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
1017
|
+
const responseCache = routeModule.getResponseCache(req);
|
|
1018
|
+
try {
|
|
1019
|
+
// Only the params that were just specialized should be
|
|
1020
|
+
// removed from the fallback render. Any remaining fallback
|
|
1021
|
+
// params stay deferred so the revalidated result is a more
|
|
1022
|
+
// specific shell (e.g. `/prefix/c/[two]`), not a fully
|
|
1023
|
+
// concrete route (`/prefix/c/foo`).
|
|
1024
|
+
await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{
|
|
1025
|
+
return doRender({
|
|
1026
|
+
span: c.span,
|
|
1027
|
+
postponed: undefined,
|
|
1028
|
+
fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : null,
|
|
1029
|
+
forceStaticRender: true
|
|
1030
|
+
});
|
|
1031
|
+
}, // We don't have a prior entry for this param-specific shell.
|
|
1032
|
+
null, hasResolved, ctx.waitUntil);
|
|
1033
|
+
} catch (err) {
|
|
1034
|
+
console.error('Error revalidating the page in the background', err);
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
994
1038
|
// Remove the cache control from the response to prevent it from being
|
|
995
1039
|
// used in the surrounding cache.
|
|
996
1040
|
delete fallbackResponse.cacheControl;
|
|
@@ -1001,12 +1045,15 @@ async function handler(req, res, ctx) {
|
|
|
1001
1045
|
// Only requests that aren't revalidating can be resumed. If we have the
|
|
1002
1046
|
// minimal postponed data, then we should resume the render with it.
|
|
1003
1047
|
let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;
|
|
1004
|
-
// If this is a dynamic RSC request
|
|
1005
|
-
// the static render (if available). This
|
|
1006
|
-
// resume data cache (RDC) from the static
|
|
1007
|
-
// is consistent between the static and
|
|
1048
|
+
// If this is a dynamic RSC request or a server action request, we should
|
|
1049
|
+
// use the postponed data from the static render (if available). This
|
|
1050
|
+
// ensures that we can utilize the resume data cache (RDC) from the static
|
|
1051
|
+
// render to ensure that the data is consistent between the static and
|
|
1052
|
+
// dynamic renders (for navigations) or when re-rendering after a server
|
|
1053
|
+
// action.
|
|
1008
1054
|
if (// Only enable RDC for Navigations if the feature is enabled.
|
|
1009
|
-
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache &&
|
|
1055
|
+
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions
|
|
1056
|
+
(isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC
|
|
1010
1057
|
// requests, as we're typically revalidating the page in the background
|
|
1011
1058
|
// instead. However, if the cache entry is stale, we should trigger a
|
|
1012
1059
|
// background revalidation on dynamic RSC requests. This prevents us
|
|
@@ -1031,7 +1078,7 @@ async function handler(req, res, ctx) {
|
|
|
1031
1078
|
(incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {
|
|
1032
1079
|
// We want to schedule this on the next tick to ensure that the
|
|
1033
1080
|
// render is not blocked on it.
|
|
1034
|
-
(0,
|
|
1081
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
1035
1082
|
const responseCache = routeModule.getResponseCache(req);
|
|
1036
1083
|
try {
|
|
1037
1084
|
await responseCache.revalidate(resolvedPathname, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({
|
|
@@ -1068,11 +1115,21 @@ async function handler(req, res, ctx) {
|
|
|
1068
1115
|
}
|
|
1069
1116
|
};
|
|
1070
1117
|
}
|
|
1071
|
-
const fallbackRouteParams = //
|
|
1072
|
-
//
|
|
1073
|
-
//
|
|
1074
|
-
isProduction && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)
|
|
1075
|
-
|
|
1118
|
+
const fallbackRouteParams = // In production or when debugging the static shell for a
|
|
1119
|
+
// non-prerendered URL, use the prerender manifest's fallback route
|
|
1120
|
+
// params which correctly identifies which params are unknown.
|
|
1121
|
+
(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;
|
|
1122
|
+
// For staged dynamic rendering (Cached Navigations) and debug static
|
|
1123
|
+
// shell rendering, pass the fallback params via request meta so the
|
|
1124
|
+
// RequestStore knows which params to defer. We don't pass them as
|
|
1125
|
+
// fallbackRouteParams because that would replace actual param values
|
|
1126
|
+
// with opaque placeholders during segment resolution.
|
|
1127
|
+
if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents && !isPrerendered && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
|
|
1128
|
+
const fallbackParams = (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
|
|
1129
|
+
if (fallbackParams) {
|
|
1130
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackParams);
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1076
1133
|
// Perform the render.
|
|
1077
1134
|
return doRender({
|
|
1078
1135
|
span,
|
|
@@ -1103,7 +1160,7 @@ async function handler(req, res, ctx) {
|
|
|
1103
1160
|
}
|
|
1104
1161
|
// In dev, we should not cache pages for any reason.
|
|
1105
1162
|
if (routeModule.isDev) {
|
|
1106
|
-
res.setHeader('Cache-Control', 'no-
|
|
1163
|
+
res.setHeader('Cache-Control', 'no-cache, must-revalidate');
|
|
1107
1164
|
}
|
|
1108
1165
|
if (!cacheEntry) {
|
|
1109
1166
|
if (ssgCacheKey) {
|
|
@@ -1129,6 +1186,16 @@ async function handler(req, res, ctx) {
|
|
|
1129
1186
|
});
|
|
1130
1187
|
}
|
|
1131
1188
|
const didPostpone = typeof cacheEntry.value.postponed === 'string';
|
|
1189
|
+
// Set the build ID header for RSC navigation requests when deploymentId is configured. This
|
|
1190
|
+
// corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID
|
|
1191
|
+
// from the RSC payload when deploymentId is set (relying on this header instead). Server
|
|
1192
|
+
// actions are excluded here because action redirect responses get the deployment ID header
|
|
1193
|
+
// from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts
|
|
1194
|
+
// which copies headers from the internal RSC fetch).
|
|
1195
|
+
// For static prerenders served from CDN, routes-manifest.json adds a header.
|
|
1196
|
+
if (isRSCRequest && !isPossibleServerAction && deploymentId) {
|
|
1197
|
+
res.setHeader(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);
|
|
1198
|
+
}
|
|
1132
1199
|
if (isSSG && // We don't want to send a cache header for requests that contain dynamic
|
|
1133
1200
|
// data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
|
|
1134
1201
|
// request, then we should set the cache header.
|
|
@@ -1189,7 +1256,7 @@ async function handler(req, res, ctx) {
|
|
|
1189
1256
|
};
|
|
1190
1257
|
} else {
|
|
1191
1258
|
cacheControl = {
|
|
1192
|
-
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.
|
|
1259
|
+
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.CACHE_ONE_YEAR_SECONDS,
|
|
1193
1260
|
expire: undefined
|
|
1194
1261
|
};
|
|
1195
1262
|
}
|
|
@@ -1217,7 +1284,7 @@ async function handler(req, res, ctx) {
|
|
|
1217
1284
|
const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);
|
|
1218
1285
|
if (matchedSegment !== undefined) {
|
|
1219
1286
|
// Cache hit
|
|
1220
|
-
return (0,
|
|
1287
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1221
1288
|
req,
|
|
1222
1289
|
res,
|
|
1223
1290
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1233,7 +1300,7 @@ async function handler(req, res, ctx) {
|
|
|
1233
1300
|
// don't bother to respond with 404, because these requests are only
|
|
1234
1301
|
// issued as part of a prefetch.
|
|
1235
1302
|
res.statusCode = 204;
|
|
1236
|
-
return (0,
|
|
1303
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1237
1304
|
req,
|
|
1238
1305
|
res,
|
|
1239
1306
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1288,7 +1355,7 @@ async function handler(req, res, ctx) {
|
|
|
1288
1355
|
res.statusCode = cachedData.status;
|
|
1289
1356
|
}
|
|
1290
1357
|
// Redirect information is encoded in RSC payload, so we don't need to use redirect status codes
|
|
1291
|
-
if (!isMinimalMode && cachedData.status &&
|
|
1358
|
+
if (!isMinimalMode && cachedData.status && next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__.RedirectStatusCode[cachedData.status] && isRSCRequest) {
|
|
1292
1359
|
res.statusCode = 200;
|
|
1293
1360
|
}
|
|
1294
1361
|
// Mark that the request did postpone.
|
|
@@ -1306,7 +1373,7 @@ async function handler(req, res, ctx) {
|
|
|
1306
1373
|
if (cachedData.html.contentType !== next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_CONTENT_TYPE_HEADER) {
|
|
1307
1374
|
if (nextConfig.cacheComponents) {
|
|
1308
1375
|
res.statusCode = 404;
|
|
1309
|
-
return (0,
|
|
1376
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1310
1377
|
req,
|
|
1311
1378
|
res,
|
|
1312
1379
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1316,14 +1383,14 @@ async function handler(req, res, ctx) {
|
|
|
1316
1383
|
});
|
|
1317
1384
|
} else {
|
|
1318
1385
|
// Otherwise this case is not expected.
|
|
1319
|
-
throw Object.defineProperty(new
|
|
1386
|
+
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", {
|
|
1320
1387
|
value: "E789",
|
|
1321
1388
|
enumerable: false,
|
|
1322
1389
|
configurable: true
|
|
1323
1390
|
});
|
|
1324
1391
|
}
|
|
1325
1392
|
}
|
|
1326
|
-
return (0,
|
|
1393
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1327
1394
|
req,
|
|
1328
1395
|
res,
|
|
1329
1396
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1334,7 +1401,7 @@ async function handler(req, res, ctx) {
|
|
|
1334
1401
|
}
|
|
1335
1402
|
// As this isn't a prefetch request, we should serve the static flight
|
|
1336
1403
|
// data.
|
|
1337
|
-
return (0,
|
|
1404
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1338
1405
|
req,
|
|
1339
1406
|
res,
|
|
1340
1407
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1345,6 +1412,27 @@ async function handler(req, res, ctx) {
|
|
|
1345
1412
|
}
|
|
1346
1413
|
// This is a request for HTML data.
|
|
1347
1414
|
const body = cachedData.html;
|
|
1415
|
+
// Instant Navigation Testing API: serve the static shell with an
|
|
1416
|
+
// injected script that sets self.__next_instant_test and kicks off a
|
|
1417
|
+
// static RSC fetch for hydration. The transform stream also appends
|
|
1418
|
+
// closing </body></html> tags so the browser can parse the full document.
|
|
1419
|
+
// In dev mode, also inject self.__next_r so the HMR WebSocket and
|
|
1420
|
+
// debug channel can initialize.
|
|
1421
|
+
if (isInstantNavigationTest && isDebugStaticShell) {
|
|
1422
|
+
const instantTestRequestId = routeModule.isDev === true ? crypto.randomUUID() : null;
|
|
1423
|
+
body.pipeThrough((0,next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__.createInstantTestScriptInsertionTransformStream)(instantTestRequestId));
|
|
1424
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1425
|
+
req,
|
|
1426
|
+
res,
|
|
1427
|
+
generateEtags: nextConfig.generateEtags,
|
|
1428
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
1429
|
+
result: body,
|
|
1430
|
+
cacheControl: {
|
|
1431
|
+
revalidate: 0,
|
|
1432
|
+
expire: undefined
|
|
1433
|
+
}
|
|
1434
|
+
});
|
|
1435
|
+
}
|
|
1348
1436
|
// If there's no postponed state, we should just serve the HTML. This
|
|
1349
1437
|
// should also be the case for a resume request because it's completed
|
|
1350
1438
|
// as a server render (rather than a static render).
|
|
@@ -1353,7 +1441,7 @@ async function handler(req, res, ctx) {
|
|
|
1353
1441
|
// that's between the static and dynamic parts so we can compare the
|
|
1354
1442
|
// chunks and add assertions.
|
|
1355
1443
|
if (false) {}
|
|
1356
|
-
return (0,
|
|
1444
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1357
1445
|
req,
|
|
1358
1446
|
res,
|
|
1359
1447
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1375,7 +1463,7 @@ async function handler(req, res, ctx) {
|
|
|
1375
1463
|
controller.close();
|
|
1376
1464
|
}
|
|
1377
1465
|
}));
|
|
1378
|
-
return (0,
|
|
1466
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1379
1467
|
req,
|
|
1380
1468
|
res,
|
|
1381
1469
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1432,7 +1520,7 @@ async function handler(req, res, ctx) {
|
|
|
1432
1520
|
console.error("couldn't abort transformer", e);
|
|
1433
1521
|
});
|
|
1434
1522
|
});
|
|
1435
|
-
return (0,
|
|
1523
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1436
1524
|
req,
|
|
1437
1525
|
res,
|
|
1438
1526
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1449,9 +1537,10 @@ async function handler(req, res, ctx) {
|
|
|
1449
1537
|
};
|
|
1450
1538
|
// TODO: activeSpan code path is for when wrapped by
|
|
1451
1539
|
// next-server can be removed when this is no longer used
|
|
1452
|
-
if (activeSpan) {
|
|
1540
|
+
if (isWrappedByNextServer && activeSpan) {
|
|
1453
1541
|
await handleResponse(activeSpan);
|
|
1454
1542
|
} else {
|
|
1543
|
+
parentSpan = tracer.getActiveScopeSpan();
|
|
1455
1544
|
return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
|
|
1456
1545
|
spanName: `${method} ${srcPage}`,
|
|
1457
1546
|
kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
|
|
@@ -1459,10 +1548,10 @@ async function handler(req, res, ctx) {
|
|
|
1459
1548
|
'http.method': method,
|
|
1460
1549
|
'http.target': req.url
|
|
1461
1550
|
}
|
|
1462
|
-
}, handleResponse));
|
|
1551
|
+
}, handleResponse), undefined, !isWrappedByNextServer);
|
|
1463
1552
|
}
|
|
1464
1553
|
} catch (err) {
|
|
1465
|
-
if (!(err instanceof
|
|
1554
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError)) {
|
|
1466
1555
|
const silenceLog = false;
|
|
1467
1556
|
await routeModule.onRequestError(req, err, {
|
|
1468
1557
|
routerKind: 'App Router',
|
|
@@ -1495,6 +1584,179 @@ async function handler(req, res, ctx) {
|
|
|
1495
1584
|
//# sourceMappingURL=app-page.js.map
|
|
1496
1585
|
|
|
1497
1586
|
|
|
1587
|
+
/***/ }),
|
|
1588
|
+
|
|
1589
|
+
/***/ 70722:
|
|
1590
|
+
/***/ ((module) => {
|
|
1591
|
+
|
|
1592
|
+
"use strict";
|
|
1593
|
+
module.exports = require("next/dist/shared/lib/invariant-error");
|
|
1594
|
+
|
|
1595
|
+
/***/ }),
|
|
1596
|
+
|
|
1597
|
+
/***/ 77068:
|
|
1598
|
+
/***/ ((module) => {
|
|
1599
|
+
|
|
1600
|
+
"use strict";
|
|
1601
|
+
module.exports = require("next/dist/shared/lib/size-limit");
|
|
1602
|
+
|
|
1603
|
+
/***/ }),
|
|
1604
|
+
|
|
1605
|
+
/***/ 79551:
|
|
1606
|
+
/***/ ((module) => {
|
|
1607
|
+
|
|
1608
|
+
"use strict";
|
|
1609
|
+
module.exports = require("url");
|
|
1610
|
+
|
|
1611
|
+
/***/ }),
|
|
1612
|
+
|
|
1613
|
+
/***/ 80860:
|
|
1614
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1615
|
+
|
|
1616
|
+
"use strict";
|
|
1617
|
+
// ESM COMPAT FLAG
|
|
1618
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1619
|
+
|
|
1620
|
+
// EXPORTS
|
|
1621
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1622
|
+
"default": () => (/* binding */ SignUp)
|
|
1623
|
+
});
|
|
1624
|
+
|
|
1625
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
1626
|
+
var react_jsx_runtime = __webpack_require__(92692);
|
|
1627
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
1628
|
+
var react = __webpack_require__(71277);
|
|
1629
|
+
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
1630
|
+
var next_auth_react = __webpack_require__(62341);
|
|
1631
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/api/navigation.js
|
|
1632
|
+
var navigation = __webpack_require__(67994);
|
|
1633
|
+
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
1634
|
+
var react_client = __webpack_require__(56305);
|
|
1635
|
+
// EXTERNAL MODULE: ../../packages/react-ui/dist/index.mjs + 27 modules
|
|
1636
|
+
var dist = __webpack_require__(76552);
|
|
1637
|
+
;// __barrel_optimize__?names=PageLayout,SignUpForm!=!../../packages/react-ui/dist/index.mjs
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
// EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
|
|
1641
|
+
var CookiePreferences = __webpack_require__(80386);
|
|
1642
|
+
// EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
|
|
1643
|
+
var KeyboardShortcutsContext = __webpack_require__(40953);
|
|
1644
|
+
// EXTERNAL MODULE: ./src/lib/routing.ts
|
|
1645
|
+
var routing = __webpack_require__(46391);
|
|
1646
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/client/app-dir/link.js
|
|
1647
|
+
var app_dir_link = __webpack_require__(58599);
|
|
1648
|
+
var link_default = /*#__PURE__*/__webpack_require__.n(app_dir_link);
|
|
1649
|
+
;// ./src/app/[locale]/auth/signup/page.tsx
|
|
1650
|
+
/* __next_internal_client_entry_do_not_use__ default auto */
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* SignUpContent - Thin Next.js wrapper for SignUpForm
|
|
1662
|
+
*
|
|
1663
|
+
* This component:
|
|
1664
|
+
* - Reads Next.js-specific hooks (useSearchParams, useTranslations)
|
|
1665
|
+
* - Passes data as props to the pure SignUpForm component
|
|
1666
|
+
* - Wraps in PageLayout
|
|
1667
|
+
*
|
|
1668
|
+
* The actual form logic is in features/auth/components/SignUpForm.tsx
|
|
1669
|
+
*/ function SignUpContent() {
|
|
1670
|
+
const t = (0,react_client/* useTranslations */.c)('AuthSignUp');
|
|
1671
|
+
const tFooter = (0,react_client/* useTranslations */.c)('Footer');
|
|
1672
|
+
const tNav = (0,react_client/* useTranslations */.c)('Navigation');
|
|
1673
|
+
const tHome = (0,react_client/* useTranslations */.c)('Home');
|
|
1674
|
+
const searchParams = (0,navigation.useSearchParams)();
|
|
1675
|
+
const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
|
|
1676
|
+
const callbackUrl = searchParams?.get('callbackUrl') || '/auth/welcome';
|
|
1677
|
+
const handleSignUp = async ()=>{
|
|
1678
|
+
await (0,next_auth_react.signIn)('google', {
|
|
1679
|
+
callbackUrl
|
|
1680
|
+
});
|
|
1681
|
+
};
|
|
1682
|
+
const translations = {
|
|
1683
|
+
pageTitle: t('pageTitle'),
|
|
1684
|
+
signUpPrompt: t('signUpPrompt'),
|
|
1685
|
+
signUpWithGoogle: t('signUpWithGoogle'),
|
|
1686
|
+
creatingAccount: t('creatingAccount'),
|
|
1687
|
+
approvedDomainsInfo: t('approvedDomainsInfo'),
|
|
1688
|
+
termsAgreement: t('termsAgreement'),
|
|
1689
|
+
alreadyHaveAccount: t('alreadyHaveAccount'),
|
|
1690
|
+
tagline: tHome('tagline'),
|
|
1691
|
+
backToHome: t('backToHome')
|
|
1692
|
+
};
|
|
1693
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.PageLayout, {
|
|
1694
|
+
Link: routing/* Link */.N,
|
|
1695
|
+
routes: routing/* routes */.J,
|
|
1696
|
+
t: tFooter,
|
|
1697
|
+
tNav: tNav,
|
|
1698
|
+
tHome: tHome,
|
|
1699
|
+
CookiePreferences: CookiePreferences/* CookiePreferences */.f,
|
|
1700
|
+
...keyboardContext?.openKeyboardHelp && {
|
|
1701
|
+
onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
|
|
1702
|
+
},
|
|
1703
|
+
className: "semiont-page-layout--auth",
|
|
1704
|
+
showAuthLinks: false,
|
|
1705
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.SignUpForm, {
|
|
1706
|
+
onSignUp: handleSignUp,
|
|
1707
|
+
Link: (link_default()),
|
|
1708
|
+
translations: translations
|
|
1709
|
+
})
|
|
1710
|
+
});
|
|
1711
|
+
}
|
|
1712
|
+
function LoadingFallback() {
|
|
1713
|
+
const t = (0,react_client/* useTranslations */.c)('AuthSignUp');
|
|
1714
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1715
|
+
children: t('loading')
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
function SignUp() {
|
|
1719
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react.Suspense, {
|
|
1720
|
+
fallback: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(LoadingFallback, {}),
|
|
1721
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(SignUpContent, {})
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
/***/ }),
|
|
1727
|
+
|
|
1728
|
+
/***/ 84071:
|
|
1729
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1730
|
+
|
|
1731
|
+
"use strict";
|
|
1732
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1733
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1734
|
+
/* harmony export */ });
|
|
1735
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
|
|
1736
|
+
|
|
1737
|
+
function CogIcon({ title, titleId, ...props }, svgRef) {
|
|
1738
|
+
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
|
|
1739
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1740
|
+
fill: "none",
|
|
1741
|
+
viewBox: "0 0 24 24",
|
|
1742
|
+
strokeWidth: 1.5,
|
|
1743
|
+
stroke: "currentColor",
|
|
1744
|
+
"aria-hidden": "true",
|
|
1745
|
+
"data-slot": "icon",
|
|
1746
|
+
ref: svgRef,
|
|
1747
|
+
"aria-labelledby": titleId
|
|
1748
|
+
}, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
|
|
1749
|
+
id: titleId
|
|
1750
|
+
}, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
1751
|
+
strokeLinecap: "round",
|
|
1752
|
+
strokeLinejoin: "round",
|
|
1753
|
+
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"
|
|
1754
|
+
}));
|
|
1755
|
+
}
|
|
1756
|
+
const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CogIcon);
|
|
1757
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
|
|
1758
|
+
|
|
1759
|
+
|
|
1498
1760
|
/***/ }),
|
|
1499
1761
|
|
|
1500
1762
|
/***/ 86439:
|
|
@@ -1580,7 +1842,7 @@ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(A
|
|
|
1580
1842
|
var __webpack_require__ = require("../../../../webpack-runtime.js");
|
|
1581
1843
|
__webpack_require__.C(exports);
|
|
1582
1844
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
1583
|
-
var __webpack_exports__ = __webpack_require__.X(0, [
|
|
1845
|
+
var __webpack_exports__ = __webpack_require__.X(0, [8569,4741,9927,7420,3144,8255,9988], () => (__webpack_exec__(66353)));
|
|
1584
1846
|
module.exports = __webpack_exports__;
|
|
1585
1847
|
|
|
1586
1848
|
})();
|