@betterinternship/components 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/accordion.js +5 -5
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/app-header.js +17 -17
- 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.js +4 -4
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unauthorized.js","sources":["../../../../../../node_modules/next/dist/client/components/unauthorized.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"unauthorized\", {\n enumerable: true,\n get: function() {\n return unauthorized;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\n// TODO: Add `unauthorized` docs\n/**\n * @experimental\n * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)\n * within a route segment as well as inject a tag.\n *\n * `unauthorized()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n *\n * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)\n */ const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};401`;\nfunction unauthorized() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(`\\`unauthorized()\\` is experimental and only allowed to be used when \\`experimental.authInterrupts\\` is enabled.`), \"__NEXT_ERROR_CODE\", {\n value: \"E411\",\n enumerable: false,\n configurable: true\n });\n }\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E1002\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=unauthorized.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,cAAc,EAAE;MAC3C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,YAAY;AAC3B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,GAAGC,yBAAA,EAAsD;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACI,MAAM,MAAM,GAAG,CAAC,EAAE,mBAAmB,CAAC,8BAA8B,CAAC,IAAI,CAAC;AAC9E,EAAA,SAAS,YAAY,GAAG;AACxB,MAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE;AAC1D,UAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,CAAC,+GAA+G,CAAC,CAAC,EAAE,mBAAmB,EAAE;cAC3K,KAAK,EAAE,MAAM;cACb,UAAU,EAAE,KAAK;AAC7B,cAAY,YAAY,EAAE;AAC1B,WAAS,CAAC;AACV,MAAA;AACA,MAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;UACxE,KAAK,EAAE,OAAO;UACd,UAAU,EAAE,KAAK;AACzB,UAAQ,YAAY,EAAE;AACtB,OAAK,CAAC;AACN,MAAI,KAAK,CAAC,MAAM,GAAG,MAAM;AACzB,MAAI,MAAM,KAAK;AACf,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOD,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __module as unrecognizedActionError } from '../../../../../_virtual/unrecognized-action-error.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredUnrecognizedActionError;
|
|
4
|
-
|
|
5
|
-
function requireUnrecognizedActionError () {
|
|
6
|
-
if (hasRequiredUnrecognizedActionError) return unrecognizedActionError.exports;
|
|
7
|
-
hasRequiredUnrecognizedActionError = 1;
|
|
8
|
-
(function (module, exports$1) {
|
|
9
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
function _export(target, all) {
|
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: all[name]
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
_export(exports$1, {
|
|
19
|
-
UnrecognizedActionError: function() {
|
|
20
|
-
return UnrecognizedActionError;
|
|
21
|
-
},
|
|
22
|
-
unstable_isUnrecognizedActionError: function() {
|
|
23
|
-
return unstable_isUnrecognizedActionError;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
class UnrecognizedActionError extends Error {
|
|
27
|
-
constructor(...args){
|
|
28
|
-
super(...args);
|
|
29
|
-
this.name = 'UnrecognizedActionError';
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function unstable_isUnrecognizedActionError(error) {
|
|
33
|
-
return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
37
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
38
|
-
Object.assign(exports$1.default, exports$1);
|
|
39
|
-
module.exports = exports$1.default;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} (unrecognizedActionError, unrecognizedActionError.exports));
|
|
44
|
-
return unrecognizedActionError.exports;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { requireUnrecognizedActionError as __require };
|
|
48
|
-
//# sourceMappingURL=unrecognized-action-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unrecognized-action-error.js","sources":["../../../../../../node_modules/next/dist/client/components/unrecognized-action-error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n UnrecognizedActionError: null,\n unstable_isUnrecognizedActionError: 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 UnrecognizedActionError: function() {\n return UnrecognizedActionError;\n },\n unstable_isUnrecognizedActionError: function() {\n return unstable_isUnrecognizedActionError;\n }\n});\nclass UnrecognizedActionError extends Error {\n constructor(...args){\n super(...args);\n this.name = 'UnrecognizedActionError';\n }\n}\nfunction unstable_isUnrecognizedActionError(error) {\n return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=unrecognized-action-error.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAKF,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,uBAAuB,EAAE,WAAW;AACxC,UAAQ,OAAO,uBAAuB;MACtC,CAAK;MACD,kCAAkC,EAAE,WAAW;AACnD,UAAQ,OAAO,kCAAkC;AACjD,MAAA;AACA,GAAC,CAAC;EACF,MAAM,uBAAuB,SAAS,KAAK,CAAC;AAC5C,MAAI,WAAW,CAAC,GAAG,IAAI,CAAC;AACxB,UAAQ,KAAK,CAAC,GAAG,IAAI,CAAC;AACtB,UAAQ,IAAI,CAAC,IAAI,GAAG,yBAAyB;AAC7C,MAAA;AACA;EACA,SAAS,kCAAkC,CAAC,KAAK,EAAE;AACnD,MAAI,OAAO,CAAC,EAAE,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,uBAAuB,CAAC;AAC7F,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOA,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { __module as unstableRethrow } from '../../../../../_virtual/unstable-rethrow.js';
|
|
2
|
-
import { __require as requireDynamicRenderingUtils } from '../../server/dynamic-rendering-utils.js';
|
|
3
|
-
import { __require as requireIsPostpone } from '../../server/lib/router-utils/is-postpone.js';
|
|
4
|
-
import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
|
|
5
|
-
import { __require as requireIsNextRouterError } from './is-next-router-error.js';
|
|
6
|
-
import { __require as requireDynamicRendering } from '../../server/app-render/dynamic-rendering.js';
|
|
7
|
-
import { __require as requireHooksServerContext } from './hooks-server-context.js';
|
|
8
|
-
|
|
9
|
-
var hasRequiredUnstableRethrow;
|
|
10
|
-
|
|
11
|
-
function requireUnstableRethrow () {
|
|
12
|
-
if (hasRequiredUnstableRethrow) return unstableRethrow.exports;
|
|
13
|
-
hasRequiredUnstableRethrow = 1;
|
|
14
|
-
(function (module, exports$1) {
|
|
15
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
16
|
-
value: true
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports$1, "unstable_rethrow", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function() {
|
|
21
|
-
return unstable_rethrow;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
const _dynamicrenderingutils = requireDynamicRenderingUtils();
|
|
25
|
-
const _ispostpone = requireIsPostpone();
|
|
26
|
-
const _bailouttocsr = requireBailoutToCsr();
|
|
27
|
-
const _isnextroutererror = requireIsNextRouterError();
|
|
28
|
-
const _dynamicrendering = requireDynamicRendering();
|
|
29
|
-
const _hooksservercontext = requireHooksServerContext();
|
|
30
|
-
function unstable_rethrow(error) {
|
|
31
|
-
if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error) || (0, _hooksservercontext.isDynamicServerError)(error) || (0, _dynamicrendering.isDynamicPostpone)(error) || (0, _ispostpone.isPostpone)(error) || (0, _dynamicrenderingutils.isHangingPromiseRejectionError)(error) || (0, _dynamicrendering.isPrerenderInterruptedError)(error)) {
|
|
32
|
-
throw error;
|
|
33
|
-
}
|
|
34
|
-
if (error instanceof Error && 'cause' in error) {
|
|
35
|
-
unstable_rethrow(error.cause);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
40
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
41
|
-
Object.assign(exports$1.default, exports$1);
|
|
42
|
-
module.exports = exports$1.default;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} (unstableRethrow, unstableRethrow.exports));
|
|
47
|
-
return unstableRethrow.exports;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { requireUnstableRethrow as __require };
|
|
51
|
-
//# sourceMappingURL=unstable-rethrow.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unstable-rethrow.js","sources":["../../../../../../node_modules/next/dist/client/components/unstable-rethrow.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"unstable_rethrow\", {\n enumerable: true,\n get: function() {\n return unstable_rethrow;\n }\n});\nconst _dynamicrenderingutils = require(\"../../server/dynamic-rendering-utils\");\nconst _ispostpone = require(\"../../server/lib/router-utils/is-postpone\");\nconst _bailouttocsr = require(\"../../shared/lib/lazy-dynamic/bailout-to-csr\");\nconst _isnextroutererror = require(\"./is-next-router-error\");\nconst _dynamicrendering = require(\"../../server/app-render/dynamic-rendering\");\nconst _hooksservercontext = require(\"./hooks-server-context\");\nfunction unstable_rethrow(error) {\n if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error) || (0, _hooksservercontext.isDynamicServerError)(error) || (0, _dynamicrendering.isDynamicPostpone)(error) || (0, _ispostpone.isPostpone)(error) || (0, _dynamicrenderingutils.isHangingPromiseRejectionError)(error) || (0, _dynamicrendering.isPrerenderInterruptedError)(error)) {\n throw error;\n }\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause);\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=unstable-rethrow.js.map"],"names":["exports","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"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,kBAAkB,EAAE;MAC/C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,gBAAgB;AAC/B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,sBAAsB,GAAGC,4BAAA,EAA+C;EAC9E,MAAM,WAAW,GAAGC,iBAAA,EAAoD;EACxE,MAAM,aAAa,GAAGC,mBAAA,EAAuD;EAC7E,MAAM,kBAAkB,GAAGC,wBAAA,EAAiC;EAC5D,MAAM,iBAAiB,GAAGC,uBAAA,EAAoD;EAC9E,MAAM,mBAAmB,GAAGC,yBAAA,EAAiC;EAC7D,SAAS,gBAAgB,CAAC,KAAK,EAAE;AACjC,MAAI,IAAI,IAAI,kBAAkB,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,IAAI,aAAa,CAAC,mBAAmB,EAAE,KAAK,CAAC,IAAI,IAAI,mBAAmB,CAAC,oBAAoB,EAAE,KAAK,CAAC,IAAI,IAAI,iBAAiB,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,IAAI,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,IAAI,sBAAsB,CAAC,8BAA8B,EAAE,KAAK,CAAC,IAAI,IAAI,iBAAiB,CAAC,2BAA2B,EAAE,KAAK,CAAC,EAAE;AAC9X,UAAQ,MAAM,KAAK;AACnB,MAAA;MACI,IAAI,KAAK,YAAY,KAAK,IAAI,OAAO,IAAI,KAAK,EAAE;AACpD,UAAQ,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC;AACrC,MAAA;AACA,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAON,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __module as detectDomainLocale } from '../../../../_virtual/detect-domain-locale.js';
|
|
2
|
-
import { __require as requireDetectDomainLocale$1 } from '../shared/lib/i18n/detect-domain-locale.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredDetectDomainLocale;
|
|
5
|
-
|
|
6
|
-
function requireDetectDomainLocale () {
|
|
7
|
-
if (hasRequiredDetectDomainLocale) return detectDomainLocale.exports;
|
|
8
|
-
hasRequiredDetectDomainLocale = 1;
|
|
9
|
-
(function (module, exports$1) {
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports$1, "detectDomainLocale", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function() {
|
|
16
|
-
return detectDomainLocale;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const detectDomainLocale = (...args)=>{
|
|
20
|
-
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
21
|
-
return requireDetectDomainLocale$1().detectDomainLocale(...args);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
26
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
27
|
-
Object.assign(exports$1.default, exports$1);
|
|
28
|
-
module.exports = exports$1.default;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} (detectDomainLocale, detectDomainLocale.exports));
|
|
33
|
-
return detectDomainLocale.exports;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { requireDetectDomainLocale as __require };
|
|
37
|
-
//# sourceMappingURL=detect-domain-locale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"detect-domain-locale.js","sources":["../../../../../node_modules/next/dist/client/detect-domain-locale.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"detectDomainLocale\", {\n enumerable: true,\n get: function() {\n return detectDomainLocale;\n }\n});\nconst detectDomainLocale = (...args)=>{\n if (process.env.__NEXT_I18N_SUPPORT) {\n return require('../shared/lib/i18n/detect-domain-locale').detectDomainLocale(...args);\n }\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=detect-domain-locale.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,oBAAoB,EAAE;MACjD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,kBAAkB;AACjC,MAAA;AACA,GAAC,CAAC;AACF,EAAA,MAAM,kBAAkB,GAAG,CAAC,GAAG,IAAI,GAAG;AACtC,MAAI,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;AACzC,UAAQ,OAAOC,2BAAA,EAAkD,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;AAC7F,MAAA;EACA,CAAC;;AAED,EAAA,IAAI,CAAC,OAAOD,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __module as getDomainLocale } from '../../../../_virtual/get-domain-locale.js';
|
|
2
|
-
import { __require as requireNormalizeTrailingSlash } from './normalize-trailing-slash.js';
|
|
3
|
-
import { __require as requireNormalizeLocalePath } from './normalize-locale-path.js';
|
|
4
|
-
import { __require as requireDetectDomainLocale } from './detect-domain-locale.js';
|
|
5
|
-
|
|
6
|
-
var hasRequiredGetDomainLocale;
|
|
7
|
-
|
|
8
|
-
function requireGetDomainLocale () {
|
|
9
|
-
if (hasRequiredGetDomainLocale) return getDomainLocale.exports;
|
|
10
|
-
hasRequiredGetDomainLocale = 1;
|
|
11
|
-
(function (module, exports$1) {
|
|
12
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports$1, "getDomainLocale", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function() {
|
|
18
|
-
return getDomainLocale;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const _normalizetrailingslash = requireNormalizeTrailingSlash();
|
|
22
|
-
const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
|
|
23
|
-
function getDomainLocale(path, locale, locales, domainLocales) {
|
|
24
|
-
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
25
|
-
const normalizeLocalePath = requireNormalizeLocalePath().normalizeLocalePath;
|
|
26
|
-
const detectDomainLocale = requireDetectDomainLocale().detectDomainLocale;
|
|
27
|
-
const target = locale || normalizeLocalePath(path, locales).detectedLocale;
|
|
28
|
-
const domain = detectDomainLocale(domainLocales, undefined, target);
|
|
29
|
-
if (domain) {
|
|
30
|
-
const proto = `http${domain.http ? '' : 's'}://`;
|
|
31
|
-
const finalLocale = target === domain.defaultLocale ? '' : `/${target}`;
|
|
32
|
-
return `${proto}${domain.domain}${(0, _normalizetrailingslash.normalizePathTrailingSlash)(`${basePath}${finalLocale}${path}`)}`;
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
} else {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
41
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
42
|
-
Object.assign(exports$1.default, exports$1);
|
|
43
|
-
module.exports = exports$1.default;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} (getDomainLocale, getDomainLocale.exports));
|
|
48
|
-
return getDomainLocale.exports;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export { requireGetDomainLocale as __require };
|
|
52
|
-
//# sourceMappingURL=get-domain-locale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain-locale.js","sources":["../../../../../node_modules/next/dist/client/get-domain-locale.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getDomainLocale\", {\n enumerable: true,\n get: function() {\n return getDomainLocale;\n }\n});\nconst _normalizetrailingslash = require(\"./normalize-trailing-slash\");\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || '';\nfunction getDomainLocale(path, locale, locales, domainLocales) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const normalizeLocalePath = require('./normalize-locale-path').normalizeLocalePath;\n const detectDomainLocale = require('./detect-domain-locale').detectDomainLocale;\n const target = locale || normalizeLocalePath(path, locales).detectedLocale;\n const domain = detectDomainLocale(domainLocales, undefined, target);\n if (domain) {\n const proto = `http${domain.http ? '' : 's'}://`;\n const finalLocale = target === domain.defaultLocale ? '' : `/${target}`;\n return `${proto}${domain.domain}${(0, _normalizetrailingslash.normalizePathTrailingSlash)(`${basePath}${finalLocale}${path}`)}`;\n }\n return false;\n } else {\n return false;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-domain-locale.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;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,iBAAiB,EAAE;MAC9C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,eAAe;AAC9B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,uBAAuB,GAAGC,6BAAA,EAAqC;EACrE,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,IAAI,EAAE;EACzD,SAAS,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE;AAC/D,MAAI,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;AACzC,UAAQ,MAAM,mBAAmB,GAAGC,0BAAA,EAAkC,CAAC,mBAAmB;AAC1F,UAAQ,MAAM,kBAAkB,GAAGC,yBAAA,EAAiC,CAAC,kBAAkB;AACvF,UAAQ,MAAM,MAAM,GAAG,MAAM,IAAI,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,cAAc;UAC1E,MAAM,MAAM,GAAG,kBAAkB,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC;UACnE,IAAI,MAAM,EAAE;AACpB,cAAY,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC;AAC5D,cAAY,MAAM,WAAW,GAAG,MAAM,KAAK,MAAM,CAAC,aAAa,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AACnF,cAAY,OAAO,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,uBAAuB,CAAC,0BAA0B,EAAE,CAAC,EAAE,QAAQ,CAAC,EAAE,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3I,UAAA;AACA,UAAQ,OAAO,KAAK;AACpB,MAAA,CAAK,MAAM;AACX,UAAQ,OAAO,KAAK;AACpB,MAAA;AACA,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOH,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __module as hasBasePath } from '../../../../_virtual/has-base-path.js';
|
|
2
|
-
import { __require as requirePathHasPrefix } from '../shared/lib/router/utils/path-has-prefix.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredHasBasePath;
|
|
5
|
-
|
|
6
|
-
function requireHasBasePath () {
|
|
7
|
-
if (hasRequiredHasBasePath) return hasBasePath.exports;
|
|
8
|
-
hasRequiredHasBasePath = 1;
|
|
9
|
-
(function (module, exports$1) {
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports$1, "hasBasePath", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function() {
|
|
16
|
-
return hasBasePath;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _pathhasprefix = requirePathHasPrefix();
|
|
20
|
-
const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
|
|
21
|
-
function hasBasePath(path) {
|
|
22
|
-
return (0, _pathhasprefix.pathHasPrefix)(path, basePath);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
26
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
27
|
-
Object.assign(exports$1.default, exports$1);
|
|
28
|
-
module.exports = exports$1.default;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} (hasBasePath, hasBasePath.exports));
|
|
33
|
-
return hasBasePath.exports;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { requireHasBasePath as __require };
|
|
37
|
-
//# sourceMappingURL=has-base-path.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"has-base-path.js","sources":["../../../../../node_modules/next/dist/client/has-base-path.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"hasBasePath\", {\n enumerable: true,\n get: function() {\n return hasBasePath;\n }\n});\nconst _pathhasprefix = require(\"../shared/lib/router/utils/path-has-prefix\");\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || '';\nfunction hasBasePath(path) {\n return (0, _pathhasprefix.pathHasPrefix)(path, basePath);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=has-base-path.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,aAAa,EAAE;MAC1C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,WAAW;AAC1B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,cAAc,GAAGC,oBAAA,EAAqD;EAC5E,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,IAAI,EAAE;EACzD,SAAS,WAAW,CAAC,IAAI,EAAE;MACvB,OAAO,IAAI,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,QAAQ,CAAC;AAC5D,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOD,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { __module as imageComponent } from '../../../../_virtual/image-component.js';
|
|
2
|
-
import { __require as require_interop_require_default } from '../../../@swc/helpers/cjs/_interop_require_default.js';
|
|
3
|
-
import { __require as require_interop_require_wildcard } from '../../../@swc/helpers/cjs/_interop_require_wildcard.js';
|
|
4
|
-
import { __require as requireJsxRuntime } from '../../../react/jsx-runtime.js';
|
|
5
|
-
import React__default from 'react';
|
|
6
|
-
import require$$4 from 'react-dom';
|
|
7
|
-
import { __require as requireHead } from '../shared/lib/head.js';
|
|
8
|
-
import { __require as requireGetImgProps } from '../shared/lib/get-img-props.js';
|
|
9
|
-
import { __require as requireImageConfig } from '../shared/lib/image-config.js';
|
|
10
|
-
import { __require as requireImageConfigContext_sharedRuntime } from '../shared/lib/image-config-context.shared-runtime.js';
|
|
11
|
-
import { __require as requireRouterContext_sharedRuntime } from '../shared/lib/router-context.shared-runtime.js';
|
|
12
|
-
import { __require as requireImageLoader } from '../shared/lib/image-loader.js';
|
|
13
|
-
import { __require as requireUseMergedRef } from './use-merged-ref.js';
|
|
14
|
-
import { __require as requireWarnOnce } from '../shared/lib/utils/warn-once.js';
|
|
15
|
-
|
|
16
|
-
var hasRequiredImageComponent;
|
|
17
|
-
|
|
18
|
-
function requireImageComponent () {
|
|
19
|
-
if (hasRequiredImageComponent) return imageComponent.exports;
|
|
20
|
-
hasRequiredImageComponent = 1;
|
|
21
|
-
(function (module, exports$1) {
|
|
22
|
-
'use client';
|
|
23
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
24
|
-
value: true
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports$1, "Image", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function() {
|
|
29
|
-
return Image;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
const _interop_require_default = /*@__PURE__*/ require_interop_require_default();
|
|
33
|
-
const _interop_require_wildcard = /*@__PURE__*/ require_interop_require_wildcard();
|
|
34
|
-
const _jsxruntime = requireJsxRuntime();
|
|
35
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard._(React__default);
|
|
36
|
-
const _reactdom = /*#__PURE__*/ _interop_require_default._(require$$4);
|
|
37
|
-
const _head = /*#__PURE__*/ _interop_require_default._(requireHead());
|
|
38
|
-
const _getimgprops = requireGetImgProps();
|
|
39
|
-
const _imageconfig = requireImageConfig();
|
|
40
|
-
const _imageconfigcontextsharedruntime = requireImageConfigContext_sharedRuntime();
|
|
41
|
-
const _routercontextsharedruntime = requireRouterContext_sharedRuntime();
|
|
42
|
-
const _imageloader = /*#__PURE__*/ _interop_require_default._(requireImageLoader());
|
|
43
|
-
const _usemergedref = requireUseMergedRef();
|
|
44
|
-
// This is replaced by webpack define plugin
|
|
45
|
-
const configEnv = process.env.__NEXT_IMAGE_OPTS;
|
|
46
|
-
if (typeof window === 'undefined') {
|
|
47
|
-
globalThis.__NEXT_IMAGE_IMPORTED = true;
|
|
48
|
-
}
|
|
49
|
-
// See https://stackoverflow.com/q/39777833/266535 for why we use this ref
|
|
50
|
-
// handler instead of the img's onLoad attribute.
|
|
51
|
-
function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
|
|
52
|
-
const src = img?.src;
|
|
53
|
-
if (!img || img['data-loaded-src'] === src) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
img['data-loaded-src'] = src;
|
|
57
|
-
const p = 'decode' in img ? img.decode() : Promise.resolve();
|
|
58
|
-
p.catch(()=>{}).then(()=>{
|
|
59
|
-
if (!img.parentElement || !img.isConnected) {
|
|
60
|
-
// Exit early in case of race condition:
|
|
61
|
-
// - onload() is called
|
|
62
|
-
// - decode() is called but incomplete
|
|
63
|
-
// - unmount is called
|
|
64
|
-
// - decode() completes
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
if (placeholder !== 'empty') {
|
|
68
|
-
setBlurComplete(true);
|
|
69
|
-
}
|
|
70
|
-
if (onLoadRef?.current) {
|
|
71
|
-
// Since we don't have the SyntheticEvent here,
|
|
72
|
-
// we must create one with the same shape.
|
|
73
|
-
// See https://reactjs.org/docs/events.html
|
|
74
|
-
const event = new Event('load');
|
|
75
|
-
Object.defineProperty(event, 'target', {
|
|
76
|
-
writable: false,
|
|
77
|
-
value: img
|
|
78
|
-
});
|
|
79
|
-
let prevented = false;
|
|
80
|
-
let stopped = false;
|
|
81
|
-
onLoadRef.current({
|
|
82
|
-
...event,
|
|
83
|
-
nativeEvent: event,
|
|
84
|
-
currentTarget: img,
|
|
85
|
-
target: img,
|
|
86
|
-
isDefaultPrevented: ()=>prevented,
|
|
87
|
-
isPropagationStopped: ()=>stopped,
|
|
88
|
-
persist: ()=>{},
|
|
89
|
-
preventDefault: ()=>{
|
|
90
|
-
prevented = true;
|
|
91
|
-
event.preventDefault();
|
|
92
|
-
},
|
|
93
|
-
stopPropagation: ()=>{
|
|
94
|
-
stopped = true;
|
|
95
|
-
event.stopPropagation();
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
if (onLoadingCompleteRef?.current) {
|
|
100
|
-
onLoadingCompleteRef.current(img);
|
|
101
|
-
}
|
|
102
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
103
|
-
const { warnOnce } = requireWarnOnce();
|
|
104
|
-
const origSrc = new URL(src, 'http://n').searchParams.get('url') || src;
|
|
105
|
-
if (img.getAttribute('data-nimg') === 'fill') {
|
|
106
|
-
if (!unoptimized && (!sizesInput || sizesInput === '100vw')) {
|
|
107
|
-
let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
|
|
108
|
-
if (widthViewportRatio < 0.6) {
|
|
109
|
-
if (sizesInput === '100vw') {
|
|
110
|
-
warnOnce(`Image with src "${origSrc}" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);
|
|
111
|
-
} else {
|
|
112
|
-
warnOnce(`Image with src "${origSrc}" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
if (img.parentElement) {
|
|
117
|
-
const { position } = window.getComputedStyle(img.parentElement);
|
|
118
|
-
const valid = [
|
|
119
|
-
'absolute',
|
|
120
|
-
'fixed',
|
|
121
|
-
'relative'
|
|
122
|
-
];
|
|
123
|
-
if (!valid.includes(position)) {
|
|
124
|
-
warnOnce(`Image with src "${origSrc}" has "fill" and parent element with invalid "position". Provided "${position}" should be one of ${valid.map(String).join(',')}.`);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
if (img.height === 0) {
|
|
128
|
-
warnOnce(`Image with src "${origSrc}" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
const heightModified = img.height.toString() !== img.getAttribute('height');
|
|
132
|
-
const widthModified = img.width.toString() !== img.getAttribute('width');
|
|
133
|
-
if (heightModified && !widthModified || !heightModified && widthModified) {
|
|
134
|
-
warnOnce(`Image with src "${origSrc}" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function getDynamicProps(fetchPriority) {
|
|
140
|
-
if (Boolean(_react.use)) {
|
|
141
|
-
// In React 19.0.0 or newer, we must use camelCase
|
|
142
|
-
// prop to avoid "Warning: Invalid DOM property".
|
|
143
|
-
// See https://github.com/facebook/react/pull/25927
|
|
144
|
-
return {
|
|
145
|
-
fetchPriority
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
// In React 18.2.0 or older, we must use lowercase prop
|
|
149
|
-
// to avoid "Warning: Invalid DOM property".
|
|
150
|
-
return {
|
|
151
|
-
fetchpriority: fetchPriority
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* A version of useLayoutEffect that doesn't warn during SSR.
|
|
156
|
-
* TODO: Just useLayoutEffect once support for React 18 is dropped.
|
|
157
|
-
* Do not rename this to "isomorphic layout effect". There is no such thing as
|
|
158
|
-
* an isomorphic Layout Effect since there is no Layout on the server
|
|
159
|
-
*/ const useNonWarningLayoutEffect = typeof window === 'undefined' ? _react.useEffect : _react.useLayoutEffect;
|
|
160
|
-
const ImageElement = /*#__PURE__*/ (0, _react.forwardRef)(({ src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest }, forwardedRef)=>{
|
|
161
|
-
const didInsertRef = (0, _react.useRef)(false);
|
|
162
|
-
const insertedImgRef = (0, _react.useRef)(null);
|
|
163
|
-
useNonWarningLayoutEffect(()=>{
|
|
164
|
-
const { current: didInsert } = didInsertRef;
|
|
165
|
-
const { current: img } = insertedImgRef;
|
|
166
|
-
if (!didInsert && img !== null) {
|
|
167
|
-
// Replay events from during hydration that React doesn't replay.
|
|
168
|
-
if (onError) {
|
|
169
|
-
// If the image has an error before react hydrates, then the error is lost.
|
|
170
|
-
// The workaround is to wait until the image is mounted which is after hydration,
|
|
171
|
-
// then we set the src again to trigger the error handler (if there was an error).
|
|
172
|
-
// This doesn't just trigger the error handler but retries the whole request.
|
|
173
|
-
// TODO: Consider dispatching a synthetic event instead.
|
|
174
|
-
// eslint-disable-next-line no-self-assign
|
|
175
|
-
img.src = img.src;
|
|
176
|
-
}
|
|
177
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
178
|
-
if (!src) {
|
|
179
|
-
console.error(`Image is missing required "src" property:`, img);
|
|
180
|
-
}
|
|
181
|
-
if (img.getAttribute('alt') === null) {
|
|
182
|
-
console.error(`Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.`);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
if (img.complete) {
|
|
186
|
-
handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
187
|
-
}
|
|
188
|
-
didInsertRef.current = true;
|
|
189
|
-
}
|
|
190
|
-
}, [
|
|
191
|
-
src,
|
|
192
|
-
placeholder,
|
|
193
|
-
onLoadRef,
|
|
194
|
-
onLoadingCompleteRef,
|
|
195
|
-
onError,
|
|
196
|
-
unoptimized,
|
|
197
|
-
sizesInput
|
|
198
|
-
]);
|
|
199
|
-
const ref = (0, _usemergedref.useMergedRef)(forwardedRef, insertedImgRef);
|
|
200
|
-
return(// If you move this element creation, also move the Layout Effect above
|
|
201
|
-
// reading from the ref. Otherwise we might run the Layout Effect when
|
|
202
|
-
// the current value isn't set to the HTMLImageElement instance.
|
|
203
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)("img", {
|
|
204
|
-
...rest,
|
|
205
|
-
...getDynamicProps(fetchPriority),
|
|
206
|
-
// It's intended to keep `loading` before `src` because React updates
|
|
207
|
-
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
208
|
-
// See https://github.com/facebook/react/issues/25883
|
|
209
|
-
loading: loading,
|
|
210
|
-
width: width,
|
|
211
|
-
height: height,
|
|
212
|
-
decoding: decoding,
|
|
213
|
-
"data-nimg": fill ? 'fill' : '1',
|
|
214
|
-
className: className,
|
|
215
|
-
style: style,
|
|
216
|
-
// It's intended to keep `src` the last attribute because React updates
|
|
217
|
-
// attributes in order. If we keep `src` the first one, Safari will
|
|
218
|
-
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
219
|
-
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
220
|
-
// and `sizes` are defined.
|
|
221
|
-
// This bug cannot be reproduced in Chrome or Firefox.
|
|
222
|
-
sizes: sizes,
|
|
223
|
-
srcSet: srcSet,
|
|
224
|
-
src: src,
|
|
225
|
-
ref: ref,
|
|
226
|
-
onLoad: (event)=>{
|
|
227
|
-
const currentImage = event.currentTarget;
|
|
228
|
-
handleLoading(currentImage, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
229
|
-
},
|
|
230
|
-
onError: (event)=>{
|
|
231
|
-
// if the real image fails to load, this will ensure "alt" is visible
|
|
232
|
-
setShowAltText(true);
|
|
233
|
-
if (placeholder !== 'empty') {
|
|
234
|
-
// If the real image fails to load, this will still remove the placeholder.
|
|
235
|
-
setBlurComplete(true);
|
|
236
|
-
}
|
|
237
|
-
if (onError) {
|
|
238
|
-
onError(event);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}));
|
|
242
|
-
});
|
|
243
|
-
function ImagePreload({ isAppRouter, imgAttributes }) {
|
|
244
|
-
const opts = {
|
|
245
|
-
as: 'image',
|
|
246
|
-
imageSrcSet: imgAttributes.srcSet,
|
|
247
|
-
imageSizes: imgAttributes.sizes,
|
|
248
|
-
crossOrigin: imgAttributes.crossOrigin,
|
|
249
|
-
referrerPolicy: imgAttributes.referrerPolicy,
|
|
250
|
-
...getDynamicProps(imgAttributes.fetchPriority)
|
|
251
|
-
};
|
|
252
|
-
if (isAppRouter && _reactdom.default.preload) {
|
|
253
|
-
_reactdom.default.preload(imgAttributes.src, opts);
|
|
254
|
-
return null;
|
|
255
|
-
}
|
|
256
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_head.default, {
|
|
257
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
258
|
-
rel: "preload",
|
|
259
|
-
// Note how we omit the `href` attribute, as it would only be relevant
|
|
260
|
-
// for browsers that do not support `imagesrcset`, and in those cases
|
|
261
|
-
// it would cause the incorrect image to be preloaded.
|
|
262
|
-
//
|
|
263
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
264
|
-
href: imgAttributes.srcSet ? undefined : imgAttributes.src,
|
|
265
|
-
...opts
|
|
266
|
-
}, '__nimg-' + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
const Image = /*#__PURE__*/ (0, _react.forwardRef)((props, forwardedRef)=>{
|
|
270
|
-
const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
|
|
271
|
-
// We're in the app directory if there is no pages router.
|
|
272
|
-
const isAppRouter = !pagesRouter;
|
|
273
|
-
const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
|
|
274
|
-
const config = (0, _react.useMemo)(()=>{
|
|
275
|
-
const c = configEnv || configContext || _imageconfig.imageConfigDefault;
|
|
276
|
-
const allSizes = [
|
|
277
|
-
...c.deviceSizes,
|
|
278
|
-
...c.imageSizes
|
|
279
|
-
].sort((a, b)=>a - b);
|
|
280
|
-
const deviceSizes = c.deviceSizes.sort((a, b)=>a - b);
|
|
281
|
-
const qualities = c.qualities?.sort((a, b)=>a - b);
|
|
282
|
-
return {
|
|
283
|
-
...c,
|
|
284
|
-
allSizes,
|
|
285
|
-
deviceSizes,
|
|
286
|
-
qualities,
|
|
287
|
-
// During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include
|
|
288
|
-
// security sensitive configs like `localPatterns`, which is needed
|
|
289
|
-
// during the server render to ensure it's validated. Therefore use
|
|
290
|
-
// configContext, which holds the config from the server for validation.
|
|
291
|
-
localPatterns: typeof window === 'undefined' ? configContext?.localPatterns : c.localPatterns
|
|
292
|
-
};
|
|
293
|
-
}, [
|
|
294
|
-
configContext
|
|
295
|
-
]);
|
|
296
|
-
const { onLoad, onLoadingComplete } = props;
|
|
297
|
-
const onLoadRef = (0, _react.useRef)(onLoad);
|
|
298
|
-
(0, _react.useEffect)(()=>{
|
|
299
|
-
onLoadRef.current = onLoad;
|
|
300
|
-
}, [
|
|
301
|
-
onLoad
|
|
302
|
-
]);
|
|
303
|
-
const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
|
|
304
|
-
(0, _react.useEffect)(()=>{
|
|
305
|
-
onLoadingCompleteRef.current = onLoadingComplete;
|
|
306
|
-
}, [
|
|
307
|
-
onLoadingComplete
|
|
308
|
-
]);
|
|
309
|
-
const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
|
|
310
|
-
const [showAltText, setShowAltText] = (0, _react.useState)(false);
|
|
311
|
-
const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
|
|
312
|
-
defaultLoader: _imageloader.default,
|
|
313
|
-
imgConf: config,
|
|
314
|
-
blurComplete,
|
|
315
|
-
showAltText
|
|
316
|
-
});
|
|
317
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
318
|
-
children: [
|
|
319
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(ImageElement, {
|
|
320
|
-
...imgAttributes,
|
|
321
|
-
unoptimized: imgMeta.unoptimized,
|
|
322
|
-
placeholder: imgMeta.placeholder,
|
|
323
|
-
fill: imgMeta.fill,
|
|
324
|
-
onLoadRef: onLoadRef,
|
|
325
|
-
onLoadingCompleteRef: onLoadingCompleteRef,
|
|
326
|
-
setBlurComplete: setBlurComplete,
|
|
327
|
-
setShowAltText: setShowAltText,
|
|
328
|
-
sizesInput: props.sizes,
|
|
329
|
-
ref: forwardedRef
|
|
330
|
-
}),
|
|
331
|
-
imgMeta.preload ? /*#__PURE__*/ (0, _jsxruntime.jsx)(ImagePreload, {
|
|
332
|
-
isAppRouter: isAppRouter,
|
|
333
|
-
imgAttributes: imgAttributes
|
|
334
|
-
}) : null
|
|
335
|
-
]
|
|
336
|
-
});
|
|
337
|
-
});
|
|
338
|
-
|
|
339
|
-
if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
|
|
340
|
-
Object.defineProperty(exports$1.default, '__esModule', { value: true });
|
|
341
|
-
Object.assign(exports$1.default, exports$1);
|
|
342
|
-
module.exports = exports$1.default;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
} (imageComponent, imageComponent.exports));
|
|
347
|
-
return imageComponent.exports;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export { requireImageComponent as __require };
|
|
351
|
-
//# sourceMappingURL=image-component.js.map
|