@betterinternship/components 2.4.1 → 2.4.3
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/components/ui/accordion.js +5 -5
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/app-header.d.ts +8 -1
- package/dist/components/ui/app-header.js +18 -18
- package/dist/components/ui/app-header.js.map +1 -1
- package/dist/components/ui/avatar.js +4 -4
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.js +3 -3
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/button.js +2 -2
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.js +8 -8
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js +2 -2
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/dialog.js +12 -12
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +16 -16
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/icons.js +12 -12
- package/dist/components/ui/icons.js.map +1 -1
- package/dist/components/ui/input.js +3 -3
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +2 -2
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/page-header.d.ts +2 -1
- package/dist/components/ui/page-header.js +5 -5
- package/dist/components/ui/page-header.js.map +1 -1
- package/dist/components/ui/popover.js +5 -5
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/separator.js +2 -2
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/skeleton.js +2 -2
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/status-notice.js +4 -4
- package/dist/components/ui/status-notice.js.map +1 -1
- package/dist/components/ui/switch.js +2 -2
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/table.js +9 -9
- package/dist/components/ui/table.js.map +1 -1
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js +5 -5
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/hooks/useClientProcess.js +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/package.json +2 -2
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_default.js.map +0 -1
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js.map +0 -1
- package/dist/_virtual/action-async-storage-instance.js +0 -4
- package/dist/_virtual/action-async-storage-instance.js.map +0 -1
- package/dist/_virtual/action-async-storage.external.js +0 -4
- package/dist/_virtual/action-async-storage.external.js.map +0 -1
- package/dist/_virtual/action-revalidation-kind.js +0 -4
- package/dist/_virtual/action-revalidation-kind.js.map +0 -1
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-base-path.js.map +0 -1
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale.js.map +0 -1
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-locale2.js.map +0 -1
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/add-path-prefix.js.map +0 -1
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/app-paths.js.map +0 -1
- package/dist/_virtual/app-router-context.shared-runtime.js +0 -4
- package/dist/_virtual/app-router-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/app.js +0 -4
- package/dist/_virtual/app.js.map +0 -1
- package/dist/_virtual/async-local-storage.js +0 -4
- package/dist/_virtual/async-local-storage.js.map +0 -1
- package/dist/_virtual/bailout-to-csr.js +0 -4
- package/dist/_virtual/bailout-to-csr.js.map +0 -1
- package/dist/_virtual/blocking-route-messages.js +0 -4
- package/dist/_virtual/blocking-route-messages.js.map +0 -1
- package/dist/_virtual/boundary-constants.js +0 -4
- package/dist/_virtual/boundary-constants.js.map +0 -1
- package/dist/_virtual/boundary-constants2.js +0 -4
- package/dist/_virtual/boundary-constants2.js.map +0 -1
- package/dist/_virtual/boundary-tracking.js +0 -4
- package/dist/_virtual/boundary-tracking.js.map +0 -1
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/constants.js.map +0 -1
- package/dist/_virtual/cookies.js +0 -4
- package/dist/_virtual/cookies.js.map +0 -1
- package/dist/_virtual/deployment-id.js +0 -4
- package/dist/_virtual/deployment-id.js.map +0 -1
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale.js.map +0 -1
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js.map +0 -1
- package/dist/_virtual/dynamic-rendering-utils.js +0 -4
- package/dist/_virtual/dynamic-rendering-utils.js.map +0 -1
- package/dist/_virtual/dynamic-rendering.js +0 -4
- package/dist/_virtual/dynamic-rendering.js.map +0 -1
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js.map +0 -1
- package/dist/_virtual/error-once.js +0 -4
- package/dist/_virtual/error-once.js.map +0 -1
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/escape-regexp.js.map +0 -1
- package/dist/_virtual/find-closest-quality.js +0 -4
- package/dist/_virtual/find-closest-quality.js.map +0 -1
- package/dist/_virtual/forbidden.js +0 -4
- package/dist/_virtual/forbidden.js.map +0 -1
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/format-url.js.map +0 -1
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/get-domain-locale.js.map +0 -1
- package/dist/_virtual/get-dynamic-param.js +0 -4
- package/dist/_virtual/get-dynamic-param.js.map +0 -1
- package/dist/_virtual/get-img-props.js +0 -4
- package/dist/_virtual/get-img-props.js.map +0 -1
- package/dist/_virtual/get-segment-param.js +0 -4
- package/dist/_virtual/get-segment-param.js.map +0 -1
- package/dist/_virtual/has-base-path.js +0 -4
- package/dist/_virtual/has-base-path.js.map +0 -1
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -4
- package/dist/_virtual/head-manager-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/head.js +0 -4
- package/dist/_virtual/head.js.map +0 -1
- package/dist/_virtual/headers.js +0 -4
- package/dist/_virtual/headers.js.map +0 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -4
- package/dist/_virtual/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/hooks-server-context.js +0 -4
- package/dist/_virtual/hooks-server-context.js.map +0 -1
- package/dist/_virtual/http-access-fallback.js +0 -4
- package/dist/_virtual/http-access-fallback.js.map +0 -1
- package/dist/_virtual/image-blur-svg.js +0 -4
- package/dist/_virtual/image-blur-svg.js.map +0 -1
- package/dist/_virtual/image-component.js +0 -4
- package/dist/_virtual/image-component.js.map +0 -1
- package/dist/_virtual/image-config-context.shared-runtime.js +0 -4
- package/dist/_virtual/image-config-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/image-config.js +0 -4
- package/dist/_virtual/image-config.js.map +0 -1
- package/dist/_virtual/image-external.js +0 -4
- package/dist/_virtual/image-external.js.map +0 -1
- package/dist/_virtual/image-loader.js +0 -4
- package/dist/_virtual/image-loader.js.map +0 -1
- package/dist/_virtual/image.js +0 -8
- package/dist/_virtual/image.js.map +0 -1
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/instant-messages.js +0 -4
- package/dist/_virtual/instant-messages.js.map +0 -1
- package/dist/_virtual/instant-samples.js +0 -4
- package/dist/_virtual/instant-samples.js.map +0 -1
- package/dist/_virtual/instant-samples2.js +0 -4
- package/dist/_virtual/instant-samples2.js.map +0 -1
- package/dist/_virtual/instant-validation-error.js +0 -4
- package/dist/_virtual/instant-validation-error.js.map +0 -1
- package/dist/_virtual/interception-prefix-from-param-type.js +0 -4
- package/dist/_virtual/interception-prefix-from-param-type.js.map +0 -1
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interception-routes.js.map +0 -1
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/interpolate-as.js.map +0 -1
- package/dist/_virtual/invariant-error.js +0 -4
- package/dist/_virtual/invariant-error.js.map +0 -1
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-dynamic.js.map +0 -1
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/is-local-url.js.map +0 -1
- package/dist/_virtual/is-next-router-error.js +0 -4
- package/dist/_virtual/is-next-router-error.js.map +0 -1
- package/dist/_virtual/is-postpone.js +0 -4
- package/dist/_virtual/is-postpone.js.map +0 -1
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/link.js +0 -8
- package/dist/_virtual/link.js.map +0 -1
- package/dist/_virtual/link2.js +0 -4
- package/dist/_virtual/link2.js.map +0 -1
- package/dist/_virtual/match-local-pattern.js +0 -4
- package/dist/_virtual/match-local-pattern.js.map +0 -1
- package/dist/_virtual/match-remote-pattern.js +0 -4
- package/dist/_virtual/match-remote-pattern.js.map +0 -1
- package/dist/_virtual/navigation-dynamic-rendering.js +0 -4
- package/dist/_virtual/navigation-dynamic-rendering.js.map +0 -1
- package/dist/_virtual/navigation.js +0 -6
- package/dist/_virtual/navigation.js.map +0 -1
- package/dist/_virtual/navigation.react-server.js +0 -4
- package/dist/_virtual/navigation.react-server.js.map +0 -1
- package/dist/_virtual/navigation2.js +0 -4
- package/dist/_virtual/navigation2.js.map +0 -1
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path.js.map +0 -1
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js.map +0 -1
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js.map +0 -1
- package/dist/_virtual/not-found.js +0 -4
- package/dist/_virtual/not-found.js.map +0 -1
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/omit.js.map +0 -1
- package/dist/_virtual/parse-loader-tree.js +0 -4
- package/dist/_virtual/parse-loader-tree.js.map +0 -1
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/parse-path.js.map +0 -1
- package/dist/_virtual/parse-relative-url.js +0 -4
- package/dist/_virtual/parse-relative-url.js.map +0 -1
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/path-has-prefix.js.map +0 -1
- package/dist/_virtual/promise-with-resolvers.js +0 -4
- package/dist/_virtual/promise-with-resolvers.js.map +0 -1
- package/dist/_virtual/querystring.js +0 -4
- package/dist/_virtual/querystring.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
- package/dist/_virtual/readonly-url-search-params.js +0 -4
- package/dist/_virtual/readonly-url-search-params.js.map +0 -1
- package/dist/_virtual/redirect-error.js +0 -4
- package/dist/_virtual/redirect-error.js.map +0 -1
- package/dist/_virtual/redirect-status-code.js +0 -4
- package/dist/_virtual/redirect-status-code.js.map +0 -1
- package/dist/_virtual/redirect.js +0 -4
- package/dist/_virtual/redirect.js.map +0 -1
- package/dist/_virtual/reflect-utils.js +0 -4
- package/dist/_virtual/reflect-utils.js.map +0 -1
- package/dist/_virtual/reflect.js +0 -4
- package/dist/_virtual/reflect.js.map +0 -1
- package/dist/_virtual/remove-trailing-slash.js +0 -4
- package/dist/_virtual/remove-trailing-slash.js.map +0 -1
- package/dist/_virtual/request-cookies.js +0 -4
- package/dist/_virtual/request-cookies.js.map +0 -1
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/request-idle-callback.js.map +0 -1
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/resolve-href.js.map +0 -1
- package/dist/_virtual/resolve-param-value.js +0 -4
- package/dist/_virtual/resolve-param-value.js.map +0 -1
- package/dist/_virtual/route-match-utils.js +0 -4
- package/dist/_virtual/route-match-utils.js.map +0 -1
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-matcher.js.map +0 -1
- package/dist/_virtual/route-pattern-normalizer.js +0 -4
- package/dist/_virtual/route-pattern-normalizer.js.map +0 -1
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/route-regex.js.map +0 -1
- package/dist/_virtual/router-context.shared-runtime.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/runtime-reacts.external.js +0 -4
- package/dist/_virtual/runtime-reacts.external.js.map +0 -1
- package/dist/_virtual/scheduler.js +0 -4
- package/dist/_virtual/scheduler.js.map +0 -1
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/segment.js.map +0 -1
- package/dist/_virtual/server-async-storage.js +0 -4
- package/dist/_virtual/server-async-storage.js.map +0 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -4
- package/dist/_virtual/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/_virtual/side-effect.js +0 -4
- package/dist/_virtual/side-effect.js.map +0 -1
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/sorted-routes.js.map +0 -1
- package/dist/_virtual/staged-rendering.js +0 -4
- package/dist/_virtual/staged-rendering.js.map +0 -1
- package/dist/_virtual/static-generation-bailout.js +0 -4
- package/dist/_virtual/static-generation-bailout.js.map +0 -1
- package/dist/_virtual/unauthorized.js +0 -4
- package/dist/_virtual/unauthorized.js.map +0 -1
- package/dist/_virtual/unrecognized-action-error.js +0 -4
- package/dist/_virtual/unrecognized-action-error.js.map +0 -1
- package/dist/_virtual/unstable-rethrow.js +0 -4
- package/dist/_virtual/unstable-rethrow.js.map +0 -1
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-intersection.js.map +0 -1
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/use-merged-ref.js.map +0 -1
- package/dist/_virtual/utils.js +0 -4
- package/dist/_virtual/utils.js.map +0 -1
- package/dist/_virtual/warn-once.js +0 -4
- package/dist/_virtual/warn-once.js.map +0 -1
- package/dist/_virtual/work-async-storage-instance.js +0 -4
- package/dist/_virtual/work-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-async-storage.external.js +0 -4
- package/dist/_virtual/work-async-storage.external.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage-instance.js +0 -4
- package/dist/_virtual/work-unit-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage.external.js +0 -4
- package/dist/_virtual/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -17
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -49
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -39
- package/dist/node_modules/next/dist/client/add-base-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/add-locale.js +0 -40
- package/dist/node_modules/next/dist/client/add-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
- package/dist/node_modules/next/dist/client/components/forbidden.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -51
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -78
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/instant-samples.js +0 -107
- package/dist/node_modules/next/dist/client/components/instant-samples.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -38
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +0 -41
- package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -250
- package/dist/node_modules/next/dist/client/components/navigation.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -83
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
- package/dist/node_modules/next/dist/client/components/not-found.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -61
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -53
- package/dist/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -37
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -99
- package/dist/node_modules/next/dist/client/components/redirect.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/server-async-storage.js +0 -48
- package/dist/node_modules/next/dist/client/components/server-async-storage.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -51
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
- package/dist/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -48
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -51
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -37
- package/dist/node_modules/next/dist/client/detect-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -52
- package/dist/node_modules/next/dist/client/get-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -37
- package/dist/node_modules/next/dist/client/has-base-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/image-component.js +0 -351
- package/dist/node_modules/next/dist/client/image-component.js.map +0 -1
- package/dist/node_modules/next/dist/client/link.js +0 -471
- package/dist/node_modules/next/dist/client/link.js.map +0 -1
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -41
- package/dist/node_modules/next/dist/client/normalize-locale-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -52
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js.map +0 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -53
- package/dist/node_modules/next/dist/client/request-idle-callback.js.map +0 -1
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -129
- package/dist/node_modules/next/dist/client/resolve-href.js.map +0 -1
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -129
- package/dist/node_modules/next/dist/client/use-intersection.js.map +0 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -83
- package/dist/node_modules/next/dist/client/use-merged-ref.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -341
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/picomatch/index.js.map +0 -1
- package/dist/node_modules/next/dist/lib/constants.js +0 -370
- package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -43
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -112
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js.map +0 -1
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -71
- package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -84
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +0 -177
- package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -1168
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -39
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +0 -47
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +0 -427
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +0 -42
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -331
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -211
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -269
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -29
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
- package/dist/node_modules/next/dist/server/runtime-reacts.external.js +0 -53
- package/dist/node_modules/next/dist/server/runtime-reacts.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +0 -303
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +0 -43
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +0 -233
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -38
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -58
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -70
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -614
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/head.js +0 -178
- package/dist/node_modules/next/dist/shared/lib/head.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -86
- package/dist/node_modules/next/dist/shared/lib/image-config.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/image-external.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -135
- package/dist/node_modules/next/dist/shared/lib/image-loader.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/instant-messages.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/instant-messages.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -45
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -73
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -72
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -100
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -184
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -91
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -116
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -68
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -48
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +0 -58
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js.map +0 -1
- 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/path-has-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -87
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -129
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -124
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -269
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -253
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -104
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -77
- package/dist/node_modules/next/dist/shared/lib/side-effect.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js +0 -72
- package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -210
- package/dist/node_modules/next/dist/shared/lib/utils.js.map +0 -1
- package/dist/node_modules/next/image.js +0 -14
- package/dist/node_modules/next/image.js.map +0 -1
- package/dist/node_modules/next/link.js +0 -14
- package/dist/node_modules/next/link.js.map +0 -1
- package/dist/node_modules/next/navigation.js +0 -14
- package/dist/node_modules/next/navigation.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -364
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -45
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -20
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { __exports as matchRemotePattern } from '../../../../../_virtual/match-remote-pattern.js';
|
|
2
|
-
import { __require as requirePicomatch } from '../../compiled/picomatch/index.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredMatchRemotePattern;
|
|
5
|
-
|
|
6
|
-
function requireMatchRemotePattern () {
|
|
7
|
-
if (hasRequiredMatchRemotePattern) return matchRemotePattern;
|
|
8
|
-
hasRequiredMatchRemotePattern = 1;
|
|
9
|
-
(function (exports$1) {
|
|
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
|
-
hasRemoteMatch: function() {
|
|
21
|
-
return hasRemoteMatch;
|
|
22
|
-
},
|
|
23
|
-
matchRemotePattern: function() {
|
|
24
|
-
return matchRemotePattern;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _picomatch = requirePicomatch();
|
|
28
|
-
function matchRemotePattern(pattern, url) {
|
|
29
|
-
if (pattern.protocol !== undefined) {
|
|
30
|
-
if (pattern.protocol.replace(/:$/, '') !== url.protocol.replace(/:$/, '')) {
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
if (pattern.port !== undefined) {
|
|
35
|
-
if (pattern.port !== url.port) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if (pattern.hostname === undefined) {
|
|
40
|
-
throw Object.defineProperty(new Error(`Pattern should define hostname but found\n${JSON.stringify(pattern)}`), "__NEXT_ERROR_CODE", {
|
|
41
|
-
value: "E410",
|
|
42
|
-
enumerable: false,
|
|
43
|
-
configurable: true
|
|
44
|
-
});
|
|
45
|
-
} else {
|
|
46
|
-
if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
if (pattern.search !== undefined) {
|
|
51
|
-
if (pattern.search !== url.search) {
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
// Should be the same as writeImagesManifest()
|
|
56
|
-
if (!(0, _picomatch.makeRe)(pattern.pathname ?? '**', {
|
|
57
|
-
dot: true
|
|
58
|
-
}).test(url.pathname)) {
|
|
59
|
-
return false;
|
|
60
|
-
}
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
function hasRemoteMatch(domains, remotePatterns, url) {
|
|
64
|
-
return domains.some((domain)=>url.hostname === domain) || remotePatterns.some((p)=>matchRemotePattern(p, url));
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} (matchRemotePattern));
|
|
69
|
-
return matchRemotePattern;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export { requireMatchRemotePattern as __require };
|
|
73
|
-
//# sourceMappingURL=match-remote-pattern.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"match-remote-pattern.js","sources":["../../../../../../node_modules/next/dist/shared/lib/match-remote-pattern.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n hasRemoteMatch: null,\n matchRemotePattern: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n hasRemoteMatch: function() {\n return hasRemoteMatch;\n },\n matchRemotePattern: function() {\n return matchRemotePattern;\n }\n});\nconst _picomatch = require(\"next/dist/compiled/picomatch\");\nfunction matchRemotePattern(pattern, url) {\n if (pattern.protocol !== undefined) {\n if (pattern.protocol.replace(/:$/, '') !== url.protocol.replace(/:$/, '')) {\n return false;\n }\n }\n if (pattern.port !== undefined) {\n if (pattern.port !== url.port) {\n return false;\n }\n }\n if (pattern.hostname === undefined) {\n throw Object.defineProperty(new Error(`Pattern should define hostname but found\\n${JSON.stringify(pattern)}`), \"__NEXT_ERROR_CODE\", {\n value: \"E410\",\n enumerable: false,\n configurable: true\n });\n } else {\n if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {\n return false;\n }\n }\n if (pattern.search !== undefined) {\n if (pattern.search !== url.search) {\n return false;\n }\n }\n // Should be the same as writeImagesManifest()\n if (!(0, _picomatch.makeRe)(pattern.pathname ?? '**', {\n dot: true\n }).test(url.pathname)) {\n return false;\n }\n return true;\n}\nfunction hasRemoteMatch(domains, remotePatterns, url) {\n return domains.some((domain)=>url.hostname === domain)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|
-
* For a given page path, this function ensures that there is a leading slash.
|
|
5
|
-
* If there is not a leading slash, one is added, otherwise it is noop.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
var hasRequiredEnsureLeadingSlash;
|
|
9
|
-
|
|
10
|
-
function requireEnsureLeadingSlash () {
|
|
11
|
-
if (hasRequiredEnsureLeadingSlash) return ensureLeadingSlash;
|
|
12
|
-
hasRequiredEnsureLeadingSlash = 1;
|
|
13
|
-
(function (exports$1) {
|
|
14
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports$1, "ensureLeadingSlash", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return ensureLeadingSlash;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
function ensureLeadingSlash(path) {
|
|
24
|
-
return path.startsWith('/') ? path : `/${path}`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} (ensureLeadingSlash));
|
|
29
|
-
return ensureLeadingSlash;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { requireEnsureLeadingSlash as __require };
|
|
33
|
-
//# sourceMappingURL=ensure-leading-slash.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-leading-slash.js","sources":["../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js"],"sourcesContent":["/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ensureLeadingSlash\", {\n enumerable: true,\n get: function() {\n return ensureLeadingSlash;\n }\n});\nfunction ensureLeadingSlash(path) {\n return path.startsWith('/') ? path : `/${path}`;\n}\n\n//# sourceMappingURL=ensure-leading-slash.js.map"],"names":["exports"],"mappings":";;;;;;;;;;;;;AAIA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,oBAAoB,EAAE;MACjD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,kBAAkB;AACjC,MAAA;AACA,GAAC,CAAC;EACF,SAAS,kBAAkB,CAAC,IAAI,EAAE;AAClC,MAAI,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AACnD,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { __exports as promiseWithResolvers } from '../../../../../_virtual/promise-with-resolvers.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredPromiseWithResolvers;
|
|
4
|
-
|
|
5
|
-
function requirePromiseWithResolvers () {
|
|
6
|
-
if (hasRequiredPromiseWithResolvers) return promiseWithResolvers;
|
|
7
|
-
hasRequiredPromiseWithResolvers = 1;
|
|
8
|
-
(function (exports$1) {
|
|
9
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports$1, "createPromiseWithResolvers", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return createPromiseWithResolvers;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
function createPromiseWithResolvers() {
|
|
19
|
-
// Shim of Stage 4 Promise.withResolvers proposal
|
|
20
|
-
let resolve;
|
|
21
|
-
let reject;
|
|
22
|
-
const promise = new Promise((res, rej)=>{
|
|
23
|
-
resolve = res;
|
|
24
|
-
reject = rej;
|
|
25
|
-
});
|
|
26
|
-
return {
|
|
27
|
-
resolve: resolve,
|
|
28
|
-
reject: reject,
|
|
29
|
-
promise
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} (promiseWithResolvers));
|
|
35
|
-
return promiseWithResolvers;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { requirePromiseWithResolvers as __require };
|
|
39
|
-
//# sourceMappingURL=promise-with-resolvers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promise-with-resolvers.js","sources":["../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createPromiseWithResolvers\", {\n enumerable: true,\n get: function() {\n return createPromiseWithResolvers;\n }\n});\nfunction createPromiseWithResolvers() {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve;\n let reject;\n const promise = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n return {\n resolve: resolve,\n reject: reject,\n promise\n };\n}\n\n//# sourceMappingURL=promise-with-resolvers.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,4BAA4B,EAAE;MACzD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,0BAA0B;AACzC,MAAA;AACA,GAAC,CAAC;AACF,EAAA,SAAS,0BAA0B,GAAG;AACtC;AACA,MAAI,IAAI,OAAO;AACf,MAAI,IAAI,MAAM;MACV,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,GAAG;UACpC,OAAO,GAAG,GAAG;UACb,MAAM,GAAG,GAAG;AACpB,MAAA,CAAK,CAAC;AACN,MAAI,OAAO;UACH,OAAO,EAAE,OAAO;UAChB,MAAM,EAAE,MAAM;UACd;OACH;AACL,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { __exports as app } from '../../../../../../../_virtual/app.js';
|
|
2
|
-
import { __require as requireInvariantError } from '../../invariant-error.js';
|
|
3
|
-
import { __require as requireGetSegmentParam } from '../utils/get-segment-param.js';
|
|
4
|
-
import { __require as requireInterceptionRoutes } from '../utils/interception-routes.js';
|
|
5
|
-
|
|
6
|
-
var hasRequiredApp;
|
|
7
|
-
|
|
8
|
-
function requireApp () {
|
|
9
|
-
if (hasRequiredApp) return app;
|
|
10
|
-
hasRequiredApp = 1;
|
|
11
|
-
(function (exports$1) {
|
|
12
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
function _export(target, all) {
|
|
16
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: all[name]
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
_export(exports$1, {
|
|
22
|
-
isInterceptionAppRoute: function() {
|
|
23
|
-
return isInterceptionAppRoute;
|
|
24
|
-
},
|
|
25
|
-
isNormalizedAppRoute: function() {
|
|
26
|
-
return isNormalizedAppRoute;
|
|
27
|
-
},
|
|
28
|
-
parseAppRouteSegment: function() {
|
|
29
|
-
return parseAppRouteSegment;
|
|
30
|
-
},
|
|
31
|
-
parseAppRouteWithSlots: function() {
|
|
32
|
-
return parseAppRouteWithSlots;
|
|
33
|
-
},
|
|
34
|
-
parseNormalizedAppRoute: function() {
|
|
35
|
-
return parseNormalizedAppRoute;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const _invarianterror = requireInvariantError();
|
|
39
|
-
const _getsegmentparam = requireGetSegmentParam();
|
|
40
|
-
const _interceptionroutes = requireInterceptionRoutes();
|
|
41
|
-
function normalizeEncodedDynamicPlaceholder(segment) {
|
|
42
|
-
if (!/%5b|%5d/i.test(segment)) {
|
|
43
|
-
return segment;
|
|
44
|
-
}
|
|
45
|
-
try {
|
|
46
|
-
const decodedSegment = decodeURIComponent(segment);
|
|
47
|
-
return (0, _getsegmentparam.getSegmentParam)(decodedSegment) ? decodedSegment : segment;
|
|
48
|
-
} catch {
|
|
49
|
-
return segment;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
function parseAppRouteSegment(segment) {
|
|
53
|
-
if (segment === '') {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
// Check if the segment starts with an interception marker
|
|
57
|
-
const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));
|
|
58
|
-
const param = (0, _getsegmentparam.getSegmentParam)(segment);
|
|
59
|
-
if (param) {
|
|
60
|
-
return {
|
|
61
|
-
type: 'dynamic',
|
|
62
|
-
name: segment,
|
|
63
|
-
param,
|
|
64
|
-
interceptionMarker
|
|
65
|
-
};
|
|
66
|
-
} else if (segment.startsWith('(') && segment.endsWith(')')) {
|
|
67
|
-
return {
|
|
68
|
-
type: 'route-group',
|
|
69
|
-
name: segment,
|
|
70
|
-
interceptionMarker
|
|
71
|
-
};
|
|
72
|
-
} else if (segment.startsWith('@')) {
|
|
73
|
-
return {
|
|
74
|
-
type: 'parallel-route',
|
|
75
|
-
name: segment,
|
|
76
|
-
interceptionMarker
|
|
77
|
-
};
|
|
78
|
-
} else {
|
|
79
|
-
return {
|
|
80
|
-
type: 'static',
|
|
81
|
-
name: segment,
|
|
82
|
-
interceptionMarker
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function isNormalizedAppRoute(route) {
|
|
87
|
-
return route.normalized;
|
|
88
|
-
}
|
|
89
|
-
function isInterceptionAppRoute(route) {
|
|
90
|
-
return route.interceptionMarker !== undefined && route.interceptingRoute !== undefined && route.interceptedRoute !== undefined;
|
|
91
|
-
}
|
|
92
|
-
// Bitmask for which non-URL segment types to allow during parsing.
|
|
93
|
-
// By default, route groups and parallel routes are rejected because
|
|
94
|
-
// they should have been stripped by normalizeAppPath. These flags
|
|
95
|
-
// let callers opt in to allowing specific types.
|
|
96
|
-
const OnlyRoutableSegments = /* */ 0;
|
|
97
|
-
const AllowParallelSegments = /* */ 1;
|
|
98
|
-
const AllowGroupSegments = /* */ 2;
|
|
99
|
-
function parseAppRouteImpl(pathname, allowedTypes) {
|
|
100
|
-
const pathnameSegments = pathname.split('/').filter(Boolean);
|
|
101
|
-
// Build segments array with static and dynamic segments
|
|
102
|
-
const segments = [];
|
|
103
|
-
// Parse if this is an interception route.
|
|
104
|
-
let interceptionMarker;
|
|
105
|
-
let interceptingRoute;
|
|
106
|
-
let interceptedRoute;
|
|
107
|
-
for (const segment of pathnameSegments){
|
|
108
|
-
const normalizedSegment = normalizeEncodedDynamicPlaceholder(segment);
|
|
109
|
-
// Parse the segment into an AppSegment.
|
|
110
|
-
const appSegment = parseAppRouteSegment(normalizedSegment);
|
|
111
|
-
if (!appSegment) {
|
|
112
|
-
continue;
|
|
113
|
-
}
|
|
114
|
-
if (appSegment.type === 'route-group' && !(allowedTypes & AllowGroupSegments)) {
|
|
115
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group segment.`), "__NEXT_ERROR_CODE", {
|
|
116
|
-
value: "E1151",
|
|
117
|
-
enumerable: false,
|
|
118
|
-
configurable: true
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
if (appSegment.type === 'parallel-route' && !(allowedTypes & AllowParallelSegments)) {
|
|
122
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a parallel route segment.`), "__NEXT_ERROR_CODE", {
|
|
123
|
-
value: "E1152",
|
|
124
|
-
enumerable: false,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
segments.push(appSegment);
|
|
129
|
-
if (appSegment.interceptionMarker) {
|
|
130
|
-
const parts = pathname.split(appSegment.interceptionMarker);
|
|
131
|
-
if (parts.length !== 2) {
|
|
132
|
-
throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), "__NEXT_ERROR_CODE", {
|
|
133
|
-
value: "E924",
|
|
134
|
-
enumerable: false,
|
|
135
|
-
configurable: true
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
interceptingRoute = parseAppRouteImpl(parts[0], allowedTypes);
|
|
139
|
-
interceptedRoute = parseAppRouteImpl(parts[1], allowedTypes);
|
|
140
|
-
interceptionMarker = appSegment.interceptionMarker;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
const dynamicSegments = segments.filter((segment)=>segment.type === 'dynamic');
|
|
144
|
-
return {
|
|
145
|
-
normalized: allowedTypes === OnlyRoutableSegments,
|
|
146
|
-
pathname,
|
|
147
|
-
segments,
|
|
148
|
-
dynamicSegments,
|
|
149
|
-
interceptionMarker,
|
|
150
|
-
interceptingRoute,
|
|
151
|
-
interceptedRoute
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
function parseNormalizedAppRoute(pathname) {
|
|
155
|
-
return parseAppRouteImpl(pathname, OnlyRoutableSegments);
|
|
156
|
-
}
|
|
157
|
-
function parseAppRouteWithSlots(pathname) {
|
|
158
|
-
return parseAppRouteImpl(pathname, AllowParallelSegments);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
} (app));
|
|
163
|
-
return app;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export { requireApp as __require };
|
|
167
|
-
//# sourceMappingURL=app.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/routes/app.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n isInterceptionAppRoute: null,\n isNormalizedAppRoute: null,\n parseAppRouteSegment: null,\n parseAppRouteWithSlots: null,\n parseNormalizedAppRoute: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n isInterceptionAppRoute: function() {\n return isInterceptionAppRoute;\n },\n isNormalizedAppRoute: function() {\n return isNormalizedAppRoute;\n },\n parseAppRouteSegment: function() {\n return parseAppRouteSegment;\n },\n parseAppRouteWithSlots: function() {\n return parseAppRouteWithSlots;\n },\n parseNormalizedAppRoute: function() {\n return parseNormalizedAppRoute;\n }\n});\nconst _invarianterror = require(\"../../invariant-error\");\nconst _getsegmentparam = require(\"../utils/get-segment-param\");\nconst _interceptionroutes = require(\"../utils/interception-routes\");\nfunction normalizeEncodedDynamicPlaceholder(segment) {\n if (!/%5b|%5d/i.test(segment)) {\n return segment;\n }\n try {\n const decodedSegment = decodeURIComponent(segment);\n return (0, _getsegmentparam.getSegmentParam)(decodedSegment) ? decodedSegment : segment;\n } catch {\n return segment;\n }\n}\nfunction parseAppRouteSegment(segment) {\n if (segment === '') {\n return null;\n }\n // Check if the segment starts with an interception marker\n const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n const param = (0, _getsegmentparam.getSegmentParam)(segment);\n if (param) {\n return {\n type: 'dynamic',\n name: segment,\n param,\n interceptionMarker\n };\n } else if (segment.startsWith('(') && segment.endsWith(')')) {\n return {\n type: 'route-group',\n name: segment,\n interceptionMarker\n };\n } else if (segment.startsWith('@')) {\n return {\n type: 'parallel-route',\n name: segment,\n interceptionMarker\n };\n } else {\n return {\n type: 'static',\n name: segment,\n interceptionMarker\n };\n }\n}\nfunction isNormalizedAppRoute(route) {\n return route.normalized;\n}\nfunction isInterceptionAppRoute(route) {\n return route.interceptionMarker !== undefined && route.interceptingRoute !== undefined && route.interceptedRoute !== undefined;\n}\n// Bitmask for which non-URL segment types to allow during parsing.\n// By default, route groups and parallel routes are rejected because\n// they should have been stripped by normalizeAppPath. These flags\n// let callers opt in to allowing specific types.\nconst OnlyRoutableSegments = /* */ 0;\nconst AllowParallelSegments = /* */ 1;\nconst AllowGroupSegments = /* */ 2;\nfunction parseAppRouteImpl(pathname, allowedTypes) {\n const pathnameSegments = pathname.split('/').filter(Boolean);\n // Build segments array with static and dynamic segments\n const segments = [];\n // Parse if this is an interception route.\n let interceptionMarker;\n let interceptingRoute;\n let interceptedRoute;\n for (const segment of pathnameSegments){\n const normalizedSegment = normalizeEncodedDynamicPlaceholder(segment);\n // Parse the segment into an AppSegment.\n const appSegment = parseAppRouteSegment(normalizedSegment);\n if (!appSegment) {\n continue;\n }\n if (appSegment.type === 'route-group' && !(allowedTypes & AllowGroupSegments)) {\n throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group segment.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1151\",\n enumerable: false,\n configurable: true\n });\n }\n if (appSegment.type === 'parallel-route' && !(allowedTypes & AllowParallelSegments)) {\n throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a parallel route segment.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1152\",\n enumerable: false,\n configurable: true\n });\n }\n segments.push(appSegment);\n if (appSegment.interceptionMarker) {\n const parts = pathname.split(appSegment.interceptionMarker);\n if (parts.length !== 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), \"__NEXT_ERROR_CODE\", {\n value: \"E924\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = parseAppRouteImpl(parts[0], allowedTypes);\n interceptedRoute = parseAppRouteImpl(parts[1], allowedTypes);\n interceptionMarker = appSegment.interceptionMarker;\n }\n }\n const dynamicSegments = segments.filter((segment)=>segment.type === 'dynamic');\n return {\n normalized: allowedTypes === OnlyRoutableSegments,\n pathname,\n segments,\n dynamicSegments,\n interceptionMarker,\n interceptingRoute,\n interceptedRoute\n };\n}\nfunction parseNormalizedAppRoute(pathname) {\n return parseAppRouteImpl(pathname, OnlyRoutableSegments);\n}\nfunction parseAppRouteWithSlots(pathname) {\n return parseAppRouteImpl(pathname, AllowParallelSegments);\n}\n\n//# sourceMappingURL=app.js.map"],"names":["exports","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAQF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN,EAAA;EACA,OAAO,CAACA,SAAO,EAAE;MACb,sBAAsB,EAAE,WAAW;AACvC,UAAQ,OAAO,sBAAsB;MACrC,CAAK;MACD,oBAAoB,EAAE,WAAW;AACrC,UAAQ,OAAO,oBAAoB;MACnC,CAAK;MACD,oBAAoB,EAAE,WAAW;AACrC,UAAQ,OAAO,oBAAoB;MACnC,CAAK;MACD,sBAAsB,EAAE,WAAW;AACvC,UAAQ,OAAO,sBAAsB;MACrC,CAAK;MACD,uBAAuB,EAAE,WAAW;AACxC,UAAQ,OAAO,uBAAuB;AACtC,MAAA;AACA,GAAC,CAAC;EACF,MAAM,eAAe,GAAGC,qBAAA,EAAgC;EACxD,MAAM,gBAAgB,GAAGC,sBAAA,EAAqC;EAC9D,MAAM,mBAAmB,GAAGC,yBAAA,EAAuC;EACnE,SAAS,kCAAkC,CAAC,OAAO,EAAE;MACjD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;AACnC,UAAQ,OAAO,OAAO;AACtB,MAAA;AACA,MAAI,IAAI;AACR,UAAQ,MAAM,cAAc,GAAG,kBAAkB,CAAC,OAAO,CAAC;AAC1D,UAAQ,OAAO,CAAC,CAAC,EAAE,gBAAgB,CAAC,eAAe,EAAE,cAAc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AAC1C,MAAI,OAAO,iBAAiB,CAAC,QAAQ,EAAE,qBAAqB,CAAC;AAC7D,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __exports as addLocale } from '../../../../../../../_virtual/add-locale2.js';
|
|
2
|
-
import { __require as requireAddPathPrefix } from './add-path-prefix.js';
|
|
3
|
-
import { __require as requirePathHasPrefix } from './path-has-prefix.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredAddLocale;
|
|
6
|
-
|
|
7
|
-
function requireAddLocale () {
|
|
8
|
-
if (hasRequiredAddLocale) return addLocale;
|
|
9
|
-
hasRequiredAddLocale = 1;
|
|
10
|
-
(function (exports$1) {
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports$1, "addLocale", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function() {
|
|
17
|
-
return addLocale;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _addpathprefix = requireAddPathPrefix();
|
|
21
|
-
const _pathhasprefix = requirePathHasPrefix();
|
|
22
|
-
function addLocale(path, locale, defaultLocale, ignorePrefix) {
|
|
23
|
-
// If no locale was given or the locale is the default locale, we don't need
|
|
24
|
-
// to prefix the path.
|
|
25
|
-
if (!locale || locale === defaultLocale) return path;
|
|
26
|
-
const lower = path.toLowerCase();
|
|
27
|
-
// If the path is an API path or the path already has the locale prefix, we
|
|
28
|
-
// don't need to prefix the path.
|
|
29
|
-
if (!ignorePrefix) {
|
|
30
|
-
if ((0, _pathhasprefix.pathHasPrefix)(lower, '/api')) return path;
|
|
31
|
-
if ((0, _pathhasprefix.pathHasPrefix)(lower, `/${locale.toLowerCase()}`)) return path;
|
|
32
|
-
}
|
|
33
|
-
// Add the locale prefix to the path.
|
|
34
|
-
return (0, _addpathprefix.addPathPrefix)(path, `/${locale}`);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} (addLocale));
|
|
39
|
-
return addLocale;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { requireAddLocale as __require };
|
|
43
|
-
//# sourceMappingURL=add-locale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-locale.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/add-locale.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"addLocale\", {\n enumerable: true,\n get: function() {\n return addLocale;\n }\n});\nconst _addpathprefix = require(\"./add-path-prefix\");\nconst _pathhasprefix = require(\"./path-has-prefix\");\nfunction addLocale(path, locale, defaultLocale, ignorePrefix) {\n // If no locale was given or the locale is the default locale, we don't need\n // to prefix the path.\n if (!locale || locale === defaultLocale) return path;\n const lower = path.toLowerCase();\n // If the path is an API path or the path already has the locale prefix, we\n // don't need to prefix the path.\n if (!ignorePrefix) {\n if ((0, _pathhasprefix.pathHasPrefix)(lower, '/api')) return path;\n if ((0, _pathhasprefix.pathHasPrefix)(lower, `/${locale.toLowerCase()}`)) return path;\n }\n // Add the locale prefix to the path.\n return (0, _addpathprefix.addPathPrefix)(path, `/${locale}`);\n}\n\n//# sourceMappingURL=add-locale.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,WAAW,EAAE;MACxC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,SAAS;AACxB,MAAA;AACA,GAAC,CAAC;EACF,MAAM,cAAc,GAAGC,oBAAA,EAA4B;EACnD,MAAM,cAAc,GAAGC,oBAAA,EAA4B;EACnD,SAAS,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE;AAC9D;AACA;MACI,IAAI,CAAC,MAAM,IAAI,MAAM,KAAK,aAAa,EAAE,OAAO,IAAI;AACxD,MAAI,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE;AACpC;AACA;MACI,IAAI,CAAC,YAAY,EAAE;AACvB,UAAQ,IAAI,IAAI,cAAc,CAAC,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,IAAI;UACjE,IAAI,IAAI,cAAc,CAAC,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,IAAI;AAC7F,MAAA;AACA;AACA,MAAI,OAAO,IAAI,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;AAChE,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __exports as addPathPrefix } from '../../../../../../../_virtual/add-path-prefix.js';
|
|
2
|
-
import { __require as requireParsePath } from './parse-path.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredAddPathPrefix;
|
|
5
|
-
|
|
6
|
-
function requireAddPathPrefix () {
|
|
7
|
-
if (hasRequiredAddPathPrefix) return addPathPrefix;
|
|
8
|
-
hasRequiredAddPathPrefix = 1;
|
|
9
|
-
(function (exports$1) {
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports$1, "addPathPrefix", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function() {
|
|
16
|
-
return addPathPrefix;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _parsepath = requireParsePath();
|
|
20
|
-
function addPathPrefix(path, prefix) {
|
|
21
|
-
if (!path.startsWith('/') || !prefix) {
|
|
22
|
-
return path;
|
|
23
|
-
}
|
|
24
|
-
const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
|
|
25
|
-
return `${prefix}${pathname}${query}${hash}`;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} (addPathPrefix));
|
|
30
|
-
return addPathPrefix;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { requireAddPathPrefix as __require };
|
|
34
|
-
//# sourceMappingURL=add-path-prefix.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-path-prefix.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"addPathPrefix\", {\n enumerable: true,\n get: function() {\n return addPathPrefix;\n }\n});\nconst _parsepath = require(\"./parse-path\");\nfunction addPathPrefix(path, prefix) {\n if (!path.startsWith('/') || !prefix) {\n return path;\n }\n const { pathname, query, hash } = (0, _parsepath.parsePath)(path);\n return `${prefix}${pathname}${query}${hash}`;\n}\n\n//# sourceMappingURL=add-path-prefix.js.map"],"names":["exports","require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,eAAe,EAAE;MAC5C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,aAAa;AAC5B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,UAAU,GAAGC,gBAAA,EAAuB;AAC1C,EAAA,SAAS,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE;MACjC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE;AAC1C,UAAQ,OAAO,IAAI;AACnB,MAAA;AACA,MAAI,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC;AACrE,MAAI,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC;AAChD,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { __exports as appPaths } from '../../../../../../../_virtual/app-paths.js';
|
|
2
|
-
import { __require as requireEnsureLeadingSlash } from '../../page-path/ensure-leading-slash.js';
|
|
3
|
-
import { __require as requireSegment } from '../../segment.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredAppPaths;
|
|
6
|
-
|
|
7
|
-
function requireAppPaths () {
|
|
8
|
-
if (hasRequiredAppPaths) return appPaths;
|
|
9
|
-
hasRequiredAppPaths = 1;
|
|
10
|
-
(function (exports$1) {
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
function _export(target, all) {
|
|
15
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: all[name]
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
_export(exports$1, {
|
|
21
|
-
compareAppPaths: function() {
|
|
22
|
-
return compareAppPaths;
|
|
23
|
-
},
|
|
24
|
-
normalizeAppPath: function() {
|
|
25
|
-
return normalizeAppPath;
|
|
26
|
-
},
|
|
27
|
-
normalizeRscURL: function() {
|
|
28
|
-
return normalizeRscURL;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _ensureleadingslash = requireEnsureLeadingSlash();
|
|
32
|
-
const _segment = requireSegment();
|
|
33
|
-
function normalizeAppPath(route) {
|
|
34
|
-
return (0, _ensureleadingslash.ensureLeadingSlash)(route.split('/').reduce((pathname, segment, index, segments)=>{
|
|
35
|
-
// Empty segments are ignored.
|
|
36
|
-
if (!segment) {
|
|
37
|
-
return pathname;
|
|
38
|
-
}
|
|
39
|
-
// Groups are ignored.
|
|
40
|
-
if ((0, _segment.isGroupSegment)(segment)) {
|
|
41
|
-
return pathname;
|
|
42
|
-
}
|
|
43
|
-
// Parallel segments are ignored.
|
|
44
|
-
if (segment[0] === '@') {
|
|
45
|
-
return pathname;
|
|
46
|
-
}
|
|
47
|
-
// The last segment (if it's a leaf) should be ignored.
|
|
48
|
-
if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {
|
|
49
|
-
return pathname;
|
|
50
|
-
}
|
|
51
|
-
return `${pathname}/${segment}`;
|
|
52
|
-
}, ''));
|
|
53
|
-
}
|
|
54
|
-
function compareAppPaths(a, b) {
|
|
55
|
-
const aHasSlot = a.includes('/@');
|
|
56
|
-
const bHasSlot = b.includes('/@');
|
|
57
|
-
if (aHasSlot && !bHasSlot) return -1;
|
|
58
|
-
if (!aHasSlot && bHasSlot) return 1;
|
|
59
|
-
return a.localeCompare(b);
|
|
60
|
-
}
|
|
61
|
-
function normalizeRscURL(url) {
|
|
62
|
-
return url.replace(/\.rsc($|\?)/, // $1 ensures `?` is preserved
|
|
63
|
-
'$1');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} (appPaths));
|
|
68
|
-
return appPaths;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { requireAppPaths as __require };
|
|
72
|
-
//# sourceMappingURL=app-paths.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-paths.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n compareAppPaths: null,\n normalizeAppPath: null,\n normalizeRscURL: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n compareAppPaths: function() {\n return compareAppPaths;\n },\n normalizeAppPath: function() {\n return normalizeAppPath;\n },\n normalizeRscURL: function() {\n return normalizeRscURL;\n }\n});\nconst _ensureleadingslash = require(\"../../page-path/ensure-leading-slash\");\nconst _segment = require(\"../../segment\");\nfunction normalizeAppPath(route) {\n return (0, _ensureleadingslash.ensureLeadingSlash)(route.split('/').reduce((pathname, segment, index, segments)=>{\n // Empty segments are ignored.\n if (!segment) {\n return pathname;\n }\n // Groups are ignored.\n if ((0, _segment.isGroupSegment)(segment)) {\n return pathname;\n }\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname;\n }\n // The last segment (if it's a leaf) should be ignored.\n if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {\n return pathname;\n }\n return `${pathname}/${segment}`;\n }, ''));\n}\nfunction compareAppPaths(a, b) {\n const aHasSlot = a.includes('/@');\n const bHasSlot = b.includes('/@');\n if (aHasSlot && !bHasSlot) return -1;\n if (!aHasSlot && bHasSlot) return 1;\n return a.localeCompare(b);\n}\nfunction normalizeRscURL(url) {\n return url.replace(/\\.rsc($|\\?)/, // $1 ensures `?` is preserved\n '$1');\n}\n\n//# sourceMappingURL=app-paths.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAMF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN,EAAA;EACA,OAAO,CAACA,SAAO,EAAE;MACb,eAAe,EAAE,WAAW;AAChC,UAAQ,OAAO,eAAe;MAC9B,CAAK;MACD,gBAAg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AC,QAAQ,IAAI,QAAQ,EAAE,OAAO,CAAC;AACvC,MAAI,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;AAC7B,EAAA;EACA,SAAS,eAAe,CAAC,GAAG,EAAE;AAC9B,MAAI,OAAO,GAAG,CAAC,OAAO,CAAC,aAAa;AACpC,MAAI,IAAI,CAAC;AACT,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { __exports as formatUrl } from '../../../../../../../_virtual/format-url.js';
|
|
2
|
-
import { __require as require_interop_require_wildcard } from '../../../../../../@swc/helpers/cjs/_interop_require_wildcard.js';
|
|
3
|
-
import { __require as requireQuerystring } from './querystring.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredFormatUrl;
|
|
6
|
-
|
|
7
|
-
function requireFormatUrl () {
|
|
8
|
-
if (hasRequiredFormatUrl) return formatUrl;
|
|
9
|
-
hasRequiredFormatUrl = 1;
|
|
10
|
-
(function (exports$1) {
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
function _export(target, all) {
|
|
15
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: all[name]
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
_export(exports$1, {
|
|
21
|
-
formatUrl: function() {
|
|
22
|
-
return formatUrl;
|
|
23
|
-
},
|
|
24
|
-
formatWithValidation: function() {
|
|
25
|
-
return formatWithValidation;
|
|
26
|
-
},
|
|
27
|
-
urlObjectKeys: function() {
|
|
28
|
-
return urlObjectKeys;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _interop_require_wildcard = /*@__PURE__*/ require_interop_require_wildcard();
|
|
32
|
-
const _querystring = /*#__PURE__*/ _interop_require_wildcard._(requireQuerystring());
|
|
33
|
-
const slashedProtocols = /https?|ftp|gopher|file/;
|
|
34
|
-
function formatUrl(urlObj) {
|
|
35
|
-
let { auth, hostname } = urlObj;
|
|
36
|
-
let protocol = urlObj.protocol || '';
|
|
37
|
-
let pathname = urlObj.pathname || '';
|
|
38
|
-
let hash = urlObj.hash || '';
|
|
39
|
-
let query = urlObj.query || '';
|
|
40
|
-
let host = false;
|
|
41
|
-
auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : '';
|
|
42
|
-
if (urlObj.host) {
|
|
43
|
-
host = auth + urlObj.host;
|
|
44
|
-
} else if (hostname) {
|
|
45
|
-
host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname);
|
|
46
|
-
if (urlObj.port) {
|
|
47
|
-
host += ':' + urlObj.port;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
if (query && typeof query === 'object') {
|
|
51
|
-
query = String(_querystring.urlQueryToSearchParams(query));
|
|
52
|
-
}
|
|
53
|
-
let search = urlObj.search || query && `?${query}` || '';
|
|
54
|
-
if (protocol && !protocol.endsWith(':')) protocol += ':';
|
|
55
|
-
if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {
|
|
56
|
-
host = '//' + (host || '');
|
|
57
|
-
if (pathname && pathname[0] !== '/') pathname = '/' + pathname;
|
|
58
|
-
} else if (!host) {
|
|
59
|
-
host = '';
|
|
60
|
-
}
|
|
61
|
-
if (hash && hash[0] !== '#') hash = '#' + hash;
|
|
62
|
-
if (search && search[0] !== '?') search = '?' + search;
|
|
63
|
-
pathname = pathname.replace(/[?#]/g, encodeURIComponent);
|
|
64
|
-
search = search.replace('#', '%23');
|
|
65
|
-
return `${protocol}${host}${pathname}${search}${hash}`;
|
|
66
|
-
}
|
|
67
|
-
const urlObjectKeys = [
|
|
68
|
-
'auth',
|
|
69
|
-
'hash',
|
|
70
|
-
'host',
|
|
71
|
-
'hostname',
|
|
72
|
-
'href',
|
|
73
|
-
'path',
|
|
74
|
-
'pathname',
|
|
75
|
-
'port',
|
|
76
|
-
'protocol',
|
|
77
|
-
'query',
|
|
78
|
-
'search',
|
|
79
|
-
'slashes'
|
|
80
|
-
];
|
|
81
|
-
function formatWithValidation(url) {
|
|
82
|
-
if (process.env.NODE_ENV === 'development') {
|
|
83
|
-
if (url !== null && typeof url === 'object') {
|
|
84
|
-
Object.keys(url).forEach((key)=>{
|
|
85
|
-
if (!urlObjectKeys.includes(key)) {
|
|
86
|
-
console.warn(`Unknown key passed via urlObject into url.format: ${key}`);
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return formatUrl(url);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} (formatUrl));
|
|
96
|
-
return formatUrl;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export { requireFormatUrl as __require };
|
|
100
|
-
//# sourceMappingURL=format-url.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-url.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/format-url.js"],"sourcesContent":["// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n formatUrl: null,\n formatWithValidation: null,\n urlObjectKeys: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n formatUrl: function() {\n return formatUrl;\n },\n formatWithValidation: function() {\n return formatWithValidation;\n },\n urlObjectKeys: function() {\n return urlObjectKeys;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _querystring = /*#__PURE__*/ _interop_require_wildcard._(require(\"./querystring\"));\nconst slashedProtocols = /https?|ftp|gopher|file/;\nfunction formatUrl(urlObj) {\n let { auth, hostname } = urlObj;\n let protocol = urlObj.protocol || '';\n let pathname = urlObj.pathname || '';\n let hash = urlObj.hash || '';\n let query = urlObj.query || '';\n let host = false;\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : '';\n if (urlObj.host) {\n host = auth + urlObj.host;\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname);\n if (urlObj.port) {\n host += ':' + urlObj.port;\n }\n }\n if (query && typeof query === 'object') {\n query = String(_querystring.urlQueryToSearchParams(query));\n }\n let search = urlObj.search || query && `?${query}` || '';\n if (protocol && !protocol.endsWith(':')) protocol += ':';\n if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n if (hash && hash[0] !== '#') hash = '#' + hash;\n if (search && search[0] !== '?') search = '?' + search;\n pathname = pathname.replace(/[?#]/g, encodeURIComponent);\n search = search.replace('#', '%23');\n return `${protocol}${host}${pathname}${search}${hash}`;\n}\nconst urlObjectKeys = [\n 'auth',\n 'hash',\n 'host',\n 'hostname',\n 'href',\n 'path',\n 'pathname',\n 'port',\n 'protocol',\n 'query',\n 'search',\n 'slashes'\n];\nfunction formatWithValidation(url) {\n if (process.env.NODE_ENV === 'development') {\n if (url !== null && typeof url === 'object') {\n Object.keys(url).forEach((key)=>{\n if (!urlObjectKeys.includes(key)) {\n console.warn(`Unknown key passed via urlObject into url.format: ${key}`);\n }\n });\n }\n }\n return formatUrl(url);\n}\n\n//# sourceMappingURL=format-url.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AAsBA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAMF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN,EAAA;EACA,OAAO,CAACA,SAAO,EAAE;MACb,SAAS,EAAE,WAAW;AAC1B,UAAQ,OAAO,SAAS;MACxB,CAAK;MACD,oBAAoB,EAAE,WAAW;AACrC,UAAQ,OAAO,oBAAoB;MACnC,CAAK;MACD,aAAa,EAAE,WAAW;AAC9B,UAAQ,OAAO,aAAa;AAC5B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,yBAAyB,iBAAGC,gCAAA,EAAmD;EACrF,MAAM,YAAY,iBAAiB,yBAAyB,CAAC,CAAC,CAACC,kBAAA,EAAwB,CAAC;EACxF,MAAM,gBAAgB,GAAG,wBAAwB;EACjD,SAAS,SAAS,CAAC,MAAM,EAAE;AAC3B,MAAI,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,MAAM;AACnC,MAAI,IAAI,QAAQ,GAAG,MAAM,CAAC,QAAQ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