db-json-cli 2.0.1 → 2.0.2
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/1.pack +0 -0
- package/.next/cache/webpack/client-production/2.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/1.pack +0 -0
- package/.next/cache/webpack/server-production/2.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/api/[resource]/[id]/route.js +1 -1
- package/.next/server/app/api/[resource]/route.js +1 -1
- package/.next/server/app/api/info/route.js +1 -1
- package/.next/server/app/api/login/route.js +1 -1
- package/.next/server/app/api/register/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/app/page.js +1 -1
- package/.next/server/app-paths-manifest.json +2 -2
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/BUILD_ID +1 -0
- package/.next/standalone/.next/app-build-manifest.json +26 -0
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -0
- package/.next/standalone/.next/build-manifest.json +32 -0
- package/.next/standalone/.next/package.json +1 -0
- package/.next/standalone/.next/prerender-manifest.json +1 -0
- package/.next/standalone/.next/react-loadable-manifest.json +1 -0
- package/.next/standalone/.next/required-server-files.json +1 -0
- package/.next/standalone/.next/routes-manifest.json +1 -0
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -0
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/_not-found.html +1 -0
- package/.next/standalone/.next/server/app/_not-found.meta +6 -0
- package/.next/standalone/.next/server/app/_not-found.rsc +9 -0
- package/.next/standalone/.next/server/app/api/[resource]/[id]/route.js +1 -0
- package/.next/standalone/.next/server/app/api/[resource]/[id]/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/[resource]/route.js +1 -0
- package/.next/standalone/.next/server/app/api/[resource]/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/info/route.js +1 -0
- package/.next/standalone/.next/server/app/api/info/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/info.body +1 -0
- package/.next/standalone/.next/server/app/api/info.meta +1 -0
- package/.next/standalone/.next/server/app/api/login/route.js +1 -0
- package/.next/standalone/.next/server/app/api/login/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/register/route.js +1 -0
- package/.next/standalone/.next/server/app/api/register/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/index.html +1 -0
- package/.next/standalone/.next/server/app/index.meta +5 -0
- package/.next/standalone/.next/server/app/index.rsc +7 -0
- package/.next/standalone/.next/server/app/page.js +1 -0
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app-paths-manifest.json +9 -0
- package/.next/standalone/.next/server/chunks/276.js +2 -0
- package/.next/standalone/.next/server/chunks/471.js +2 -0
- package/.next/standalone/.next/server/chunks/610.js +12 -0
- package/.next/standalone/.next/server/chunks/682.js +6 -0
- package/.next/standalone/.next/server/chunks/944.js +1 -0
- package/.next/standalone/.next/server/font-manifest.json +1 -0
- package/.next/standalone/.next/server/middleware-build-manifest.js +1 -0
- package/.next/standalone/.next/server/middleware-manifest.json +6 -0
- package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/standalone/.next/server/next-font-manifest.js +1 -0
- package/.next/standalone/.next/server/next-font-manifest.json +1 -0
- package/.next/standalone/.next/server/pages/404.html +1 -0
- package/.next/standalone/.next/server/pages/500.html +1 -0
- package/.next/standalone/.next/server/pages/_app.js +1 -0
- package/.next/standalone/.next/server/pages/_app.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/_document.js +1 -0
- package/.next/standalone/.next/server/pages/_document.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/_error.js +1 -0
- package/.next/standalone/.next/server/pages/_error.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages-manifest.json +1 -0
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -0
- package/.next/standalone/.next/server/webpack-runtime.js +1 -0
- package/.next/standalone/node_modules/@next/env/dist/index.js +1 -0
- package/.next/standalone/node_modules/@next/env/package.json +36 -0
- package/.next/standalone/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
- package/.next/standalone/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
- package/.next/standalone/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +4 -0
- package/.next/standalone/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/.next/standalone/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/.next/standalone/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +10 -0
- package/.next/standalone/node_modules/@swc/helpers/package.json +452 -0
- package/.next/standalone/node_modules/busboy/lib/index.js +57 -0
- package/.next/standalone/node_modules/busboy/lib/types/multipart.js +653 -0
- package/.next/standalone/node_modules/busboy/lib/types/urlencoded.js +350 -0
- package/.next/standalone/node_modules/busboy/lib/utils.js +596 -0
- package/.next/standalone/node_modules/busboy/package.json +22 -0
- package/.next/standalone/node_modules/caniuse-lite/data/agents.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/browserVersions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/browsers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/aac.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/apng.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/array-find.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/audio.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/av1.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/avif.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/beacon.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/bigint.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/border-image.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/brotli.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/calc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/canvas.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/classlist.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/colr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/console-time.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/const.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/cors.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-all.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-has.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-if.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-table.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/customevent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/datalist.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dataset.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/datauri.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/decorators.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/details.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dialog.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/download.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/eme.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/eot.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es5.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/es6.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/fetch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/filereader.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/flac.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/fontface.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/forms.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/heif.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/hevc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/hidden.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/history.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/http2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/http3.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ime.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/imports.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/innertext.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-color.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-event.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-number.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-range.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-search.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/json.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/let.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mathml.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/menu.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/meter.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/midi.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mp3.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/notifications.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/object-values.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ogv.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/online-status.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/opus.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/outline.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/passkeys.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/path2d.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/picture.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ping.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pointer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/portals.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/progress.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/promises.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/proximity.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/proxy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/push-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rellist.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rem.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ruby.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/run-in.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/script-async.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sdch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/selectlist.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sni.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/spdy.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/srcset.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/stream.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/streams.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/svg.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/sxg.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/template.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/temporal.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/touch.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/ttf.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/u2f.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/url.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/vibration.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/video.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/view-transitions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wasm.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wav.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/web-share.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webcodecs.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webgl.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webhid.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webm.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webp.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/websockets.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webtransport.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webusb.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webvr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/webxr.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/will-change.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/woff.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/woff2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/word-break.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features/zstd.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/data/features.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/feature.js +52 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
- package/.next/standalone/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
- package/.next/standalone/node_modules/caniuse-lite/package.json +34 -0
- package/.next/standalone/node_modules/client-only/index.js +0 -0
- package/.next/standalone/node_modules/client-only/package.json +19 -0
- package/.next/standalone/node_modules/graceful-fs/clone.js +23 -0
- package/.next/standalone/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/.next/standalone/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/.next/standalone/node_modules/graceful-fs/package.json +53 -0
- package/.next/standalone/node_modules/graceful-fs/polyfills.js +355 -0
- package/.next/standalone/node_modules/nanoid/non-secure/index.cjs +34 -0
- package/.next/standalone/node_modules/nanoid/non-secure/package.json +6 -0
- package/.next/standalone/node_modules/nanoid/package.json +89 -0
- package/.next/standalone/node_modules/next/dist/build/analysis/extract-const-value.js +200 -0
- package/.next/standalone/node_modules/next/dist/build/analysis/get-page-static-info.js +496 -0
- package/.next/standalone/node_modules/next/dist/build/analysis/parse-module.js +27 -0
- package/.next/standalone/node_modules/next/dist/build/babel/loader/get-config.js +335 -0
- package/.next/standalone/node_modules/next/dist/build/babel/loader/index.js +38 -0
- package/.next/standalone/node_modules/next/dist/build/babel/loader/transform.js +97 -0
- package/.next/standalone/node_modules/next/dist/build/babel/loader/util.js +20 -0
- package/.next/standalone/node_modules/next/dist/build/babel/plugins/commonjs.js +42 -0
- package/.next/standalone/node_modules/next/dist/build/babel/plugins/next-font-unsupported.js +32 -0
- package/.next/standalone/node_modules/next/dist/build/babel/plugins/next-page-config.js +116 -0
- package/.next/standalone/node_modules/next/dist/build/babel/plugins/next-page-disallow-re-export-all-exports.js +25 -0
- package/.next/standalone/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js +328 -0
- package/.next/standalone/node_modules/next/dist/build/build-context.js +58 -0
- package/.next/standalone/node_modules/next/dist/build/create-compiler-aliases.js +281 -0
- package/.next/standalone/node_modules/next/dist/build/deployment-id.js +18 -0
- package/.next/standalone/node_modules/next/dist/build/entries.js +624 -0
- package/.next/standalone/node_modules/next/dist/build/get-babel-config-file.js +35 -0
- package/.next/standalone/node_modules/next/dist/build/handle-externals.js +280 -0
- package/.next/standalone/node_modules/next/dist/build/load-entrypoint.js +128 -0
- package/.next/standalone/node_modules/next/dist/build/load-jsconfig.js +144 -0
- package/.next/standalone/node_modules/next/dist/build/normalize-catchall-routes.js +76 -0
- package/.next/standalone/node_modules/next/dist/build/output/index.js +295 -0
- package/.next/standalone/node_modules/next/dist/build/output/log.js +115 -0
- package/.next/standalone/node_modules/next/dist/build/output/store.js +214 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/fetch/index.js +6 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/fetch/whatwg-fetch.js +7 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/object-assign.js +6 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/object.assign/auto.js +4 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/object.assign/implementation.js +4 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/object.assign/polyfill.js +6 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/object.assign/shim.js +6 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/polyfill-nomodule.js +1 -0
- package/.next/standalone/node_modules/next/dist/build/polyfills/process.js +5 -0
- package/.next/standalone/node_modules/next/dist/build/swc/index.js +975 -0
- package/.next/standalone/node_modules/next/dist/build/swc/options.js +357 -0
- package/.next/standalone/node_modules/next/dist/build/utils.js +1584 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/base.js +58 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/index.js +568 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/client.js +47 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/file-resolve.js +21 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.js +37 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +62 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/index.js +22 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +84 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +62 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/messages.js +45 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +162 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/images/index.js +42 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/blocks/images/messages.js +16 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/helpers.js +78 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/index.js +46 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/config/utils.js +13 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/CssSyntaxError.js +32 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/camelcase.js +89 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +269 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/index.js +36 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-icss-parser.js +107 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-import-parser.js +207 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +327 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js +91 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/getUrl.js +26 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/utils.js +463 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/get-module-build-info.js +15 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/codegen.js +156 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/index.js +27 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/interface.js +17 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +410 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/minify.js +90 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/utils.js +58 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/next-flight-css-loader.js +52 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js +120 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +59 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js +129 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Error.js +40 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Warning.js +35 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js +117 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/utils.js +89 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js +100 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/file-protocol.js +70 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/join-function.js +186 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/postcss.js +90 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/value-processor.js +99 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/loaders/utils.js +117 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/app-build-manifest-plugin.js +66 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +235 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/copy-file-plugin.js +67 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/css-chunking-plugin.js +277 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.js +90 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/define-env-plugin.js +174 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +694 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +351 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/font-stylesheet-gathering-plugin.js +224 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/jsconfig-paths-plugin.js +219 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/memory-with-gc-cache-plugin.js +114 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +558 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/mini-css-extract-plugin.js +25 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/next-drop-client-page-plugin.js +85 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.js +120 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/next-trace-entrypoints-plugin.js +524 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +556 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/next-types-plugin/shared.js +14 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +123 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/optional-peer-dependency-resolve-plugin.js +45 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js +146 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/profiling-plugin.js +284 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/react-loadable-plugin.js +149 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.js +58 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/telemetry-plugin.js +173 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/terser-webpack-plugin/src/index.js +273 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/getModuleTrace.js +89 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js +43 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parse-dynamic-code-evaluation-error.js +19 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseBabel.js +29 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseCss.js +29 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.js +25 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextFontError.js +33 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextInvalidImportError.js +26 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +150 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseRSC.js +97 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +42 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/simpleWebpackError.js +18 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js +143 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/stringify-request.js +15 -0
- package/.next/standalone/node_modules/next/dist/build/webpack/utils.js +97 -0
- package/.next/standalone/node_modules/next/dist/build/webpack-config-rules/resolve.js +58 -0
- package/.next/standalone/node_modules/next/dist/build/webpack-config.js +2026 -0
- package/.next/standalone/node_modules/next/dist/client/add-base-path.js +24 -0
- package/.next/standalone/node_modules/next/dist/client/add-locale.js +28 -0
- package/.next/standalone/node_modules/next/dist/client/components/action-async-storage-instance.js +20 -0
- package/.next/standalone/node_modules/next/dist/client/components/action-async-storage.external.js +20 -0
- package/.next/standalone/node_modules/next/dist/client/components/app-router-headers.js +77 -0
- package/.next/standalone/node_modules/next/dist/client/components/async-local-storage.js +44 -0
- package/.next/standalone/node_modules/next/dist/client/components/bailout-to-client-rendering.js +25 -0
- package/.next/standalone/node_modules/next/dist/client/components/dev-root-not-found-boundary.js +50 -0
- package/.next/standalone/node_modules/next/dist/client/components/hooks-server-context.js +44 -0
- package/.next/standalone/node_modules/next/dist/client/components/match-segments.js +52 -0
- package/.next/standalone/node_modules/next/dist/client/components/navigation.js +268 -0
- package/.next/standalone/node_modules/next/dist/client/components/navigation.react-server.js +63 -0
- package/.next/standalone/node_modules/next/dist/client/components/noop-head.js +21 -0
- package/.next/standalone/node_modules/next/dist/client/components/not-found-boundary.js +107 -0
- package/.next/standalone/node_modules/next/dist/client/components/not-found-error.js +96 -0
- package/.next/standalone/node_modules/next/dist/client/components/not-found.js +43 -0
- package/.next/standalone/node_modules/next/dist/client/components/parallel-route-default.js +35 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/CodeFrame.js +120 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/index.js +19 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/Dialog.js +86 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogBody.js +29 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogContent.js +29 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogHeader.js +29 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/index.js +47 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/LeftRightDialogHeader.js +178 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/index.js +32 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/Overlay.js +62 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/body-locker.js +62 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/index.js +19 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/maintain--tab-focus.js +2716 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/ShadowPortal.js +42 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/EditorLink.js +67 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/Terminal.js +108 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/index.js +19 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/Toast.js +36 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/index.js +32 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/VersionStalenessInfo.js +104 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/index.js +32 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/styles.js +30 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/components/hot-linked-text/index.js +74 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/BuildError.js +99 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/Errors.js +339 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/CallStackFrame.js +81 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/GroupedStackFrames.js +62 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.js +186 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/index.js +126 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/format-webpack-messages.js +164 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/getErrorByType.js +47 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/getRawSourceMap.js +44 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/getSourceMapUrl.js +33 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/group-stack-frames-by-framework.js +36 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/hydration-error-info.js +77 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js +404 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/nodeStackFrames.js +75 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/noop-template.js +25 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-component-stack.js +98 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parseStack.js +37 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stack-frame.js +145 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-open-in-editor.js +37 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/hooks/use-on-click-outside.js +44 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CloseIcon.js +46 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CollapseIcon.js +43 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/icons/FrameworkIcon.js +135 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/styles/Base.js +37 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/styles/ComponentStyles.js +55 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/internal/styles/CssReset.js +37 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/pages/ErrorBoundary.js +56 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/pages/ReactDevOverlay.js +82 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/pages/bus.js +70 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/pages/client.js +172 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/server/middleware-turbopack.js +124 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js +263 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/server/shared.js +103 -0
- package/.next/standalone/node_modules/next/dist/client/components/react-dev-overlay/shared.js +187 -0
- package/.next/standalone/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
- package/.next/standalone/node_modules/next/dist/client/components/redirect.js +115 -0
- package/.next/standalone/node_modules/next/dist/client/components/request-async-storage-instance.js +20 -0
- package/.next/standalone/node_modules/next/dist/client/components/request-async-storage.external.js +37 -0
- package/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +21 -0
- package/.next/standalone/node_modules/next/dist/client/components/static-generation-async-storage-instance.js +20 -0
- package/.next/standalone/node_modules/next/dist/client/components/static-generation-async-storage.external.js +20 -0
- package/.next/standalone/node_modules/next/dist/client/components/static-generation-bailout.js +43 -0
- package/.next/standalone/node_modules/next/dist/client/detect-domain-locale.js +26 -0
- package/.next/standalone/node_modules/next/dist/client/has-base-path.js +23 -0
- package/.next/standalone/node_modules/next/dist/client/head-manager.js +205 -0
- package/.next/standalone/node_modules/next/dist/client/normalize-trailing-slash.js +36 -0
- package/.next/standalone/node_modules/next/dist/client/remove-base-path.js +32 -0
- package/.next/standalone/node_modules/next/dist/client/remove-locale.js +28 -0
- package/.next/standalone/node_modules/next/dist/client/request-idle-callback.js +44 -0
- package/.next/standalone/node_modules/next/dist/client/resolve-href.js +79 -0
- package/.next/standalone/node_modules/next/dist/client/route-loader.js +319 -0
- package/.next/standalone/node_modules/next/dist/client/router.js +189 -0
- package/.next/standalone/node_modules/next/dist/client/script.js +357 -0
- package/.next/standalone/node_modules/next/dist/client/trusted-types.js +40 -0
- package/.next/standalone/node_modules/next/dist/client/with-router.js +37 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +336 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/blob.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/crypto.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/fetch.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +251 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/structured-clone.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/constants.js +10 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/fontkit/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/format-available-values.js +9 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/fetch-css-from-google-fonts.js +65 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/fetch-font-file.js +39 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/find-font-files-in-css.js +35 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +14483 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-fallback-font-override-metrics.js +53 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-font-axes.js +67 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-google-fonts-url.js +56 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-proxy-agent.js +24 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/google-fonts-metadata.js +8 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/loader.js +165 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/retry.js +19 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/sort-fonts-variant-values.js +27 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/validate-google-font-function-call.js +97 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/get-fallback-metrics-from-font-file.js +86 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/loader.js +75 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/pick-font-file-for-fallback-generation.js +86 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/validate-local-font-function-call.js +73 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/next-font-error.js +12 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/google/loader.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/local/loader.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/font/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/ReactRefreshWebpackPlugin.js +130 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/ReactRefreshModule.runtime.js +69 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js +170 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/loader.js +21 -0
- package/.next/standalone/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js +27 -0
- package/.next/standalone/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/@vercel/nft/LICENSE +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/@vercel/nft/index.js +24 -0
- package/.next/standalone/node_modules/next/dist/compiled/@vercel/nft/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/acorn/acorn.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/acorn/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/amphtml-validator/index.js +17 -0
- package/.next/standalone/node_modules/next/dist/compiled/amphtml-validator/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/anser/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/anser/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/assert/assert.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/assert/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/async-retry/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/async-retry/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/async-sema/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/async-sema/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/bundle.js +1871 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/code-frame.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-block-hoist-plugin.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-config.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-file.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-opts.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-plugin-pass.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/generator.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/parser.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-define.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-modules-commonjs.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/traverse.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/types.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel-packages/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +399 -0
- package/.next/standalone/node_modules/next/dist/compiled/browserify-zlib/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/browserify-zlib/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/browserslist/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/browserslist/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/buffer/index.js +9 -0
- package/.next/standalone/node_modules/next/dist/compiled/buffer/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/bytes/index.js +8 -0
- package/.next/standalone/node_modules/next/dist/compiled/bytes/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ci-info/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ci-info/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/commander/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/commander/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/comment-json/index.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/comment-json/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/compression/index.js +51 -0
- package/.next/standalone/node_modules/next/dist/compiled/compression/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/conf/index.js +15 -0
- package/.next/standalone/node_modules/next/dist/compiled/conf/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/constants-browserify/constants.json +209 -0
- package/.next/standalone/node_modules/next/dist/compiled/constants-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
- package/.next/standalone/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/cookie/index.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/cookie/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/crypto-browserify/index.js +3 -0
- package/.next/standalone/node_modules/next/dist/compiled/crypto-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/css.escape/css.escape.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/css.escape/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/cssnano-simple/index.js +190 -0
- package/.next/standalone/node_modules/next/dist/compiled/data-uri-to-buffer/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/data-uri-to-buffer/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/debug/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/debug/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/devalue/devalue.umd.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/devalue/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/domain-browser/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/domain-browser/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/events/events.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/events/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/find-up/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/find-up/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/fresh/index.js +8 -0
- package/.next/standalone/node_modules/next/dist/compiled/fresh/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/get-orientation/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/get-orientation/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/glob/glob.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/glob/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/gzip-size/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/gzip-size/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/http-proxy/index.js +34 -0
- package/.next/standalone/node_modules/next/dist/compiled/http-proxy/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/http-proxy-agent/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/http-proxy-agent/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/https-browserify/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/https-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/https-proxy-agent/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/https-proxy-agent/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/icss-utils/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/icss-utils/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ignore-loader/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ignore-loader/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/image-size/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/image-size/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-animated/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-animated/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-docker/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-docker/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/jest-worker/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/jest-worker/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/jest-worker/processChild.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/jest-worker/threadChild.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/json5/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/json5/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
- package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/loader-utils2/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/loader-utils2/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/loader-utils3/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/loader-utils3/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/lodash.curry/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/lodash.curry/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/lru-cache/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/lru-cache/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/mini-css-extract-plugin/cjs.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/mini-css-extract-plugin/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/mini-css-extract-plugin/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/nanoid/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/native-url/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/native-url/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/neo-async/async.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/neo-async/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +21 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +21 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +21 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +21 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +32 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +32 -0
- package/.next/standalone/node_modules/next/dist/compiled/node-fetch/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/node-fetch/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/node-html-parser/index.js +2 -0
- package/.next/standalone/node_modules/next/dist/compiled/node-html-parser/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/os-browserify/browser.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/os-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/p-limit/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/p-limit/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/path-to-regexp/index.js +406 -0
- package/.next/standalone/node_modules/next/dist/compiled/picomatch/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/picomatch/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/platform/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/platform/platform.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-flexbugs-fixes/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-flexbugs-fixes/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-extract-imports/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-extract-imports/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-local-by-default/index.js +2 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-local-by-default/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-scope/index.js +2 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-scope/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-values/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-modules-values/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-plugin-stub-for-cssnano-simple/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-preset-env/index.cjs +94 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-preset-env/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-scss/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-value-parser/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/postcss-value-parser/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/process/browser.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/process/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/punycode/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/punycode/punycode.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/querystring-es3/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/querystring-es3/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +221 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-is/cjs/react-is.production.min.js +14 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-is/index.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-is/package.json +26 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/babel.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-babel.development.js +842 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-babel.production.min.js +24 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js +658 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.production.min.js +10 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/package.json +39 -0
- package/.next/standalone/node_modules/next/dist/compiled/react-refresh/runtime.js +7 -0
- package/.next/standalone/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
- package/.next/standalone/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
- package/.next/standalone/node_modules/next/dist/compiled/sass-loader/cjs.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/sass-loader/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/schema-utils3/index.js +3 -0
- package/.next/standalone/node_modules/next/dist/compiled/schema-utils3/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/semver/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/semver/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/send/index.js +85 -0
- package/.next/standalone/node_modules/next/dist/compiled/send/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/setimmediate/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/setimmediate/setImmediate.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/shell-quote/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/shell-quote/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/source-map/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/source-map08/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/source-map08/source-map.js +3002 -0
- package/.next/standalone/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/stream-browserify/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/stream-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/stream-http/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/stream-http/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/string-hash/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/string-hash/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/string_decoder/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/string_decoder/string_decoder.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/superstruct/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/tar/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/tar/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/text-table/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/text-table/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/timers-browserify/main.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/timers-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/tty-browserify/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/tty-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/unistore/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/unistore/unistore.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/util/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/util/util.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/vm-browserify/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/vm-browserify/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/watchpack/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/webpack/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/webpack/webpack.js +26 -0
- package/.next/standalone/node_modules/next/dist/compiled/webpack-sources3/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/webpack-sources3/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ws/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/ws/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/zod/index.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/zod/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/experimental/testmode/context.js +57 -0
- package/.next/standalone/node_modules/next/dist/experimental/testmode/fetch.js +133 -0
- package/.next/standalone/node_modules/next/dist/experimental/testmode/httpget.js +26 -0
- package/.next/standalone/node_modules/next/dist/experimental/testmode/server.js +62 -0
- package/.next/standalone/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js +16 -0
- package/.next/standalone/node_modules/next/dist/export/helpers/is-navigation-signal-error.js +15 -0
- package/.next/standalone/node_modules/next/dist/export/utils.js +24 -0
- package/.next/standalone/node_modules/next/dist/lib/batcher.js +59 -0
- package/.next/standalone/node_modules/next/dist/lib/build-custom-route.js +39 -0
- package/.next/standalone/node_modules/next/dist/lib/client-reference.js +16 -0
- package/.next/standalone/node_modules/next/dist/lib/coalesced-function.js +39 -0
- package/.next/standalone/node_modules/next/dist/lib/compile-error.js +14 -0
- package/.next/standalone/node_modules/next/dist/lib/constants.js +334 -0
- package/.next/standalone/node_modules/next/dist/lib/create-client-router-filter.js +67 -0
- package/.next/standalone/node_modules/next/dist/lib/detached-promise.js +32 -0
- package/.next/standalone/node_modules/next/dist/lib/detect-typo.js +51 -0
- package/.next/standalone/node_modules/next/dist/lib/download-swc.js +171 -0
- package/.next/standalone/node_modules/next/dist/lib/fatal-error.js +14 -0
- package/.next/standalone/node_modules/next/dist/lib/file-exists.js +53 -0
- package/.next/standalone/node_modules/next/dist/lib/find-config.js +102 -0
- package/.next/standalone/node_modules/next/dist/lib/find-pages-dir.js +50 -0
- package/.next/standalone/node_modules/next/dist/lib/find-root.js +45 -0
- package/.next/standalone/node_modules/next/dist/lib/format-dynamic-import-path.js +24 -0
- package/.next/standalone/node_modules/next/dist/lib/format-server-error.js +74 -0
- package/.next/standalone/node_modules/next/dist/lib/fs/rename.js +128 -0
- package/.next/standalone/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
- package/.next/standalone/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +88 -0
- package/.next/standalone/node_modules/next/dist/lib/get-project-dir.js +51 -0
- package/.next/standalone/node_modules/next/dist/lib/has-necessary-dependencies.js +46 -0
- package/.next/standalone/node_modules/next/dist/lib/helpers/get-cache-directory.js +62 -0
- package/.next/standalone/node_modules/next/dist/lib/helpers/get-online.js +50 -0
- package/.next/standalone/node_modules/next/dist/lib/helpers/get-pkg-manager.js +63 -0
- package/.next/standalone/node_modules/next/dist/lib/helpers/get-registry.js +32 -0
- package/.next/standalone/node_modules/next/dist/lib/helpers/install.js +105 -0
- package/.next/standalone/node_modules/next/dist/lib/install-dependencies.js +40 -0
- package/.next/standalone/node_modules/next/dist/lib/interop-default.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/is-api-route.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/is-app-page-route.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/is-app-route-route.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
- package/.next/standalone/node_modules/next/dist/lib/is-error.js +44 -0
- package/.next/standalone/node_modules/next/dist/lib/is-internal-component.js +36 -0
- package/.next/standalone/node_modules/next/dist/lib/is-serializable-props.js +82 -0
- package/.next/standalone/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
- package/.next/standalone/node_modules/next/dist/lib/load-custom-routes.js +504 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/clone-metadata.js +33 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/constants.js +40 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/default-metadata.js +77 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/alternate.js +55 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/basic.js +281 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/icons.js +66 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/meta.js +123 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/opengraph.js +474 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/generate/utils.js +38 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/get-metadata-route.js +85 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/is-metadata-route.js +115 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/metadata.js +163 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolve-metadata.js +629 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +218 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +178 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
- package/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +136 -0
- package/.next/standalone/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
- package/.next/standalone/node_modules/next/dist/lib/non-nullable.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
- package/.next/standalone/node_modules/next/dist/lib/page-types.js +18 -0
- package/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +181 -0
- package/.next/standalone/node_modules/next/dist/lib/pick.js +19 -0
- package/.next/standalone/node_modules/next/dist/lib/picocolors.js +177 -0
- package/.next/standalone/node_modules/next/dist/lib/pretty-bytes.js +70 -0
- package/.next/standalone/node_modules/next/dist/lib/realpath.js +20 -0
- package/.next/standalone/node_modules/next/dist/lib/recursive-delete.js +75 -0
- package/.next/standalone/node_modules/next/dist/lib/recursive-readdir.js +124 -0
- package/.next/standalone/node_modules/next/dist/lib/redirect-status.js +46 -0
- package/.next/standalone/node_modules/next/dist/lib/resolve-from.js +55 -0
- package/.next/standalone/node_modules/next/dist/lib/scheduler.js +49 -0
- package/.next/standalone/node_modules/next/dist/lib/semver-noop.js +18 -0
- package/.next/standalone/node_modules/next/dist/lib/server-external-packages.json +53 -0
- package/.next/standalone/node_modules/next/dist/lib/try-to-parse-path.js +50 -0
- package/.next/standalone/node_modules/next/dist/lib/turbopack-warning.js +205 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +258 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +61 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +23 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/runTypeCheck.js +95 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +62 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +296 -0
- package/.next/standalone/node_modules/next/dist/lib/url.js +45 -0
- package/.next/standalone/node_modules/next/dist/lib/verify-partytown-setup.js +110 -0
- package/.next/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +165 -0
- package/.next/standalone/node_modules/next/dist/lib/wait.js +19 -0
- package/.next/standalone/node_modules/next/dist/lib/with-promise-cache.js +24 -0
- package/.next/standalone/node_modules/next/dist/pages/_app.js +42 -0
- package/.next/standalone/node_modules/next/dist/pages/_document.js +851 -0
- package/.next/standalone/node_modules/next/dist/server/accept-header.js +120 -0
- package/.next/standalone/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/api-utils/index.js +198 -0
- package/.next/standalone/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +86 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +730 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/action-utils.js +65 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +1034 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +53 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +455 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/create-error-handler.js +99 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +50 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/csrf-protection.js +90 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/dynamic-rendering.js +195 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/encryption-utils.js +174 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-asset-query-string.js +28 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +48 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-layer-assets.js +85 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +40 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-segment-param.js +42 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +38 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/interop-default.js +17 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +83 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +37 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/parse-loader-tree.js +29 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/react-server.node.js +35 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/required-scripts.js +71 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/server-inserted-html.js +41 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/static/static-renderer.js +165 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/types.js +43 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +126 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/validate-url.js +29 -0
- package/.next/standalone/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +150 -0
- package/.next/standalone/node_modules/next/dist/server/async-storage/draft-mode-provider.js +53 -0
- package/.next/standalone/node_modules/next/dist/server/async-storage/request-async-storage-wrapper.js +109 -0
- package/.next/standalone/node_modules/next/dist/server/async-storage/static-generation-async-storage-wrapper.js +53 -0
- package/.next/standalone/node_modules/next/dist/server/base-http/index.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/base-http/node.js +119 -0
- package/.next/standalone/node_modules/next/dist/server/base-server.js +2253 -0
- package/.next/standalone/node_modules/next/dist/server/body-streams.js +90 -0
- package/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json +30312 -0
- package/.next/standalone/node_modules/next/dist/server/client-component-renderer-logger.js +69 -0
- package/.next/standalone/node_modules/next/dist/server/config-schema.js +483 -0
- package/.next/standalone/node_modules/next/dist/server/config-shared.js +165 -0
- package/.next/standalone/node_modules/next/dist/server/config-utils.js +189 -0
- package/.next/standalone/node_modules/next/dist/server/config.js +825 -0
- package/.next/standalone/node_modules/next/dist/server/crypto-utils.js +70 -0
- package/.next/standalone/node_modules/next/dist/server/dev/hot-middleware.js +215 -0
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +748 -0
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-types.js +29 -0
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1192 -0
- package/.next/standalone/node_modules/next/dist/server/dev/log-app-dir-error.js +80 -0
- package/.next/standalone/node_modules/next/dist/server/dev/messages.js +13 -0
- package/.next/standalone/node_modules/next/dist/server/dev/next-dev-server.js +601 -0
- package/.next/standalone/node_modules/next/dist/server/dev/on-demand-entry-handler.js +663 -0
- package/.next/standalone/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
- package/.next/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +72 -0
- package/.next/standalone/node_modules/next/dist/server/dev/turbopack/entry-key.js +39 -0
- package/.next/standalone/node_modules/next/dist/server/dev/turbopack/manifest-loader.js +327 -0
- package/.next/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +713 -0
- package/.next/standalone/node_modules/next/dist/server/font-utils.js +205 -0
- package/.next/standalone/node_modules/next/dist/server/future/helpers/i18n-provider.js +146 -0
- package/.next/standalone/node_modules/next/dist/server/future/helpers/interception-routes.js +89 -0
- package/.next/standalone/node_modules/next/dist/server/future/helpers/module-loader/node-module-loader.js +21 -0
- package/.next/standalone/node_modules/next/dist/server/future/helpers/module-loader/route-module-loader.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/absolute-filename-normalizer.js +33 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/app/app-bundle-path-normalizer.js +48 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/app/app-filename-normalizer.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/app/app-page-normalizer.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/app/app-pathname-normalizer.js +55 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/app/index.js +42 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/pages/index.js +44 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/pages/pages-filename-normalizer.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/pages/pages-page-normalizer.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/locale-route-normalizer.js +26 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/normalizers.js +23 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/prefixing-normalizer.js +26 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/action.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/base-path.js +21 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/next-data.js +34 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/postponed.js +27 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/prefetch-rsc.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/prefix.js +35 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/rsc.js +19 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/request/suffix.js +27 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/underscore-normalizer.js +17 -0
- package/.next/standalone/node_modules/next/dist/server/future/normalizers/wrap-normalizer-fn.js +17 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-definitions/app-page-route-definition.js +16 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-kind.js +29 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-managers/default-route-matcher-manager.js +227 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-managers/dev-route-matcher-manager.js +126 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/app-page-route-matcher-provider.js +55 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/app-route-route-matcher-provider.js +43 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +78 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +43 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +80 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +80 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/file-cache-route-matcher-provider.js +28 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +106 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +43 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/helpers/cached-route-matcher-provider.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +34 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +20 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/manifest-route-matcher-provider.js +21 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/pages-api-route-matcher-provider.js +56 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matcher-providers/pages-route-matcher-provider.js +65 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/app-page-route-matcher.js +18 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/app-route-route-matcher.js +15 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/locale-route-matcher.js +68 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/pages-api-route-matcher.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/pages-route-matcher.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matchers/route-matcher.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-matches/pages-api-route-match.js +16 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/module.compiled.js +24 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/module.js +94 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/module.render.js +20 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/amp-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/entrypoints.js +107 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/html-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/loadable.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/router-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/rsc/entrypoints.js +136 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/entrypoints.js +115 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/checks.js +45 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/helpers/response-handlers.js +67 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/builtin/_error.js +78 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/module.compiled.js +14 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/module.js +92 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/module.render.js +20 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/entrypoints.js +107 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/html-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/loadable.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/future/route-modules/route-module.js +18 -0
- package/.next/standalone/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
- package/.next/standalone/node_modules/next/dist/server/htmlescape.js +37 -0
- package/.next/standalone/node_modules/next/dist/server/image-optimizer.js +914 -0
- package/.next/standalone/node_modules/next/dist/server/internal-utils.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/lib/app-dir-module.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +113 -0
- package/.next/standalone/node_modules/next/dist/server/lib/builtin-request-context.js +38 -0
- package/.next/standalone/node_modules/next/dist/server/lib/clone-response.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/lib/dedupe-fetch.js +157 -0
- package/.next/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +55 -0
- package/.next/standalone/node_modules/next/dist/server/lib/etag.js +56 -0
- package/.next/standalone/node_modules/next/dist/server/lib/find-page-file.js +111 -0
- package/.next/standalone/node_modules/next/dist/server/lib/format-hostname.js +16 -0
- package/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/fetch-cache.js +320 -0
- package/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +322 -0
- package/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +407 -0
- package/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/shared-revalidate-timings.js +57 -0
- package/.next/standalone/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
- package/.next/standalone/node_modules/next/dist/server/lib/match-next-data-pathname.js +18 -0
- package/.next/standalone/node_modules/next/dist/server/lib/mock-request.js +329 -0
- package/.next/standalone/node_modules/next/dist/server/lib/node-fs-methods.js +28 -0
- package/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +653 -0
- package/.next/standalone/node_modules/next/dist/server/lib/render-server.js +114 -0
- package/.next/standalone/node_modules/next/dist/server/lib/revalidate.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-server.js +502 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +76 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/build-data-route.js +44 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/filesystem.js +536 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/is-postpone.js +16 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js +110 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +567 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +830 -0
- package/.next/standalone/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
- package/.next/standalone/node_modules/next/dist/server/lib/server-ipc/invoke-request.js +33 -0
- package/.next/standalone/node_modules/next/dist/server/lib/server-ipc/request-utils.js +60 -0
- package/.next/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +80 -0
- package/.next/standalone/node_modules/next/dist/server/lib/squoosh/main.js +136 -0
- package/.next/standalone/node_modules/next/dist/server/lib/start-server.js +325 -0
- package/.next/standalone/node_modules/next/dist/server/lib/to-route.js +37 -0
- package/.next/standalone/node_modules/next/dist/server/lib/trace/constants.js +202 -0
- package/.next/standalone/node_modules/next/dist/server/lib/trace/tracer.js +214 -0
- package/.next/standalone/node_modules/next/dist/server/lib/utils.js +87 -0
- package/.next/standalone/node_modules/next/dist/server/load-components.js +128 -0
- package/.next/standalone/node_modules/next/dist/server/load-default-error-components.js +39 -0
- package/.next/standalone/node_modules/next/dist/server/load-manifest.js +70 -0
- package/.next/standalone/node_modules/next/dist/server/match-bundle.js +25 -0
- package/.next/standalone/node_modules/next/dist/server/next-server.js +1277 -0
- package/.next/standalone/node_modules/next/dist/server/next-typescript.js +13 -0
- package/.next/standalone/node_modules/next/dist/server/next.js +335 -0
- package/.next/standalone/node_modules/next/dist/server/node-environment.js +17 -0
- package/.next/standalone/node_modules/next/dist/server/node-polyfill-crypto.js +20 -0
- package/.next/standalone/node_modules/next/dist/server/optimize-amp.js +22 -0
- package/.next/standalone/node_modules/next/dist/server/pipe-readable.js +132 -0
- package/.next/standalone/node_modules/next/dist/server/post-process.js +175 -0
- package/.next/standalone/node_modules/next/dist/server/render-result.js +147 -0
- package/.next/standalone/node_modules/next/dist/server/render.js +1028 -0
- package/.next/standalone/node_modules/next/dist/server/request-meta.js +78 -0
- package/.next/standalone/node_modules/next/dist/server/require-hook.js +68 -0
- package/.next/standalone/node_modules/next/dist/server/require.js +121 -0
- package/.next/standalone/node_modules/next/dist/server/response-cache/index.js +149 -0
- package/.next/standalone/node_modules/next/dist/server/response-cache/types.js +6 -0
- package/.next/standalone/node_modules/next/dist/server/response-cache/utils.js +64 -0
- package/.next/standalone/node_modules/next/dist/server/send-payload.js +123 -0
- package/.next/standalone/node_modules/next/dist/server/send-response.js +51 -0
- package/.next/standalone/node_modules/next/dist/server/serve-static.js +62 -0
- package/.next/standalone/node_modules/next/dist/server/server-route-utils.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/server-utils.js +306 -0
- package/.next/standalone/node_modules/next/dist/server/setup-http-agent-env.js +27 -0
- package/.next/standalone/node_modules/next/dist/server/stream-utils/encodedTags.js +82 -0
- package/.next/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +484 -0
- package/.next/standalone/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +69 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/constant.js +96 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/index.js +204 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/client-boundary.js +68 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/config.js +388 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/error.js +38 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/metadata.js +389 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/server-boundary.js +112 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/rules/server.js +79 -0
- package/.next/standalone/node_modules/next/dist/server/typescript/utils.js +194 -0
- package/.next/standalone/node_modules/next/dist/server/utils.js +87 -0
- package/.next/standalone/node_modules/next/dist/server/web/error.js +54 -0
- package/.next/standalone/node_modules/next/dist/server/web/http.js +39 -0
- package/.next/standalone/node_modules/next/dist/server/web/next-url.js +191 -0
- package/.next/standalone/node_modules/next/dist/server/web/sandbox/context.js +416 -0
- package/.next/standalone/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
- package/.next/standalone/node_modules/next/dist/server/web/sandbox/index.js +28 -0
- package/.next/standalone/node_modules/next/dist/server/web/sandbox/resource-managers.js +62 -0
- package/.next/standalone/node_modules/next/dist/server/web/sandbox/sandbox.js +115 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +192 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +134 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +150 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/request.js +100 -0
- package/.next/standalone/node_modules/next/dist/server/web/utils.js +147 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/amp-context.shared-runtime.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/amp-mode.js +16 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +51 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/bloom-filter.js +86 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/constants.js +414 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/error-source.js +36 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/hash.js +42 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/head.js +189 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +39 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +36 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +63 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +30 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/image-blur-svg.js +23 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/image-config.js +69 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +39 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +20 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +248 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/magic-identifier.js +99 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/match-local-pattern.js +47 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/match-remote-pattern.js +61 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/mitt.js +46 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/modern-browserslist-target.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/denormalize-app-path.js +19 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/adapters.js +139 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/router.js +1728 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/app-paths.js +51 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/compare-states.js +34 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js +19 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +54 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js +35 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/index.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +53 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/is-bot.js +15 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +21 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +26 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/omit.js +21 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +29 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-url.js +30 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +236 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/querystring.js +73 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +22 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +21 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js +118 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +40 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/route-regex.js +192 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +170 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/runtime-config.external.js +31 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/segment.js +34 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +36 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/side-effect.js +66 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
- package/.next/standalone/node_modules/next/dist/shared/lib/utils.js +203 -0
- package/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +89 -0
- package/.next/standalone/node_modules/next/dist/telemetry/ci-info.js +41 -0
- package/.next/standalone/node_modules/next/dist/telemetry/detached-flush.js +49 -0
- package/.next/standalone/node_modules/next/dist/telemetry/events/build.js +114 -0
- package/.next/standalone/node_modules/next/dist/telemetry/events/index.js +23 -0
- package/.next/standalone/node_modules/next/dist/telemetry/events/plugins.js +51 -0
- package/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
- package/.next/standalone/node_modules/next/dist/telemetry/events/version.js +86 -0
- package/.next/standalone/node_modules/next/dist/telemetry/flush-and-exit.js +20 -0
- package/.next/standalone/node_modules/next/dist/telemetry/post-payload.js +44 -0
- package/.next/standalone/node_modules/next/dist/telemetry/project-id.js +48 -0
- package/.next/standalone/node_modules/next/dist/telemetry/storage.js +290 -0
- package/.next/standalone/node_modules/next/dist/trace/index.js +54 -0
- package/.next/standalone/node_modules/next/dist/trace/report/index.js +35 -0
- package/.next/standalone/node_modules/next/dist/trace/report/to-json.js +161 -0
- package/.next/standalone/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
- package/.next/standalone/node_modules/next/dist/trace/shared.js +33 -0
- package/.next/standalone/node_modules/next/dist/trace/trace.js +194 -0
- package/.next/standalone/node_modules/next/font/google/target.css +1 -0
- package/.next/standalone/node_modules/next/package.json +337 -0
- package/.next/standalone/node_modules/picocolors/package.json +25 -0
- package/.next/standalone/node_modules/picocolors/picocolors.js +75 -0
- package/.next/standalone/node_modules/postcss/lib/at-rule.js +25 -0
- package/.next/standalone/node_modules/postcss/lib/comment.js +13 -0
- package/.next/standalone/node_modules/postcss/lib/container.js +439 -0
- package/.next/standalone/node_modules/postcss/lib/css-syntax-error.js +100 -0
- package/.next/standalone/node_modules/postcss/lib/declaration.js +24 -0
- package/.next/standalone/node_modules/postcss/lib/document.js +33 -0
- package/.next/standalone/node_modules/postcss/lib/fromJSON.js +54 -0
- package/.next/standalone/node_modules/postcss/lib/input.js +248 -0
- package/.next/standalone/node_modules/postcss/lib/lazy-result.js +550 -0
- package/.next/standalone/node_modules/postcss/lib/list.js +58 -0
- package/.next/standalone/node_modules/postcss/lib/map-generator.js +359 -0
- package/.next/standalone/node_modules/postcss/lib/no-work-result.js +135 -0
- package/.next/standalone/node_modules/postcss/lib/node.js +381 -0
- package/.next/standalone/node_modules/postcss/lib/parse.js +42 -0
- package/.next/standalone/node_modules/postcss/lib/parser.js +610 -0
- package/.next/standalone/node_modules/postcss/lib/postcss.js +101 -0
- package/.next/standalone/node_modules/postcss/lib/previous-map.js +142 -0
- package/.next/standalone/node_modules/postcss/lib/processor.js +67 -0
- package/.next/standalone/node_modules/postcss/lib/result.js +42 -0
- package/.next/standalone/node_modules/postcss/lib/root.js +61 -0
- package/.next/standalone/node_modules/postcss/lib/rule.js +27 -0
- package/.next/standalone/node_modules/postcss/lib/stringifier.js +353 -0
- package/.next/standalone/node_modules/postcss/lib/stringify.js +11 -0
- package/.next/standalone/node_modules/postcss/lib/symbols.js +5 -0
- package/.next/standalone/node_modules/postcss/lib/terminal-highlight.js +70 -0
- package/.next/standalone/node_modules/postcss/lib/tokenize.js +266 -0
- package/.next/standalone/node_modules/postcss/lib/warn-once.js +13 -0
- package/.next/standalone/node_modules/postcss/lib/warning.js +37 -0
- package/.next/standalone/node_modules/postcss/package.json +88 -0
- package/.next/standalone/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- package/.next/standalone/node_modules/react/cjs/react-jsx-runtime.development.js +1333 -0
- package/.next/standalone/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- package/.next/standalone/node_modules/react/cjs/react.development.js +2740 -0
- package/.next/standalone/node_modules/react/cjs/react.production.min.js +26 -0
- package/.next/standalone/node_modules/react/index.js +7 -0
- package/.next/standalone/node_modules/react/jsx-dev-runtime.js +7 -0
- package/.next/standalone/node_modules/react/jsx-runtime.js +7 -0
- package/.next/standalone/node_modules/react/package.json +47 -0
- package/.next/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7029 -0
- package/.next/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- package/.next/standalone/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7014 -0
- package/.next/standalone/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- package/.next/standalone/node_modules/react-dom/cjs/react-dom.production.min.js +322 -0
- package/.next/standalone/node_modules/react-dom/index.js +38 -0
- package/.next/standalone/node_modules/react-dom/package.json +62 -0
- package/.next/standalone/node_modules/react-dom/server.browser.js +17 -0
- package/.next/standalone/node_modules/scheduler/cjs/scheduler.development.js +634 -0
- package/.next/standalone/node_modules/scheduler/cjs/scheduler.production.min.js +19 -0
- package/.next/standalone/node_modules/scheduler/index.js +7 -0
- package/.next/standalone/node_modules/scheduler/package.json +36 -0
- package/.next/standalone/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.next/standalone/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.next/standalone/node_modules/source-map-js/lib/base64.js +67 -0
- package/.next/standalone/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.next/standalone/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.next/standalone/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.next/standalone/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.next/standalone/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.next/standalone/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.next/standalone/node_modules/source-map-js/lib/util.js +594 -0
- package/.next/standalone/node_modules/source-map-js/package.json +71 -0
- package/.next/standalone/node_modules/source-map-js/source-map.js +8 -0
- package/.next/standalone/node_modules/streamsearch/lib/sbmh.js +267 -0
- package/.next/standalone/node_modules/streamsearch/package.json +34 -0
- package/.next/standalone/node_modules/styled-jsx/dist/index/index.js +499 -0
- package/.next/standalone/node_modules/styled-jsx/index.js +1 -0
- package/.next/standalone/node_modules/styled-jsx/package.json +129 -0
- package/.next/standalone/node_modules/styled-jsx/style.js +1 -0
- package/.next/standalone/package.json +51 -0
- package/.next/standalone/server.js +44 -0
- package/.next/trace +2 -2
- package/bin/cli.js +18 -14
- package/next.config.js +1 -15
- package/package.json +1 -1
- package/.next/cache/webpack/client-production/3.pack +0 -0
- package/.next/cache/webpack/client-production/4.pack +0 -0
- package/.next/cache/webpack/server-production/3.pack +0 -0
- /package/.next/static/{vSEQaRlm1A99jSM80ZjFU → rOhPoETBKkPu45bm2zUCI}/_buildManifest.js +0 -0
- /package/.next/static/{vSEQaRlm1A99jSM80ZjFU → rOhPoETBKkPu45bm2zUCI}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,2253 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
0 && (module.exports = {
|
|
6
|
+
NoFallbackError: null,
|
|
7
|
+
WrappedBuildError: null,
|
|
8
|
+
default: null,
|
|
9
|
+
isRSCRequestCheck: null
|
|
10
|
+
});
|
|
11
|
+
function _export(target, all) {
|
|
12
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: all[name]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
_export(exports, {
|
|
18
|
+
NoFallbackError: function() {
|
|
19
|
+
return NoFallbackError;
|
|
20
|
+
},
|
|
21
|
+
WrappedBuildError: function() {
|
|
22
|
+
return WrappedBuildError;
|
|
23
|
+
},
|
|
24
|
+
default: function() {
|
|
25
|
+
return Server;
|
|
26
|
+
},
|
|
27
|
+
isRSCRequestCheck: function() {
|
|
28
|
+
return isRSCRequestCheck;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const _utils = require("../shared/lib/utils");
|
|
32
|
+
const _builtinrequestcontext = require("./lib/builtin-request-context");
|
|
33
|
+
const _url = require("url");
|
|
34
|
+
const _formathostname = require("./lib/format-hostname");
|
|
35
|
+
const _redirectstatus = require("../lib/redirect-status");
|
|
36
|
+
const _isedgeruntime = require("../lib/is-edge-runtime");
|
|
37
|
+
const _constants = require("../shared/lib/constants");
|
|
38
|
+
const _utils1 = require("../shared/lib/router/utils");
|
|
39
|
+
const _apiutils = require("./api-utils");
|
|
40
|
+
const _runtimeconfigexternal = require("../shared/lib/runtime-config.external");
|
|
41
|
+
const _revalidate = require("./lib/revalidate");
|
|
42
|
+
const _utils2 = require("./utils");
|
|
43
|
+
const _isbot = require("../shared/lib/router/utils/is-bot");
|
|
44
|
+
const _renderresult = /*#__PURE__*/ _interop_require_default(require("./render-result"));
|
|
45
|
+
const _removetrailingslash = require("../shared/lib/router/utils/remove-trailing-slash");
|
|
46
|
+
const _denormalizepagepath = require("../shared/lib/page-path/denormalize-page-path");
|
|
47
|
+
const _log = /*#__PURE__*/ _interop_require_wildcard(require("../build/output/log"));
|
|
48
|
+
const _escapepathdelimiters = /*#__PURE__*/ _interop_require_default(require("../shared/lib/router/utils/escape-path-delimiters"));
|
|
49
|
+
const _serverutils = require("./server-utils");
|
|
50
|
+
const _iserror = /*#__PURE__*/ _interop_require_wildcard(require("../lib/is-error"));
|
|
51
|
+
const _requestmeta = require("./request-meta");
|
|
52
|
+
const _removepathprefix = require("../shared/lib/router/utils/remove-path-prefix");
|
|
53
|
+
const _apppaths = require("../shared/lib/router/utils/app-paths");
|
|
54
|
+
const _gethostname = require("../shared/lib/get-hostname");
|
|
55
|
+
const _parseurl = require("../shared/lib/router/utils/parse-url");
|
|
56
|
+
const _getnextpathnameinfo = require("../shared/lib/router/utils/get-next-pathname-info");
|
|
57
|
+
const _approuterheaders = require("../client/components/app-router-headers");
|
|
58
|
+
const _localeroutenormalizer = require("./future/normalizers/locale-route-normalizer");
|
|
59
|
+
const _defaultroutematchermanager = require("./future/route-matcher-managers/default-route-matcher-manager");
|
|
60
|
+
const _apppageroutematcherprovider = require("./future/route-matcher-providers/app-page-route-matcher-provider");
|
|
61
|
+
const _approuteroutematcherprovider = require("./future/route-matcher-providers/app-route-route-matcher-provider");
|
|
62
|
+
const _pagesapiroutematcherprovider = require("./future/route-matcher-providers/pages-api-route-matcher-provider");
|
|
63
|
+
const _pagesroutematcherprovider = require("./future/route-matcher-providers/pages-route-matcher-provider");
|
|
64
|
+
const _servermanifestloader = require("./future/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader");
|
|
65
|
+
const _tracer = require("./lib/trace/tracer");
|
|
66
|
+
const _constants1 = require("./lib/trace/constants");
|
|
67
|
+
const _i18nprovider = require("./future/helpers/i18n-provider");
|
|
68
|
+
const _sendresponse = require("./send-response");
|
|
69
|
+
const _responsehandlers = require("./future/route-modules/helpers/response-handlers");
|
|
70
|
+
const _utils3 = require("./web/utils");
|
|
71
|
+
const _constants2 = require("../lib/constants");
|
|
72
|
+
const _normalizelocalepath = require("../shared/lib/i18n/normalize-locale-path");
|
|
73
|
+
const _nextrequest = require("./web/spec-extension/adapters/next-request");
|
|
74
|
+
const _matchnextdatapathname = require("./lib/match-next-data-pathname");
|
|
75
|
+
const _getroutefromassetpath = /*#__PURE__*/ _interop_require_default(require("../shared/lib/router/utils/get-route-from-asset-path"));
|
|
76
|
+
const _rsc = require("./future/normalizers/request/rsc");
|
|
77
|
+
const _postponed = require("./future/normalizers/request/postponed");
|
|
78
|
+
const _action = require("./future/normalizers/request/action");
|
|
79
|
+
const _stripflightheaders = require("./app-render/strip-flight-headers");
|
|
80
|
+
const _checks = require("./future/route-modules/checks");
|
|
81
|
+
const _prefetchrsc = require("./future/normalizers/request/prefetch-rsc");
|
|
82
|
+
const _nextdata = require("./future/normalizers/request/next-data");
|
|
83
|
+
const _serveractionrequestmeta = require("./lib/server-action-request-meta");
|
|
84
|
+
const _interceptionroutes = require("./future/helpers/interception-routes");
|
|
85
|
+
const _toroute = require("./lib/to-route");
|
|
86
|
+
function _interop_require_default(obj) {
|
|
87
|
+
return obj && obj.__esModule ? obj : {
|
|
88
|
+
default: obj
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
92
|
+
if (typeof WeakMap !== "function") return null;
|
|
93
|
+
var cacheBabelInterop = new WeakMap();
|
|
94
|
+
var cacheNodeInterop = new WeakMap();
|
|
95
|
+
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
96
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
97
|
+
})(nodeInterop);
|
|
98
|
+
}
|
|
99
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
|
100
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
101
|
+
return obj;
|
|
102
|
+
}
|
|
103
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
104
|
+
return {
|
|
105
|
+
default: obj
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
109
|
+
if (cache && cache.has(obj)) {
|
|
110
|
+
return cache.get(obj);
|
|
111
|
+
}
|
|
112
|
+
var newObj = {
|
|
113
|
+
__proto__: null
|
|
114
|
+
};
|
|
115
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
116
|
+
for(var key in obj){
|
|
117
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
118
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
119
|
+
if (desc && (desc.get || desc.set)) {
|
|
120
|
+
Object.defineProperty(newObj, key, desc);
|
|
121
|
+
} else {
|
|
122
|
+
newObj[key] = obj[key];
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
newObj.default = obj;
|
|
127
|
+
if (cache) {
|
|
128
|
+
cache.set(obj, newObj);
|
|
129
|
+
}
|
|
130
|
+
return newObj;
|
|
131
|
+
}
|
|
132
|
+
class NoFallbackError extends Error {
|
|
133
|
+
}
|
|
134
|
+
class WrappedBuildError extends Error {
|
|
135
|
+
constructor(innerError){
|
|
136
|
+
super();
|
|
137
|
+
this.innerError = innerError;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
class Server {
|
|
141
|
+
constructor(options){
|
|
142
|
+
var _this_nextConfig_i18n, _this_nextConfig_experimental_amp, _this_nextConfig_i18n1;
|
|
143
|
+
this.handleRSCRequest = (req, _res, parsedUrl)=>{
|
|
144
|
+
var _this_normalizers_prefetchRSC, _this_normalizers_rsc;
|
|
145
|
+
if (!parsedUrl.pathname) return false;
|
|
146
|
+
if ((_this_normalizers_prefetchRSC = this.normalizers.prefetchRSC) == null ? void 0 : _this_normalizers_prefetchRSC.match(parsedUrl.pathname)) {
|
|
147
|
+
parsedUrl.pathname = this.normalizers.prefetchRSC.normalize(parsedUrl.pathname, true);
|
|
148
|
+
// Mark the request as a router prefetch request.
|
|
149
|
+
req.headers[_approuterheaders.RSC_HEADER.toLowerCase()] = "1";
|
|
150
|
+
req.headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER.toLowerCase()] = "1";
|
|
151
|
+
(0, _requestmeta.addRequestMeta)(req, "isRSCRequest", true);
|
|
152
|
+
(0, _requestmeta.addRequestMeta)(req, "isPrefetchRSCRequest", true);
|
|
153
|
+
} else if ((_this_normalizers_rsc = this.normalizers.rsc) == null ? void 0 : _this_normalizers_rsc.match(parsedUrl.pathname)) {
|
|
154
|
+
parsedUrl.pathname = this.normalizers.rsc.normalize(parsedUrl.pathname, true);
|
|
155
|
+
// Mark the request as a RSC request.
|
|
156
|
+
req.headers[_approuterheaders.RSC_HEADER.toLowerCase()] = "1";
|
|
157
|
+
(0, _requestmeta.addRequestMeta)(req, "isRSCRequest", true);
|
|
158
|
+
} else if (req.headers["x-now-route-matches"]) {
|
|
159
|
+
// If we didn't match, return with the flight headers stripped. If in
|
|
160
|
+
// minimal mode we didn't match based on the path, this can't be a RSC
|
|
161
|
+
// request. This is because Vercel only sends this header during
|
|
162
|
+
// revalidation requests and we want the cache to instead depend on the
|
|
163
|
+
// request path for flight information.
|
|
164
|
+
(0, _stripflightheaders.stripFlightHeaders)(req.headers);
|
|
165
|
+
return false;
|
|
166
|
+
} else {
|
|
167
|
+
// Otherwise just return without doing anything.
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
if (req.url) {
|
|
171
|
+
const parsed = (0, _url.parse)(req.url);
|
|
172
|
+
parsed.pathname = parsedUrl.pathname;
|
|
173
|
+
req.url = (0, _url.format)(parsed);
|
|
174
|
+
}
|
|
175
|
+
return false;
|
|
176
|
+
};
|
|
177
|
+
this.handleNextDataRequest = async (req, res, parsedUrl)=>{
|
|
178
|
+
const middleware = this.getMiddleware();
|
|
179
|
+
const params = (0, _matchnextdatapathname.matchNextDataPathname)(parsedUrl.pathname);
|
|
180
|
+
// ignore for non-next data URLs
|
|
181
|
+
if (!params || !params.path) {
|
|
182
|
+
return false;
|
|
183
|
+
}
|
|
184
|
+
if (params.path[0] !== this.buildId) {
|
|
185
|
+
// Ignore if its a middleware request when we aren't on edge.
|
|
186
|
+
if (process.env.NEXT_RUNTIME !== "edge" && (0, _requestmeta.getRequestMeta)(req, "middlewareInvoke")) {
|
|
187
|
+
return false;
|
|
188
|
+
}
|
|
189
|
+
// Make sure to 404 if the buildId isn't correct
|
|
190
|
+
await this.render404(req, res, parsedUrl);
|
|
191
|
+
return true;
|
|
192
|
+
}
|
|
193
|
+
// remove buildId from URL
|
|
194
|
+
params.path.shift();
|
|
195
|
+
const lastParam = params.path[params.path.length - 1];
|
|
196
|
+
// show 404 if it doesn't end with .json
|
|
197
|
+
if (typeof lastParam !== "string" || !lastParam.endsWith(".json")) {
|
|
198
|
+
await this.render404(req, res, parsedUrl);
|
|
199
|
+
return true;
|
|
200
|
+
}
|
|
201
|
+
// re-create page's pathname
|
|
202
|
+
let pathname = `/${params.path.join("/")}`;
|
|
203
|
+
pathname = (0, _getroutefromassetpath.default)(pathname, ".json");
|
|
204
|
+
// ensure trailing slash is normalized per config
|
|
205
|
+
if (middleware) {
|
|
206
|
+
if (this.nextConfig.trailingSlash && !pathname.endsWith("/")) {
|
|
207
|
+
pathname += "/";
|
|
208
|
+
}
|
|
209
|
+
if (!this.nextConfig.trailingSlash && pathname.length > 1 && pathname.endsWith("/")) {
|
|
210
|
+
pathname = pathname.substring(0, pathname.length - 1);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
if (this.i18nProvider) {
|
|
214
|
+
var _req_headers_host;
|
|
215
|
+
// Remove the port from the hostname if present.
|
|
216
|
+
const hostname = req == null ? void 0 : (_req_headers_host = req.headers.host) == null ? void 0 : _req_headers_host.split(":", 1)[0].toLowerCase();
|
|
217
|
+
const domainLocale = this.i18nProvider.detectDomainLocale(hostname);
|
|
218
|
+
const defaultLocale = (domainLocale == null ? void 0 : domainLocale.defaultLocale) ?? this.i18nProvider.config.defaultLocale;
|
|
219
|
+
const localePathResult = this.i18nProvider.analyze(pathname);
|
|
220
|
+
// If the locale is detected from the path, we need to remove it
|
|
221
|
+
// from the pathname.
|
|
222
|
+
if (localePathResult.detectedLocale) {
|
|
223
|
+
pathname = localePathResult.pathname;
|
|
224
|
+
}
|
|
225
|
+
// Update the query with the detected locale and default locale.
|
|
226
|
+
parsedUrl.query.__nextLocale = localePathResult.detectedLocale;
|
|
227
|
+
parsedUrl.query.__nextDefaultLocale = defaultLocale;
|
|
228
|
+
// If the locale is not detected from the path, we need to mark that
|
|
229
|
+
// it was not inferred from default.
|
|
230
|
+
if (!localePathResult.detectedLocale) {
|
|
231
|
+
delete parsedUrl.query.__nextInferredLocaleFromDefault;
|
|
232
|
+
}
|
|
233
|
+
// If no locale was detected and we don't have middleware, we need
|
|
234
|
+
// to render a 404 page.
|
|
235
|
+
if (!localePathResult.detectedLocale && !middleware) {
|
|
236
|
+
parsedUrl.query.__nextLocale = defaultLocale;
|
|
237
|
+
await this.render404(req, res, parsedUrl);
|
|
238
|
+
return true;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
parsedUrl.pathname = pathname;
|
|
242
|
+
parsedUrl.query.__nextDataReq = "1";
|
|
243
|
+
return false;
|
|
244
|
+
};
|
|
245
|
+
this.handleNextImageRequest = ()=>false;
|
|
246
|
+
this.handleCatchallRenderRequest = ()=>false;
|
|
247
|
+
this.handleCatchallMiddlewareRequest = ()=>false;
|
|
248
|
+
/**
|
|
249
|
+
* Normalizes a pathname without attaching any metadata from any matched
|
|
250
|
+
* normalizer.
|
|
251
|
+
*
|
|
252
|
+
* @param pathname the pathname to normalize
|
|
253
|
+
* @returns the normalized pathname
|
|
254
|
+
*/ this.normalize = (pathname)=>{
|
|
255
|
+
const normalizers = [];
|
|
256
|
+
if (this.normalizers.data) {
|
|
257
|
+
normalizers.push(this.normalizers.data);
|
|
258
|
+
}
|
|
259
|
+
if (this.normalizers.postponed) {
|
|
260
|
+
normalizers.push(this.normalizers.postponed);
|
|
261
|
+
}
|
|
262
|
+
// We have to put the prefetch normalizer before the RSC normalizer
|
|
263
|
+
// because the RSC normalizer will match the prefetch RSC routes too.
|
|
264
|
+
if (this.normalizers.prefetchRSC) {
|
|
265
|
+
normalizers.push(this.normalizers.prefetchRSC);
|
|
266
|
+
}
|
|
267
|
+
if (this.normalizers.rsc) {
|
|
268
|
+
normalizers.push(this.normalizers.rsc);
|
|
269
|
+
}
|
|
270
|
+
if (this.normalizers.action) {
|
|
271
|
+
normalizers.push(this.normalizers.action);
|
|
272
|
+
}
|
|
273
|
+
for (const normalizer of normalizers){
|
|
274
|
+
if (!normalizer.match(pathname)) continue;
|
|
275
|
+
return normalizer.normalize(pathname, true);
|
|
276
|
+
}
|
|
277
|
+
return pathname;
|
|
278
|
+
};
|
|
279
|
+
this.normalizeAndAttachMetadata = async (req, res, url)=>{
|
|
280
|
+
let finished = await this.handleNextImageRequest(req, res, url);
|
|
281
|
+
if (finished) return true;
|
|
282
|
+
if (this.enabledDirectories.pages) {
|
|
283
|
+
finished = await this.handleNextDataRequest(req, res, url);
|
|
284
|
+
if (finished) return true;
|
|
285
|
+
}
|
|
286
|
+
return false;
|
|
287
|
+
};
|
|
288
|
+
this.prepared = false;
|
|
289
|
+
this.preparedPromise = null;
|
|
290
|
+
this.customErrorNo404Warn = (0, _utils.execOnce)(()=>{
|
|
291
|
+
_log.warn(`You have added a custom /_error page without a custom /404 page. This prevents the 404 page from being auto statically optimized.\nSee here for info: https://nextjs.org/docs/messages/custom-error-no-custom-404`);
|
|
292
|
+
});
|
|
293
|
+
const { dir = ".", quiet = false, conf, dev = false, minimalMode = false, customServer = true, hostname, port, experimentalTestProxy } = options;
|
|
294
|
+
this.experimentalTestProxy = experimentalTestProxy;
|
|
295
|
+
this.serverOptions = options;
|
|
296
|
+
this.dir = process.env.NEXT_RUNTIME === "edge" ? dir : require("path").resolve(dir);
|
|
297
|
+
this.quiet = quiet;
|
|
298
|
+
this.loadEnvConfig({
|
|
299
|
+
dev
|
|
300
|
+
});
|
|
301
|
+
// TODO: should conf be normalized to prevent missing
|
|
302
|
+
// values from causing issues as this can be user provided
|
|
303
|
+
this.nextConfig = conf;
|
|
304
|
+
this.hostname = hostname;
|
|
305
|
+
if (this.hostname) {
|
|
306
|
+
// we format the hostname so that it can be fetched
|
|
307
|
+
this.fetchHostname = (0, _formathostname.formatHostname)(this.hostname);
|
|
308
|
+
}
|
|
309
|
+
this.port = port;
|
|
310
|
+
this.distDir = process.env.NEXT_RUNTIME === "edge" ? this.nextConfig.distDir : require("path").join(this.dir, this.nextConfig.distDir);
|
|
311
|
+
this.publicDir = this.getPublicDir();
|
|
312
|
+
this.hasStaticDir = !minimalMode && this.getHasStaticDir();
|
|
313
|
+
this.i18nProvider = ((_this_nextConfig_i18n = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n.locales) ? new _i18nprovider.I18NProvider(this.nextConfig.i18n) : undefined;
|
|
314
|
+
// Configure the locale normalizer, it's used for routes inside `pages/`.
|
|
315
|
+
this.localeNormalizer = this.i18nProvider ? new _localeroutenormalizer.LocaleRouteNormalizer(this.i18nProvider) : undefined;
|
|
316
|
+
// Only serverRuntimeConfig needs the default
|
|
317
|
+
// publicRuntimeConfig gets it's default in client/index.js
|
|
318
|
+
const { serverRuntimeConfig = {}, publicRuntimeConfig, assetPrefix, generateEtags } = this.nextConfig;
|
|
319
|
+
this.buildId = this.getBuildId();
|
|
320
|
+
// this is a hack to avoid Webpack knowing this is equal to this.minimalMode
|
|
321
|
+
// because we replace this.minimalMode to true in production bundles.
|
|
322
|
+
const minimalModeKey = "minimalMode";
|
|
323
|
+
this[minimalModeKey] = minimalMode || !!process.env.NEXT_PRIVATE_MINIMAL_MODE;
|
|
324
|
+
this.enabledDirectories = this.getEnabledDirectories(dev);
|
|
325
|
+
this.normalizers = {
|
|
326
|
+
// We should normalize the pathname from the RSC prefix only in minimal
|
|
327
|
+
// mode as otherwise that route is not exposed external to the server as
|
|
328
|
+
// we instead only rely on the headers.
|
|
329
|
+
postponed: this.enabledDirectories.app && this.nextConfig.experimental.ppr && this.minimalMode ? new _postponed.PostponedPathnameNormalizer() : undefined,
|
|
330
|
+
rsc: this.enabledDirectories.app && this.minimalMode ? new _rsc.RSCPathnameNormalizer() : undefined,
|
|
331
|
+
prefetchRSC: this.enabledDirectories.app && this.nextConfig.experimental.ppr && this.minimalMode ? new _prefetchrsc.PrefetchRSCPathnameNormalizer() : undefined,
|
|
332
|
+
data: this.enabledDirectories.pages ? new _nextdata.NextDataPathnameNormalizer(this.buildId) : undefined,
|
|
333
|
+
action: this.enabledDirectories.app && this.minimalMode ? new _action.ActionPathnameNormalizer() : undefined
|
|
334
|
+
};
|
|
335
|
+
this.nextFontManifest = this.getNextFontManifest();
|
|
336
|
+
if (process.env.NEXT_RUNTIME !== "edge") {
|
|
337
|
+
process.env.NEXT_DEPLOYMENT_ID = this.nextConfig.deploymentId || "";
|
|
338
|
+
}
|
|
339
|
+
this.renderOpts = {
|
|
340
|
+
supportsDynamicResponse: true,
|
|
341
|
+
trailingSlash: this.nextConfig.trailingSlash,
|
|
342
|
+
deploymentId: this.nextConfig.deploymentId,
|
|
343
|
+
strictNextHead: !!this.nextConfig.experimental.strictNextHead,
|
|
344
|
+
poweredByHeader: this.nextConfig.poweredByHeader,
|
|
345
|
+
canonicalBase: this.nextConfig.amp.canonicalBase || "",
|
|
346
|
+
buildId: this.buildId,
|
|
347
|
+
generateEtags,
|
|
348
|
+
previewProps: this.getPrerenderManifest().preview,
|
|
349
|
+
customServer: customServer === true ? true : undefined,
|
|
350
|
+
ampOptimizerConfig: (_this_nextConfig_experimental_amp = this.nextConfig.experimental.amp) == null ? void 0 : _this_nextConfig_experimental_amp.optimizer,
|
|
351
|
+
basePath: this.nextConfig.basePath,
|
|
352
|
+
images: this.nextConfig.images,
|
|
353
|
+
optimizeFonts: this.nextConfig.optimizeFonts,
|
|
354
|
+
fontManifest: this.nextConfig.optimizeFonts && !dev ? this.getFontManifest() : undefined,
|
|
355
|
+
optimizeCss: this.nextConfig.experimental.optimizeCss,
|
|
356
|
+
nextConfigOutput: this.nextConfig.output,
|
|
357
|
+
nextScriptWorkers: this.nextConfig.experimental.nextScriptWorkers,
|
|
358
|
+
disableOptimizedLoading: this.nextConfig.experimental.disableOptimizedLoading,
|
|
359
|
+
domainLocales: (_this_nextConfig_i18n1 = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n1.domains,
|
|
360
|
+
distDir: this.distDir,
|
|
361
|
+
serverComponents: this.enabledDirectories.app,
|
|
362
|
+
enableTainting: this.nextConfig.experimental.taint,
|
|
363
|
+
crossOrigin: this.nextConfig.crossOrigin ? this.nextConfig.crossOrigin : undefined,
|
|
364
|
+
largePageDataBytes: this.nextConfig.experimental.largePageDataBytes,
|
|
365
|
+
// Only the `publicRuntimeConfig` key is exposed to the client side
|
|
366
|
+
// It'll be rendered as part of __NEXT_DATA__ on the client side
|
|
367
|
+
runtimeConfig: Object.keys(publicRuntimeConfig).length > 0 ? publicRuntimeConfig : undefined,
|
|
368
|
+
// @ts-expect-error internal field not publicly exposed
|
|
369
|
+
isExperimentalCompile: this.nextConfig.experimental.isExperimentalCompile,
|
|
370
|
+
experimental: {
|
|
371
|
+
ppr: this.enabledDirectories.app && this.nextConfig.experimental.ppr === true,
|
|
372
|
+
missingSuspenseWithCSRBailout: this.nextConfig.experimental.missingSuspenseWithCSRBailout === true,
|
|
373
|
+
swrDelta: this.nextConfig.experimental.swrDelta
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
// Initialize next/config with the environment configuration
|
|
377
|
+
(0, _runtimeconfigexternal.setConfig)({
|
|
378
|
+
serverRuntimeConfig,
|
|
379
|
+
publicRuntimeConfig
|
|
380
|
+
});
|
|
381
|
+
this.pagesManifest = this.getPagesManifest();
|
|
382
|
+
this.appPathsManifest = this.getAppPathsManifest();
|
|
383
|
+
this.appPathRoutes = this.getAppPathRoutes();
|
|
384
|
+
this.interceptionRoutePatterns = this.getinterceptionRoutePatterns();
|
|
385
|
+
// Configure the routes.
|
|
386
|
+
this.matchers = this.getRouteMatchers();
|
|
387
|
+
// Start route compilation. We don't wait for the routes to finish loading
|
|
388
|
+
// because we use the `waitTillReady` promise below in `handleRequest` to
|
|
389
|
+
// wait. Also we can't `await` in the constructor.
|
|
390
|
+
void this.matchers.reload();
|
|
391
|
+
this.setAssetPrefix(assetPrefix);
|
|
392
|
+
this.responseCache = this.getResponseCache({
|
|
393
|
+
dev
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
reloadMatchers() {
|
|
397
|
+
return this.matchers.reload();
|
|
398
|
+
}
|
|
399
|
+
getRouteMatchers() {
|
|
400
|
+
// Create a new manifest loader that get's the manifests from the server.
|
|
401
|
+
const manifestLoader = new _servermanifestloader.ServerManifestLoader((name)=>{
|
|
402
|
+
switch(name){
|
|
403
|
+
case _constants.PAGES_MANIFEST:
|
|
404
|
+
return this.getPagesManifest() ?? null;
|
|
405
|
+
case _constants.APP_PATHS_MANIFEST:
|
|
406
|
+
return this.getAppPathsManifest() ?? null;
|
|
407
|
+
default:
|
|
408
|
+
return null;
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
// Configure the matchers and handlers.
|
|
412
|
+
const matchers = new _defaultroutematchermanager.DefaultRouteMatcherManager();
|
|
413
|
+
// Match pages under `pages/`.
|
|
414
|
+
matchers.push(new _pagesroutematcherprovider.PagesRouteMatcherProvider(this.distDir, manifestLoader, this.i18nProvider));
|
|
415
|
+
// Match api routes under `pages/api/`.
|
|
416
|
+
matchers.push(new _pagesapiroutematcherprovider.PagesAPIRouteMatcherProvider(this.distDir, manifestLoader, this.i18nProvider));
|
|
417
|
+
// If the app directory is enabled, then add the app matchers and handlers.
|
|
418
|
+
if (this.enabledDirectories.app) {
|
|
419
|
+
// Match app pages under `app/`.
|
|
420
|
+
matchers.push(new _apppageroutematcherprovider.AppPageRouteMatcherProvider(this.distDir, manifestLoader));
|
|
421
|
+
matchers.push(new _approuteroutematcherprovider.AppRouteRouteMatcherProvider(this.distDir, manifestLoader));
|
|
422
|
+
}
|
|
423
|
+
return matchers;
|
|
424
|
+
}
|
|
425
|
+
logError(err) {
|
|
426
|
+
if (this.quiet) return;
|
|
427
|
+
_log.error(err);
|
|
428
|
+
}
|
|
429
|
+
async handleRequest(req, res, parsedUrl) {
|
|
430
|
+
await this.prepare();
|
|
431
|
+
const method = req.method.toUpperCase();
|
|
432
|
+
const rsc = isRSCRequestCheck(req) ? "RSC " : "";
|
|
433
|
+
const tracer = (0, _tracer.getTracer)();
|
|
434
|
+
return tracer.withPropagatedContext(req.headers, ()=>{
|
|
435
|
+
return tracer.trace(_constants1.BaseServerSpan.handleRequest, {
|
|
436
|
+
spanName: `${rsc}${method} ${req.url}`,
|
|
437
|
+
kind: _tracer.SpanKind.SERVER,
|
|
438
|
+
attributes: {
|
|
439
|
+
"http.method": method,
|
|
440
|
+
"http.target": req.url,
|
|
441
|
+
"next.rsc": Boolean(rsc)
|
|
442
|
+
}
|
|
443
|
+
}, async (span)=>this.handleRequestImpl(req, res, parsedUrl).finally(()=>{
|
|
444
|
+
if (!span) return;
|
|
445
|
+
span.setAttributes({
|
|
446
|
+
"http.status_code": res.statusCode
|
|
447
|
+
});
|
|
448
|
+
const rootSpanAttributes = tracer.getRootSpanAttributes();
|
|
449
|
+
// We were unable to get attributes, probably OTEL is not enabled
|
|
450
|
+
if (!rootSpanAttributes) return;
|
|
451
|
+
if (rootSpanAttributes.get("next.span_type") !== _constants1.BaseServerSpan.handleRequest) {
|
|
452
|
+
console.warn(`Unexpected root span type '${rootSpanAttributes.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);
|
|
453
|
+
return;
|
|
454
|
+
}
|
|
455
|
+
const route = rootSpanAttributes.get("next.route");
|
|
456
|
+
if (route) {
|
|
457
|
+
const newName = `${rsc}${method} ${route}`;
|
|
458
|
+
span.setAttributes({
|
|
459
|
+
"next.route": route,
|
|
460
|
+
"http.route": route,
|
|
461
|
+
"next.span_name": newName
|
|
462
|
+
});
|
|
463
|
+
span.updateName(newName);
|
|
464
|
+
}
|
|
465
|
+
}));
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
async handleRequestImpl(req, res, parsedUrl) {
|
|
469
|
+
try {
|
|
470
|
+
var _originalRequest_socket, _originalRequest_socket1, _this_i18nProvider, _this_i18nProvider1, _this_nextConfig_i18n;
|
|
471
|
+
// Wait for the matchers to be ready.
|
|
472
|
+
await this.matchers.waitTillReady();
|
|
473
|
+
// ensure cookies set in middleware are merged and
|
|
474
|
+
// not overridden by API routes/getServerSideProps
|
|
475
|
+
const _res = res.originalResponse || res;
|
|
476
|
+
const origSetHeader = _res.setHeader.bind(_res);
|
|
477
|
+
_res.setHeader = (name, val)=>{
|
|
478
|
+
// When renders /_error after page is failed,
|
|
479
|
+
// it could attempt to set headers after headers
|
|
480
|
+
if (_res.headersSent) {
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
if (name.toLowerCase() === "set-cookie") {
|
|
484
|
+
const middlewareValue = (0, _requestmeta.getRequestMeta)(req, "middlewareCookie");
|
|
485
|
+
if (!middlewareValue || !Array.isArray(val) || !val.every((item, idx)=>item === middlewareValue[idx])) {
|
|
486
|
+
val = [
|
|
487
|
+
// TODO: (wyattjoh) find out why this is called multiple times resulting in duplicate cookies being added
|
|
488
|
+
...new Set([
|
|
489
|
+
...middlewareValue || [],
|
|
490
|
+
...typeof val === "string" ? [
|
|
491
|
+
val
|
|
492
|
+
] : Array.isArray(val) ? val : []
|
|
493
|
+
])
|
|
494
|
+
];
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
return origSetHeader(name, val);
|
|
498
|
+
};
|
|
499
|
+
const urlParts = (req.url || "").split("?", 1);
|
|
500
|
+
const urlNoQuery = urlParts[0];
|
|
501
|
+
// this normalizes repeated slashes in the path e.g. hello//world ->
|
|
502
|
+
// hello/world or backslashes to forward slashes, this does not
|
|
503
|
+
// handle trailing slash as that is handled the same as a next.config.js
|
|
504
|
+
// redirect
|
|
505
|
+
if (urlNoQuery == null ? void 0 : urlNoQuery.match(/(\\|\/\/)/)) {
|
|
506
|
+
const cleanUrl = (0, _utils.normalizeRepeatedSlashes)(req.url);
|
|
507
|
+
res.redirect(cleanUrl, 308).body(cleanUrl).send();
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
// Parse url if parsedUrl not provided
|
|
511
|
+
if (!parsedUrl || typeof parsedUrl !== "object") {
|
|
512
|
+
if (!req.url) {
|
|
513
|
+
throw new Error("Invariant: url can not be undefined");
|
|
514
|
+
}
|
|
515
|
+
parsedUrl = (0, _url.parse)(req.url, true);
|
|
516
|
+
}
|
|
517
|
+
if (!parsedUrl.pathname) {
|
|
518
|
+
throw new Error("Invariant: pathname can't be empty");
|
|
519
|
+
}
|
|
520
|
+
// Parse the querystring ourselves if the user doesn't handle querystring parsing
|
|
521
|
+
if (typeof parsedUrl.query === "string") {
|
|
522
|
+
parsedUrl.query = Object.fromEntries(new URLSearchParams(parsedUrl.query));
|
|
523
|
+
}
|
|
524
|
+
const { originalRequest } = req;
|
|
525
|
+
const xForwardedProto = originalRequest == null ? void 0 : originalRequest.headers["x-forwarded-proto"];
|
|
526
|
+
const isHttps = xForwardedProto ? xForwardedProto === "https" : !!(originalRequest == null ? void 0 : (_originalRequest_socket = originalRequest.socket) == null ? void 0 : _originalRequest_socket.encrypted);
|
|
527
|
+
req.headers["x-forwarded-host"] ??= req.headers["host"] ?? this.hostname;
|
|
528
|
+
req.headers["x-forwarded-port"] ??= this.port ? this.port.toString() : isHttps ? "443" : "80";
|
|
529
|
+
req.headers["x-forwarded-proto"] ??= isHttps ? "https" : "http";
|
|
530
|
+
req.headers["x-forwarded-for"] ??= (_originalRequest_socket1 = originalRequest.socket) == null ? void 0 : _originalRequest_socket1.remoteAddress;
|
|
531
|
+
// Validate that if i18n isn't configured or the passed parameters are not
|
|
532
|
+
// valid it should be removed from the query.
|
|
533
|
+
if (!((_this_i18nProvider = this.i18nProvider) == null ? void 0 : _this_i18nProvider.validateQuery(parsedUrl.query))) {
|
|
534
|
+
delete parsedUrl.query.__nextLocale;
|
|
535
|
+
delete parsedUrl.query.__nextDefaultLocale;
|
|
536
|
+
delete parsedUrl.query.__nextInferredLocaleFromDefault;
|
|
537
|
+
}
|
|
538
|
+
// This should be done before any normalization of the pathname happens as
|
|
539
|
+
// it captures the initial URL.
|
|
540
|
+
this.attachRequestMeta(req, parsedUrl);
|
|
541
|
+
let finished = false;
|
|
542
|
+
if (this.minimalMode && this.enabledDirectories.app) {
|
|
543
|
+
finished = await this.handleRSCRequest(req, res, parsedUrl);
|
|
544
|
+
if (finished) return;
|
|
545
|
+
}
|
|
546
|
+
const domainLocale = (_this_i18nProvider1 = this.i18nProvider) == null ? void 0 : _this_i18nProvider1.detectDomainLocale((0, _gethostname.getHostname)(parsedUrl, req.headers));
|
|
547
|
+
const defaultLocale = (domainLocale == null ? void 0 : domainLocale.defaultLocale) || ((_this_nextConfig_i18n = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n.defaultLocale);
|
|
548
|
+
parsedUrl.query.__nextDefaultLocale = defaultLocale;
|
|
549
|
+
const url = (0, _parseurl.parseUrl)(req.url.replace(/^\/+/, "/"));
|
|
550
|
+
const pathnameInfo = (0, _getnextpathnameinfo.getNextPathnameInfo)(url.pathname, {
|
|
551
|
+
nextConfig: this.nextConfig,
|
|
552
|
+
i18nProvider: this.i18nProvider
|
|
553
|
+
});
|
|
554
|
+
url.pathname = pathnameInfo.pathname;
|
|
555
|
+
if (pathnameInfo.basePath) {
|
|
556
|
+
req.url = (0, _removepathprefix.removePathPrefix)(req.url, this.nextConfig.basePath);
|
|
557
|
+
}
|
|
558
|
+
const useMatchedPathHeader = this.minimalMode && typeof req.headers["x-matched-path"] === "string";
|
|
559
|
+
// TODO: merge handling with invokePath
|
|
560
|
+
if (useMatchedPathHeader) {
|
|
561
|
+
try {
|
|
562
|
+
var _this_normalizers_data, _this_normalizers_postponed, _this_i18nProvider2, _this_getRoutesManifest;
|
|
563
|
+
if (this.enabledDirectories.app) {
|
|
564
|
+
// ensure /index path is normalized for prerender
|
|
565
|
+
// in minimal mode
|
|
566
|
+
if (req.url.match(/^\/index($|\?)/)) {
|
|
567
|
+
req.url = req.url.replace(/^\/index/, "/");
|
|
568
|
+
}
|
|
569
|
+
parsedUrl.pathname = parsedUrl.pathname === "/index" ? "/" : parsedUrl.pathname;
|
|
570
|
+
}
|
|
571
|
+
// x-matched-path is the source of truth, it tells what page
|
|
572
|
+
// should be rendered because we don't process rewrites in minimalMode
|
|
573
|
+
let { pathname: matchedPath } = new URL(req.headers["x-matched-path"], "http://localhost");
|
|
574
|
+
let { pathname: urlPathname } = new URL(req.url, "http://localhost");
|
|
575
|
+
// For ISR the URL is normalized to the prerenderPath so if
|
|
576
|
+
// it's a data request the URL path will be the data URL,
|
|
577
|
+
// basePath is already stripped by this point
|
|
578
|
+
if ((_this_normalizers_data = this.normalizers.data) == null ? void 0 : _this_normalizers_data.match(urlPathname)) {
|
|
579
|
+
parsedUrl.query.__nextDataReq = "1";
|
|
580
|
+
} else if (((_this_normalizers_postponed = this.normalizers.postponed) == null ? void 0 : _this_normalizers_postponed.match(matchedPath)) && req.method === "POST") {
|
|
581
|
+
// Decode the postponed state from the request body, it will come as
|
|
582
|
+
// an array of buffers, so collect them and then concat them to form
|
|
583
|
+
// the string.
|
|
584
|
+
const body = [];
|
|
585
|
+
for await (const chunk of req.body){
|
|
586
|
+
body.push(chunk);
|
|
587
|
+
}
|
|
588
|
+
const postponed = Buffer.concat(body).toString("utf8");
|
|
589
|
+
(0, _requestmeta.addRequestMeta)(req, "postponed", postponed);
|
|
590
|
+
// If the request does not have the `x-now-route-matches` header,
|
|
591
|
+
// it means that the request has it's exact path specified in the
|
|
592
|
+
// `x-matched-path` header. In this case, we should update the
|
|
593
|
+
// pathname to the matched path.
|
|
594
|
+
if (!req.headers["x-now-route-matches"]) {
|
|
595
|
+
urlPathname = this.normalizers.postponed.normalize(matchedPath, true);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
matchedPath = this.normalize(matchedPath);
|
|
599
|
+
const normalizedUrlPath = this.stripNextDataPath(urlPathname);
|
|
600
|
+
// Perform locale detection and normalization.
|
|
601
|
+
const localeAnalysisResult = (_this_i18nProvider2 = this.i18nProvider) == null ? void 0 : _this_i18nProvider2.analyze(matchedPath, {
|
|
602
|
+
defaultLocale
|
|
603
|
+
});
|
|
604
|
+
// The locale result will be defined even if the locale was not
|
|
605
|
+
// detected for the request because it will be inferred from the
|
|
606
|
+
// default locale.
|
|
607
|
+
if (localeAnalysisResult) {
|
|
608
|
+
parsedUrl.query.__nextLocale = localeAnalysisResult.detectedLocale;
|
|
609
|
+
// If the detected locale was inferred from the default locale, we
|
|
610
|
+
// need to modify the metadata on the request to indicate that.
|
|
611
|
+
if (localeAnalysisResult.inferredFromDefault) {
|
|
612
|
+
parsedUrl.query.__nextInferredLocaleFromDefault = "1";
|
|
613
|
+
} else {
|
|
614
|
+
delete parsedUrl.query.__nextInferredLocaleFromDefault;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
// TODO: check if this is needed any more?
|
|
618
|
+
matchedPath = (0, _denormalizepagepath.denormalizePagePath)(matchedPath);
|
|
619
|
+
let srcPathname = matchedPath;
|
|
620
|
+
let pageIsDynamic = (0, _utils1.isDynamicRoute)(srcPathname);
|
|
621
|
+
if (!pageIsDynamic) {
|
|
622
|
+
const match = await this.matchers.match(srcPathname, {
|
|
623
|
+
i18n: localeAnalysisResult
|
|
624
|
+
});
|
|
625
|
+
// Update the source pathname to the matched page's pathname.
|
|
626
|
+
if (match) {
|
|
627
|
+
srcPathname = match.definition.pathname;
|
|
628
|
+
// The page is dynamic if the params are defined.
|
|
629
|
+
pageIsDynamic = typeof match.params !== "undefined";
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
// The rest of this function can't handle i18n properly, so ensure we
|
|
633
|
+
// restore the pathname with the locale information stripped from it
|
|
634
|
+
// now that we're done matching if we're using i18n.
|
|
635
|
+
if (localeAnalysisResult) {
|
|
636
|
+
matchedPath = localeAnalysisResult.pathname;
|
|
637
|
+
}
|
|
638
|
+
const utils = (0, _serverutils.getUtils)({
|
|
639
|
+
pageIsDynamic,
|
|
640
|
+
page: srcPathname,
|
|
641
|
+
i18n: this.nextConfig.i18n,
|
|
642
|
+
basePath: this.nextConfig.basePath,
|
|
643
|
+
rewrites: ((_this_getRoutesManifest = this.getRoutesManifest()) == null ? void 0 : _this_getRoutesManifest.rewrites) || {
|
|
644
|
+
beforeFiles: [],
|
|
645
|
+
afterFiles: [],
|
|
646
|
+
fallback: []
|
|
647
|
+
},
|
|
648
|
+
caseSensitive: !!this.nextConfig.experimental.caseSensitiveRoutes
|
|
649
|
+
});
|
|
650
|
+
// Ensure parsedUrl.pathname includes locale before processing
|
|
651
|
+
// rewrites or they won't match correctly.
|
|
652
|
+
if (defaultLocale && !pathnameInfo.locale) {
|
|
653
|
+
parsedUrl.pathname = `/${defaultLocale}${parsedUrl.pathname}`;
|
|
654
|
+
}
|
|
655
|
+
const pathnameBeforeRewrite = parsedUrl.pathname;
|
|
656
|
+
const rewriteParams = utils.handleRewrites(req, parsedUrl);
|
|
657
|
+
const rewriteParamKeys = Object.keys(rewriteParams);
|
|
658
|
+
const didRewrite = pathnameBeforeRewrite !== parsedUrl.pathname;
|
|
659
|
+
if (didRewrite && parsedUrl.pathname) {
|
|
660
|
+
(0, _requestmeta.addRequestMeta)(req, "rewroteURL", parsedUrl.pathname);
|
|
661
|
+
}
|
|
662
|
+
const routeParamKeys = new Set();
|
|
663
|
+
for (const key of Object.keys(parsedUrl.query)){
|
|
664
|
+
const value = parsedUrl.query[key];
|
|
665
|
+
(0, _utils3.normalizeNextQueryParam)(key, (normalizedKey)=>{
|
|
666
|
+
if (!parsedUrl) return; // typeguard
|
|
667
|
+
parsedUrl.query[normalizedKey] = value;
|
|
668
|
+
routeParamKeys.add(normalizedKey);
|
|
669
|
+
delete parsedUrl.query[key];
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
// interpolate dynamic params and normalize URL if needed
|
|
673
|
+
if (pageIsDynamic) {
|
|
674
|
+
let params = {};
|
|
675
|
+
let paramsResult = utils.normalizeDynamicRouteParams(parsedUrl.query);
|
|
676
|
+
// for prerendered ISR paths we attempt parsing the route
|
|
677
|
+
// params from the URL directly as route-matches may not
|
|
678
|
+
// contain the correct values due to the filesystem path
|
|
679
|
+
// matching before the dynamic route has been matched
|
|
680
|
+
if (!paramsResult.hasValidParams && pageIsDynamic && !(0, _utils1.isDynamicRoute)(normalizedUrlPath)) {
|
|
681
|
+
let matcherParams = utils.dynamicRouteMatcher == null ? void 0 : utils.dynamicRouteMatcher.call(utils, normalizedUrlPath);
|
|
682
|
+
if (matcherParams) {
|
|
683
|
+
utils.normalizeDynamicRouteParams(matcherParams);
|
|
684
|
+
Object.assign(paramsResult.params, matcherParams);
|
|
685
|
+
paramsResult.hasValidParams = true;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
if (paramsResult.hasValidParams) {
|
|
689
|
+
params = paramsResult.params;
|
|
690
|
+
}
|
|
691
|
+
if (req.headers["x-now-route-matches"] && (0, _utils1.isDynamicRoute)(matchedPath) && !paramsResult.hasValidParams) {
|
|
692
|
+
const opts = {};
|
|
693
|
+
const routeParams = utils.getParamsFromRouteMatches(req, opts, parsedUrl.query.__nextLocale || "");
|
|
694
|
+
// If this returns a locale, it means that the locale was detected
|
|
695
|
+
// from the pathname.
|
|
696
|
+
if (opts.locale) {
|
|
697
|
+
parsedUrl.query.__nextLocale = opts.locale;
|
|
698
|
+
// As the locale was parsed from the pathname, we should mark
|
|
699
|
+
// that the locale was not inferred as the default.
|
|
700
|
+
delete parsedUrl.query.__nextInferredLocaleFromDefault;
|
|
701
|
+
}
|
|
702
|
+
paramsResult = utils.normalizeDynamicRouteParams(routeParams, true);
|
|
703
|
+
if (paramsResult.hasValidParams) {
|
|
704
|
+
params = paramsResult.params;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
// handle the actual dynamic route name being requested
|
|
708
|
+
if (pageIsDynamic && utils.defaultRouteMatches && normalizedUrlPath === srcPathname && !paramsResult.hasValidParams && !utils.normalizeDynamicRouteParams({
|
|
709
|
+
...params
|
|
710
|
+
}, true).hasValidParams) {
|
|
711
|
+
params = utils.defaultRouteMatches;
|
|
712
|
+
}
|
|
713
|
+
if (params) {
|
|
714
|
+
matchedPath = utils.interpolateDynamicPath(srcPathname, params);
|
|
715
|
+
req.url = utils.interpolateDynamicPath(req.url, params);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
if (pageIsDynamic || didRewrite) {
|
|
719
|
+
var _utils_defaultRouteRegex;
|
|
720
|
+
utils.normalizeVercelUrl(req, true, [
|
|
721
|
+
...rewriteParamKeys,
|
|
722
|
+
...Object.keys(((_utils_defaultRouteRegex = utils.defaultRouteRegex) == null ? void 0 : _utils_defaultRouteRegex.groups) || {})
|
|
723
|
+
]);
|
|
724
|
+
}
|
|
725
|
+
for (const key of routeParamKeys){
|
|
726
|
+
delete parsedUrl.query[key];
|
|
727
|
+
}
|
|
728
|
+
parsedUrl.pathname = matchedPath;
|
|
729
|
+
url.pathname = parsedUrl.pathname;
|
|
730
|
+
finished = await this.normalizeAndAttachMetadata(req, res, parsedUrl);
|
|
731
|
+
if (finished) return;
|
|
732
|
+
} catch (err) {
|
|
733
|
+
if (err instanceof _utils.DecodeError || err instanceof _utils.NormalizeError) {
|
|
734
|
+
res.statusCode = 400;
|
|
735
|
+
return this.renderError(null, req, res, "/_error", {});
|
|
736
|
+
}
|
|
737
|
+
throw err;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
(0, _requestmeta.addRequestMeta)(req, "isLocaleDomain", Boolean(domainLocale));
|
|
741
|
+
if (pathnameInfo.locale) {
|
|
742
|
+
req.url = (0, _url.format)(url);
|
|
743
|
+
(0, _requestmeta.addRequestMeta)(req, "didStripLocale", true);
|
|
744
|
+
}
|
|
745
|
+
// If we aren't in minimal mode or there is no locale in the query
|
|
746
|
+
// string, add the locale to the query string.
|
|
747
|
+
if (!this.minimalMode || !parsedUrl.query.__nextLocale) {
|
|
748
|
+
// If the locale is in the pathname, add it to the query string.
|
|
749
|
+
if (pathnameInfo.locale) {
|
|
750
|
+
parsedUrl.query.__nextLocale = pathnameInfo.locale;
|
|
751
|
+
} else if (defaultLocale) {
|
|
752
|
+
parsedUrl.query.__nextLocale = defaultLocale;
|
|
753
|
+
parsedUrl.query.__nextInferredLocaleFromDefault = "1";
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
// set incremental cache to request meta so it can
|
|
757
|
+
// be passed down for edge functions and the fetch disk
|
|
758
|
+
// cache can be leveraged locally
|
|
759
|
+
if (!this.serverOptions.webServerConfig && !(0, _requestmeta.getRequestMeta)(req, "incrementalCache")) {
|
|
760
|
+
let protocol = "https:";
|
|
761
|
+
try {
|
|
762
|
+
const parsedFullUrl = new URL((0, _requestmeta.getRequestMeta)(req, "initURL") || "/", "http://n");
|
|
763
|
+
protocol = parsedFullUrl.protocol;
|
|
764
|
+
} catch {}
|
|
765
|
+
const incrementalCache = await this.getIncrementalCache({
|
|
766
|
+
requestHeaders: Object.assign({}, req.headers),
|
|
767
|
+
requestProtocol: protocol.substring(0, protocol.length - 1)
|
|
768
|
+
});
|
|
769
|
+
incrementalCache.resetRequestCache();
|
|
770
|
+
(0, _requestmeta.addRequestMeta)(req, "incrementalCache", incrementalCache);
|
|
771
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
772
|
+
}
|
|
773
|
+
// when invokePath is specified we can short short circuit resolving
|
|
774
|
+
// we only honor this header if we are inside of a render worker to
|
|
775
|
+
// prevent external users coercing the routing path
|
|
776
|
+
const invokePath = (0, _requestmeta.getRequestMeta)(req, "invokePath");
|
|
777
|
+
const useInvokePath = !useMatchedPathHeader && process.env.NEXT_RUNTIME !== "edge" && invokePath;
|
|
778
|
+
if (useInvokePath) {
|
|
779
|
+
var _this_nextConfig_i18n1;
|
|
780
|
+
const invokeStatus = (0, _requestmeta.getRequestMeta)(req, "invokeStatus");
|
|
781
|
+
if (invokeStatus) {
|
|
782
|
+
const invokeQuery = (0, _requestmeta.getRequestMeta)(req, "invokeQuery");
|
|
783
|
+
if (invokeQuery) {
|
|
784
|
+
Object.assign(parsedUrl.query, invokeQuery);
|
|
785
|
+
}
|
|
786
|
+
res.statusCode = invokeStatus;
|
|
787
|
+
let err = (0, _requestmeta.getRequestMeta)(req, "invokeError") || null;
|
|
788
|
+
return this.renderError(err, req, res, "/_error", parsedUrl.query);
|
|
789
|
+
}
|
|
790
|
+
const parsedMatchedPath = new URL(invokePath || "/", "http://n");
|
|
791
|
+
const invokePathnameInfo = (0, _getnextpathnameinfo.getNextPathnameInfo)(parsedMatchedPath.pathname, {
|
|
792
|
+
nextConfig: this.nextConfig,
|
|
793
|
+
parseData: false
|
|
794
|
+
});
|
|
795
|
+
if (invokePathnameInfo.locale) {
|
|
796
|
+
parsedUrl.query.__nextLocale = invokePathnameInfo.locale;
|
|
797
|
+
}
|
|
798
|
+
if (parsedUrl.pathname !== parsedMatchedPath.pathname) {
|
|
799
|
+
parsedUrl.pathname = parsedMatchedPath.pathname;
|
|
800
|
+
(0, _requestmeta.addRequestMeta)(req, "rewroteURL", invokePathnameInfo.pathname);
|
|
801
|
+
}
|
|
802
|
+
const normalizeResult = (0, _normalizelocalepath.normalizeLocalePath)((0, _removepathprefix.removePathPrefix)(parsedUrl.pathname, this.nextConfig.basePath || ""), ((_this_nextConfig_i18n1 = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n1.locales) || []);
|
|
803
|
+
if (normalizeResult.detectedLocale) {
|
|
804
|
+
parsedUrl.query.__nextLocale = normalizeResult.detectedLocale;
|
|
805
|
+
}
|
|
806
|
+
parsedUrl.pathname = normalizeResult.pathname;
|
|
807
|
+
for (const key of Object.keys(parsedUrl.query)){
|
|
808
|
+
if (!key.startsWith("__next") && !key.startsWith("_next")) {
|
|
809
|
+
delete parsedUrl.query[key];
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
const invokeQuery = (0, _requestmeta.getRequestMeta)(req, "invokeQuery");
|
|
813
|
+
if (invokeQuery) {
|
|
814
|
+
Object.assign(parsedUrl.query, invokeQuery);
|
|
815
|
+
}
|
|
816
|
+
finished = await this.normalizeAndAttachMetadata(req, res, parsedUrl);
|
|
817
|
+
if (finished) return;
|
|
818
|
+
await this.handleCatchallRenderRequest(req, res, parsedUrl);
|
|
819
|
+
return;
|
|
820
|
+
}
|
|
821
|
+
if (process.env.NEXT_RUNTIME !== "edge" && (0, _requestmeta.getRequestMeta)(req, "middlewareInvoke")) {
|
|
822
|
+
finished = await this.normalizeAndAttachMetadata(req, res, parsedUrl);
|
|
823
|
+
if (finished) return;
|
|
824
|
+
finished = await this.handleCatchallMiddlewareRequest(req, res, parsedUrl);
|
|
825
|
+
if (finished) return;
|
|
826
|
+
const err = new Error();
|
|
827
|
+
err.result = {
|
|
828
|
+
response: new Response(null, {
|
|
829
|
+
headers: {
|
|
830
|
+
"x-middleware-next": "1"
|
|
831
|
+
}
|
|
832
|
+
})
|
|
833
|
+
};
|
|
834
|
+
err.bubble = true;
|
|
835
|
+
throw err;
|
|
836
|
+
}
|
|
837
|
+
// This wasn't a request via the matched path or the invoke path, so
|
|
838
|
+
// prepare for a legacy run by removing the base path.
|
|
839
|
+
// ensure we strip the basePath when not using an invoke header
|
|
840
|
+
if (!useMatchedPathHeader && pathnameInfo.basePath) {
|
|
841
|
+
parsedUrl.pathname = (0, _removepathprefix.removePathPrefix)(parsedUrl.pathname, pathnameInfo.basePath);
|
|
842
|
+
}
|
|
843
|
+
res.statusCode = 200;
|
|
844
|
+
return await this.run(req, res, parsedUrl);
|
|
845
|
+
} catch (err) {
|
|
846
|
+
if (err instanceof NoFallbackError) {
|
|
847
|
+
throw err;
|
|
848
|
+
}
|
|
849
|
+
if (err && typeof err === "object" && err.code === "ERR_INVALID_URL" || err instanceof _utils.DecodeError || err instanceof _utils.NormalizeError) {
|
|
850
|
+
res.statusCode = 400;
|
|
851
|
+
return this.renderError(null, req, res, "/_error", {});
|
|
852
|
+
}
|
|
853
|
+
if (this.minimalMode || this.renderOpts.dev || err.bubble) {
|
|
854
|
+
throw err;
|
|
855
|
+
}
|
|
856
|
+
this.logError((0, _iserror.getProperError)(err));
|
|
857
|
+
res.statusCode = 500;
|
|
858
|
+
res.body("Internal Server Error").send();
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* @internal - this method is internal to Next.js and should not be used directly by end-users
|
|
863
|
+
*/ getRequestHandlerWithMetadata(meta) {
|
|
864
|
+
const handler = this.getRequestHandler();
|
|
865
|
+
return (req, res, parsedUrl)=>{
|
|
866
|
+
(0, _requestmeta.setRequestMeta)(req, meta);
|
|
867
|
+
return handler(req, res, parsedUrl);
|
|
868
|
+
};
|
|
869
|
+
}
|
|
870
|
+
getRequestHandler() {
|
|
871
|
+
return this.handleRequest.bind(this);
|
|
872
|
+
}
|
|
873
|
+
setAssetPrefix(prefix) {
|
|
874
|
+
this.renderOpts.assetPrefix = prefix ? prefix.replace(/\/$/, "") : "";
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* Runs async initialization of server.
|
|
878
|
+
* It is idempotent, won't fire underlying initialization more than once.
|
|
879
|
+
*/ async prepare() {
|
|
880
|
+
if (this.prepared) return;
|
|
881
|
+
if (this.preparedPromise === null) {
|
|
882
|
+
this.preparedPromise = this.prepareImpl().then(()=>{
|
|
883
|
+
this.prepared = true;
|
|
884
|
+
this.preparedPromise = null;
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
return this.preparedPromise;
|
|
888
|
+
}
|
|
889
|
+
async prepareImpl() {}
|
|
890
|
+
// Backwards compatibility
|
|
891
|
+
async close() {}
|
|
892
|
+
getAppPathRoutes() {
|
|
893
|
+
const appPathRoutes = {};
|
|
894
|
+
Object.keys(this.appPathsManifest || {}).forEach((entry)=>{
|
|
895
|
+
const normalizedPath = (0, _apppaths.normalizeAppPath)(entry);
|
|
896
|
+
if (!appPathRoutes[normalizedPath]) {
|
|
897
|
+
appPathRoutes[normalizedPath] = [];
|
|
898
|
+
}
|
|
899
|
+
appPathRoutes[normalizedPath].push(entry);
|
|
900
|
+
});
|
|
901
|
+
return appPathRoutes;
|
|
902
|
+
}
|
|
903
|
+
async run(req, res, parsedUrl) {
|
|
904
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.run, async ()=>this.runImpl(req, res, parsedUrl));
|
|
905
|
+
}
|
|
906
|
+
async runImpl(req, res, parsedUrl) {
|
|
907
|
+
await this.handleCatchallRenderRequest(req, res, parsedUrl);
|
|
908
|
+
}
|
|
909
|
+
async pipe(fn, partialContext) {
|
|
910
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.pipe, async ()=>this.pipeImpl(fn, partialContext));
|
|
911
|
+
}
|
|
912
|
+
async pipeImpl(fn, partialContext) {
|
|
913
|
+
const isBotRequest = (0, _isbot.isBot)(partialContext.req.headers["user-agent"] || "");
|
|
914
|
+
const ctx = {
|
|
915
|
+
...partialContext,
|
|
916
|
+
renderOpts: {
|
|
917
|
+
...this.renderOpts,
|
|
918
|
+
supportsDynamicResponse: !isBotRequest,
|
|
919
|
+
isBot: !!isBotRequest
|
|
920
|
+
}
|
|
921
|
+
};
|
|
922
|
+
const payload = await fn(ctx);
|
|
923
|
+
if (payload === null) {
|
|
924
|
+
return;
|
|
925
|
+
}
|
|
926
|
+
const { req, res } = ctx;
|
|
927
|
+
const originalStatus = res.statusCode;
|
|
928
|
+
const { body, type } = payload;
|
|
929
|
+
let { revalidate } = payload;
|
|
930
|
+
if (!res.sent) {
|
|
931
|
+
const { generateEtags, poweredByHeader, dev } = this.renderOpts;
|
|
932
|
+
// In dev, we should not cache pages for any reason.
|
|
933
|
+
if (dev) {
|
|
934
|
+
res.setHeader("Cache-Control", "no-store, must-revalidate");
|
|
935
|
+
revalidate = undefined;
|
|
936
|
+
}
|
|
937
|
+
await this.sendRenderResult(req, res, {
|
|
938
|
+
result: body,
|
|
939
|
+
type,
|
|
940
|
+
generateEtags,
|
|
941
|
+
poweredByHeader,
|
|
942
|
+
revalidate,
|
|
943
|
+
swrDelta: this.nextConfig.experimental.swrDelta
|
|
944
|
+
});
|
|
945
|
+
res.statusCode = originalStatus;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
async getStaticHTML(fn, partialContext) {
|
|
949
|
+
const ctx = {
|
|
950
|
+
...partialContext,
|
|
951
|
+
renderOpts: {
|
|
952
|
+
...this.renderOpts,
|
|
953
|
+
supportsDynamicResponse: false
|
|
954
|
+
}
|
|
955
|
+
};
|
|
956
|
+
const payload = await fn(ctx);
|
|
957
|
+
if (payload === null) {
|
|
958
|
+
return null;
|
|
959
|
+
}
|
|
960
|
+
return payload.body.toUnchunkedString();
|
|
961
|
+
}
|
|
962
|
+
async render(req, res, pathname, query = {}, parsedUrl, internalRender = false) {
|
|
963
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.render, async ()=>this.renderImpl(req, res, pathname, query, parsedUrl, internalRender));
|
|
964
|
+
}
|
|
965
|
+
getWaitUntil() {
|
|
966
|
+
const builtinRequestContext = (0, _builtinrequestcontext.getBuiltinRequestContext)();
|
|
967
|
+
if (builtinRequestContext) {
|
|
968
|
+
// the platform provided a request context.
|
|
969
|
+
// use the `waitUntil` from there, whether actually present or not --
|
|
970
|
+
// if not present, `after` will error.
|
|
971
|
+
// NOTE: if we're in an edge runtime sandbox, this context will be used to forward the outer waitUntil.
|
|
972
|
+
return builtinRequestContext.waitUntil;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
async renderImpl(req, res, pathname, query = {}, parsedUrl, internalRender = false) {
|
|
976
|
+
var _req_url;
|
|
977
|
+
if (!pathname.startsWith("/")) {
|
|
978
|
+
console.warn(`Cannot render page with path "${pathname}", did you mean "/${pathname}"?. See more info here: https://nextjs.org/docs/messages/render-no-starting-slash`);
|
|
979
|
+
}
|
|
980
|
+
if (this.renderOpts.customServer && pathname === "/index" && !await this.hasPage("/index")) {
|
|
981
|
+
// maintain backwards compatibility for custom server
|
|
982
|
+
// (see custom-server integration tests)
|
|
983
|
+
pathname = "/";
|
|
984
|
+
}
|
|
985
|
+
// we allow custom servers to call render for all URLs
|
|
986
|
+
// so check if we need to serve a static _next file or not.
|
|
987
|
+
// we don't modify the URL for _next/data request but still
|
|
988
|
+
// call render so we special case this to prevent an infinite loop
|
|
989
|
+
if (!internalRender && !this.minimalMode && !query.__nextDataReq && (((_req_url = req.url) == null ? void 0 : _req_url.match(/^\/_next\//)) || this.hasStaticDir && req.url.match(/^\/static\//))) {
|
|
990
|
+
return this.handleRequest(req, res, parsedUrl);
|
|
991
|
+
}
|
|
992
|
+
if ((0, _utils2.isBlockedPage)(pathname)) {
|
|
993
|
+
return this.render404(req, res, parsedUrl);
|
|
994
|
+
}
|
|
995
|
+
return this.pipe((ctx)=>this.renderToResponse(ctx), {
|
|
996
|
+
req,
|
|
997
|
+
res,
|
|
998
|
+
pathname,
|
|
999
|
+
query
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
async getStaticPaths({ pathname }) {
|
|
1003
|
+
var _this_getPrerenderManifest_dynamicRoutes_pathname;
|
|
1004
|
+
// Read whether or not fallback should exist from the manifest.
|
|
1005
|
+
const fallbackField = (_this_getPrerenderManifest_dynamicRoutes_pathname = this.getPrerenderManifest().dynamicRoutes[pathname]) == null ? void 0 : _this_getPrerenderManifest_dynamicRoutes_pathname.fallback;
|
|
1006
|
+
return {
|
|
1007
|
+
// `staticPaths` is intentionally set to `undefined` as it should've
|
|
1008
|
+
// been caught when checking disk data.
|
|
1009
|
+
staticPaths: undefined,
|
|
1010
|
+
fallbackMode: typeof fallbackField === "string" ? "static" : fallbackField === null ? "blocking" : fallbackField
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
async renderToResponseWithComponents(requestContext, findComponentsResult) {
|
|
1014
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.renderToResponseWithComponents, async ()=>this.renderToResponseWithComponentsImpl(requestContext, findComponentsResult));
|
|
1015
|
+
}
|
|
1016
|
+
pathCouldBeIntercepted(resolvedPathname) {
|
|
1017
|
+
return (0, _interceptionroutes.isInterceptionRouteAppPath)(resolvedPathname) || this.interceptionRoutePatterns.some((regexp)=>{
|
|
1018
|
+
return regexp.test(resolvedPathname);
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
setVaryHeader(req, res, isAppPath, resolvedPathname) {
|
|
1022
|
+
const baseVaryHeader = `${_approuterheaders.RSC_HEADER}, ${_approuterheaders.NEXT_ROUTER_STATE_TREE}, ${_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER}`;
|
|
1023
|
+
const isRSCRequest = isRSCRequestCheck(req);
|
|
1024
|
+
let addedNextUrlToVary = false;
|
|
1025
|
+
if (isAppPath && this.pathCouldBeIntercepted(resolvedPathname)) {
|
|
1026
|
+
// Interception route responses can vary based on the `Next-URL` header.
|
|
1027
|
+
// We use the Vary header to signal this behavior to the client to properly cache the response.
|
|
1028
|
+
res.setHeader("vary", `${baseVaryHeader}, ${_approuterheaders.NEXT_URL}`);
|
|
1029
|
+
addedNextUrlToVary = true;
|
|
1030
|
+
} else if (isAppPath || isRSCRequest) {
|
|
1031
|
+
// We don't need to include `Next-URL` in the Vary header for non-interception routes since it won't affect the response.
|
|
1032
|
+
// We also set this header for pages to avoid caching issues when navigating between pages and app.
|
|
1033
|
+
res.setHeader("vary", baseVaryHeader);
|
|
1034
|
+
}
|
|
1035
|
+
if (!addedNextUrlToVary) {
|
|
1036
|
+
// Remove `Next-URL` from the request headers we determined it wasn't necessary to include in the Vary header.
|
|
1037
|
+
// This is to avoid any dependency on the `Next-URL` header being present when preparing the response.
|
|
1038
|
+
delete req.headers[_approuterheaders.NEXT_URL];
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
async renderToResponseWithComponentsImpl({ req, res, pathname, renderOpts: opts }, { components, query }) {
|
|
1042
|
+
var _components_Component, _this_nextConfig_i18n, _this_nextConfig_i18n1, _cacheEntry_value;
|
|
1043
|
+
if (pathname === _constants.UNDERSCORE_NOT_FOUND_ROUTE) {
|
|
1044
|
+
pathname = "/404";
|
|
1045
|
+
}
|
|
1046
|
+
const isErrorPathname = pathname === "/_error";
|
|
1047
|
+
const is404Page = pathname === "/404" || isErrorPathname && res.statusCode === 404;
|
|
1048
|
+
const is500Page = pathname === "/500" || isErrorPathname && res.statusCode === 500;
|
|
1049
|
+
const isAppPath = components.isAppPath === true;
|
|
1050
|
+
const hasServerProps = !!components.getServerSideProps;
|
|
1051
|
+
let hasStaticPaths = !!components.getStaticPaths;
|
|
1052
|
+
const isServerAction = (0, _serveractionrequestmeta.getIsServerAction)(req);
|
|
1053
|
+
const hasGetInitialProps = !!((_components_Component = components.Component) == null ? void 0 : _components_Component.getInitialProps);
|
|
1054
|
+
let isSSG = !!components.getStaticProps;
|
|
1055
|
+
// Compute the iSSG cache key. We use the rewroteUrl since
|
|
1056
|
+
// pages with fallback: false are allowed to be rewritten to
|
|
1057
|
+
// and we need to look up the path by the rewritten path
|
|
1058
|
+
let urlPathname = (0, _url.parse)(req.url || "").pathname || "/";
|
|
1059
|
+
let resolvedUrlPathname = (0, _requestmeta.getRequestMeta)(req, "rewroteURL") || urlPathname;
|
|
1060
|
+
this.setVaryHeader(req, res, isAppPath, resolvedUrlPathname);
|
|
1061
|
+
let staticPaths;
|
|
1062
|
+
let fallbackMode;
|
|
1063
|
+
let hasFallback = false;
|
|
1064
|
+
const isDynamic = (0, _utils1.isDynamicRoute)(components.page);
|
|
1065
|
+
const prerenderManifest = this.getPrerenderManifest();
|
|
1066
|
+
if (isAppPath && isDynamic) {
|
|
1067
|
+
const pathsResult = await this.getStaticPaths({
|
|
1068
|
+
pathname,
|
|
1069
|
+
page: components.page,
|
|
1070
|
+
isAppPath,
|
|
1071
|
+
requestHeaders: req.headers
|
|
1072
|
+
});
|
|
1073
|
+
staticPaths = pathsResult.staticPaths;
|
|
1074
|
+
fallbackMode = pathsResult.fallbackMode;
|
|
1075
|
+
hasFallback = typeof fallbackMode !== "undefined";
|
|
1076
|
+
if (this.nextConfig.output === "export") {
|
|
1077
|
+
const page = components.page;
|
|
1078
|
+
if (fallbackMode !== "static") {
|
|
1079
|
+
throw new Error(`Page "${page}" is missing exported function "generateStaticParams()", which is required with "output: export" config.`);
|
|
1080
|
+
}
|
|
1081
|
+
const resolvedWithoutSlash = (0, _removetrailingslash.removeTrailingSlash)(resolvedUrlPathname);
|
|
1082
|
+
if (!(staticPaths == null ? void 0 : staticPaths.includes(resolvedWithoutSlash))) {
|
|
1083
|
+
throw new Error(`Page "${page}" is missing param "${resolvedWithoutSlash}" in "generateStaticParams()", which is required with "output: export" config.`);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
if (hasFallback) {
|
|
1087
|
+
hasStaticPaths = true;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
if (hasFallback || (staticPaths == null ? void 0 : staticPaths.includes(resolvedUrlPathname)) || // this signals revalidation in deploy environments
|
|
1091
|
+
// TODO: make this more generic
|
|
1092
|
+
req.headers["x-now-route-matches"]) {
|
|
1093
|
+
isSSG = true;
|
|
1094
|
+
} else if (!this.renderOpts.dev) {
|
|
1095
|
+
isSSG ||= !!prerenderManifest.routes[(0, _toroute.toRoute)(pathname)];
|
|
1096
|
+
}
|
|
1097
|
+
// Toggle whether or not this is a Data request
|
|
1098
|
+
const isNextDataRequest = !!(query.__nextDataReq || req.headers["x-nextjs-data"] && this.serverOptions.webServerConfig) && (isSSG || hasServerProps);
|
|
1099
|
+
/**
|
|
1100
|
+
* If true, this indicates that the request being made is for an app
|
|
1101
|
+
* prefetch request.
|
|
1102
|
+
*/ const isPrefetchRSCRequest = (req.headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER.toLowerCase()] === "1" || (0, _requestmeta.getRequestMeta)(req, "isPrefetchRSCRequest")) ?? false;
|
|
1103
|
+
// when we are handling a middleware prefetch and it doesn't
|
|
1104
|
+
// resolve to a static data route we bail early to avoid
|
|
1105
|
+
// unexpected SSR invocations
|
|
1106
|
+
if (!isSSG && req.headers["x-middleware-prefetch"] && !(is404Page || pathname === "/_error")) {
|
|
1107
|
+
res.setHeader("x-matched-path", pathname);
|
|
1108
|
+
res.setHeader("x-middleware-skip", "1");
|
|
1109
|
+
res.setHeader("cache-control", "private, no-cache, no-store, max-age=0, must-revalidate");
|
|
1110
|
+
res.body("{}").send();
|
|
1111
|
+
return null;
|
|
1112
|
+
}
|
|
1113
|
+
delete query.__nextDataReq;
|
|
1114
|
+
// normalize req.url for SSG paths as it is not exposed
|
|
1115
|
+
// to getStaticProps and the asPath should not expose /_next/data
|
|
1116
|
+
if (isSSG && this.minimalMode && req.headers["x-matched-path"] && req.url.startsWith("/_next/data")) {
|
|
1117
|
+
req.url = this.stripNextDataPath(req.url);
|
|
1118
|
+
}
|
|
1119
|
+
if (!!req.headers["x-nextjs-data"] && (!res.statusCode || res.statusCode === 200)) {
|
|
1120
|
+
res.setHeader("x-nextjs-matched-path", `${query.__nextLocale ? `/${query.__nextLocale}` : ""}${pathname}`);
|
|
1121
|
+
}
|
|
1122
|
+
// Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later
|
|
1123
|
+
const isRSCRequest = isRSCRequestCheck(req);
|
|
1124
|
+
// If we're in minimal mode, then try to get the postponed information from
|
|
1125
|
+
// the request metadata. If available, use it for resuming the postponed
|
|
1126
|
+
// render.
|
|
1127
|
+
const minimalPostponed = (0, _requestmeta.getRequestMeta)(req, "postponed");
|
|
1128
|
+
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
1129
|
+
// we can use this fact to only generate the flight data for the request
|
|
1130
|
+
// because we can't cache the HTML (as it's also dynamic).
|
|
1131
|
+
const isDynamicRSCRequest = opts.experimental.ppr && isRSCRequest && !isPrefetchRSCRequest;
|
|
1132
|
+
// we need to ensure the status code if /404 is visited directly
|
|
1133
|
+
if (is404Page && !isNextDataRequest && !isRSCRequest) {
|
|
1134
|
+
res.statusCode = 404;
|
|
1135
|
+
}
|
|
1136
|
+
// ensure correct status is set when visiting a status page
|
|
1137
|
+
// directly e.g. /500
|
|
1138
|
+
if (_constants.STATIC_STATUS_PAGES.includes(pathname)) {
|
|
1139
|
+
res.statusCode = parseInt(pathname.slice(1), 10);
|
|
1140
|
+
}
|
|
1141
|
+
if (// Server actions can use non-GET/HEAD methods.
|
|
1142
|
+
!isServerAction && // Resume can use non-GET/HEAD methods.
|
|
1143
|
+
!minimalPostponed && !is404Page && !is500Page && pathname !== "/_error" && req.method !== "HEAD" && req.method !== "GET" && (typeof components.Component === "string" || isSSG)) {
|
|
1144
|
+
res.statusCode = 405;
|
|
1145
|
+
res.setHeader("Allow", [
|
|
1146
|
+
"GET",
|
|
1147
|
+
"HEAD"
|
|
1148
|
+
]);
|
|
1149
|
+
await this.renderError(null, req, res, pathname);
|
|
1150
|
+
return null;
|
|
1151
|
+
}
|
|
1152
|
+
// handle static page
|
|
1153
|
+
if (typeof components.Component === "string") {
|
|
1154
|
+
return {
|
|
1155
|
+
type: "html",
|
|
1156
|
+
// TODO: Static pages should be serialized as RenderResult
|
|
1157
|
+
body: _renderresult.default.fromStatic(components.Component)
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
if (!query.amp) {
|
|
1161
|
+
delete query.amp;
|
|
1162
|
+
}
|
|
1163
|
+
if (opts.supportsDynamicResponse === true) {
|
|
1164
|
+
var _components_Document;
|
|
1165
|
+
const isBotRequest = (0, _isbot.isBot)(req.headers["user-agent"] || "");
|
|
1166
|
+
const isSupportedDocument = typeof ((_components_Document = components.Document) == null ? void 0 : _components_Document.getInitialProps) !== "function" || // The built-in `Document` component also supports dynamic HTML for concurrent mode.
|
|
1167
|
+
_constants.NEXT_BUILTIN_DOCUMENT in components.Document;
|
|
1168
|
+
// Disable dynamic HTML in cases that we know it won't be generated,
|
|
1169
|
+
// so that we can continue generating a cache key when possible.
|
|
1170
|
+
// TODO-APP: should the first render for a dynamic app path
|
|
1171
|
+
// be static so we can collect revalidate and populate the
|
|
1172
|
+
// cache if there are no dynamic data requirements
|
|
1173
|
+
opts.supportsDynamicResponse = !isSSG && !isBotRequest && !query.amp && isSupportedDocument;
|
|
1174
|
+
opts.isBot = isBotRequest;
|
|
1175
|
+
}
|
|
1176
|
+
// In development, we always want to generate dynamic HTML.
|
|
1177
|
+
if (!isNextDataRequest && isAppPath && opts.dev) {
|
|
1178
|
+
opts.supportsDynamicResponse = true;
|
|
1179
|
+
}
|
|
1180
|
+
const defaultLocale = isSSG ? (_this_nextConfig_i18n = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n.defaultLocale : query.__nextDefaultLocale;
|
|
1181
|
+
const locale = query.__nextLocale;
|
|
1182
|
+
const locales = (_this_nextConfig_i18n1 = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n1.locales;
|
|
1183
|
+
let previewData;
|
|
1184
|
+
let isPreviewMode = false;
|
|
1185
|
+
if (hasServerProps || isSSG || isAppPath) {
|
|
1186
|
+
// For the edge runtime, we don't support preview mode in SSG.
|
|
1187
|
+
if (process.env.NEXT_RUNTIME !== "edge") {
|
|
1188
|
+
const { tryGetPreviewData } = require("./api-utils/node/try-get-preview-data");
|
|
1189
|
+
previewData = tryGetPreviewData(req, res, this.renderOpts.previewProps, !!this.nextConfig.experimental.multiZoneDraftMode);
|
|
1190
|
+
isPreviewMode = previewData !== false;
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
// If this is a request for an app path that should be statically generated
|
|
1194
|
+
// and we aren't in the edge runtime, strip the flight headers so it will
|
|
1195
|
+
// generate the static response.
|
|
1196
|
+
if (isAppPath && !opts.dev && !isPreviewMode && isSSG && isRSCRequest && !isDynamicRSCRequest && (!(0, _isedgeruntime.isEdgeRuntime)(opts.runtime) || this.serverOptions.webServerConfig)) {
|
|
1197
|
+
(0, _stripflightheaders.stripFlightHeaders)(req.headers);
|
|
1198
|
+
}
|
|
1199
|
+
let isOnDemandRevalidate = false;
|
|
1200
|
+
let revalidateOnlyGenerated = false;
|
|
1201
|
+
if (isSSG) {
|
|
1202
|
+
({ isOnDemandRevalidate, revalidateOnlyGenerated } = (0, _apiutils.checkIsOnDemandRevalidate)(req, this.renderOpts.previewProps));
|
|
1203
|
+
}
|
|
1204
|
+
if (isSSG && this.minimalMode && req.headers["x-matched-path"]) {
|
|
1205
|
+
// the url value is already correct when the matched-path header is set
|
|
1206
|
+
resolvedUrlPathname = urlPathname;
|
|
1207
|
+
}
|
|
1208
|
+
urlPathname = (0, _removetrailingslash.removeTrailingSlash)(urlPathname);
|
|
1209
|
+
resolvedUrlPathname = (0, _removetrailingslash.removeTrailingSlash)(resolvedUrlPathname);
|
|
1210
|
+
if (this.localeNormalizer) {
|
|
1211
|
+
resolvedUrlPathname = this.localeNormalizer.normalize(resolvedUrlPathname);
|
|
1212
|
+
}
|
|
1213
|
+
const handleRedirect = (pageData)=>{
|
|
1214
|
+
const redirect = {
|
|
1215
|
+
destination: pageData.pageProps.__N_REDIRECT,
|
|
1216
|
+
statusCode: pageData.pageProps.__N_REDIRECT_STATUS,
|
|
1217
|
+
basePath: pageData.pageProps.__N_REDIRECT_BASE_PATH
|
|
1218
|
+
};
|
|
1219
|
+
const statusCode = (0, _redirectstatus.getRedirectStatus)(redirect);
|
|
1220
|
+
const { basePath } = this.nextConfig;
|
|
1221
|
+
if (basePath && redirect.basePath !== false && redirect.destination.startsWith("/")) {
|
|
1222
|
+
redirect.destination = `${basePath}${redirect.destination}`;
|
|
1223
|
+
}
|
|
1224
|
+
if (redirect.destination.startsWith("/")) {
|
|
1225
|
+
redirect.destination = (0, _utils.normalizeRepeatedSlashes)(redirect.destination);
|
|
1226
|
+
}
|
|
1227
|
+
res.redirect(redirect.destination, statusCode).body(redirect.destination).send();
|
|
1228
|
+
};
|
|
1229
|
+
// remove /_next/data prefix from urlPathname so it matches
|
|
1230
|
+
// for direct page visit and /_next/data visit
|
|
1231
|
+
if (isNextDataRequest) {
|
|
1232
|
+
resolvedUrlPathname = this.stripNextDataPath(resolvedUrlPathname);
|
|
1233
|
+
urlPathname = this.stripNextDataPath(urlPathname);
|
|
1234
|
+
}
|
|
1235
|
+
let ssgCacheKey = null;
|
|
1236
|
+
if (!isPreviewMode && isSSG && !opts.supportsDynamicResponse && !isServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
1237
|
+
ssgCacheKey = `${locale ? `/${locale}` : ""}${(pathname === "/" || resolvedUrlPathname === "/") && locale ? "" : resolvedUrlPathname}${query.amp ? ".amp" : ""}`;
|
|
1238
|
+
}
|
|
1239
|
+
if ((is404Page || is500Page) && isSSG) {
|
|
1240
|
+
ssgCacheKey = `${locale ? `/${locale}` : ""}${pathname}${query.amp ? ".amp" : ""}`;
|
|
1241
|
+
}
|
|
1242
|
+
if (ssgCacheKey) {
|
|
1243
|
+
// we only encode path delimiters for path segments from
|
|
1244
|
+
// getStaticPaths so we need to attempt decoding the URL
|
|
1245
|
+
// to match against and only escape the path delimiters
|
|
1246
|
+
// this allows non-ascii values to be handled e.g. Japanese characters
|
|
1247
|
+
// TODO: investigate adding this handling for non-SSG pages so
|
|
1248
|
+
// non-ascii names work there also
|
|
1249
|
+
ssgCacheKey = ssgCacheKey.split("/").map((seg)=>{
|
|
1250
|
+
try {
|
|
1251
|
+
seg = (0, _escapepathdelimiters.default)(decodeURIComponent(seg), true);
|
|
1252
|
+
} catch (_) {
|
|
1253
|
+
// An improperly encoded URL was provided
|
|
1254
|
+
throw new _utils.DecodeError("failed to decode param");
|
|
1255
|
+
}
|
|
1256
|
+
return seg;
|
|
1257
|
+
}).join("/");
|
|
1258
|
+
// ensure /index and / is normalized to one key
|
|
1259
|
+
ssgCacheKey = ssgCacheKey === "/index" && pathname === "/" ? "/" : ssgCacheKey;
|
|
1260
|
+
}
|
|
1261
|
+
let protocol = "https:";
|
|
1262
|
+
try {
|
|
1263
|
+
const parsedFullUrl = new URL((0, _requestmeta.getRequestMeta)(req, "initURL") || "/", "http://n");
|
|
1264
|
+
protocol = parsedFullUrl.protocol;
|
|
1265
|
+
} catch {}
|
|
1266
|
+
// use existing incrementalCache instance if available
|
|
1267
|
+
const incrementalCache = process.env.NEXT_RUNTIME === "edge" && globalThis.__incrementalCache ? globalThis.__incrementalCache : await this.getIncrementalCache({
|
|
1268
|
+
requestHeaders: Object.assign({}, req.headers),
|
|
1269
|
+
requestProtocol: protocol.substring(0, protocol.length - 1)
|
|
1270
|
+
});
|
|
1271
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
1272
|
+
const { routeModule } = components;
|
|
1273
|
+
// allow debugging the skeleton in dev with PPR
|
|
1274
|
+
// instead of continuing to resume stream right away
|
|
1275
|
+
const isDebugPPRSkeleton = Boolean(this.nextConfig.experimental.ppr && (this.renderOpts.dev || this.experimentalTestProxy) && query.__nextppronly);
|
|
1276
|
+
const doRender = async ({ postponed })=>{
|
|
1277
|
+
// In development, we always want to generate dynamic HTML.
|
|
1278
|
+
let supportsDynamicResponse = // If we're in development, we always support dynamic HTML, unless it's
|
|
1279
|
+
// a data request, in which case we only produce static HTML.
|
|
1280
|
+
!isNextDataRequest && opts.dev === true || // If this is not SSG or does not have static paths, then it supports
|
|
1281
|
+
// dynamic HTML.
|
|
1282
|
+
!isSSG && !hasStaticPaths || // If this request has provided postponed data, it supports dynamic
|
|
1283
|
+
// HTML.
|
|
1284
|
+
typeof postponed === "string" || // If this is a dynamic RSC request, then this render supports dynamic
|
|
1285
|
+
// HTML (it's dynamic).
|
|
1286
|
+
isDynamicRSCRequest;
|
|
1287
|
+
const origQuery = (0, _url.parse)(req.url || "", true).query;
|
|
1288
|
+
// clear any dynamic route params so they aren't in
|
|
1289
|
+
// the resolvedUrl
|
|
1290
|
+
if (opts.params) {
|
|
1291
|
+
Object.keys(opts.params).forEach((key)=>{
|
|
1292
|
+
delete origQuery[key];
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
const hadTrailingSlash = urlPathname !== "/" && this.nextConfig.trailingSlash;
|
|
1296
|
+
const resolvedUrl = (0, _url.format)({
|
|
1297
|
+
pathname: `${resolvedUrlPathname}${hadTrailingSlash ? "/" : ""}`,
|
|
1298
|
+
// make sure to only add query values from original URL
|
|
1299
|
+
query: origQuery
|
|
1300
|
+
});
|
|
1301
|
+
const renderOpts = {
|
|
1302
|
+
...components,
|
|
1303
|
+
...opts,
|
|
1304
|
+
...isAppPath ? {
|
|
1305
|
+
incrementalCache,
|
|
1306
|
+
// This is a revalidation request if the request is for a static
|
|
1307
|
+
// page and it is not being resumed from a postponed render and
|
|
1308
|
+
// it is not a dynamic RSC request then it is a revalidation
|
|
1309
|
+
// request.
|
|
1310
|
+
isRevalidate: isSSG && !postponed && !isDynamicRSCRequest,
|
|
1311
|
+
originalPathname: components.ComponentMod.originalPathname,
|
|
1312
|
+
serverActions: this.nextConfig.experimental.serverActions
|
|
1313
|
+
} : {},
|
|
1314
|
+
isNextDataRequest,
|
|
1315
|
+
resolvedUrl,
|
|
1316
|
+
locale,
|
|
1317
|
+
locales,
|
|
1318
|
+
defaultLocale,
|
|
1319
|
+
multiZoneDraftMode: this.nextConfig.experimental.multiZoneDraftMode,
|
|
1320
|
+
// For getServerSideProps and getInitialProps we need to ensure we use the original URL
|
|
1321
|
+
// and not the resolved URL to prevent a hydration mismatch on
|
|
1322
|
+
// asPath
|
|
1323
|
+
resolvedAsPath: hasServerProps || hasGetInitialProps ? (0, _url.format)({
|
|
1324
|
+
// we use the original URL pathname less the _next/data prefix if
|
|
1325
|
+
// present
|
|
1326
|
+
pathname: `${urlPathname}${hadTrailingSlash ? "/" : ""}`,
|
|
1327
|
+
query: origQuery
|
|
1328
|
+
}) : resolvedUrl,
|
|
1329
|
+
supportsDynamicResponse,
|
|
1330
|
+
isOnDemandRevalidate,
|
|
1331
|
+
isDraftMode: isPreviewMode,
|
|
1332
|
+
isServerAction,
|
|
1333
|
+
postponed,
|
|
1334
|
+
builtInWaitUntil: this.getWaitUntil()
|
|
1335
|
+
};
|
|
1336
|
+
if (isDebugPPRSkeleton) {
|
|
1337
|
+
supportsDynamicResponse = false;
|
|
1338
|
+
renderOpts.nextExport = true;
|
|
1339
|
+
renderOpts.supportsDynamicResponse = false;
|
|
1340
|
+
renderOpts.isStaticGeneration = true;
|
|
1341
|
+
renderOpts.isRevalidate = true;
|
|
1342
|
+
renderOpts.isDebugPPRSkeleton = true;
|
|
1343
|
+
}
|
|
1344
|
+
// Legacy render methods will return a render result that needs to be
|
|
1345
|
+
// served by the server.
|
|
1346
|
+
let result;
|
|
1347
|
+
if (routeModule) {
|
|
1348
|
+
if ((0, _checks.isAppRouteRouteModule)(routeModule)) {
|
|
1349
|
+
const context = {
|
|
1350
|
+
params: opts.params,
|
|
1351
|
+
prerenderManifest,
|
|
1352
|
+
renderOpts: {
|
|
1353
|
+
// App Route's cannot postpone, so don't enable it.
|
|
1354
|
+
experimental: {
|
|
1355
|
+
ppr: false
|
|
1356
|
+
},
|
|
1357
|
+
originalPathname: components.ComponentMod.originalPathname,
|
|
1358
|
+
supportsDynamicResponse,
|
|
1359
|
+
incrementalCache,
|
|
1360
|
+
isRevalidate: isSSG,
|
|
1361
|
+
builtInWaitUntil: this.getWaitUntil()
|
|
1362
|
+
}
|
|
1363
|
+
};
|
|
1364
|
+
try {
|
|
1365
|
+
const request = _nextrequest.NextRequestAdapter.fromBaseNextRequest(req, (0, _nextrequest.signalFromNodeResponse)(res.originalResponse));
|
|
1366
|
+
const response = await routeModule.handle(request, context);
|
|
1367
|
+
req.fetchMetrics = context.renderOpts.fetchMetrics;
|
|
1368
|
+
const cacheTags = context.renderOpts.fetchTags;
|
|
1369
|
+
// If the request is for a static response, we can cache it so long
|
|
1370
|
+
// as it's not edge.
|
|
1371
|
+
if (isSSG && process.env.NEXT_RUNTIME !== "edge") {
|
|
1372
|
+
var _context_renderOpts_store;
|
|
1373
|
+
const blob = await response.blob();
|
|
1374
|
+
// Copy the headers from the response.
|
|
1375
|
+
const headers = (0, _utils3.toNodeOutgoingHttpHeaders)(response.headers);
|
|
1376
|
+
if (cacheTags) {
|
|
1377
|
+
headers[_constants2.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
1378
|
+
}
|
|
1379
|
+
if (!headers["content-type"] && blob.type) {
|
|
1380
|
+
headers["content-type"] = blob.type;
|
|
1381
|
+
}
|
|
1382
|
+
const revalidate = ((_context_renderOpts_store = context.renderOpts.store) == null ? void 0 : _context_renderOpts_store.revalidate) ?? false;
|
|
1383
|
+
// Create the cache entry for the response.
|
|
1384
|
+
const cacheEntry = {
|
|
1385
|
+
value: {
|
|
1386
|
+
kind: "ROUTE",
|
|
1387
|
+
status: response.status,
|
|
1388
|
+
body: Buffer.from(await blob.arrayBuffer()),
|
|
1389
|
+
headers
|
|
1390
|
+
},
|
|
1391
|
+
revalidate
|
|
1392
|
+
};
|
|
1393
|
+
return cacheEntry;
|
|
1394
|
+
}
|
|
1395
|
+
// Send the response now that we have copied it into the cache.
|
|
1396
|
+
await (0, _sendresponse.sendResponse)(req, res, response, context.renderOpts.waitUntil);
|
|
1397
|
+
return null;
|
|
1398
|
+
} catch (err) {
|
|
1399
|
+
// If this is during static generation, throw the error again.
|
|
1400
|
+
if (isSSG) throw err;
|
|
1401
|
+
_log.error(err);
|
|
1402
|
+
// Otherwise, send a 500 response.
|
|
1403
|
+
await (0, _sendresponse.sendResponse)(req, res, (0, _responsehandlers.handleInternalServerErrorResponse)());
|
|
1404
|
+
return null;
|
|
1405
|
+
}
|
|
1406
|
+
} else if ((0, _checks.isPagesRouteModule)(routeModule)) {
|
|
1407
|
+
// Due to the way we pass data by mutating `renderOpts`, we can't extend
|
|
1408
|
+
// the object here but only updating its `clientReferenceManifest` and
|
|
1409
|
+
// `nextFontManifest` properties.
|
|
1410
|
+
// https://github.com/vercel/next.js/blob/df7cbd904c3bd85f399d1ce90680c0ecf92d2752/packages/next/server/render.tsx#L947-L952
|
|
1411
|
+
renderOpts.nextFontManifest = this.nextFontManifest;
|
|
1412
|
+
renderOpts.clientReferenceManifest = components.clientReferenceManifest;
|
|
1413
|
+
// Call the built-in render method on the module.
|
|
1414
|
+
result = await routeModule.render(req.originalRequest ?? req, res.originalResponse ?? res, {
|
|
1415
|
+
page: pathname,
|
|
1416
|
+
params: opts.params,
|
|
1417
|
+
query,
|
|
1418
|
+
renderOpts
|
|
1419
|
+
});
|
|
1420
|
+
} else if ((0, _checks.isAppPageRouteModule)(routeModule)) {
|
|
1421
|
+
const module1 = components.routeModule;
|
|
1422
|
+
// Due to the way we pass data by mutating `renderOpts`, we can't extend the
|
|
1423
|
+
// object here but only updating its `nextFontManifest` field.
|
|
1424
|
+
// https://github.com/vercel/next.js/blob/df7cbd904c3bd85f399d1ce90680c0ecf92d2752/packages/next/server/render.tsx#L947-L952
|
|
1425
|
+
renderOpts.nextFontManifest = this.nextFontManifest;
|
|
1426
|
+
// Call the built-in render method on the module.
|
|
1427
|
+
result = await module1.render(req.originalRequest ?? req, res.originalResponse ?? res, {
|
|
1428
|
+
page: is404Page ? "/404" : pathname,
|
|
1429
|
+
params: opts.params,
|
|
1430
|
+
query,
|
|
1431
|
+
renderOpts
|
|
1432
|
+
});
|
|
1433
|
+
} else {
|
|
1434
|
+
throw new Error("Invariant: Unknown route module type");
|
|
1435
|
+
}
|
|
1436
|
+
} else {
|
|
1437
|
+
// If we didn't match a page, we should fallback to using the legacy
|
|
1438
|
+
// render method.
|
|
1439
|
+
result = await this.renderHTML(req, res, pathname, query, renderOpts);
|
|
1440
|
+
}
|
|
1441
|
+
const { metadata } = result;
|
|
1442
|
+
const { headers = {}, // Add any fetch tags that were on the page to the response headers.
|
|
1443
|
+
fetchTags: cacheTags } = metadata;
|
|
1444
|
+
if (cacheTags) {
|
|
1445
|
+
headers[_constants2.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
1446
|
+
}
|
|
1447
|
+
req.fetchMetrics = metadata.fetchMetrics;
|
|
1448
|
+
// we don't throw static to dynamic errors in dev as isSSG
|
|
1449
|
+
// is a best guess in dev since we don't have the prerender pass
|
|
1450
|
+
// to know whether the path is actually static or not
|
|
1451
|
+
if (isAppPath && isSSG && metadata.revalidate === 0 && !this.renderOpts.dev && !renderOpts.experimental.ppr) {
|
|
1452
|
+
const staticBailoutInfo = metadata.staticBailoutInfo;
|
|
1453
|
+
const err = new Error(`Page changed from static to dynamic at runtime ${urlPathname}${(staticBailoutInfo == null ? void 0 : staticBailoutInfo.description) ? `, reason: ${staticBailoutInfo.description}` : ``}` + `\nsee more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`);
|
|
1454
|
+
if (staticBailoutInfo == null ? void 0 : staticBailoutInfo.stack) {
|
|
1455
|
+
const stack = staticBailoutInfo.stack;
|
|
1456
|
+
err.stack = err.message + stack.substring(stack.indexOf("\n"));
|
|
1457
|
+
}
|
|
1458
|
+
throw err;
|
|
1459
|
+
}
|
|
1460
|
+
// Based on the metadata, we can determine what kind of cache result we
|
|
1461
|
+
// should return.
|
|
1462
|
+
// Handle `isNotFound`.
|
|
1463
|
+
if ("isNotFound" in metadata && metadata.isNotFound) {
|
|
1464
|
+
return {
|
|
1465
|
+
value: null,
|
|
1466
|
+
revalidate: metadata.revalidate
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
// Handle `isRedirect`.
|
|
1470
|
+
if (metadata.isRedirect) {
|
|
1471
|
+
return {
|
|
1472
|
+
value: {
|
|
1473
|
+
kind: "REDIRECT",
|
|
1474
|
+
props: metadata.pageData ?? metadata.flightData
|
|
1475
|
+
},
|
|
1476
|
+
revalidate: metadata.revalidate
|
|
1477
|
+
};
|
|
1478
|
+
}
|
|
1479
|
+
// Handle `isNull`.
|
|
1480
|
+
if (result.isNull) {
|
|
1481
|
+
return null;
|
|
1482
|
+
}
|
|
1483
|
+
// We now have a valid HTML result that we can return to the user.
|
|
1484
|
+
return {
|
|
1485
|
+
value: {
|
|
1486
|
+
kind: "PAGE",
|
|
1487
|
+
html: result,
|
|
1488
|
+
pageData: metadata.pageData ?? metadata.flightData,
|
|
1489
|
+
postponed: metadata.postponed,
|
|
1490
|
+
headers,
|
|
1491
|
+
status: isAppPath ? res.statusCode : undefined
|
|
1492
|
+
},
|
|
1493
|
+
revalidate: metadata.revalidate
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
const cacheEntry = await this.responseCache.get(ssgCacheKey, async (hasResolved, previousCacheEntry, isRevalidating)=>{
|
|
1497
|
+
const isProduction = !this.renderOpts.dev;
|
|
1498
|
+
const didRespond = hasResolved || res.sent;
|
|
1499
|
+
if (!staticPaths) {
|
|
1500
|
+
({ staticPaths, fallbackMode } = hasStaticPaths ? await this.getStaticPaths({
|
|
1501
|
+
pathname,
|
|
1502
|
+
requestHeaders: req.headers,
|
|
1503
|
+
isAppPath,
|
|
1504
|
+
page: components.page
|
|
1505
|
+
}) : {
|
|
1506
|
+
staticPaths: undefined,
|
|
1507
|
+
fallbackMode: false
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
if (fallbackMode === "static" && (0, _isbot.isBot)(req.headers["user-agent"] || "")) {
|
|
1511
|
+
fallbackMode = "blocking";
|
|
1512
|
+
}
|
|
1513
|
+
// skip on-demand revalidate if cache is not present and
|
|
1514
|
+
// revalidate-if-generated is set
|
|
1515
|
+
if (isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry && !this.minimalMode) {
|
|
1516
|
+
await this.render404(req, res);
|
|
1517
|
+
return null;
|
|
1518
|
+
}
|
|
1519
|
+
if ((previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) === -1) {
|
|
1520
|
+
isOnDemandRevalidate = true;
|
|
1521
|
+
}
|
|
1522
|
+
// only allow on-demand revalidate for fallback: true/blocking
|
|
1523
|
+
// or for prerendered fallback: false paths
|
|
1524
|
+
if (isOnDemandRevalidate && (fallbackMode !== false || previousCacheEntry)) {
|
|
1525
|
+
fallbackMode = "blocking";
|
|
1526
|
+
}
|
|
1527
|
+
// We use `ssgCacheKey` here as it is normalized to match the encoding
|
|
1528
|
+
// from getStaticPaths along with including the locale.
|
|
1529
|
+
//
|
|
1530
|
+
// We use the `resolvedUrlPathname` for the development case when this
|
|
1531
|
+
// is an app path since it doesn't include locale information.
|
|
1532
|
+
let staticPathKey = ssgCacheKey ?? (opts.dev && isAppPath ? resolvedUrlPathname : null);
|
|
1533
|
+
if (staticPathKey && query.amp) {
|
|
1534
|
+
staticPathKey = staticPathKey.replace(/\.amp$/, "");
|
|
1535
|
+
}
|
|
1536
|
+
const isPageIncludedInStaticPaths = staticPathKey && (staticPaths == null ? void 0 : staticPaths.includes(staticPathKey));
|
|
1537
|
+
if (this.nextConfig.experimental.isExperimentalCompile) {
|
|
1538
|
+
fallbackMode = "blocking";
|
|
1539
|
+
}
|
|
1540
|
+
// When we did not respond from cache, we need to choose to block on
|
|
1541
|
+
// rendering or return a skeleton.
|
|
1542
|
+
//
|
|
1543
|
+
// - Data requests always block.
|
|
1544
|
+
// - Blocking mode fallback always blocks.
|
|
1545
|
+
// - Preview mode toggles all pages to be resolved in a blocking manner.
|
|
1546
|
+
// - Non-dynamic pages should block (though this is an impossible
|
|
1547
|
+
// case in production).
|
|
1548
|
+
// - Dynamic pages should return their skeleton if not defined in
|
|
1549
|
+
// getStaticPaths, then finish the data request on the client-side.
|
|
1550
|
+
//
|
|
1551
|
+
if (process.env.NEXT_RUNTIME !== "edge" && !this.minimalMode && fallbackMode !== "blocking" && staticPathKey && !didRespond && !isPreviewMode && isDynamic && (isProduction || !staticPaths || !isPageIncludedInStaticPaths)) {
|
|
1552
|
+
if (// In development, fall through to render to handle missing
|
|
1553
|
+
// getStaticPaths.
|
|
1554
|
+
(isProduction || staticPaths && (staticPaths == null ? void 0 : staticPaths.length) > 0) && // When fallback isn't present, abort this render so we 404
|
|
1555
|
+
fallbackMode !== "static") {
|
|
1556
|
+
throw new NoFallbackError();
|
|
1557
|
+
}
|
|
1558
|
+
if (!isNextDataRequest) {
|
|
1559
|
+
// Production already emitted the fallback as static HTML.
|
|
1560
|
+
if (isProduction) {
|
|
1561
|
+
const html = await this.getFallback(locale ? `/${locale}${pathname}` : pathname);
|
|
1562
|
+
return {
|
|
1563
|
+
value: {
|
|
1564
|
+
kind: "PAGE",
|
|
1565
|
+
html: _renderresult.default.fromStatic(html),
|
|
1566
|
+
postponed: undefined,
|
|
1567
|
+
status: undefined,
|
|
1568
|
+
headers: undefined,
|
|
1569
|
+
pageData: {}
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
} else {
|
|
1573
|
+
query.__nextFallback = "true";
|
|
1574
|
+
// We pass `undefined` as there cannot be a postponed state in
|
|
1575
|
+
// development.
|
|
1576
|
+
const result = await doRender({
|
|
1577
|
+
postponed: undefined
|
|
1578
|
+
});
|
|
1579
|
+
if (!result) {
|
|
1580
|
+
return null;
|
|
1581
|
+
}
|
|
1582
|
+
// Prevent caching this result
|
|
1583
|
+
delete result.revalidate;
|
|
1584
|
+
return result;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
const result = await doRender({
|
|
1589
|
+
// Only requests that aren't revalidating can be resumed. If we have the
|
|
1590
|
+
// minimal postponed data, then we should resume the render with it.
|
|
1591
|
+
postponed: !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined
|
|
1592
|
+
});
|
|
1593
|
+
if (!result) {
|
|
1594
|
+
return null;
|
|
1595
|
+
}
|
|
1596
|
+
return {
|
|
1597
|
+
...result,
|
|
1598
|
+
revalidate: result.revalidate
|
|
1599
|
+
};
|
|
1600
|
+
}, {
|
|
1601
|
+
routeKind: routeModule == null ? void 0 : routeModule.definition.kind,
|
|
1602
|
+
incrementalCache,
|
|
1603
|
+
isOnDemandRevalidate,
|
|
1604
|
+
isPrefetch: req.headers.purpose === "prefetch"
|
|
1605
|
+
});
|
|
1606
|
+
if (isPreviewMode) {
|
|
1607
|
+
res.setHeader("Cache-Control", "private, no-cache, no-store, max-age=0, must-revalidate");
|
|
1608
|
+
}
|
|
1609
|
+
if (!cacheEntry) {
|
|
1610
|
+
if (ssgCacheKey && !(isOnDemandRevalidate && revalidateOnlyGenerated)) {
|
|
1611
|
+
// A cache entry might not be generated if a response is written
|
|
1612
|
+
// in `getInitialProps` or `getServerSideProps`, but those shouldn't
|
|
1613
|
+
// have a cache key. If we do have a cache key but we don't end up
|
|
1614
|
+
// with a cache entry, then either Next.js or the application has a
|
|
1615
|
+
// bug that needs fixing.
|
|
1616
|
+
throw new Error("invariant: cache entry required but not generated");
|
|
1617
|
+
}
|
|
1618
|
+
return null;
|
|
1619
|
+
}
|
|
1620
|
+
const didPostpone = ((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) === "PAGE" && !!cacheEntry.value.postponed;
|
|
1621
|
+
if (isSSG && !this.minimalMode && // We don't want to send a cache header for requests that contain dynamic
|
|
1622
|
+
// data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
|
|
1623
|
+
// request, then we should set the cache header.
|
|
1624
|
+
!isDynamicRSCRequest && (!didPostpone || isPrefetchRSCRequest)) {
|
|
1625
|
+
// set x-nextjs-cache header to match the header
|
|
1626
|
+
// we set for the image-optimizer
|
|
1627
|
+
res.setHeader("x-nextjs-cache", isOnDemandRevalidate ? "REVALIDATED" : cacheEntry.isMiss ? "MISS" : cacheEntry.isStale ? "STALE" : "HIT");
|
|
1628
|
+
}
|
|
1629
|
+
const { value: cachedData } = cacheEntry;
|
|
1630
|
+
// If the cache value is an image, we should error early.
|
|
1631
|
+
if ((cachedData == null ? void 0 : cachedData.kind) === "IMAGE") {
|
|
1632
|
+
throw new Error("invariant SSG should not return an image cache value");
|
|
1633
|
+
}
|
|
1634
|
+
// Coerce the revalidate parameter from the render.
|
|
1635
|
+
let revalidate;
|
|
1636
|
+
// If this is a resume request in minimal mode it is streamed with dynamic
|
|
1637
|
+
// content and should not be cached.
|
|
1638
|
+
if (minimalPostponed) {
|
|
1639
|
+
revalidate = 0;
|
|
1640
|
+
} else if (this.minimalMode && isRSCRequest && !isPrefetchRSCRequest && opts.experimental.ppr) {
|
|
1641
|
+
revalidate = 0;
|
|
1642
|
+
} else if (!this.renderOpts.dev || hasServerProps && !isNextDataRequest) {
|
|
1643
|
+
// If this is a preview mode request, we shouldn't cache it. We also don't
|
|
1644
|
+
// cache 404 pages.
|
|
1645
|
+
if (isPreviewMode || is404Page && !isNextDataRequest) {
|
|
1646
|
+
revalidate = 0;
|
|
1647
|
+
} else if (!isSSG) {
|
|
1648
|
+
if (!res.getHeader("Cache-Control")) {
|
|
1649
|
+
revalidate = 0;
|
|
1650
|
+
}
|
|
1651
|
+
} else if (is404Page) {
|
|
1652
|
+
const notFoundRevalidate = (0, _requestmeta.getRequestMeta)(req, "notFoundRevalidate");
|
|
1653
|
+
revalidate = typeof notFoundRevalidate === "undefined" ? 0 : notFoundRevalidate;
|
|
1654
|
+
} else if (is500Page) {
|
|
1655
|
+
revalidate = 0;
|
|
1656
|
+
} else if (typeof cacheEntry.revalidate === "number") {
|
|
1657
|
+
if (cacheEntry.revalidate < 1) {
|
|
1658
|
+
throw new Error(`Invariant: invalid Cache-Control duration provided: ${cacheEntry.revalidate} < 1`);
|
|
1659
|
+
}
|
|
1660
|
+
revalidate = cacheEntry.revalidate;
|
|
1661
|
+
} else if (cacheEntry.revalidate === false) {
|
|
1662
|
+
revalidate = _constants2.CACHE_ONE_YEAR;
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
cacheEntry.revalidate = revalidate;
|
|
1666
|
+
// If there's a callback for `onCacheEntry`, call it with the cache entry
|
|
1667
|
+
// and the revalidate options.
|
|
1668
|
+
const onCacheEntry = (0, _requestmeta.getRequestMeta)(req, "onCacheEntry");
|
|
1669
|
+
if (onCacheEntry) {
|
|
1670
|
+
const finished = await onCacheEntry(cacheEntry, {
|
|
1671
|
+
url: (0, _requestmeta.getRequestMeta)(req, "initURL")
|
|
1672
|
+
});
|
|
1673
|
+
if (finished) {
|
|
1674
|
+
// TODO: maybe we have to end the request?
|
|
1675
|
+
return null;
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
if (!cachedData) {
|
|
1679
|
+
// add revalidate metadata before rendering 404 page
|
|
1680
|
+
// so that we can use this as source of truth for the
|
|
1681
|
+
// cache-control header instead of what the 404 page returns
|
|
1682
|
+
// for the revalidate value
|
|
1683
|
+
(0, _requestmeta.addRequestMeta)(req, "notFoundRevalidate", cacheEntry.revalidate);
|
|
1684
|
+
// If cache control is already set on the response we don't
|
|
1685
|
+
// override it to allow users to customize it via next.config
|
|
1686
|
+
if (cacheEntry.revalidate && !res.getHeader("Cache-Control")) {
|
|
1687
|
+
res.setHeader("Cache-Control", (0, _revalidate.formatRevalidate)({
|
|
1688
|
+
revalidate: cacheEntry.revalidate,
|
|
1689
|
+
swrDelta: this.nextConfig.experimental.swrDelta
|
|
1690
|
+
}));
|
|
1691
|
+
}
|
|
1692
|
+
if (isNextDataRequest) {
|
|
1693
|
+
res.statusCode = 404;
|
|
1694
|
+
res.body('{"notFound":true}').send();
|
|
1695
|
+
return null;
|
|
1696
|
+
}
|
|
1697
|
+
if (this.renderOpts.dev) {
|
|
1698
|
+
query.__nextNotFoundSrcPage = pathname;
|
|
1699
|
+
}
|
|
1700
|
+
await this.render404(req, res, {
|
|
1701
|
+
pathname,
|
|
1702
|
+
query
|
|
1703
|
+
}, false);
|
|
1704
|
+
return null;
|
|
1705
|
+
} else if (cachedData.kind === "REDIRECT") {
|
|
1706
|
+
// If cache control is already set on the response we don't
|
|
1707
|
+
// override it to allow users to customize it via next.config
|
|
1708
|
+
if (cacheEntry.revalidate && !res.getHeader("Cache-Control")) {
|
|
1709
|
+
res.setHeader("Cache-Control", (0, _revalidate.formatRevalidate)({
|
|
1710
|
+
revalidate: cacheEntry.revalidate,
|
|
1711
|
+
swrDelta: this.nextConfig.experimental.swrDelta
|
|
1712
|
+
}));
|
|
1713
|
+
}
|
|
1714
|
+
if (isNextDataRequest) {
|
|
1715
|
+
return {
|
|
1716
|
+
type: "json",
|
|
1717
|
+
body: _renderresult.default.fromStatic(// @TODO: Handle flight data.
|
|
1718
|
+
JSON.stringify(cachedData.props)),
|
|
1719
|
+
revalidate: cacheEntry.revalidate
|
|
1720
|
+
};
|
|
1721
|
+
} else {
|
|
1722
|
+
await handleRedirect(cachedData.props);
|
|
1723
|
+
return null;
|
|
1724
|
+
}
|
|
1725
|
+
} else if (cachedData.kind === "ROUTE") {
|
|
1726
|
+
const headers = {
|
|
1727
|
+
...cachedData.headers
|
|
1728
|
+
};
|
|
1729
|
+
if (!(this.minimalMode && isSSG)) {
|
|
1730
|
+
delete headers[_constants2.NEXT_CACHE_TAGS_HEADER];
|
|
1731
|
+
}
|
|
1732
|
+
await (0, _sendresponse.sendResponse)(req, res, new Response(cachedData.body, {
|
|
1733
|
+
headers: (0, _utils3.fromNodeOutgoingHttpHeaders)(headers),
|
|
1734
|
+
status: cachedData.status || 200
|
|
1735
|
+
}));
|
|
1736
|
+
return null;
|
|
1737
|
+
} else if (isAppPath) {
|
|
1738
|
+
var _cachedData_headers;
|
|
1739
|
+
// If the request has a postponed state and it's a resume request we
|
|
1740
|
+
// should error.
|
|
1741
|
+
if (cachedData.postponed && minimalPostponed) {
|
|
1742
|
+
throw new Error("Invariant: postponed state should not be present on a resume request");
|
|
1743
|
+
}
|
|
1744
|
+
if (cachedData.headers) {
|
|
1745
|
+
const headers = {
|
|
1746
|
+
...cachedData.headers
|
|
1747
|
+
};
|
|
1748
|
+
if (!this.minimalMode || !isSSG) {
|
|
1749
|
+
delete headers[_constants2.NEXT_CACHE_TAGS_HEADER];
|
|
1750
|
+
}
|
|
1751
|
+
for (let [key, value] of Object.entries(headers)){
|
|
1752
|
+
if (typeof value === "undefined") continue;
|
|
1753
|
+
if (Array.isArray(value)) {
|
|
1754
|
+
for (const v of value){
|
|
1755
|
+
res.appendHeader(key, v);
|
|
1756
|
+
}
|
|
1757
|
+
} else if (typeof value === "number") {
|
|
1758
|
+
value = value.toString();
|
|
1759
|
+
res.appendHeader(key, value);
|
|
1760
|
+
} else {
|
|
1761
|
+
res.appendHeader(key, value);
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
if (this.minimalMode && isSSG && ((_cachedData_headers = cachedData.headers) == null ? void 0 : _cachedData_headers[_constants2.NEXT_CACHE_TAGS_HEADER])) {
|
|
1766
|
+
res.setHeader(_constants2.NEXT_CACHE_TAGS_HEADER, cachedData.headers[_constants2.NEXT_CACHE_TAGS_HEADER]);
|
|
1767
|
+
}
|
|
1768
|
+
// If the request is a data request, then we shouldn't set the status code
|
|
1769
|
+
// from the response because it should always be 200. This should be gated
|
|
1770
|
+
// behind the experimental PPR flag.
|
|
1771
|
+
if (cachedData.status && (!isRSCRequest || !opts.experimental.ppr)) {
|
|
1772
|
+
res.statusCode = cachedData.status;
|
|
1773
|
+
}
|
|
1774
|
+
// Mark that the request did postpone if this is a data request.
|
|
1775
|
+
if (cachedData.postponed && isRSCRequest) {
|
|
1776
|
+
res.setHeader(_approuterheaders.NEXT_DID_POSTPONE_HEADER, "1");
|
|
1777
|
+
}
|
|
1778
|
+
// we don't go through this block when preview mode is true
|
|
1779
|
+
// as preview mode is a dynamic request (bypasses cache) and doesn't
|
|
1780
|
+
// generate both HTML and payloads in the same request so continue to just
|
|
1781
|
+
// return the generated payload
|
|
1782
|
+
if (isRSCRequest && !isPreviewMode) {
|
|
1783
|
+
// If this is a dynamic RSC request, then stream the response.
|
|
1784
|
+
if (typeof cachedData.pageData !== "string") {
|
|
1785
|
+
if (cachedData.postponed) {
|
|
1786
|
+
throw new Error("Invariant: Expected postponed to be undefined");
|
|
1787
|
+
}
|
|
1788
|
+
return {
|
|
1789
|
+
type: "rsc",
|
|
1790
|
+
body: cachedData.html,
|
|
1791
|
+
// Dynamic RSC responses cannot be cached, even if they're
|
|
1792
|
+
// configured with `force-static` because we have no way of
|
|
1793
|
+
// distinguishing between `force-static` and pages that have no
|
|
1794
|
+
// postponed state.
|
|
1795
|
+
// TODO: distinguish `force-static` from pages with no postponed state (static)
|
|
1796
|
+
revalidate: isDynamicRSCRequest ? 0 : cacheEntry.revalidate
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
// As this isn't a prefetch request, we should serve the static flight
|
|
1800
|
+
// data.
|
|
1801
|
+
return {
|
|
1802
|
+
type: "rsc",
|
|
1803
|
+
body: _renderresult.default.fromStatic(cachedData.pageData),
|
|
1804
|
+
revalidate: cacheEntry.revalidate
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
// This is a request for HTML data.
|
|
1808
|
+
let body = cachedData.html;
|
|
1809
|
+
// If there's no postponed state, we should just serve the HTML. This
|
|
1810
|
+
// should also be the case for a resume request because it's completed
|
|
1811
|
+
// as a server render (rather than a static render).
|
|
1812
|
+
if (!cachedData.postponed || this.minimalMode) {
|
|
1813
|
+
return {
|
|
1814
|
+
type: "html",
|
|
1815
|
+
body,
|
|
1816
|
+
revalidate: cacheEntry.revalidate
|
|
1817
|
+
};
|
|
1818
|
+
}
|
|
1819
|
+
// If we're debugging the skeleton, we should just serve the HTML without
|
|
1820
|
+
// resuming the render. The returned HTML will be the static shell.
|
|
1821
|
+
if (isDebugPPRSkeleton) {
|
|
1822
|
+
return {
|
|
1823
|
+
type: "html",
|
|
1824
|
+
body,
|
|
1825
|
+
revalidate: 0
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
// This request has postponed, so let's create a new transformer that the
|
|
1829
|
+
// dynamic data can pipe to that will attach the dynamic data to the end
|
|
1830
|
+
// of the response.
|
|
1831
|
+
const transformer = new TransformStream();
|
|
1832
|
+
body.chain(transformer.readable);
|
|
1833
|
+
// Perform the render again, but this time, provide the postponed state.
|
|
1834
|
+
// We don't await because we want the result to start streaming now, and
|
|
1835
|
+
// we've already chained the transformer's readable to the render result.
|
|
1836
|
+
doRender({
|
|
1837
|
+
postponed: cachedData.postponed
|
|
1838
|
+
}).then(async (result)=>{
|
|
1839
|
+
var _result_value;
|
|
1840
|
+
if (!result) {
|
|
1841
|
+
throw new Error("Invariant: expected a result to be returned");
|
|
1842
|
+
}
|
|
1843
|
+
if (((_result_value = result.value) == null ? void 0 : _result_value.kind) !== "PAGE") {
|
|
1844
|
+
var _result_value1;
|
|
1845
|
+
throw new Error(`Invariant: expected a page response, got ${(_result_value1 = result.value) == null ? void 0 : _result_value1.kind}`);
|
|
1846
|
+
}
|
|
1847
|
+
// Pipe the resume result to the transformer.
|
|
1848
|
+
await result.value.html.pipeTo(transformer.writable);
|
|
1849
|
+
}).catch((err)=>{
|
|
1850
|
+
// An error occurred during piping or preparing the render, abort
|
|
1851
|
+
// the transformers writer so we can terminate the stream.
|
|
1852
|
+
transformer.writable.abort(err).catch((e)=>{
|
|
1853
|
+
console.error("couldn't abort transformer", e);
|
|
1854
|
+
});
|
|
1855
|
+
});
|
|
1856
|
+
return {
|
|
1857
|
+
type: "html",
|
|
1858
|
+
body,
|
|
1859
|
+
// We don't want to cache the response if it has postponed data because
|
|
1860
|
+
// the response being sent to the client it's dynamic parts are streamed
|
|
1861
|
+
// to the client on the same request.
|
|
1862
|
+
revalidate: 0
|
|
1863
|
+
};
|
|
1864
|
+
} else if (isNextDataRequest) {
|
|
1865
|
+
return {
|
|
1866
|
+
type: "json",
|
|
1867
|
+
body: _renderresult.default.fromStatic(JSON.stringify(cachedData.pageData)),
|
|
1868
|
+
revalidate: cacheEntry.revalidate
|
|
1869
|
+
};
|
|
1870
|
+
} else {
|
|
1871
|
+
return {
|
|
1872
|
+
type: "html",
|
|
1873
|
+
body: cachedData.html,
|
|
1874
|
+
revalidate: cacheEntry.revalidate
|
|
1875
|
+
};
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
stripNextDataPath(path, stripLocale = true) {
|
|
1879
|
+
if (path.includes(this.buildId)) {
|
|
1880
|
+
const splitPath = path.substring(path.indexOf(this.buildId) + this.buildId.length);
|
|
1881
|
+
path = (0, _denormalizepagepath.denormalizePagePath)(splitPath.replace(/\.json$/, ""));
|
|
1882
|
+
}
|
|
1883
|
+
if (this.localeNormalizer && stripLocale) {
|
|
1884
|
+
return this.localeNormalizer.normalize(path);
|
|
1885
|
+
}
|
|
1886
|
+
return path;
|
|
1887
|
+
}
|
|
1888
|
+
// map the route to the actual bundle name
|
|
1889
|
+
getOriginalAppPaths(route) {
|
|
1890
|
+
if (this.enabledDirectories.app) {
|
|
1891
|
+
var _this_appPathRoutes;
|
|
1892
|
+
const originalAppPath = (_this_appPathRoutes = this.appPathRoutes) == null ? void 0 : _this_appPathRoutes[route];
|
|
1893
|
+
if (!originalAppPath) {
|
|
1894
|
+
return null;
|
|
1895
|
+
}
|
|
1896
|
+
return originalAppPath;
|
|
1897
|
+
}
|
|
1898
|
+
return null;
|
|
1899
|
+
}
|
|
1900
|
+
async renderPageComponent(ctx, bubbleNoFallback) {
|
|
1901
|
+
var _this_nextConfig_experimental_sri;
|
|
1902
|
+
const { query, pathname } = ctx;
|
|
1903
|
+
const appPaths = this.getOriginalAppPaths(pathname);
|
|
1904
|
+
const isAppPath = Array.isArray(appPaths);
|
|
1905
|
+
let page = pathname;
|
|
1906
|
+
if (isAppPath) {
|
|
1907
|
+
// the last item in the array is the root page, if there are parallel routes
|
|
1908
|
+
page = appPaths[appPaths.length - 1];
|
|
1909
|
+
}
|
|
1910
|
+
const result = await this.findPageComponents({
|
|
1911
|
+
page,
|
|
1912
|
+
query,
|
|
1913
|
+
params: ctx.renderOpts.params || {},
|
|
1914
|
+
isAppPath,
|
|
1915
|
+
sriEnabled: !!((_this_nextConfig_experimental_sri = this.nextConfig.experimental.sri) == null ? void 0 : _this_nextConfig_experimental_sri.algorithm),
|
|
1916
|
+
appPaths,
|
|
1917
|
+
// Ensuring for loading page component routes is done via the matcher.
|
|
1918
|
+
shouldEnsure: false
|
|
1919
|
+
});
|
|
1920
|
+
if (result) {
|
|
1921
|
+
var _getTracer_getRootSpanAttributes;
|
|
1922
|
+
(_getTracer_getRootSpanAttributes = (0, _tracer.getTracer)().getRootSpanAttributes()) == null ? void 0 : _getTracer_getRootSpanAttributes.set("next.route", pathname);
|
|
1923
|
+
try {
|
|
1924
|
+
return await this.renderToResponseWithComponents(ctx, result);
|
|
1925
|
+
} catch (err) {
|
|
1926
|
+
const isNoFallbackError = err instanceof NoFallbackError;
|
|
1927
|
+
if (!isNoFallbackError || isNoFallbackError && bubbleNoFallback) {
|
|
1928
|
+
throw err;
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
return false;
|
|
1933
|
+
}
|
|
1934
|
+
async renderToResponse(ctx) {
|
|
1935
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.renderToResponse, {
|
|
1936
|
+
spanName: `rendering page`,
|
|
1937
|
+
attributes: {
|
|
1938
|
+
"next.route": ctx.pathname
|
|
1939
|
+
}
|
|
1940
|
+
}, async ()=>{
|
|
1941
|
+
return this.renderToResponseImpl(ctx);
|
|
1942
|
+
});
|
|
1943
|
+
}
|
|
1944
|
+
async renderToResponseImpl(ctx) {
|
|
1945
|
+
var _this_i18nProvider;
|
|
1946
|
+
const { res, query, pathname } = ctx;
|
|
1947
|
+
let page = pathname;
|
|
1948
|
+
const bubbleNoFallback = !!query._nextBubbleNoFallback;
|
|
1949
|
+
delete query[_approuterheaders.NEXT_RSC_UNION_QUERY];
|
|
1950
|
+
delete query._nextBubbleNoFallback;
|
|
1951
|
+
const options = {
|
|
1952
|
+
i18n: (_this_i18nProvider = this.i18nProvider) == null ? void 0 : _this_i18nProvider.fromQuery(pathname, query)
|
|
1953
|
+
};
|
|
1954
|
+
try {
|
|
1955
|
+
for await (const match of this.matchers.matchAll(pathname, options)){
|
|
1956
|
+
// when a specific invoke-output is meant to be matched
|
|
1957
|
+
// ensure a prior dynamic route/page doesn't take priority
|
|
1958
|
+
const invokeOutput = (0, _requestmeta.getRequestMeta)(ctx.req, "invokeOutput");
|
|
1959
|
+
if (!this.minimalMode && typeof invokeOutput === "string" && (0, _utils1.isDynamicRoute)(invokeOutput || "") && invokeOutput !== match.definition.pathname) {
|
|
1960
|
+
continue;
|
|
1961
|
+
}
|
|
1962
|
+
const result = await this.renderPageComponent({
|
|
1963
|
+
...ctx,
|
|
1964
|
+
pathname: match.definition.pathname,
|
|
1965
|
+
renderOpts: {
|
|
1966
|
+
...ctx.renderOpts,
|
|
1967
|
+
params: match.params
|
|
1968
|
+
}
|
|
1969
|
+
}, bubbleNoFallback);
|
|
1970
|
+
if (result !== false) return result;
|
|
1971
|
+
}
|
|
1972
|
+
// currently edge functions aren't receiving the x-matched-path
|
|
1973
|
+
// header so we need to fallback to matching the current page
|
|
1974
|
+
// when we weren't able to match via dynamic route to handle
|
|
1975
|
+
// the rewrite case
|
|
1976
|
+
// @ts-expect-error extended in child class web-server
|
|
1977
|
+
if (this.serverOptions.webServerConfig) {
|
|
1978
|
+
// @ts-expect-error extended in child class web-server
|
|
1979
|
+
ctx.pathname = this.serverOptions.webServerConfig.page;
|
|
1980
|
+
const result = await this.renderPageComponent(ctx, bubbleNoFallback);
|
|
1981
|
+
if (result !== false) return result;
|
|
1982
|
+
}
|
|
1983
|
+
} catch (error) {
|
|
1984
|
+
const err = (0, _iserror.getProperError)(error);
|
|
1985
|
+
if (error instanceof _utils.MissingStaticPage) {
|
|
1986
|
+
console.error("Invariant: failed to load static page", JSON.stringify({
|
|
1987
|
+
page,
|
|
1988
|
+
url: ctx.req.url,
|
|
1989
|
+
matchedPath: ctx.req.headers["x-matched-path"],
|
|
1990
|
+
initUrl: (0, _requestmeta.getRequestMeta)(ctx.req, "initURL"),
|
|
1991
|
+
didRewrite: !!(0, _requestmeta.getRequestMeta)(ctx.req, "rewroteURL"),
|
|
1992
|
+
rewroteUrl: (0, _requestmeta.getRequestMeta)(ctx.req, "rewroteURL")
|
|
1993
|
+
}, null, 2));
|
|
1994
|
+
throw err;
|
|
1995
|
+
}
|
|
1996
|
+
if (err instanceof NoFallbackError && bubbleNoFallback) {
|
|
1997
|
+
throw err;
|
|
1998
|
+
}
|
|
1999
|
+
if (err instanceof _utils.DecodeError || err instanceof _utils.NormalizeError) {
|
|
2000
|
+
res.statusCode = 400;
|
|
2001
|
+
return await this.renderErrorToResponse(ctx, err);
|
|
2002
|
+
}
|
|
2003
|
+
res.statusCode = 500;
|
|
2004
|
+
// if pages/500 is present we still need to trigger
|
|
2005
|
+
// /_error `getInitialProps` to allow reporting error
|
|
2006
|
+
if (await this.hasPage("/500")) {
|
|
2007
|
+
ctx.query.__nextCustomErrorRender = "1";
|
|
2008
|
+
await this.renderErrorToResponse(ctx, err);
|
|
2009
|
+
delete ctx.query.__nextCustomErrorRender;
|
|
2010
|
+
}
|
|
2011
|
+
const isWrappedError = err instanceof WrappedBuildError;
|
|
2012
|
+
if (!isWrappedError) {
|
|
2013
|
+
if (this.minimalMode && process.env.NEXT_RUNTIME !== "edge" || this.renderOpts.dev) {
|
|
2014
|
+
if ((0, _iserror.default)(err)) err.page = page;
|
|
2015
|
+
throw err;
|
|
2016
|
+
}
|
|
2017
|
+
this.logError((0, _iserror.getProperError)(err));
|
|
2018
|
+
}
|
|
2019
|
+
const response = await this.renderErrorToResponse(ctx, isWrappedError ? err.innerError : err);
|
|
2020
|
+
return response;
|
|
2021
|
+
}
|
|
2022
|
+
if (this.getMiddleware() && !!ctx.req.headers["x-nextjs-data"] && (!res.statusCode || res.statusCode === 200 || res.statusCode === 404)) {
|
|
2023
|
+
res.setHeader("x-nextjs-matched-path", `${query.__nextLocale ? `/${query.__nextLocale}` : ""}${pathname}`);
|
|
2024
|
+
res.statusCode = 200;
|
|
2025
|
+
res.setHeader("content-type", "application/json");
|
|
2026
|
+
res.body("{}");
|
|
2027
|
+
res.send();
|
|
2028
|
+
return null;
|
|
2029
|
+
}
|
|
2030
|
+
res.statusCode = 404;
|
|
2031
|
+
return this.renderErrorToResponse(ctx, null);
|
|
2032
|
+
}
|
|
2033
|
+
async renderToHTML(req, res, pathname, query = {}) {
|
|
2034
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.renderToHTML, async ()=>{
|
|
2035
|
+
return this.renderToHTMLImpl(req, res, pathname, query);
|
|
2036
|
+
});
|
|
2037
|
+
}
|
|
2038
|
+
async renderToHTMLImpl(req, res, pathname, query = {}) {
|
|
2039
|
+
return this.getStaticHTML((ctx)=>this.renderToResponse(ctx), {
|
|
2040
|
+
req,
|
|
2041
|
+
res,
|
|
2042
|
+
pathname,
|
|
2043
|
+
query
|
|
2044
|
+
});
|
|
2045
|
+
}
|
|
2046
|
+
async renderError(err, req, res, pathname, query = {}, setHeaders = true) {
|
|
2047
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.renderError, async ()=>{
|
|
2048
|
+
return this.renderErrorImpl(err, req, res, pathname, query, setHeaders);
|
|
2049
|
+
});
|
|
2050
|
+
}
|
|
2051
|
+
async renderErrorImpl(err, req, res, pathname, query = {}, setHeaders = true) {
|
|
2052
|
+
if (setHeaders) {
|
|
2053
|
+
res.setHeader("Cache-Control", "private, no-cache, no-store, max-age=0, must-revalidate");
|
|
2054
|
+
}
|
|
2055
|
+
return this.pipe(async (ctx)=>{
|
|
2056
|
+
const response = await this.renderErrorToResponse(ctx, err);
|
|
2057
|
+
if (this.minimalMode && res.statusCode === 500) {
|
|
2058
|
+
throw err;
|
|
2059
|
+
}
|
|
2060
|
+
return response;
|
|
2061
|
+
}, {
|
|
2062
|
+
req,
|
|
2063
|
+
res,
|
|
2064
|
+
pathname,
|
|
2065
|
+
query
|
|
2066
|
+
});
|
|
2067
|
+
}
|
|
2068
|
+
async renderErrorToResponse(ctx, err) {
|
|
2069
|
+
return (0, _tracer.getTracer)().trace(_constants1.BaseServerSpan.renderErrorToResponse, async ()=>{
|
|
2070
|
+
return this.renderErrorToResponseImpl(ctx, err);
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
async renderErrorToResponseImpl(ctx, err) {
|
|
2074
|
+
// Short-circuit favicon.ico in development to avoid compiling 404 page when the app has no favicon.ico.
|
|
2075
|
+
// Since favicon.ico is automatically requested by the browser.
|
|
2076
|
+
if (this.renderOpts.dev && ctx.pathname === "/favicon.ico") {
|
|
2077
|
+
return {
|
|
2078
|
+
type: "html",
|
|
2079
|
+
body: _renderresult.default.fromStatic("")
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2082
|
+
const { res, query } = ctx;
|
|
2083
|
+
try {
|
|
2084
|
+
let result = null;
|
|
2085
|
+
const is404 = res.statusCode === 404;
|
|
2086
|
+
let using404Page = false;
|
|
2087
|
+
if (is404) {
|
|
2088
|
+
if (this.enabledDirectories.app) {
|
|
2089
|
+
// Use the not-found entry in app directory
|
|
2090
|
+
result = await this.findPageComponents({
|
|
2091
|
+
page: _constants.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY,
|
|
2092
|
+
query,
|
|
2093
|
+
params: {},
|
|
2094
|
+
isAppPath: true,
|
|
2095
|
+
shouldEnsure: true,
|
|
2096
|
+
url: ctx.req.url
|
|
2097
|
+
});
|
|
2098
|
+
using404Page = result !== null;
|
|
2099
|
+
}
|
|
2100
|
+
if (!result && await this.hasPage("/404")) {
|
|
2101
|
+
result = await this.findPageComponents({
|
|
2102
|
+
page: "/404",
|
|
2103
|
+
query,
|
|
2104
|
+
params: {},
|
|
2105
|
+
isAppPath: false,
|
|
2106
|
+
// Ensuring can't be done here because you never "match" a 404 route.
|
|
2107
|
+
shouldEnsure: true,
|
|
2108
|
+
url: ctx.req.url
|
|
2109
|
+
});
|
|
2110
|
+
using404Page = result !== null;
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
let statusPage = `/${res.statusCode}`;
|
|
2114
|
+
if (!ctx.query.__nextCustomErrorRender && !result && _constants.STATIC_STATUS_PAGES.includes(statusPage)) {
|
|
2115
|
+
// skip ensuring /500 in dev mode as it isn't used and the
|
|
2116
|
+
// dev overlay is used instead
|
|
2117
|
+
if (statusPage !== "/500" || !this.renderOpts.dev) {
|
|
2118
|
+
result = await this.findPageComponents({
|
|
2119
|
+
page: statusPage,
|
|
2120
|
+
query,
|
|
2121
|
+
params: {},
|
|
2122
|
+
isAppPath: false,
|
|
2123
|
+
// Ensuring can't be done here because you never "match" a 500
|
|
2124
|
+
// route.
|
|
2125
|
+
shouldEnsure: true,
|
|
2126
|
+
url: ctx.req.url
|
|
2127
|
+
});
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
if (!result) {
|
|
2131
|
+
result = await this.findPageComponents({
|
|
2132
|
+
page: "/_error",
|
|
2133
|
+
query,
|
|
2134
|
+
params: {},
|
|
2135
|
+
isAppPath: false,
|
|
2136
|
+
// Ensuring can't be done here because you never "match" an error
|
|
2137
|
+
// route.
|
|
2138
|
+
shouldEnsure: true,
|
|
2139
|
+
url: ctx.req.url
|
|
2140
|
+
});
|
|
2141
|
+
statusPage = "/_error";
|
|
2142
|
+
}
|
|
2143
|
+
if (process.env.NODE_ENV !== "production" && !using404Page && await this.hasPage("/_error") && !await this.hasPage("/404")) {
|
|
2144
|
+
this.customErrorNo404Warn();
|
|
2145
|
+
}
|
|
2146
|
+
if (!result) {
|
|
2147
|
+
// this can occur when a project directory has been moved/deleted
|
|
2148
|
+
// which is handled in the parent process in development
|
|
2149
|
+
if (this.renderOpts.dev) {
|
|
2150
|
+
return {
|
|
2151
|
+
type: "html",
|
|
2152
|
+
// wait for dev-server to restart before refreshing
|
|
2153
|
+
body: _renderresult.default.fromStatic(`
|
|
2154
|
+
<pre>missing required error components, refreshing...</pre>
|
|
2155
|
+
<script>
|
|
2156
|
+
async function check() {
|
|
2157
|
+
const res = await fetch(location.href).catch(() => ({}))
|
|
2158
|
+
|
|
2159
|
+
if (res.status === 200) {
|
|
2160
|
+
location.reload()
|
|
2161
|
+
} else {
|
|
2162
|
+
setTimeout(check, 1000)
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
check()
|
|
2166
|
+
</script>`)
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
throw new WrappedBuildError(new Error("missing required error components"));
|
|
2170
|
+
}
|
|
2171
|
+
// If the page has a route module, use it for the new match. If it doesn't
|
|
2172
|
+
// have a route module, remove the match.
|
|
2173
|
+
if (result.components.routeModule) {
|
|
2174
|
+
(0, _requestmeta.addRequestMeta)(ctx.req, "match", {
|
|
2175
|
+
definition: result.components.routeModule.definition,
|
|
2176
|
+
params: undefined
|
|
2177
|
+
});
|
|
2178
|
+
} else {
|
|
2179
|
+
(0, _requestmeta.removeRequestMeta)(ctx.req, "match");
|
|
2180
|
+
}
|
|
2181
|
+
try {
|
|
2182
|
+
return await this.renderToResponseWithComponents({
|
|
2183
|
+
...ctx,
|
|
2184
|
+
pathname: statusPage,
|
|
2185
|
+
renderOpts: {
|
|
2186
|
+
...ctx.renderOpts,
|
|
2187
|
+
err
|
|
2188
|
+
}
|
|
2189
|
+
}, result);
|
|
2190
|
+
} catch (maybeFallbackError) {
|
|
2191
|
+
if (maybeFallbackError instanceof NoFallbackError) {
|
|
2192
|
+
throw new Error("invariant: failed to render error page");
|
|
2193
|
+
}
|
|
2194
|
+
throw maybeFallbackError;
|
|
2195
|
+
}
|
|
2196
|
+
} catch (error) {
|
|
2197
|
+
const renderToHtmlError = (0, _iserror.getProperError)(error);
|
|
2198
|
+
const isWrappedError = renderToHtmlError instanceof WrappedBuildError;
|
|
2199
|
+
if (!isWrappedError) {
|
|
2200
|
+
this.logError(renderToHtmlError);
|
|
2201
|
+
}
|
|
2202
|
+
res.statusCode = 500;
|
|
2203
|
+
const fallbackComponents = await this.getFallbackErrorComponents(ctx.req.url);
|
|
2204
|
+
if (fallbackComponents) {
|
|
2205
|
+
// There was an error, so use it's definition from the route module
|
|
2206
|
+
// to add the match to the request.
|
|
2207
|
+
(0, _requestmeta.addRequestMeta)(ctx.req, "match", {
|
|
2208
|
+
definition: fallbackComponents.routeModule.definition,
|
|
2209
|
+
params: undefined
|
|
2210
|
+
});
|
|
2211
|
+
return this.renderToResponseWithComponents({
|
|
2212
|
+
...ctx,
|
|
2213
|
+
pathname: "/_error",
|
|
2214
|
+
renderOpts: {
|
|
2215
|
+
...ctx.renderOpts,
|
|
2216
|
+
// We render `renderToHtmlError` here because `err` is
|
|
2217
|
+
// already captured in the stacktrace.
|
|
2218
|
+
err: isWrappedError ? renderToHtmlError.innerError : renderToHtmlError
|
|
2219
|
+
}
|
|
2220
|
+
}, {
|
|
2221
|
+
query,
|
|
2222
|
+
components: fallbackComponents
|
|
2223
|
+
});
|
|
2224
|
+
}
|
|
2225
|
+
return {
|
|
2226
|
+
type: "html",
|
|
2227
|
+
body: _renderresult.default.fromStatic("Internal Server Error")
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
async renderErrorToHTML(err, req, res, pathname, query = {}) {
|
|
2232
|
+
return this.getStaticHTML((ctx)=>this.renderErrorToResponse(ctx, err), {
|
|
2233
|
+
req,
|
|
2234
|
+
res,
|
|
2235
|
+
pathname,
|
|
2236
|
+
query
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
async render404(req, res, parsedUrl, setHeaders = true) {
|
|
2240
|
+
const { pathname, query } = parsedUrl ? parsedUrl : (0, _url.parse)(req.url, true);
|
|
2241
|
+
if (this.nextConfig.i18n) {
|
|
2242
|
+
query.__nextLocale ||= this.nextConfig.i18n.defaultLocale;
|
|
2243
|
+
query.__nextDefaultLocale ||= this.nextConfig.i18n.defaultLocale;
|
|
2244
|
+
}
|
|
2245
|
+
res.statusCode = 404;
|
|
2246
|
+
return this.renderError(null, req, res, pathname, query, setHeaders);
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
function isRSCRequestCheck(req) {
|
|
2250
|
+
return req.headers[_approuterheaders.RSC_HEADER.toLowerCase()] === "1" || Boolean((0, _requestmeta.getRequestMeta)(req, "isRSCRequest"));
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
//# sourceMappingURL=base-server.js.map
|