lkd-web-kit 0.0.8 → 0.0.10
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/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -1
- package/dist/_virtual/_interop_require_default.cjs +1 -0
- package/dist/_virtual/_interop_require_default.js +4 -1
- package/dist/_virtual/_interop_require_wildcard.cjs +1 -0
- package/dist/_virtual/_interop_require_wildcard.js +4 -1
- package/dist/_virtual/action-async-storage-instance.cjs +1 -0
- package/dist/_virtual/action-async-storage-instance.js +4 -1
- package/dist/_virtual/action-async-storage.external.cjs +1 -0
- package/dist/_virtual/action-async-storage.external.js +4 -1
- package/dist/_virtual/add-base-path.cjs +1 -0
- package/dist/_virtual/add-base-path.js +4 -1
- package/dist/_virtual/add-locale.cjs +1 -0
- package/dist/_virtual/add-locale.js +4 -1
- package/dist/_virtual/add-locale2.cjs +1 -0
- package/dist/_virtual/add-locale2.js +4 -1
- package/dist/_virtual/add-path-prefix.cjs +1 -0
- package/dist/_virtual/add-path-prefix.js +4 -1
- package/dist/_virtual/app-paths.cjs +1 -0
- package/dist/_virtual/app-paths.js +4 -1
- package/dist/_virtual/app-router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/app-router-context.shared-runtime.js +4 -1
- package/dist/_virtual/app-router-headers.cjs +1 -0
- package/dist/_virtual/app-router-headers.js +4 -1
- package/dist/_virtual/async-local-storage.cjs +1 -0
- package/dist/_virtual/async-local-storage.js +4 -1
- package/dist/_virtual/bailout-to-client-rendering.cjs +1 -0
- package/dist/_virtual/bailout-to-client-rendering.js +4 -1
- package/dist/_virtual/bailout-to-csr.cjs +1 -0
- package/dist/_virtual/bailout-to-csr.js +4 -1
- package/dist/_virtual/constants.cjs +1 -0
- package/dist/_virtual/constants.js +4 -1
- package/dist/_virtual/detect-domain-locale.cjs +1 -0
- package/dist/_virtual/detect-domain-locale.js +4 -1
- package/dist/_virtual/detect-domain-locale2.cjs +1 -0
- package/dist/_virtual/detect-domain-locale2.js +4 -1
- package/dist/_virtual/dynamic-rendering-utils.cjs +1 -0
- package/dist/_virtual/dynamic-rendering-utils.js +4 -1
- package/dist/_virtual/dynamic-rendering.cjs +1 -0
- package/dist/_virtual/dynamic-rendering.js +4 -1
- package/dist/_virtual/ensure-leading-slash.cjs +1 -0
- package/dist/_virtual/ensure-leading-slash.js +4 -1
- package/dist/_virtual/error-once.cjs +1 -0
- package/dist/_virtual/error-once.js +4 -1
- package/dist/_virtual/escape-regexp.cjs +1 -0
- package/dist/_virtual/escape-regexp.js +4 -1
- package/dist/_virtual/forbidden.cjs +1 -0
- package/dist/_virtual/forbidden.js +4 -1
- package/dist/_virtual/format-url.cjs +1 -0
- package/dist/_virtual/format-url.js +4 -1
- package/dist/_virtual/get-domain-locale.cjs +1 -0
- package/dist/_virtual/get-domain-locale.js +4 -1
- package/dist/_virtual/get-segment-value.cjs +1 -0
- package/dist/_virtual/get-segment-value.js +4 -1
- package/dist/_virtual/has-base-path.cjs +1 -0
- package/dist/_virtual/has-base-path.js +4 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/hooks-client-context.shared-runtime.js +4 -1
- package/dist/_virtual/hooks-server-context.cjs +1 -0
- package/dist/_virtual/hooks-server-context.js +4 -1
- package/dist/_virtual/http-access-fallback.cjs +1 -0
- package/dist/_virtual/http-access-fallback.js +4 -1
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +4 -1
- package/dist/_virtual/interception-routes.cjs +1 -0
- package/dist/_virtual/interception-routes.js +4 -1
- package/dist/_virtual/interpolate-as.cjs +1 -0
- package/dist/_virtual/interpolate-as.js +4 -1
- package/dist/_virtual/is-dynamic.cjs +1 -0
- package/dist/_virtual/is-dynamic.js +4 -1
- package/dist/_virtual/is-local-url.cjs +1 -0
- package/dist/_virtual/is-local-url.js +4 -1
- package/dist/_virtual/is-next-router-error.cjs +1 -0
- package/dist/_virtual/is-next-router-error.js +4 -1
- package/dist/_virtual/is-postpone.cjs +1 -0
- package/dist/_virtual/is-postpone.js +4 -1
- package/dist/_virtual/link.cjs +1 -0
- package/dist/_virtual/link.js +7 -1
- package/dist/_virtual/link2.cjs +1 -0
- package/dist/_virtual/link2.js +4 -1
- package/dist/_virtual/metadata-constants.cjs +1 -0
- package/dist/_virtual/metadata-constants.js +4 -1
- package/dist/_virtual/navigation.cjs +1 -0
- package/dist/_virtual/navigation.js +5 -1
- package/dist/_virtual/navigation.react-server.cjs +1 -0
- package/dist/_virtual/navigation.react-server.js +4 -1
- package/dist/_virtual/navigation2.cjs +1 -0
- package/dist/_virtual/navigation2.js +4 -1
- package/dist/_virtual/normalize-locale-path.cjs +1 -0
- package/dist/_virtual/normalize-locale-path.js +4 -1
- package/dist/_virtual/normalize-locale-path2.cjs +1 -0
- package/dist/_virtual/normalize-locale-path2.js +4 -1
- package/dist/_virtual/normalize-trailing-slash.cjs +1 -0
- package/dist/_virtual/normalize-trailing-slash.js +4 -1
- package/dist/_virtual/not-found.cjs +1 -0
- package/dist/_virtual/not-found.js +4 -1
- package/dist/_virtual/omit.cjs +1 -0
- package/dist/_virtual/omit.js +4 -1
- package/dist/_virtual/parse-path.cjs +1 -0
- package/dist/_virtual/parse-path.js +4 -1
- package/dist/_virtual/path-has-prefix.cjs +1 -0
- package/dist/_virtual/path-has-prefix.js +4 -1
- package/dist/_virtual/querystring.cjs +1 -0
- package/dist/_virtual/querystring.js +4 -1
- package/dist/_virtual/redirect-error.cjs +1 -0
- package/dist/_virtual/redirect-error.js +4 -1
- package/dist/_virtual/redirect-status-code.cjs +1 -0
- package/dist/_virtual/redirect-status-code.js +4 -1
- package/dist/_virtual/redirect.cjs +1 -0
- package/dist/_virtual/redirect.js +4 -1
- package/dist/_virtual/remove-trailing-slash.cjs +1 -0
- package/dist/_virtual/remove-trailing-slash.js +4 -1
- package/dist/_virtual/request-idle-callback.cjs +1 -0
- package/dist/_virtual/request-idle-callback.js +4 -1
- package/dist/_virtual/resolve-href.cjs +1 -0
- package/dist/_virtual/resolve-href.js +4 -1
- package/dist/_virtual/route-matcher.cjs +1 -0
- package/dist/_virtual/route-matcher.js +4 -1
- package/dist/_virtual/route-regex.cjs +1 -0
- package/dist/_virtual/route-regex.js +4 -1
- package/dist/_virtual/router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/router-context.shared-runtime.js +4 -1
- package/dist/_virtual/scheduler.cjs +1 -0
- package/dist/_virtual/scheduler.js +4 -1
- package/dist/_virtual/segment.cjs +1 -0
- package/dist/_virtual/segment.js +4 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/_virtual/server-inserted-html.shared-runtime.js +4 -1
- package/dist/_virtual/sorted-routes.cjs +1 -0
- package/dist/_virtual/sorted-routes.js +4 -1
- package/dist/_virtual/static-generation-bailout.cjs +1 -0
- package/dist/_virtual/static-generation-bailout.js +4 -1
- package/dist/_virtual/unauthorized.cjs +1 -0
- package/dist/_virtual/unauthorized.js +4 -1
- package/dist/_virtual/unstable-rethrow.browser.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.browser.js +4 -1
- package/dist/_virtual/unstable-rethrow.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.js +4 -1
- package/dist/_virtual/unstable-rethrow.server.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.server.js +4 -1
- package/dist/_virtual/use-intersection.cjs +1 -0
- package/dist/_virtual/use-intersection.js +4 -1
- package/dist/_virtual/use-merged-ref.cjs +1 -0
- package/dist/_virtual/use-merged-ref.js +4 -1
- package/dist/_virtual/utils.cjs +1 -0
- package/dist/_virtual/utils.js +4 -1
- package/dist/_virtual/work-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-async-storage-instance.js +4 -1
- package/dist/_virtual/work-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-async-storage.external.js +4 -1
- package/dist/_virtual/work-unit-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage-instance.js +4 -1
- package/dist/_virtual/work-unit-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage.external.js +4 -1
- package/dist/components/EmptyState/index.cjs +1 -0
- package/dist/components/EmptyState/index.js +36 -1
- package/dist/components/Icon.cjs +1 -0
- package/dist/components/Icon.js +54 -1
- package/dist/components/InfinityLoader/index.cjs +1 -0
- package/dist/components/InfinityLoader/index.js +6 -1
- package/dist/components/NavItems.cjs +1 -0
- package/dist/components/NavItems.js +36 -1
- package/dist/components/SelectInfinity/index.cjs +1 -0
- package/dist/components/SelectInfinity/index.js +106 -1
- package/dist/consts/http-status.cjs +1 -0
- package/dist/consts/http-status.js +4 -1
- package/dist/consts/revalidate.cjs +1 -0
- package/dist/consts/revalidate.js +4 -1
- package/dist/contexts/NavigationHistoryContext/index.cjs +1 -0
- package/dist/contexts/NavigationHistoryContext/index.js +47 -1
- package/dist/contexts/PageDataContext/index.cjs +1 -0
- package/dist/contexts/PageDataContext/index.js +15 -1
- package/dist/form/Form.cjs +1 -0
- package/dist/form/Form.js +21 -1
- package/dist/form/FormButtonSubmit.cjs +1 -0
- package/dist/form/FormButtonSubmit.js +18 -1
- package/dist/form/utils/nullableInput.cjs +1 -0
- package/dist/form/utils/nullableInput.js +9 -1
- package/dist/form/utils/zodValidator.cjs +1 -0
- package/dist/form/utils/zodValidator.js +9 -1
- package/dist/hocs/withForm.cjs +1 -0
- package/dist/hocs/withForm.js +47 -1
- package/dist/hocs/withModalManager.cjs +1 -0
- package/dist/hocs/withModalManager.js +28 -1
- package/dist/hooks/useFetchNextPageOnScroll.cjs +1 -0
- package/dist/hooks/useFetchNextPageOnScroll.js +17 -1
- package/dist/hooks/useOnScrollProgress.cjs +1 -0
- package/dist/hooks/useOnScrollProgress.js +18 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +60 -1
- package/dist/mantine/breakpointsWithPx.cjs +1 -0
- package/dist/mantine/breakpointsWithPx.js +11 -1
- package/dist/mantine/toTailwindColors.cjs +1 -0
- package/dist/mantine/toTailwindColors.js +10 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +13 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +30 -1
- package/dist/node_modules/next/dist/client/add-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +24 -1
- package/dist/node_modules/next/dist/client/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-locale.js +25 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +76 -1
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +30 -1
- package/dist/node_modules/next/dist/client/components/forbidden.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +34 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +36 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +63 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +24 -1
- package/dist/node_modules/next/dist/client/components/navigation.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +133 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +75 -1
- package/dist/node_modules/next/dist/client/components/not-found.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +28 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +41 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +21 -1
- package/dist/node_modules/next/dist/client/components/redirect.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +80 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +21 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +36 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +34 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +26 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +21 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +30 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +25 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +33 -1
- package/dist/node_modules/next/dist/client/has-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +23 -1
- package/dist/node_modules/next/dist/client/link.cjs +8 -0
- package/dist/node_modules/next/dist/client/link.js +277 -5
- package/dist/node_modules/next/dist/client/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +23 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +26 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.cjs +1 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +40 -1
- package/dist/node_modules/next/dist/client/resolve-href.cjs +1 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +67 -1
- package/dist/node_modules/next/dist/client/use-intersection.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +85 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +44 -1
- package/dist/node_modules/next/dist/lib/constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/constants.js +285 -1
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -1
- package/dist/node_modules/next/dist/lib/scheduler.cjs +1 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +45 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +65 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.cjs +4 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +346 -4
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +102 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.cjs +1 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +62 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.cjs +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +41 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +33 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +28 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +37 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +35 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +39 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +57 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +90 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +22 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +23 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +64 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +42 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +167 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +154 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/segment.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +34 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/utils.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +166 -1
- package/dist/node_modules/next/link.cjs +1 -0
- package/dist/node_modules/next/link.js +8 -1
- package/dist/node_modules/next/navigation.cjs +1 -0
- package/dist/node_modules/next/navigation.js +8 -1
- package/dist/utils/array/groupBy.cjs +1 -0
- package/dist/utils/array/groupBy.js +34 -1
- package/dist/utils/array/shuffleArray.cjs +1 -0
- package/dist/utils/array/shuffleArray.js +13 -1
- package/dist/utils/formatBytes.cjs +1 -0
- package/dist/utils/formatBytes.js +8 -1
- package/dist/utils/isInfinityEmpty.cjs +1 -0
- package/dist/utils/isInfinityEmpty.js +4 -1
- package/dist/utils/ky/addBodyJsonHook.cjs +1 -0
- package/dist/utils/ky/addBodyJsonHook.js +5 -1
- package/dist/utils/ky/parseJson.cjs +1 -0
- package/dist/utils/ky/parseJson.js +6 -1
- package/dist/utils/newHref.cjs +1 -0
- package/dist/utils/newHref.js +20 -1
- package/package.json +3 -3
|
@@ -1,4 +1,346 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { __exports as m } from "../../../../../_virtual/dynamic-rendering.js";
|
|
2
|
+
import ae from "react";
|
|
3
|
+
import { __require as ce } from "../../client/components/hooks-server-context.js";
|
|
4
|
+
import { __require as se } from "../../client/components/static-generation-bailout.js";
|
|
5
|
+
import { __require as oe } from "./work-unit-async-storage.external.js";
|
|
6
|
+
import { __require as ie } from "./work-async-storage.external.js";
|
|
7
|
+
import { __require as ue } from "../dynamic-rendering-utils.js";
|
|
8
|
+
import { __require as de } from "../../lib/metadata/metadata-constants.js";
|
|
9
|
+
import { __require as le } from "../../lib/scheduler.js";
|
|
10
|
+
var S;
|
|
11
|
+
function _e() {
|
|
12
|
+
return S ? m : (S = 1, function(p) {
|
|
13
|
+
Object.defineProperty(p, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
});
|
|
16
|
+
function O(n, e) {
|
|
17
|
+
for (var t in e) Object.defineProperty(n, t, {
|
|
18
|
+
enumerable: !0,
|
|
19
|
+
get: e[t]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
O(p, {
|
|
23
|
+
Postpone: function() {
|
|
24
|
+
return B;
|
|
25
|
+
},
|
|
26
|
+
abortAndThrowOnSynchronousRequestDataAccess: function() {
|
|
27
|
+
return M;
|
|
28
|
+
},
|
|
29
|
+
abortOnSynchronousPlatformIOAccess: function() {
|
|
30
|
+
return W;
|
|
31
|
+
},
|
|
32
|
+
accessedDynamicData: function() {
|
|
33
|
+
return F;
|
|
34
|
+
},
|
|
35
|
+
annotateDynamicAccess: function() {
|
|
36
|
+
return J;
|
|
37
|
+
},
|
|
38
|
+
consumeDynamicAccess: function() {
|
|
39
|
+
return H;
|
|
40
|
+
},
|
|
41
|
+
createDynamicTrackingState: function() {
|
|
42
|
+
return I;
|
|
43
|
+
},
|
|
44
|
+
createDynamicValidationState: function() {
|
|
45
|
+
return N;
|
|
46
|
+
},
|
|
47
|
+
createHangingInputAbortSignal: function() {
|
|
48
|
+
return z;
|
|
49
|
+
},
|
|
50
|
+
createPostponedAbortSignal: function() {
|
|
51
|
+
return Y;
|
|
52
|
+
},
|
|
53
|
+
formatDynamicAPIAccesses: function() {
|
|
54
|
+
return V;
|
|
55
|
+
},
|
|
56
|
+
getFirstDynamicReason: function() {
|
|
57
|
+
return q;
|
|
58
|
+
},
|
|
59
|
+
isDynamicPostpone: function() {
|
|
60
|
+
return G;
|
|
61
|
+
},
|
|
62
|
+
isPrerenderInterruptedError: function() {
|
|
63
|
+
return L;
|
|
64
|
+
},
|
|
65
|
+
markCurrentScopeAsDynamic: function() {
|
|
66
|
+
return $;
|
|
67
|
+
},
|
|
68
|
+
postponeWithTracking: function() {
|
|
69
|
+
return i;
|
|
70
|
+
},
|
|
71
|
+
throwIfDisallowedDynamic: function() {
|
|
72
|
+
return re;
|
|
73
|
+
},
|
|
74
|
+
throwToInterruptStaticGeneration: function() {
|
|
75
|
+
return g;
|
|
76
|
+
},
|
|
77
|
+
trackAllowedDynamicAccess: function() {
|
|
78
|
+
return ne;
|
|
79
|
+
},
|
|
80
|
+
trackDynamicDataInDynamicRender: function() {
|
|
81
|
+
return C;
|
|
82
|
+
},
|
|
83
|
+
trackFallbackParamAccessed: function() {
|
|
84
|
+
return j;
|
|
85
|
+
},
|
|
86
|
+
trackSynchronousPlatformIOAccessInDev: function() {
|
|
87
|
+
return D;
|
|
88
|
+
},
|
|
89
|
+
trackSynchronousRequestDataAccessInDev: function() {
|
|
90
|
+
return X;
|
|
91
|
+
},
|
|
92
|
+
useDynamicRouteParams: function() {
|
|
93
|
+
return K;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
const u = /* @__PURE__ */ v(ae), h = ce(), s = se(), d = oe(), k = ie(), P = ue(), l = de(), T = le();
|
|
97
|
+
function v(n) {
|
|
98
|
+
return n && n.__esModule ? n : {
|
|
99
|
+
default: n
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
const x = typeof u.default.unstable_postpone == "function";
|
|
103
|
+
function I(n) {
|
|
104
|
+
return {
|
|
105
|
+
isDebugDynamicAccesses: n,
|
|
106
|
+
dynamicAccesses: [],
|
|
107
|
+
syncDynamicExpression: void 0,
|
|
108
|
+
syncDynamicErrorWithStack: null
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function N() {
|
|
112
|
+
return {
|
|
113
|
+
hasSuspendedDynamic: !1,
|
|
114
|
+
hasDynamicMetadata: !1,
|
|
115
|
+
hasDynamicViewport: !1,
|
|
116
|
+
hasSyncDynamicErrors: !1,
|
|
117
|
+
dynamicErrors: []
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function q(n) {
|
|
121
|
+
var e;
|
|
122
|
+
return (e = n.dynamicAccesses[0]) == null ? void 0 : e.expression;
|
|
123
|
+
}
|
|
124
|
+
function $(n, e, t) {
|
|
125
|
+
if (!(e && (e.type === "cache" || e.type === "unstable-cache")) && !(n.forceDynamic || n.forceStatic)) {
|
|
126
|
+
if (n.dynamicShouldError)
|
|
127
|
+
throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${n.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
|
|
128
|
+
value: "E553",
|
|
129
|
+
enumerable: !1,
|
|
130
|
+
configurable: !0
|
|
131
|
+
});
|
|
132
|
+
if (e)
|
|
133
|
+
if (e.type === "prerender-ppr")
|
|
134
|
+
i(n.route, t, e.dynamicTracking);
|
|
135
|
+
else if (e.type === "prerender-legacy") {
|
|
136
|
+
e.revalidate = 0;
|
|
137
|
+
const r = Object.defineProperty(new h.DynamicServerError(`Route ${n.route} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
|
138
|
+
value: "E550",
|
|
139
|
+
enumerable: !1,
|
|
140
|
+
configurable: !0
|
|
141
|
+
});
|
|
142
|
+
throw n.dynamicUsageDescription = t, n.dynamicUsageStack = r.stack, r;
|
|
143
|
+
} else process.env.NODE_ENV === "development" && e && e.type === "request" && (e.usedDynamic = !0);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function j(n, e) {
|
|
147
|
+
const t = d.workUnitAsyncStorage.getStore();
|
|
148
|
+
!t || t.type !== "prerender-ppr" || i(n.route, e, t.dynamicTracking);
|
|
149
|
+
}
|
|
150
|
+
function g(n, e, t) {
|
|
151
|
+
const r = Object.defineProperty(new h.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used \`${n}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
|
152
|
+
value: "E558",
|
|
153
|
+
enumerable: !1,
|
|
154
|
+
configurable: !0
|
|
155
|
+
});
|
|
156
|
+
throw t.revalidate = 0, e.dynamicUsageDescription = n, e.dynamicUsageStack = r.stack, r;
|
|
157
|
+
}
|
|
158
|
+
function C(n, e) {
|
|
159
|
+
if (e) {
|
|
160
|
+
if (e.type === "cache" || e.type === "unstable-cache")
|
|
161
|
+
return;
|
|
162
|
+
(e.type === "prerender" || e.type === "prerender-legacy") && (e.revalidate = 0), process.env.NODE_ENV === "development" && e.type === "request" && (e.usedDynamic = !0);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function E(n, e, t) {
|
|
166
|
+
const r = `Route ${n} needs to bail out of prerendering at this point because it used ${e}.`, a = w(r);
|
|
167
|
+
t.controller.abort(a);
|
|
168
|
+
const c = t.dynamicTracking;
|
|
169
|
+
c && c.dynamicAccesses.push({
|
|
170
|
+
// When we aren't debugging, we don't need to create another error for the
|
|
171
|
+
// stack trace.
|
|
172
|
+
stack: c.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
173
|
+
expression: e
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
function W(n, e, t, r) {
|
|
177
|
+
const a = r.dynamicTracking;
|
|
178
|
+
a && a.syncDynamicErrorWithStack === null && (a.syncDynamicExpression = e, a.syncDynamicErrorWithStack = t), E(n, e, r);
|
|
179
|
+
}
|
|
180
|
+
function D(n) {
|
|
181
|
+
n.prerenderPhase = !1;
|
|
182
|
+
}
|
|
183
|
+
function M(n, e, t, r) {
|
|
184
|
+
if (r.controller.signal.aborted === !1) {
|
|
185
|
+
const c = r.dynamicTracking;
|
|
186
|
+
c && c.syncDynamicErrorWithStack === null && (c.syncDynamicExpression = e, c.syncDynamicErrorWithStack = t, r.validating === !0 && (c.syncDynamicLogged = !0)), E(n, e, r);
|
|
187
|
+
}
|
|
188
|
+
throw w(`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`);
|
|
189
|
+
}
|
|
190
|
+
const X = D;
|
|
191
|
+
function B({ reason: n, route: e }) {
|
|
192
|
+
const t = d.workUnitAsyncStorage.getStore(), r = t && t.type === "prerender-ppr" ? t.dynamicTracking : null;
|
|
193
|
+
i(e, n, r);
|
|
194
|
+
}
|
|
195
|
+
function i(n, e, t) {
|
|
196
|
+
A(), t && t.dynamicAccesses.push({
|
|
197
|
+
// When we aren't debugging, we don't need to create another error for the
|
|
198
|
+
// stack trace.
|
|
199
|
+
stack: t.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
200
|
+
expression: e
|
|
201
|
+
}), u.default.unstable_postpone(b(n, e));
|
|
202
|
+
}
|
|
203
|
+
function b(n, e) {
|
|
204
|
+
return `Route ${n} needs to bail out of prerendering at this point because it used ${e}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
|
|
205
|
+
}
|
|
206
|
+
function G(n) {
|
|
207
|
+
return typeof n == "object" && n !== null && typeof n.message == "string" ? _(n.message) : !1;
|
|
208
|
+
}
|
|
209
|
+
function _(n) {
|
|
210
|
+
return n.includes("needs to bail out of prerendering at this point because it used") && n.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error");
|
|
211
|
+
}
|
|
212
|
+
if (_(b("%%%", "^^^")) === !1)
|
|
213
|
+
throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
|
214
|
+
value: "E296",
|
|
215
|
+
enumerable: !1,
|
|
216
|
+
configurable: !0
|
|
217
|
+
});
|
|
218
|
+
const R = "NEXT_PRERENDER_INTERRUPTED";
|
|
219
|
+
function w(n) {
|
|
220
|
+
const e = Object.defineProperty(new Error(n), "__NEXT_ERROR_CODE", {
|
|
221
|
+
value: "E394",
|
|
222
|
+
enumerable: !1,
|
|
223
|
+
configurable: !0
|
|
224
|
+
});
|
|
225
|
+
return e.digest = R, e;
|
|
226
|
+
}
|
|
227
|
+
function L(n) {
|
|
228
|
+
return typeof n == "object" && n !== null && n.digest === R && "name" in n && "message" in n && n instanceof Error;
|
|
229
|
+
}
|
|
230
|
+
function F(n) {
|
|
231
|
+
return n.length > 0;
|
|
232
|
+
}
|
|
233
|
+
function H(n, e) {
|
|
234
|
+
return n.dynamicAccesses.push(...e.dynamicAccesses), n.dynamicAccesses;
|
|
235
|
+
}
|
|
236
|
+
function V(n) {
|
|
237
|
+
return n.filter((e) => typeof e.stack == "string" && e.stack.length > 0).map(({ expression: e, stack: t }) => (t = t.split(`
|
|
238
|
+
`).slice(4).filter((r) => !(r.includes("node_modules/next/") || r.includes(" (<anonymous>)") || r.includes(" (node:"))).join(`
|
|
239
|
+
`), `Dynamic API Usage Debug - ${e}:
|
|
240
|
+
${t}`));
|
|
241
|
+
}
|
|
242
|
+
function A() {
|
|
243
|
+
if (!x)
|
|
244
|
+
throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
|
245
|
+
value: "E224",
|
|
246
|
+
enumerable: !1,
|
|
247
|
+
configurable: !0
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
function Y(n) {
|
|
251
|
+
A();
|
|
252
|
+
const e = new AbortController();
|
|
253
|
+
try {
|
|
254
|
+
u.default.unstable_postpone(n);
|
|
255
|
+
} catch (t) {
|
|
256
|
+
e.abort(t);
|
|
257
|
+
}
|
|
258
|
+
return e.signal;
|
|
259
|
+
}
|
|
260
|
+
function z(n) {
|
|
261
|
+
const e = new AbortController();
|
|
262
|
+
return n.cacheSignal ? n.cacheSignal.inputReady().then(() => {
|
|
263
|
+
e.abort();
|
|
264
|
+
}) : (0, T.scheduleOnNextTick)(() => e.abort()), e.signal;
|
|
265
|
+
}
|
|
266
|
+
function J(n, e) {
|
|
267
|
+
const t = e.dynamicTracking;
|
|
268
|
+
t && t.dynamicAccesses.push({
|
|
269
|
+
stack: t.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
270
|
+
expression: n
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
function K(n) {
|
|
274
|
+
const e = k.workAsyncStorage.getStore();
|
|
275
|
+
if (e && e.isStaticGeneration && e.fallbackRouteParams && e.fallbackRouteParams.size > 0) {
|
|
276
|
+
const t = d.workUnitAsyncStorage.getStore();
|
|
277
|
+
t && (t.type === "prerender" ? u.default.use((0, P.makeHangingPromise)(t.renderSignal, n)) : t.type === "prerender-ppr" ? i(e.route, n, t.dynamicTracking) : t.type === "prerender-legacy" && g(n, e, t));
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
const Q = /\n\s+at Suspense \(<anonymous>\)/, Z = new RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`), U = new RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`), ee = new RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);
|
|
281
|
+
function ne(n, e, t, r, a) {
|
|
282
|
+
if (!ee.test(e))
|
|
283
|
+
if (Z.test(e)) {
|
|
284
|
+
t.hasDynamicMetadata = !0;
|
|
285
|
+
return;
|
|
286
|
+
} else if (U.test(e)) {
|
|
287
|
+
t.hasDynamicViewport = !0;
|
|
288
|
+
return;
|
|
289
|
+
} else if (Q.test(e)) {
|
|
290
|
+
t.hasSuspendedDynamic = !0;
|
|
291
|
+
return;
|
|
292
|
+
} else if (r.syncDynamicErrorWithStack || a.syncDynamicErrorWithStack) {
|
|
293
|
+
t.hasSyncDynamicErrors = !0;
|
|
294
|
+
return;
|
|
295
|
+
} else {
|
|
296
|
+
const c = `Route "${n}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, o = te(c, e);
|
|
297
|
+
t.dynamicErrors.push(o);
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
function te(n, e) {
|
|
302
|
+
const t = Object.defineProperty(new Error(n), "__NEXT_ERROR_CODE", {
|
|
303
|
+
value: "E394",
|
|
304
|
+
enumerable: !1,
|
|
305
|
+
configurable: !0
|
|
306
|
+
});
|
|
307
|
+
return t.stack = "Error: " + n + e, t;
|
|
308
|
+
}
|
|
309
|
+
function re(n, e, t, r) {
|
|
310
|
+
let a, c, o;
|
|
311
|
+
if (t.syncDynamicErrorWithStack ? (a = t.syncDynamicErrorWithStack, c = t.syncDynamicExpression, o = t.syncDynamicLogged === !0) : r.syncDynamicErrorWithStack ? (a = r.syncDynamicErrorWithStack, c = r.syncDynamicExpression, o = r.syncDynamicLogged === !0) : (a = null, c = void 0, o = !1), e.hasSyncDynamicErrors && a)
|
|
312
|
+
throw o || console.error(a), new s.StaticGenBailoutError();
|
|
313
|
+
const f = e.dynamicErrors;
|
|
314
|
+
if (f.length) {
|
|
315
|
+
for (let y = 0; y < f.length; y++)
|
|
316
|
+
console.error(f[y]);
|
|
317
|
+
throw new s.StaticGenBailoutError();
|
|
318
|
+
}
|
|
319
|
+
if (!e.hasSuspendedDynamic) {
|
|
320
|
+
if (e.hasDynamicMetadata)
|
|
321
|
+
throw a ? (console.error(a), Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
|
|
322
|
+
value: "E608",
|
|
323
|
+
enumerable: !1,
|
|
324
|
+
configurable: !0
|
|
325
|
+
})) : Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
|
|
326
|
+
value: "E534",
|
|
327
|
+
enumerable: !1,
|
|
328
|
+
configurable: !0
|
|
329
|
+
});
|
|
330
|
+
if (e.hasDynamicViewport)
|
|
331
|
+
throw a ? (console.error(a), Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
|
|
332
|
+
value: "E573",
|
|
333
|
+
enumerable: !1,
|
|
334
|
+
configurable: !0
|
|
335
|
+
})) : Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
|
|
336
|
+
value: "E590",
|
|
337
|
+
enumerable: !1,
|
|
338
|
+
configurable: !0
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}(m), m);
|
|
343
|
+
}
|
|
344
|
+
export {
|
|
345
|
+
_e as __require
|
|
346
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage-instance.cjs"),o=require("./async-local-storage.cjs");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/work-async-storage-instance.js";
|
|
2
|
+
import { __require as o } from "./async-local-storage.js";
|
|
3
|
+
var n;
|
|
4
|
+
function u() {
|
|
5
|
+
return n ? e : (n = 1, function(r) {
|
|
6
|
+
Object.defineProperty(r, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
}), Object.defineProperty(r, "workAsyncStorageInstance", {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: function() {
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const t = (0, o().createAsyncLocalStorage)();
|
|
15
|
+
}(e), e);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
u as __require
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage.external.cjs"),o=require("./work-async-storage-instance.cjs");var t;function a(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});const n=o.__require()}(e.__exports)),e.__exports}exports.__require=a;
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/work-async-storage.external.js";
|
|
2
|
+
import { __require as o } from "./work-async-storage-instance.js";
|
|
3
|
+
var t;
|
|
4
|
+
function c() {
|
|
5
|
+
return t ? e : (t = 1, function(r) {
|
|
6
|
+
Object.defineProperty(r, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
}), Object.defineProperty(r, "workAsyncStorage", {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: function() {
|
|
11
|
+
return n.workAsyncStorageInstance;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const n = o();
|
|
15
|
+
}(e), e);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
c as __require
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-unit-async-storage-instance.cjs"),o=require("./async-local-storage.cjs");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/work-unit-async-storage-instance.js";
|
|
2
|
+
import { __require as o } from "./async-local-storage.js";
|
|
3
|
+
var n;
|
|
4
|
+
function i() {
|
|
5
|
+
return n ? e : (n = 1, function(r) {
|
|
6
|
+
Object.defineProperty(r, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
}), Object.defineProperty(r, "workUnitAsyncStorageInstance", {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: function() {
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const t = (0, o().createAsyncLocalStorage)();
|
|
15
|
+
}(e), e);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
i as __require
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/work-unit-async-storage.external.cjs"),l=require("./work-unit-async-storage-instance.cjs"),g=require("../../client/components/app-router-headers.cjs");var s;function R(){return s||(s=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function o(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}o(a,{getDraftModeProviderForCacheScope:function(){return h},getExpectedRequestStore:function(){return d},getHmrRefreshHash:function(){return _},getPrerenderResumeDataCache:function(){return f},getRenderResumeDataCache:function(){return p},throwForMissingRequestStore:function(){return c},workUnitAsyncStorage:function(){return u.workUnitAsyncStorageInstance}});const u=l.__require(),i=g.__require();function d(e){const r=u.workUnitAsyncStorageInstance.getStore();switch(r||c(e),r.type){case"request":return r;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0});default:return r}}function c(e){throw Object.defineProperty(new Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function f(e){return e.type==="prerender"||e.type==="prerender-ppr"?e.prerenderResumeDataCache:null}function p(e){return e.type!=="prerender-legacy"&&e.type!=="cache"&&e.type!=="unstable-cache"?e.type==="request"?e.renderResumeDataCache:e.prerenderResumeDataCache:null}function _(e,r){var t;if(e.dev)return r.type==="cache"||r.type==="prerender"?r.hmrRefreshHash:r.type==="request"?(t=r.cookies.get(i.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:t.value:void 0}function h(e,r){if(e.isDraftMode)switch(r.type){case"cache":case"unstable-cache":case"request":return r.draftMode;default:return}}}(n.__exports)),n.__exports}exports.__require=R;
|
|
@@ -1 +1,102 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/work-unit-async-storage.external.js";
|
|
2
|
+
import { __require as l } from "./work-unit-async-storage-instance.js";
|
|
3
|
+
import { __require as g } from "../../client/components/app-router-headers.js";
|
|
4
|
+
var s;
|
|
5
|
+
function b() {
|
|
6
|
+
return s ? n : (s = 1, function(a) {
|
|
7
|
+
Object.defineProperty(a, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
});
|
|
10
|
+
function o(e, r) {
|
|
11
|
+
for (var t in r) Object.defineProperty(e, t, {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: r[t]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
o(a, {
|
|
17
|
+
getDraftModeProviderForCacheScope: function() {
|
|
18
|
+
return _;
|
|
19
|
+
},
|
|
20
|
+
getExpectedRequestStore: function() {
|
|
21
|
+
return d;
|
|
22
|
+
},
|
|
23
|
+
getHmrRefreshHash: function() {
|
|
24
|
+
return h;
|
|
25
|
+
},
|
|
26
|
+
getPrerenderResumeDataCache: function() {
|
|
27
|
+
return f;
|
|
28
|
+
},
|
|
29
|
+
getRenderResumeDataCache: function() {
|
|
30
|
+
return p;
|
|
31
|
+
},
|
|
32
|
+
throwForMissingRequestStore: function() {
|
|
33
|
+
return c;
|
|
34
|
+
},
|
|
35
|
+
workUnitAsyncStorage: function() {
|
|
36
|
+
return u.workUnitAsyncStorageInstance;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const u = l(), i = g();
|
|
40
|
+
function d(e) {
|
|
41
|
+
const r = u.workUnitAsyncStorageInstance.getStore();
|
|
42
|
+
switch (r || c(e), r.type) {
|
|
43
|
+
case "request":
|
|
44
|
+
return r;
|
|
45
|
+
case "prerender":
|
|
46
|
+
case "prerender-ppr":
|
|
47
|
+
case "prerender-legacy":
|
|
48
|
+
throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
|
|
49
|
+
value: "E401",
|
|
50
|
+
enumerable: !1,
|
|
51
|
+
configurable: !0
|
|
52
|
+
});
|
|
53
|
+
case "cache":
|
|
54
|
+
throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
|
|
55
|
+
value: "E37",
|
|
56
|
+
enumerable: !1,
|
|
57
|
+
configurable: !0
|
|
58
|
+
});
|
|
59
|
+
case "unstable-cache":
|
|
60
|
+
throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`), "__NEXT_ERROR_CODE", {
|
|
61
|
+
value: "E69",
|
|
62
|
+
enumerable: !1,
|
|
63
|
+
configurable: !0
|
|
64
|
+
});
|
|
65
|
+
default:
|
|
66
|
+
return r;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function c(e) {
|
|
70
|
+
throw Object.defineProperty(new Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
|
|
71
|
+
value: "E251",
|
|
72
|
+
enumerable: !1,
|
|
73
|
+
configurable: !0
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function f(e) {
|
|
77
|
+
return e.type === "prerender" || e.type === "prerender-ppr" ? e.prerenderResumeDataCache : null;
|
|
78
|
+
}
|
|
79
|
+
function p(e) {
|
|
80
|
+
return e.type !== "prerender-legacy" && e.type !== "cache" && e.type !== "unstable-cache" ? e.type === "request" ? e.renderResumeDataCache : e.prerenderResumeDataCache : null;
|
|
81
|
+
}
|
|
82
|
+
function h(e, r) {
|
|
83
|
+
var t;
|
|
84
|
+
if (e.dev)
|
|
85
|
+
return r.type === "cache" || r.type === "prerender" ? r.hmrRefreshHash : r.type === "request" ? (t = r.cookies.get(i.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : t.value : void 0;
|
|
86
|
+
}
|
|
87
|
+
function _(e, r) {
|
|
88
|
+
if (e.isDraftMode)
|
|
89
|
+
switch (r.type) {
|
|
90
|
+
case "cache":
|
|
91
|
+
case "unstable-cache":
|
|
92
|
+
case "request":
|
|
93
|
+
return r.draftMode;
|
|
94
|
+
default:
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}(n), n);
|
|
99
|
+
}
|
|
100
|
+
export {
|
|
101
|
+
b as __require
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../_virtual/dynamic-rendering-utils.cjs");var f;function h(){return f||(f=1,function(s){Object.defineProperty(s,"__esModule",{value:!0});function l(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}l(s,{isHangingPromiseRejectionError:function(){return m},makeHangingPromise:function(){return y}});function m(e){return typeof e!="object"||e===null||!("digest"in e)?!1:e.digest===u}const u="HANGING_PROMISE_REJECTION";class c extends Error{constructor(t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=t,this.digest=u}}const a=new WeakMap;function y(e,t){if(e.aborted)return Promise.reject(new c(t));{const n=new Promise((R,b)=>{const d=b.bind(null,new c(t));let g=a.get(e);if(g)g.push(d);else{const r=[d];a.set(e,r),e.addEventListener("abort",()=>{for(let i=0;i<r.length;i++)r[i]()},{once:!0})}});return n.catch(_),n}}function _(){}}(o.__exports)),o.__exports}exports.__require=h;
|
|
@@ -1 +1,62 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as o } from "../../../../_virtual/dynamic-rendering-utils.js";
|
|
2
|
+
var g;
|
|
3
|
+
function _() {
|
|
4
|
+
return g ? o : (g = 1, function(s) {
|
|
5
|
+
Object.defineProperty(s, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function l(e, n) {
|
|
9
|
+
for (var r in n) Object.defineProperty(e, r, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: n[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
l(s, {
|
|
15
|
+
isHangingPromiseRejectionError: function() {
|
|
16
|
+
return m;
|
|
17
|
+
},
|
|
18
|
+
makeHangingPromise: function() {
|
|
19
|
+
return h;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
function m(e) {
|
|
23
|
+
return typeof e != "object" || e === null || !("digest" in e) ? !1 : e.digest === u;
|
|
24
|
+
}
|
|
25
|
+
const u = "HANGING_PROMISE_REJECTION";
|
|
26
|
+
class c extends Error {
|
|
27
|
+
constructor(n) {
|
|
28
|
+
super(`During prerendering, ${n} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${n} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`), this.expression = n, this.digest = u;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
const a = /* @__PURE__ */ new WeakMap();
|
|
32
|
+
function h(e, n) {
|
|
33
|
+
if (e.aborted)
|
|
34
|
+
return Promise.reject(new c(n));
|
|
35
|
+
{
|
|
36
|
+
const r = new Promise((b, R) => {
|
|
37
|
+
const d = R.bind(null, new c(n));
|
|
38
|
+
let f = a.get(e);
|
|
39
|
+
if (f)
|
|
40
|
+
f.push(d);
|
|
41
|
+
else {
|
|
42
|
+
const t = [
|
|
43
|
+
d
|
|
44
|
+
];
|
|
45
|
+
a.set(e, t), e.addEventListener("abort", () => {
|
|
46
|
+
for (let i = 0; i < t.length; i++)
|
|
47
|
+
t[i]();
|
|
48
|
+
}, {
|
|
49
|
+
once: !0
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
return r.catch(y), r;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function y() {
|
|
57
|
+
}
|
|
58
|
+
}(o), o);
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
_ as __require
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../../_virtual/is-postpone.cjs");var n;function s(){return n||(n=1,function(o){Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"isPostpone",{enumerable:!0,get:function(){return u}});const r=Symbol.for("react.postpone");function u(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}}(t.__exports)),t.__exports}exports.__require=s;
|