@amoa/casting 0.1.5 → 0.1.6
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/export/index.js +9 -9
- package/dist/form/buttons/index.js +2 -2
- package/dist/form/caption/index.js +2 -2
- package/dist/form/description/index.js +2 -2
- package/dist/form/email/index.js +3 -3
- package/dist/form/index.js +4 -4
- package/dist/form/inputs/index.js +2 -2
- package/dist/form/password/index.js +3 -3
- package/dist/index.css +33 -1647
- package/dist/waiter/index.js +11 -13
- package/package.json +4 -3
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/_interop_require_default.js +0 -3
- package/dist/_virtual/_interop_require_wildcard.js +0 -3
- package/dist/_virtual/action-async-storage-instance.js +0 -3
- package/dist/_virtual/action-async-storage.external.js +0 -3
- package/dist/_virtual/add-base-path.js +0 -3
- package/dist/_virtual/add-locale.js +0 -3
- package/dist/_virtual/add-locale2.js +0 -3
- package/dist/_virtual/add-path-prefix.js +0 -3
- package/dist/_virtual/app-paths.js +0 -3
- package/dist/_virtual/app-router-context.shared-runtime.js +0 -3
- package/dist/_virtual/app-router-headers.js +0 -3
- package/dist/_virtual/app.js +0 -3
- package/dist/_virtual/async-local-storage.js +0 -3
- package/dist/_virtual/bailout-to-csr.js +0 -3
- package/dist/_virtual/boundary-constants.js +0 -3
- package/dist/_virtual/constants.js +0 -3
- package/dist/_virtual/deployment-id.js +0 -3
- package/dist/_virtual/detect-domain-locale.js +0 -3
- package/dist/_virtual/detect-domain-locale2.js +0 -3
- package/dist/_virtual/dynamic-rendering-utils.js +0 -3
- package/dist/_virtual/dynamic-rendering.js +0 -3
- package/dist/_virtual/ensure-leading-slash.js +0 -3
- package/dist/_virtual/error-once.js +0 -3
- package/dist/_virtual/escape-regexp.js +0 -3
- package/dist/_virtual/find-closest-quality.js +0 -3
- package/dist/_virtual/forbidden.js +0 -3
- package/dist/_virtual/format-url.js +0 -3
- package/dist/_virtual/get-domain-locale.js +0 -3
- package/dist/_virtual/get-dynamic-param.js +0 -3
- package/dist/_virtual/get-img-props.js +0 -3
- package/dist/_virtual/get-segment-param.js +0 -3
- package/dist/_virtual/has-base-path.js +0 -3
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
- package/dist/_virtual/head.js +0 -3
- package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -3
- package/dist/_virtual/hooks-server-context.js +0 -3
- package/dist/_virtual/http-access-fallback.js +0 -3
- package/dist/_virtual/image-blur-svg.js +0 -3
- package/dist/_virtual/image-component.js +0 -3
- package/dist/_virtual/image-config-context.shared-runtime.js +0 -3
- package/dist/_virtual/image-config.js +0 -3
- package/dist/_virtual/image-external.js +0 -3
- package/dist/_virtual/image-loader.js +0 -3
- package/dist/_virtual/image.js +0 -7
- package/dist/_virtual/index.js +0 -3
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.js +0 -3
- package/dist/_virtual/interception-prefix-from-param-type.js +0 -3
- package/dist/_virtual/interception-routes.js +0 -3
- package/dist/_virtual/interpolate-as.js +0 -3
- package/dist/_virtual/invariant-error.js +0 -3
- package/dist/_virtual/is-dynamic.js +0 -3
- package/dist/_virtual/is-local-url.js +0 -3
- package/dist/_virtual/is-next-router-error.js +0 -3
- package/dist/_virtual/is-postpone.js +0 -3
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -3
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link2.js +0 -3
- package/dist/_virtual/match-local-pattern.js +0 -3
- package/dist/_virtual/match-remote-pattern.js +0 -3
- package/dist/_virtual/navigation.js +0 -3
- package/dist/_virtual/navigation.react-server.js +0 -3
- package/dist/_virtual/navigation2.js +0 -3
- package/dist/_virtual/normalize-locale-path.js +0 -3
- package/dist/_virtual/normalize-locale-path2.js +0 -3
- package/dist/_virtual/normalize-trailing-slash.js +0 -3
- package/dist/_virtual/not-found.js +0 -3
- package/dist/_virtual/omit.js +0 -3
- package/dist/_virtual/parse-loader-tree.js +0 -3
- package/dist/_virtual/parse-path.js +0 -3
- package/dist/_virtual/path-has-prefix.js +0 -3
- package/dist/_virtual/querystring.js +0 -3
- package/dist/_virtual/react-jsx-runtime.development.js +0 -3
- package/dist/_virtual/react-jsx-runtime.production.js +0 -3
- package/dist/_virtual/readonly-url-search-params.js +0 -3
- package/dist/_virtual/redirect-error.js +0 -3
- package/dist/_virtual/redirect-status-code.js +0 -3
- package/dist/_virtual/redirect.js +0 -3
- package/dist/_virtual/remove-trailing-slash.js +0 -3
- package/dist/_virtual/request-idle-callback.js +0 -3
- package/dist/_virtual/resolve-href.js +0 -3
- package/dist/_virtual/resolve-param-value.js +0 -3
- package/dist/_virtual/route-match-utils.js +0 -3
- package/dist/_virtual/route-matcher.js +0 -3
- package/dist/_virtual/route-pattern-normalizer.js +0 -3
- package/dist/_virtual/route-regex.js +0 -3
- package/dist/_virtual/router-context.shared-runtime.js +0 -3
- package/dist/_virtual/scheduler.js +0 -3
- package/dist/_virtual/segment.js +0 -3
- package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -3
- package/dist/_virtual/side-effect.js +0 -3
- package/dist/_virtual/sorted-routes.js +0 -3
- package/dist/_virtual/static-generation-bailout.js +0 -3
- package/dist/_virtual/unauthorized.js +0 -3
- package/dist/_virtual/unrecognized-action-error.js +0 -3
- package/dist/_virtual/unstable-rethrow.browser.js +0 -3
- package/dist/_virtual/unstable-rethrow.js +0 -3
- package/dist/_virtual/unstable-rethrow.server.js +0 -3
- package/dist/_virtual/use-intersection.js +0 -3
- package/dist/_virtual/use-merged-ref.js +0 -3
- package/dist/_virtual/utils.js +0 -3
- package/dist/_virtual/warn-once.js +0 -3
- package/dist/_virtual/work-async-storage-instance.js +0 -3
- package/dist/_virtual/work-async-storage.external.js +0 -3
- package/dist/_virtual/work-unit-async-storage-instance.js +0 -3
- package/dist/_virtual/work-unit-async-storage.external.js +0 -3
- package/dist/config/config.json.js +0 -37
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
- package/dist/node_modules/next/dist/client/add-locale.js +0 -39
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -112
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -50
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -77
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -37
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -198
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -80
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -58
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -60
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -36
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -98
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -50
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -47
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -42
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -41
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -50
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -51
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
- package/dist/node_modules/next/dist/client/image-component.js +0 -343
- package/dist/node_modules/next/dist/client/link.js +0 -466
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -40
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -54
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -124
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -126
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -79
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -439
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -1662
- package/dist/node_modules/next/dist/lib/constants.js +0 -339
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -41
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -114
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -69
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -25
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -83
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -804
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -25
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -221
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -90
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -27
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -30
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -617
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/head.js +0 -177
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -65
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -119
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -54
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -71
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -130
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -61
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -88
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -176
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -89
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -109
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -82
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -128
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -122
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -61
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -312
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -246
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -102
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -78
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -192
- package/dist/node_modules/next/image.js +0 -13
- package/dist/node_modules/next/link.js +0 -13
- package/dist/node_modules/next/navigation.js +0 -13
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -240
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
- package/dist/node_modules/react/jsx-runtime.js +0 -19
- package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -26
- package/dist/packages/carving/src/carving.js +0 -34
- package/dist/packages/carving/src/condo.js +0 -17
- package/dist/packages/carving/src/logos/amoa.js +0 -17
- package/dist/packages/forge/src/classes.js +0 -17
- package/dist/packages/forge/src/dates/date.js +0 -8
- package/dist/packages/forge/src/dates/day.js +0 -7
- package/dist/packages/forge/src/dates/index.js +0 -31
- package/dist/packages/forge/src/dates/month.js +0 -35
- package/dist/packages/forge/src/dates/year.js +0 -16
- package/dist/packages/forge/src/fetcher/index.js +0 -37
- package/dist/packages/forge/src/fetcher/querystring.js +0 -9
- package/dist/packages/forge/src/files.js +0 -17
- package/dist/packages/forge/src/numbers/index.js +0 -5
- package/dist/packages/forge/src/strings/characters.js +0 -3
- package/dist/packages/forge/src/strings/diacritics.js +0 -261
- package/dist/packages/forge/src/strings/index.js +0 -24
- package/dist/packages/hooks/src/use-debounce.js +0 -19
- package/dist/packages/hooks/src/use-tooltip.js +0 -27
- package/dist/packages/ingots/src/address/api/form.js +0 -12
- package/dist/packages/ingots/src/address/config.json.js +0 -16
- package/dist/packages/ingots/src/address/index.js +0 -115
- package/dist/packages/ingots/src/address/index.module.css.js +0 -3
- package/dist/packages/ingots/src/address/service.js +0 -41
- package/dist/packages/ingots/src/backdrop/index.js +0 -18
- package/dist/packages/ingots/src/backdrop/index.module.css.js +0 -3
- package/dist/packages/ingots/src/button/index.js +0 -56
- package/dist/packages/ingots/src/button/index.module.css.js +0 -3
- package/dist/packages/ingots/src/checkbox/index.js +0 -47
- package/dist/packages/ingots/src/checkbox/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/erase/index.js +0 -22
- package/dist/packages/ingots/src/date/erase/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/input/index.js +0 -113
- package/dist/packages/ingots/src/date/input/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/day/index.js +0 -35
- package/dist/packages/ingots/src/date/picker/day/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/days/index.js +0 -59
- package/dist/packages/ingots/src/date/picker/days/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/handle/index.js +0 -40
- package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/index.js +0 -154
- package/dist/packages/ingots/src/date/picker/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/menu/index.js +0 -32
- package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/picker/menu/item.js +0 -30
- package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +0 -3
- package/dist/packages/ingots/src/file/api/index.js +0 -14
- package/dist/packages/ingots/src/file/card/index.js +0 -65
- package/dist/packages/ingots/src/file/card/index.module.css.js +0 -3
- package/dist/packages/ingots/src/file/index.js +0 -34
- package/dist/packages/ingots/src/file/index.module.css.js +0 -3
- package/dist/packages/ingots/src/file/input/index.js +0 -261
- package/dist/packages/ingots/src/file/input/index.module.css.js +0 -3
- package/dist/packages/ingots/src/input/index.js +0 -75
- package/dist/packages/ingots/src/input/src/validation/index.js +0 -3
- package/dist/packages/ingots/src/loader/index.js +0 -23
- package/dist/packages/ingots/src/loader/index.module.css.js +0 -3
- package/dist/packages/ingots/src/loader/variants/spinner/index.js +0 -31
- package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/card/index.js +0 -33
- package/dist/packages/ingots/src/select/card/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/category/index.js +0 -13
- package/dist/packages/ingots/src/select/category/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/content/index.js +0 -46
- package/dist/packages/ingots/src/select/index.js +0 -155
- package/dist/packages/ingots/src/select/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/option/index.js +0 -35
- package/dist/packages/ingots/src/select/option/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/options/index.js +0 -59
- package/dist/packages/ingots/src/select/options/index.module.css.js +0 -3
- package/dist/packages/ingots/src/snackbar/context.js +0 -9
- package/dist/packages/ingots/src/tag/index.js +0 -16
- package/dist/packages/ingots/src/tag/index.module.css.js +0 -3
- package/dist/packages/ingots/src/text/index.js +0 -92
- package/dist/packages/ingots/src/text/index.module.css.js +0 -3
- package/dist/packages/ingots/src/textarea/index.js +0 -62
- package/dist/packages/ingots/src/textarea/index.module.css.js +0 -3
- package/dist/packages/ingots/src/toggle/index.js +0 -43
- package/dist/packages/ingots/src/toggle/index.module.css.js +0 -3
- package/dist/packages/runes/src/icon.js +0 -16
- package/dist/packages/runes/src/paths/alert.js +0 -18
- package/dist/packages/runes/src/paths/arrow/path.js +0 -18
- package/dist/packages/runes/src/paths/calendar.js +0 -18
- package/dist/packages/runes/src/paths/check/fill.js +0 -18
- package/dist/packages/runes/src/paths/check/regular.js +0 -18
- package/dist/packages/runes/src/paths/chevron/down.js +0 -18
- package/dist/packages/runes/src/paths/chevron/left.js +0 -18
- package/dist/packages/runes/src/paths/chevron/right.js +0 -18
- package/dist/packages/runes/src/paths/click.js +0 -18
- package/dist/packages/runes/src/paths/cross/regular.js +0 -16
- package/dist/packages/runes/src/paths/download.js +0 -18
- package/dist/packages/runes/src/paths/file.js +0 -18
- package/dist/packages/runes/src/paths/link.js +0 -23
- package/dist/packages/wares/src/authentication/index.js +0 -11
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import { __exports as constants } from '../../../../_virtual/constants.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredConstants;
|
|
4
|
-
|
|
5
|
-
function requireConstants () {
|
|
6
|
-
if (hasRequiredConstants) return constants;
|
|
7
|
-
hasRequiredConstants = 1;
|
|
8
|
-
(function (exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
ACTION_SUFFIX: function () {
|
|
21
|
-
return ACTION_SUFFIX;
|
|
22
|
-
},
|
|
23
|
-
APP_DIR_ALIAS: function () {
|
|
24
|
-
return APP_DIR_ALIAS;
|
|
25
|
-
},
|
|
26
|
-
CACHE_ONE_YEAR: function () {
|
|
27
|
-
return CACHE_ONE_YEAR;
|
|
28
|
-
},
|
|
29
|
-
DOT_NEXT_ALIAS: function () {
|
|
30
|
-
return DOT_NEXT_ALIAS;
|
|
31
|
-
},
|
|
32
|
-
ESLINT_DEFAULT_DIRS: function () {
|
|
33
|
-
return ESLINT_DEFAULT_DIRS;
|
|
34
|
-
},
|
|
35
|
-
GSP_NO_RETURNED_VALUE: function () {
|
|
36
|
-
return GSP_NO_RETURNED_VALUE;
|
|
37
|
-
},
|
|
38
|
-
GSSP_COMPONENT_MEMBER_ERROR: function () {
|
|
39
|
-
return GSSP_COMPONENT_MEMBER_ERROR;
|
|
40
|
-
},
|
|
41
|
-
GSSP_NO_RETURNED_VALUE: function () {
|
|
42
|
-
return GSSP_NO_RETURNED_VALUE;
|
|
43
|
-
},
|
|
44
|
-
HTML_CONTENT_TYPE_HEADER: function () {
|
|
45
|
-
return HTML_CONTENT_TYPE_HEADER;
|
|
46
|
-
},
|
|
47
|
-
INFINITE_CACHE: function () {
|
|
48
|
-
return INFINITE_CACHE;
|
|
49
|
-
},
|
|
50
|
-
INSTRUMENTATION_HOOK_FILENAME: function () {
|
|
51
|
-
return INSTRUMENTATION_HOOK_FILENAME;
|
|
52
|
-
},
|
|
53
|
-
JSON_CONTENT_TYPE_HEADER: function () {
|
|
54
|
-
return JSON_CONTENT_TYPE_HEADER;
|
|
55
|
-
},
|
|
56
|
-
MATCHED_PATH_HEADER: function () {
|
|
57
|
-
return MATCHED_PATH_HEADER;
|
|
58
|
-
},
|
|
59
|
-
MIDDLEWARE_FILENAME: function () {
|
|
60
|
-
return MIDDLEWARE_FILENAME;
|
|
61
|
-
},
|
|
62
|
-
MIDDLEWARE_LOCATION_REGEXP: function () {
|
|
63
|
-
return MIDDLEWARE_LOCATION_REGEXP;
|
|
64
|
-
},
|
|
65
|
-
NEXT_BODY_SUFFIX: function () {
|
|
66
|
-
return NEXT_BODY_SUFFIX;
|
|
67
|
-
},
|
|
68
|
-
NEXT_CACHE_IMPLICIT_TAG_ID: function () {
|
|
69
|
-
return NEXT_CACHE_IMPLICIT_TAG_ID;
|
|
70
|
-
},
|
|
71
|
-
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function () {
|
|
72
|
-
return NEXT_CACHE_REVALIDATED_TAGS_HEADER;
|
|
73
|
-
},
|
|
74
|
-
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function () {
|
|
75
|
-
return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
|
|
76
|
-
},
|
|
77
|
-
NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function () {
|
|
78
|
-
return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
|
|
79
|
-
},
|
|
80
|
-
NEXT_CACHE_TAGS_HEADER: function () {
|
|
81
|
-
return NEXT_CACHE_TAGS_HEADER;
|
|
82
|
-
},
|
|
83
|
-
NEXT_CACHE_TAG_MAX_ITEMS: function () {
|
|
84
|
-
return NEXT_CACHE_TAG_MAX_ITEMS;
|
|
85
|
-
},
|
|
86
|
-
NEXT_CACHE_TAG_MAX_LENGTH: function () {
|
|
87
|
-
return NEXT_CACHE_TAG_MAX_LENGTH;
|
|
88
|
-
},
|
|
89
|
-
NEXT_DATA_SUFFIX: function () {
|
|
90
|
-
return NEXT_DATA_SUFFIX;
|
|
91
|
-
},
|
|
92
|
-
NEXT_INTERCEPTION_MARKER_PREFIX: function () {
|
|
93
|
-
return NEXT_INTERCEPTION_MARKER_PREFIX;
|
|
94
|
-
},
|
|
95
|
-
NEXT_META_SUFFIX: function () {
|
|
96
|
-
return NEXT_META_SUFFIX;
|
|
97
|
-
},
|
|
98
|
-
NEXT_QUERY_PARAM_PREFIX: function () {
|
|
99
|
-
return NEXT_QUERY_PARAM_PREFIX;
|
|
100
|
-
},
|
|
101
|
-
NEXT_RESUME_HEADER: function () {
|
|
102
|
-
return NEXT_RESUME_HEADER;
|
|
103
|
-
},
|
|
104
|
-
NON_STANDARD_NODE_ENV: function () {
|
|
105
|
-
return NON_STANDARD_NODE_ENV;
|
|
106
|
-
},
|
|
107
|
-
PAGES_DIR_ALIAS: function () {
|
|
108
|
-
return PAGES_DIR_ALIAS;
|
|
109
|
-
},
|
|
110
|
-
PRERENDER_REVALIDATE_HEADER: function () {
|
|
111
|
-
return PRERENDER_REVALIDATE_HEADER;
|
|
112
|
-
},
|
|
113
|
-
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function () {
|
|
114
|
-
return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER;
|
|
115
|
-
},
|
|
116
|
-
PROXY_FILENAME: function () {
|
|
117
|
-
return PROXY_FILENAME;
|
|
118
|
-
},
|
|
119
|
-
PROXY_LOCATION_REGEXP: function () {
|
|
120
|
-
return PROXY_LOCATION_REGEXP;
|
|
121
|
-
},
|
|
122
|
-
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function () {
|
|
123
|
-
return PUBLIC_DIR_MIDDLEWARE_CONFLICT;
|
|
124
|
-
},
|
|
125
|
-
ROOT_DIR_ALIAS: function () {
|
|
126
|
-
return ROOT_DIR_ALIAS;
|
|
127
|
-
},
|
|
128
|
-
RSC_ACTION_CLIENT_WRAPPER_ALIAS: function () {
|
|
129
|
-
return RSC_ACTION_CLIENT_WRAPPER_ALIAS;
|
|
130
|
-
},
|
|
131
|
-
RSC_ACTION_ENCRYPTION_ALIAS: function () {
|
|
132
|
-
return RSC_ACTION_ENCRYPTION_ALIAS;
|
|
133
|
-
},
|
|
134
|
-
RSC_ACTION_PROXY_ALIAS: function () {
|
|
135
|
-
return RSC_ACTION_PROXY_ALIAS;
|
|
136
|
-
},
|
|
137
|
-
RSC_ACTION_VALIDATE_ALIAS: function () {
|
|
138
|
-
return RSC_ACTION_VALIDATE_ALIAS;
|
|
139
|
-
},
|
|
140
|
-
RSC_CACHE_WRAPPER_ALIAS: function () {
|
|
141
|
-
return RSC_CACHE_WRAPPER_ALIAS;
|
|
142
|
-
},
|
|
143
|
-
RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function () {
|
|
144
|
-
return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
|
|
145
|
-
},
|
|
146
|
-
RSC_MOD_REF_PROXY_ALIAS: function () {
|
|
147
|
-
return RSC_MOD_REF_PROXY_ALIAS;
|
|
148
|
-
},
|
|
149
|
-
RSC_SEGMENTS_DIR_SUFFIX: function () {
|
|
150
|
-
return RSC_SEGMENTS_DIR_SUFFIX;
|
|
151
|
-
},
|
|
152
|
-
RSC_SEGMENT_SUFFIX: function () {
|
|
153
|
-
return RSC_SEGMENT_SUFFIX;
|
|
154
|
-
},
|
|
155
|
-
RSC_SUFFIX: function () {
|
|
156
|
-
return RSC_SUFFIX;
|
|
157
|
-
},
|
|
158
|
-
SERVER_PROPS_EXPORT_ERROR: function () {
|
|
159
|
-
return SERVER_PROPS_EXPORT_ERROR;
|
|
160
|
-
},
|
|
161
|
-
SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function () {
|
|
162
|
-
return SERVER_PROPS_GET_INIT_PROPS_CONFLICT;
|
|
163
|
-
},
|
|
164
|
-
SERVER_PROPS_SSG_CONFLICT: function () {
|
|
165
|
-
return SERVER_PROPS_SSG_CONFLICT;
|
|
166
|
-
},
|
|
167
|
-
SERVER_RUNTIME: function () {
|
|
168
|
-
return SERVER_RUNTIME;
|
|
169
|
-
},
|
|
170
|
-
SSG_FALLBACK_EXPORT_ERROR: function () {
|
|
171
|
-
return SSG_FALLBACK_EXPORT_ERROR;
|
|
172
|
-
},
|
|
173
|
-
SSG_GET_INITIAL_PROPS_CONFLICT: function () {
|
|
174
|
-
return SSG_GET_INITIAL_PROPS_CONFLICT;
|
|
175
|
-
},
|
|
176
|
-
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function () {
|
|
177
|
-
return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
|
|
178
|
-
},
|
|
179
|
-
TEXT_PLAIN_CONTENT_TYPE_HEADER: function () {
|
|
180
|
-
return TEXT_PLAIN_CONTENT_TYPE_HEADER;
|
|
181
|
-
},
|
|
182
|
-
UNSTABLE_REVALIDATE_RENAME_ERROR: function () {
|
|
183
|
-
return UNSTABLE_REVALIDATE_RENAME_ERROR;
|
|
184
|
-
},
|
|
185
|
-
WEBPACK_LAYERS: function () {
|
|
186
|
-
return WEBPACK_LAYERS;
|
|
187
|
-
},
|
|
188
|
-
WEBPACK_RESOURCE_QUERIES: function () {
|
|
189
|
-
return WEBPACK_RESOURCE_QUERIES;
|
|
190
|
-
},
|
|
191
|
-
WEB_SOCKET_MAX_RECONNECTIONS: function () {
|
|
192
|
-
return WEB_SOCKET_MAX_RECONNECTIONS;
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain';
|
|
196
|
-
const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8';
|
|
197
|
-
const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8';
|
|
198
|
-
const NEXT_QUERY_PARAM_PREFIX = 'nxtP';
|
|
199
|
-
const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI';
|
|
200
|
-
const MATCHED_PATH_HEADER = 'x-matched-path';
|
|
201
|
-
const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate';
|
|
202
|
-
const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = 'x-prerender-revalidate-if-generated';
|
|
203
|
-
const RSC_SEGMENTS_DIR_SUFFIX = '.segments';
|
|
204
|
-
const RSC_SEGMENT_SUFFIX = '.segment.rsc';
|
|
205
|
-
const RSC_SUFFIX = '.rsc';
|
|
206
|
-
const ACTION_SUFFIX = '.action';
|
|
207
|
-
const NEXT_DATA_SUFFIX = '.json';
|
|
208
|
-
const NEXT_META_SUFFIX = '.meta';
|
|
209
|
-
const NEXT_BODY_SUFFIX = '.body';
|
|
210
|
-
const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags';
|
|
211
|
-
const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags';
|
|
212
|
-
const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = 'x-next-revalidate-tag-token';
|
|
213
|
-
const NEXT_RESUME_HEADER = 'next-resume';
|
|
214
|
-
const NEXT_CACHE_TAG_MAX_ITEMS = 128;
|
|
215
|
-
const NEXT_CACHE_TAG_MAX_LENGTH = 256;
|
|
216
|
-
const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
|
|
217
|
-
const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_';
|
|
218
|
-
const CACHE_ONE_YEAR = 31536000;
|
|
219
|
-
const INFINITE_CACHE = 0xfffffffe;
|
|
220
|
-
const MIDDLEWARE_FILENAME = 'middleware';
|
|
221
|
-
const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
|
|
222
|
-
const PROXY_FILENAME = 'proxy';
|
|
223
|
-
const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;
|
|
224
|
-
const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation';
|
|
225
|
-
const PAGES_DIR_ALIAS = 'private-next-pages';
|
|
226
|
-
const DOT_NEXT_ALIAS = 'private-dot-next';
|
|
227
|
-
const ROOT_DIR_ALIAS = 'private-next-root-dir';
|
|
228
|
-
const APP_DIR_ALIAS = 'private-next-app-dir';
|
|
229
|
-
const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy';
|
|
230
|
-
const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate';
|
|
231
|
-
const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference';
|
|
232
|
-
const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper';
|
|
233
|
-
const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = 'private-next-rsc-track-dynamic-import';
|
|
234
|
-
const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption';
|
|
235
|
-
const RSC_ACTION_CLIENT_WRAPPER_ALIAS = 'private-next-rsc-action-client-wrapper';
|
|
236
|
-
const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;
|
|
237
|
-
const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;
|
|
238
|
-
const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;
|
|
239
|
-
const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;
|
|
240
|
-
const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;
|
|
241
|
-
const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;
|
|
242
|
-
const GSP_NO_RETURNED_VALUE = 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?';
|
|
243
|
-
const GSSP_NO_RETURNED_VALUE = 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?';
|
|
244
|
-
const UNSTABLE_REVALIDATE_RENAME_ERROR = 'The `unstable_revalidate` property is available for general use.\n' + 'Please use `revalidate` instead.';
|
|
245
|
-
const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;
|
|
246
|
-
const NON_STANDARD_NODE_ENV = `You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;
|
|
247
|
-
const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;
|
|
248
|
-
const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src'];
|
|
249
|
-
const SERVER_RUNTIME = {
|
|
250
|
-
edge: 'edge',
|
|
251
|
-
experimentalEdge: 'experimental-edge',
|
|
252
|
-
nodejs: 'nodejs'
|
|
253
|
-
};
|
|
254
|
-
const WEB_SOCKET_MAX_RECONNECTIONS = 12;
|
|
255
|
-
/**
|
|
256
|
-
* The names of the webpack layers. These layers are the primitives for the
|
|
257
|
-
* webpack chunks.
|
|
258
|
-
*/
|
|
259
|
-
const WEBPACK_LAYERS_NAMES = {
|
|
260
|
-
/**
|
|
261
|
-
* The layer for the shared code between the client and server bundles.
|
|
262
|
-
*/
|
|
263
|
-
shared: 'shared',
|
|
264
|
-
/**
|
|
265
|
-
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
266
|
-
* Including app router RSC pages and app router custom routes and metadata routes.
|
|
267
|
-
*/
|
|
268
|
-
reactServerComponents: 'rsc',
|
|
269
|
-
/**
|
|
270
|
-
* Server Side Rendering layer for app (ssr).
|
|
271
|
-
*/
|
|
272
|
-
serverSideRendering: 'ssr',
|
|
273
|
-
/**
|
|
274
|
-
* The browser client bundle layer for actions.
|
|
275
|
-
*/
|
|
276
|
-
actionBrowser: 'action-browser',
|
|
277
|
-
/**
|
|
278
|
-
* The Node.js bundle layer for the API routes.
|
|
279
|
-
*/
|
|
280
|
-
apiNode: 'api-node',
|
|
281
|
-
/**
|
|
282
|
-
* The Edge Lite bundle layer for the API routes.
|
|
283
|
-
*/
|
|
284
|
-
apiEdge: 'api-edge',
|
|
285
|
-
/**
|
|
286
|
-
* The layer for the middleware code.
|
|
287
|
-
*/
|
|
288
|
-
middleware: 'middleware',
|
|
289
|
-
/**
|
|
290
|
-
* The layer for the instrumentation hooks.
|
|
291
|
-
*/
|
|
292
|
-
instrument: 'instrument',
|
|
293
|
-
/**
|
|
294
|
-
* The layer for assets on the edge.
|
|
295
|
-
*/
|
|
296
|
-
edgeAsset: 'edge-asset',
|
|
297
|
-
/**
|
|
298
|
-
* The browser client bundle layer for App directory.
|
|
299
|
-
*/
|
|
300
|
-
appPagesBrowser: 'app-pages-browser',
|
|
301
|
-
/**
|
|
302
|
-
* The browser client bundle layer for Pages directory.
|
|
303
|
-
*/
|
|
304
|
-
pagesDirBrowser: 'pages-dir-browser',
|
|
305
|
-
/**
|
|
306
|
-
* The Edge Lite bundle layer for Pages directory.
|
|
307
|
-
*/
|
|
308
|
-
pagesDirEdge: 'pages-dir-edge',
|
|
309
|
-
/**
|
|
310
|
-
* The Node.js bundle layer for Pages directory.
|
|
311
|
-
*/
|
|
312
|
-
pagesDirNode: 'pages-dir-node'
|
|
313
|
-
};
|
|
314
|
-
const WEBPACK_LAYERS = {
|
|
315
|
-
...WEBPACK_LAYERS_NAMES,
|
|
316
|
-
GROUP: {
|
|
317
|
-
builtinReact: [WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.actionBrowser],
|
|
318
|
-
serverOnly: [WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.actionBrowser, WEBPACK_LAYERS_NAMES.instrument, WEBPACK_LAYERS_NAMES.middleware],
|
|
319
|
-
neutralTarget: [
|
|
320
|
-
// pages api
|
|
321
|
-
WEBPACK_LAYERS_NAMES.apiNode, WEBPACK_LAYERS_NAMES.apiEdge],
|
|
322
|
-
clientOnly: [WEBPACK_LAYERS_NAMES.serverSideRendering, WEBPACK_LAYERS_NAMES.appPagesBrowser],
|
|
323
|
-
bundled: [WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.actionBrowser, WEBPACK_LAYERS_NAMES.serverSideRendering, WEBPACK_LAYERS_NAMES.appPagesBrowser, WEBPACK_LAYERS_NAMES.shared, WEBPACK_LAYERS_NAMES.instrument, WEBPACK_LAYERS_NAMES.middleware],
|
|
324
|
-
appPages: [
|
|
325
|
-
// app router pages and layouts
|
|
326
|
-
WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.serverSideRendering, WEBPACK_LAYERS_NAMES.appPagesBrowser, WEBPACK_LAYERS_NAMES.actionBrowser]
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
const WEBPACK_RESOURCE_QUERIES = {
|
|
330
|
-
edgeSSREntry: '__next_edge_ssr_entry__',
|
|
331
|
-
metadata: '__next_metadata__',
|
|
332
|
-
metadataRoute: '__next_metadata_route__',
|
|
333
|
-
metadataImageMeta: '__next_metadata_image_meta__'
|
|
334
|
-
};
|
|
335
|
-
} (constants));
|
|
336
|
-
return constants;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export { requireConstants as __require };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __exports as boundaryConstants } from '../../../../../_virtual/boundary-constants.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredBoundaryConstants;
|
|
4
|
-
|
|
5
|
-
function requireBoundaryConstants () {
|
|
6
|
-
if (hasRequiredBoundaryConstants) return boundaryConstants;
|
|
7
|
-
hasRequiredBoundaryConstants = 1;
|
|
8
|
-
(function (exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
METADATA_BOUNDARY_NAME: function () {
|
|
21
|
-
return METADATA_BOUNDARY_NAME;
|
|
22
|
-
},
|
|
23
|
-
OUTLET_BOUNDARY_NAME: function () {
|
|
24
|
-
return OUTLET_BOUNDARY_NAME;
|
|
25
|
-
},
|
|
26
|
-
ROOT_LAYOUT_BOUNDARY_NAME: function () {
|
|
27
|
-
return ROOT_LAYOUT_BOUNDARY_NAME;
|
|
28
|
-
},
|
|
29
|
-
VIEWPORT_BOUNDARY_NAME: function () {
|
|
30
|
-
return VIEWPORT_BOUNDARY_NAME;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__';
|
|
34
|
-
const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__';
|
|
35
|
-
const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__';
|
|
36
|
-
const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__';
|
|
37
|
-
} (boundaryConstants));
|
|
38
|
-
return boundaryConstants;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { requireBoundaryConstants as __require };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { __exports as routePatternNormalizer } from '../../../../_virtual/route-pattern-normalizer.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredRoutePatternNormalizer;
|
|
4
|
-
|
|
5
|
-
function requireRoutePatternNormalizer () {
|
|
6
|
-
if (hasRequiredRoutePatternNormalizer) return routePatternNormalizer;
|
|
7
|
-
hasRequiredRoutePatternNormalizer = 1;
|
|
8
|
-
(function (exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
PARAM_SEPARATOR: function () {
|
|
21
|
-
return PARAM_SEPARATOR;
|
|
22
|
-
},
|
|
23
|
-
hasAdjacentParameterIssues: function () {
|
|
24
|
-
return hasAdjacentParameterIssues;
|
|
25
|
-
},
|
|
26
|
-
normalizeAdjacentParameters: function () {
|
|
27
|
-
return normalizeAdjacentParameters;
|
|
28
|
-
},
|
|
29
|
-
normalizeTokensForRegexp: function () {
|
|
30
|
-
return normalizeTokensForRegexp;
|
|
31
|
-
},
|
|
32
|
-
stripNormalizedSeparators: function () {
|
|
33
|
-
return stripNormalizedSeparators;
|
|
34
|
-
},
|
|
35
|
-
stripParameterSeparators: function () {
|
|
36
|
-
return stripParameterSeparators;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
const PARAM_SEPARATOR = '_NEXTSEP_';
|
|
40
|
-
function hasAdjacentParameterIssues(route) {
|
|
41
|
-
if (typeof route !== 'string') return false;
|
|
42
|
-
// Check for interception route markers followed immediately by parameters
|
|
43
|
-
// Pattern: /(.):param, /(..):param, /(...):param, /(.)(.):param etc.
|
|
44
|
-
// These patterns cause "Must have text between two parameters" errors
|
|
45
|
-
if (/\/\(\.{1,3}\):[^/\s]+/.test(route)) {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
// Check for basic adjacent parameters without separators
|
|
49
|
-
// Pattern: :param1:param2 (but not :param* or other URL patterns)
|
|
50
|
-
if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) {
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
function normalizeAdjacentParameters(route) {
|
|
56
|
-
let normalized = route;
|
|
57
|
-
// Handle interception route patterns: (.):param -> (.)_NEXTSEP_:param
|
|
58
|
-
normalized = normalized.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${PARAM_SEPARATOR}:$2`);
|
|
59
|
-
// Handle other adjacent parameter patterns: :param1:param2 -> :param1_NEXTSEP_:param2
|
|
60
|
-
normalized = normalized.replace(/:([^:/\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`);
|
|
61
|
-
return normalized;
|
|
62
|
-
}
|
|
63
|
-
function normalizeTokensForRegexp(tokens) {
|
|
64
|
-
return tokens.map(token => {
|
|
65
|
-
// Token union type: Token = string | TokenObject
|
|
66
|
-
// Literal path segments are strings, parameters/wildcards are objects
|
|
67
|
-
if (typeof token === 'object' && token !== null &&
|
|
68
|
-
// Not all token objects have 'modifier' property (e.g., simple text tokens)
|
|
69
|
-
'modifier' in token && (
|
|
70
|
-
// Only repeating modifiers (* or +) cause the validation error
|
|
71
|
-
// Other modifiers like '?' (optional) are fine
|
|
72
|
-
token.modifier === '*' || token.modifier === '+') &&
|
|
73
|
-
// Token objects can have different shapes depending on route pattern
|
|
74
|
-
'prefix' in token && 'suffix' in token &&
|
|
75
|
-
// Both prefix and suffix must be empty strings
|
|
76
|
-
// This is what causes the validation error in path-to-regexp
|
|
77
|
-
token.prefix === '' && token.suffix === '') {
|
|
78
|
-
// Add minimal prefix to satisfy path-to-regexp validation
|
|
79
|
-
// We use '/' as it's the most common path delimiter and won't break route matching
|
|
80
|
-
// The prefix gets used in regex generation but doesn't affect parameter extraction
|
|
81
|
-
return {
|
|
82
|
-
...token,
|
|
83
|
-
prefix: '/'
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
return token;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
function stripNormalizedSeparators(pathname) {
|
|
90
|
-
// Remove separator after interception route markers
|
|
91
|
-
// Pattern: (.)_NEXTSEP_ -> (.), (..)_NEXTSEP_ -> (..), etc.
|
|
92
|
-
// The separator appears after the closing paren of interception markers
|
|
93
|
-
return pathname.replace(new RegExp(`\\)${PARAM_SEPARATOR}`, 'g'), ')');
|
|
94
|
-
}
|
|
95
|
-
function stripParameterSeparators(params) {
|
|
96
|
-
const cleaned = {};
|
|
97
|
-
for (const [key, value] of Object.entries(params)) {
|
|
98
|
-
if (typeof value === 'string') {
|
|
99
|
-
// Remove the separator if it appears at the start of parameter values
|
|
100
|
-
cleaned[key] = value.replace(new RegExp(`^${PARAM_SEPARATOR}`), '');
|
|
101
|
-
} else if (Array.isArray(value)) {
|
|
102
|
-
// Handle array parameters (from repeated route segments)
|
|
103
|
-
cleaned[key] = value.map(item => typeof item === 'string' ? item.replace(new RegExp(`^${PARAM_SEPARATOR}`), '') : item);
|
|
104
|
-
} else {
|
|
105
|
-
cleaned[key] = value;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return cleaned;
|
|
109
|
-
}
|
|
110
|
-
} (routePatternNormalizer));
|
|
111
|
-
return routePatternNormalizer;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export { requireRoutePatternNormalizer as __require };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { __exports as scheduler } from '../../../../_virtual/scheduler.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredScheduler;
|
|
4
|
-
|
|
5
|
-
function requireScheduler () {
|
|
6
|
-
if (hasRequiredScheduler) return scheduler;
|
|
7
|
-
hasRequiredScheduler = 1;
|
|
8
|
-
(function (exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
atLeastOneTask: function () {
|
|
21
|
-
return atLeastOneTask;
|
|
22
|
-
},
|
|
23
|
-
scheduleImmediate: function () {
|
|
24
|
-
return scheduleImmediate;
|
|
25
|
-
},
|
|
26
|
-
scheduleOnNextTick: function () {
|
|
27
|
-
return scheduleOnNextTick;
|
|
28
|
-
},
|
|
29
|
-
waitAtLeastOneReactRenderTask: function () {
|
|
30
|
-
return waitAtLeastOneReactRenderTask;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
const scheduleOnNextTick = cb => {
|
|
34
|
-
// We use Promise.resolve().then() here so that the operation is scheduled at
|
|
35
|
-
// the end of the promise job queue, we then add it to the next process tick
|
|
36
|
-
// to ensure it's evaluated afterwards.
|
|
37
|
-
//
|
|
38
|
-
// This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255
|
|
39
|
-
//
|
|
40
|
-
Promise.resolve().then(() => {
|
|
41
|
-
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
42
|
-
setTimeout(cb, 0);
|
|
43
|
-
} else {
|
|
44
|
-
process.nextTick(cb);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
const scheduleImmediate = cb => {
|
|
49
|
-
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
50
|
-
setTimeout(cb, 0);
|
|
51
|
-
} else {
|
|
52
|
-
setImmediate(cb);
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
function atLeastOneTask() {
|
|
56
|
-
return new Promise(resolve => scheduleImmediate(resolve));
|
|
57
|
-
}
|
|
58
|
-
function waitAtLeastOneReactRenderTask() {
|
|
59
|
-
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
60
|
-
return new Promise(r => setTimeout(r, 0));
|
|
61
|
-
} else {
|
|
62
|
-
return new Promise(r => setImmediate(r));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
} (scheduler));
|
|
66
|
-
return scheduler;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export { requireScheduler as __require };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __exports as actionAsyncStorageInstance } from '../../../../../_virtual/action-async-storage-instance.js';
|
|
2
|
-
import { __require as requireAsyncLocalStorage } from './async-local-storage.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredActionAsyncStorageInstance;
|
|
5
|
-
|
|
6
|
-
function requireActionAsyncStorageInstance () {
|
|
7
|
-
if (hasRequiredActionAsyncStorageInstance) return actionAsyncStorageInstance;
|
|
8
|
-
hasRequiredActionAsyncStorageInstance = 1;
|
|
9
|
-
(function (exports$1) {
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports$1, "actionAsyncStorageInstance", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return actionAsyncStorageInstance;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _asynclocalstorage = requireAsyncLocalStorage();
|
|
21
|
-
const actionAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)();
|
|
22
|
-
} (actionAsyncStorageInstance));
|
|
23
|
-
return actionAsyncStorageInstance;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { requireActionAsyncStorageInstance as __require };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __exports as actionAsyncStorage_external } from '../../../../../_virtual/action-async-storage.external.js';
|
|
2
|
-
import { __require as requireActionAsyncStorageInstance } from './action-async-storage-instance.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredActionAsyncStorage_external;
|
|
5
|
-
|
|
6
|
-
function requireActionAsyncStorage_external () {
|
|
7
|
-
if (hasRequiredActionAsyncStorage_external) return actionAsyncStorage_external;
|
|
8
|
-
hasRequiredActionAsyncStorage_external = 1;
|
|
9
|
-
(function (exports$1) {
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports$1, "actionAsyncStorage", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return _actionasyncstorageinstance.actionAsyncStorageInstance;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _actionasyncstorageinstance = requireActionAsyncStorageInstance();
|
|
21
|
-
} (actionAsyncStorage_external));
|
|
22
|
-
return actionAsyncStorage_external;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { requireActionAsyncStorage_external as __require };
|