lkd-web-kit 0.0.8 → 0.0.9
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/index.cjs +1 -0
- package/dist/index.js +60 -1
- package/dist/index10.js +21 -0
- package/dist/index100.js +4 -0
- package/dist/index101.js +4 -0
- package/dist/index102.js +4 -0
- package/dist/index103.js +4 -0
- package/dist/index104.cjs +1 -0
- package/dist/index104.js +21 -0
- package/dist/index105.cjs +1 -0
- package/dist/index105.js +19 -0
- package/dist/index106.js +4 -0
- package/dist/index107.js +4 -0
- package/dist/index108.cjs +1 -0
- package/dist/index108.js +63 -0
- package/dist/index109.js +4 -0
- package/dist/index11.js +18 -0
- package/dist/index110.js +4 -0
- package/dist/index111.js +4 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +30 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +26 -0
- package/dist/index114.js +4 -0
- package/dist/index115.js +4 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.js +19 -0
- package/dist/index117.js +4 -0
- package/dist/index118.js +4 -0
- package/dist/index119.js +4 -0
- package/dist/index12.js +9 -0
- package/dist/index120.cjs +1 -0
- package/dist/index120.js +19 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.js +76 -0
- package/dist/index122.js +4 -0
- package/dist/index123.js +4 -0
- package/dist/index124.js +4 -0
- package/dist/index125.js +4 -0
- package/dist/index126.js +4 -0
- package/dist/index127.js +4 -0
- package/dist/index128.cjs +1 -0
- package/dist/index128.js +20 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.js +29 -0
- package/dist/index13.js +9 -0
- package/dist/index130.js +4 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.js +154 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.js +22 -0
- package/dist/index133.js +4 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.js +42 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.js +167 -0
- package/dist/index136.js +4 -0
- package/dist/index137.cjs +1 -0
- package/dist/index137.js +25 -0
- package/dist/index138.js +4 -0
- package/dist/index139.js +4 -0
- package/dist/index14.cjs +1 -0
- package/dist/index14.js +47 -0
- package/dist/index140.js +4 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.js +37 -0
- package/dist/index142.js +4 -0
- package/dist/index143.cjs +1 -0
- package/dist/index143.js +28 -0
- package/dist/index144.js +4 -0
- package/dist/index145.js +4 -0
- package/dist/index146.js +4 -0
- package/dist/index147.cjs +1 -0
- package/dist/index147.js +19 -0
- package/dist/index148.js +4 -0
- package/dist/index149.js +4 -0
- package/dist/index15.js +20 -0
- package/dist/index150.cjs +1 -0
- package/dist/index150.js +21 -0
- package/dist/index151.cjs +1 -0
- package/dist/index151.js +24 -0
- package/dist/index152.js +4 -0
- package/dist/index153.js +4 -0
- package/dist/index154.cjs +1 -0
- package/dist/index154.js +65 -0
- package/dist/index155.js +4 -0
- package/dist/index156.js +4 -0
- package/dist/index157.js +4 -0
- package/dist/index158.js +4 -0
- package/dist/index159.js +4 -0
- package/dist/index16.cjs +1 -0
- package/dist/index16.js +17 -0
- package/dist/index160.js +4 -0
- package/dist/index161.cjs +1 -0
- package/dist/index161.js +90 -0
- package/dist/index162.js +4 -0
- package/dist/index163.js +4 -0
- package/dist/index164.cjs +1 -0
- package/dist/index164.js +285 -0
- package/dist/index165.cjs +1 -0
- package/dist/index165.js +21 -0
- package/dist/index166.js +4 -0
- package/dist/index167.js +4 -0
- package/dist/index168.js +4 -0
- package/dist/index169.js +4 -0
- package/dist/index17.js +18 -0
- package/dist/index170.js +4 -0
- package/dist/index171.js +4 -0
- package/dist/index172.js +4 -0
- package/dist/index173.js +4 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.js +39 -0
- package/dist/index175.js +4 -0
- package/dist/index176.js +4 -0
- package/dist/index177.js +4 -0
- package/dist/index178.cjs +1 -0
- package/dist/index178.js +20 -0
- package/dist/index179.js +4 -0
- package/dist/index18.cjs +1 -0
- package/dist/index18.js +5 -0
- package/dist/index180.js +6 -0
- package/dist/index19.js +11 -0
- package/dist/index2.cjs +1 -0
- package/dist/index2.js +36 -0
- package/dist/index20.js +10 -0
- package/dist/index21.js +8 -0
- package/dist/index22.cjs +1 -0
- package/dist/index22.js +5 -0
- package/dist/index23.js +6 -0
- package/dist/index24.js +34 -0
- package/dist/index25.js +13 -0
- package/dist/index26.js +20 -0
- package/dist/index27.js +4 -0
- package/dist/index28.js +54 -0
- package/dist/index29.cjs +1 -0
- package/dist/index29.js +7 -0
- package/dist/index3.js +6 -0
- package/dist/index30.cjs +1 -0
- package/dist/index30.js +8 -0
- package/dist/{node_modules/next/dist/client/link.js → index31.cjs} +1 -1
- package/dist/index31.js +280 -0
- package/dist/index32.cjs +1 -0
- package/dist/index32.js +8 -0
- package/dist/index33.cjs +1 -0
- package/dist/index33.js +133 -0
- package/dist/index34.js +4 -0
- package/dist/index35.cjs +1 -0
- package/dist/index35.js +41 -0
- package/dist/index36.cjs +1 -0
- package/dist/index36.js +33 -0
- package/dist/index37.cjs +1 -0
- package/dist/index37.js +21 -0
- package/dist/index38.cjs +1 -0
- package/dist/index38.js +49 -0
- package/dist/index39.cjs +1 -0
- package/dist/index39.js +75 -0
- package/dist/index4.cjs +1 -0
- package/dist/index4.js +105 -0
- package/dist/index40.cjs +1 -0
- package/dist/index40.js +34 -0
- package/dist/index41.cjs +4 -0
- package/dist/index41.js +346 -0
- package/dist/index42.cjs +1 -0
- package/dist/index42.js +30 -0
- package/dist/index43.js +4 -0
- package/dist/index44.cjs +1 -0
- package/dist/index44.js +30 -0
- package/dist/index45.cjs +1 -0
- package/dist/index45.js +67 -0
- package/dist/index46.cjs +1 -0
- package/dist/index46.js +29 -0
- package/dist/index47.cjs +1 -0
- package/dist/index47.js +57 -0
- package/dist/index48.cjs +1 -0
- package/dist/index48.js +166 -0
- package/dist/{node_modules/next/dist/client/add-locale.js → index49.cjs} +1 -1
- package/dist/index49.js +25 -0
- package/dist/index5.cjs +1 -0
- package/dist/index5.js +35 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.js +21 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.js +85 -0
- package/dist/index52.cjs +1 -0
- package/dist/index52.js +33 -0
- package/dist/index53.cjs +1 -0
- package/dist/index53.js +24 -0
- package/dist/index54.cjs +1 -0
- package/dist/index54.js +44 -0
- package/dist/index55.cjs +1 -0
- package/dist/index55.js +25 -0
- package/dist/index56.js +4 -0
- package/dist/index57.cjs +1 -0
- package/dist/index57.js +13 -0
- package/dist/index58.js +4 -0
- package/dist/index59.js +4 -0
- package/dist/index6.js +4 -0
- package/dist/index60.js +4 -0
- package/dist/index61.js +4 -0
- package/dist/index62.cjs +1 -0
- package/dist/index62.js +80 -0
- package/dist/index63.cjs +1 -0
- package/dist/index63.js +41 -0
- package/dist/index64.cjs +1 -0
- package/dist/index64.js +28 -0
- package/dist/index65.cjs +1 -0
- package/dist/index65.js +34 -0
- package/dist/index66.cjs +1 -0
- package/dist/index66.js +34 -0
- package/dist/index67.cjs +1 -0
- package/dist/index67.js +21 -0
- package/dist/index68.js +4 -0
- package/dist/index69.js +4 -0
- package/dist/index7.js +4 -0
- package/dist/index70.cjs +1 -0
- package/dist/index70.js +36 -0
- package/dist/index71.cjs +1 -0
- package/dist/index71.js +36 -0
- package/dist/index72.cjs +1 -0
- package/dist/index72.js +102 -0
- package/dist/index73.cjs +1 -0
- package/dist/index73.js +19 -0
- package/dist/index74.cjs +1 -0
- package/dist/index74.js +62 -0
- package/dist/index75.cjs +1 -0
- package/dist/index75.js +30 -0
- package/dist/index76.cjs +1 -0
- package/dist/index76.js +45 -0
- package/dist/index77.js +4 -0
- package/dist/index78.cjs +1 -0
- package/dist/index78.js +35 -0
- package/dist/index79.js +4 -0
- package/dist/index8.cjs +1 -0
- package/dist/index8.js +47 -0
- package/dist/index80.js +4 -0
- package/dist/index81.cjs +1 -0
- package/dist/index81.js +64 -0
- package/dist/index82.cjs +1 -0
- package/dist/index82.js +23 -0
- package/dist/index83.cjs +1 -0
- package/dist/index83.js +26 -0
- package/dist/index84.cjs +1 -0
- package/dist/index84.js +32 -0
- package/dist/index85.cjs +1 -0
- package/dist/index85.js +49 -0
- package/dist/index86.js +4 -0
- package/dist/index87.cjs +1 -0
- package/dist/index87.js +23 -0
- package/dist/index88.js +4 -0
- package/dist/index89.js +4 -0
- package/dist/index9.js +15 -0
- package/dist/index90.js +4 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.js +25 -0
- package/dist/index92.js +4 -0
- package/dist/index93.js +4 -0
- package/dist/index94.cjs +1 -0
- package/dist/index94.js +40 -0
- package/dist/index95.js +4 -0
- package/dist/index96.cjs +1 -0
- package/dist/index96.js +23 -0
- package/dist/index97.cjs +1 -0
- package/dist/index97.js +25 -0
- package/dist/index98.js +4 -0
- package/dist/index99.cjs +1 -0
- package/dist/index99.js +25 -0
- package/package.json +3 -3
- package/dist/_virtual/link.js +0 -1
- package/dist/_virtual/navigation.js +0 -1
- package/dist/components/EmptyState/index.js +0 -1
- package/dist/components/NavItems.js +0 -1
- package/dist/components/SelectInfinity/index.js +0 -1
- package/dist/contexts/NavigationHistoryContext/index.js +0 -1
- package/dist/hocs/withForm.js +0 -1
- package/dist/hooks/useFetchNextPageOnScroll.js +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -1
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -1
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +0 -1
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -1
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -1
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +0 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -1
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -1
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -1
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -1
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -1
- package/dist/node_modules/next/dist/lib/constants.js +0 -1
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +0 -1
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -4
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -1
- package/dist/node_modules/next/link.js +0 -1
- package/dist/node_modules/next/navigation.js +0 -1
- package/dist/utils/ky/addBodyJsonHook.js +0 -1
- /package/dist/{form/Form.js → index10.cjs} +0 -0
- /package/dist/{_virtual/add-base-path.js → index100.cjs} +0 -0
- /package/dist/{_virtual/_interop_require_default.js → index101.cjs} +0 -0
- /package/dist/{_virtual/_interop_require_wildcard.js → index102.cjs} +0 -0
- /package/dist/{_virtual/add-locale.js → index103.cjs} +0 -0
- /package/dist/{_virtual/app-router-headers.js → index106.cjs} +0 -0
- /package/dist/{_virtual/bailout-to-client-rendering.js → index107.cjs} +0 -0
- /package/dist/{_virtual/detect-domain-locale.js → index109.cjs} +0 -0
- /package/dist/{form/FormButtonSubmit.js → index11.cjs} +0 -0
- /package/dist/{_virtual/forbidden.js → index110.cjs} +0 -0
- /package/dist/{_virtual/get-domain-locale.js → index111.cjs} +0 -0
- /package/dist/{_virtual/action-async-storage-instance.js → index114.cjs} +0 -0
- /package/dist/{_virtual/action-async-storage.external.js → index115.cjs} +0 -0
- /package/dist/{_virtual/get-segment-value.js → index117.cjs} +0 -0
- /package/dist/{_virtual/has-base-path.js → index118.cjs} +0 -0
- /package/dist/{_virtual/add-locale2.js → index119.cjs} +0 -0
- /package/dist/{form/utils/zodValidator.js → index12.cjs} +0 -0
- /package/dist/{_virtual/add-path-prefix.js → index122.cjs} +0 -0
- /package/dist/{_virtual/constants.js → index123.cjs} +0 -0
- /package/dist/{_virtual/app-paths.js → index124.cjs} +0 -0
- /package/dist/{_virtual/app-router-context.shared-runtime.js → index125.cjs} +0 -0
- /package/dist/{_virtual/async-local-storage.js → index126.cjs} +0 -0
- /package/dist/{_virtual/hooks-server-context.js → index127.cjs} +0 -0
- /package/dist/{form/utils/nullableInput.js → index13.cjs} +0 -0
- /package/dist/{_virtual/bailout-to-csr.js → index130.cjs} +0 -0
- /package/dist/{_virtual/detect-domain-locale2.js → index133.cjs} +0 -0
- /package/dist/{_virtual/http-access-fallback.js → index136.cjs} +0 -0
- /package/dist/{_virtual/dynamic-rendering-utils.js → index138.cjs} +0 -0
- /package/dist/{_virtual/is-next-router-error.js → index139.cjs} +0 -0
- /package/dist/{_virtual/link2.js → index140.cjs} +0 -0
- /package/dist/{_virtual/navigation.react-server.js → index142.cjs} +0 -0
- /package/dist/{_virtual/dynamic-rendering.js → index144.cjs} +0 -0
- /package/dist/{_virtual/navigation2.js → index145.cjs} +0 -0
- /package/dist/{_virtual/ensure-leading-slash.js → index146.cjs} +0 -0
- /package/dist/{_virtual/normalize-locale-path.js → index148.cjs} +0 -0
- /package/dist/{_virtual/normalize-trailing-slash.js → index149.cjs} +0 -0
- /package/dist/{hocs/withModalManager.js → index15.cjs} +0 -0
- /package/dist/{_virtual/not-found.js → index152.cjs} +0 -0
- /package/dist/{_virtual/error-once.js → index153.cjs} +0 -0
- /package/dist/{_virtual/escape-regexp.js → index155.cjs} +0 -0
- /package/dist/{_virtual/redirect-error.js → index156.cjs} +0 -0
- /package/dist/{_virtual/format-url.js → index157.cjs} +0 -0
- /package/dist/{_virtual/hooks-client-context.shared-runtime.js → index158.cjs} +0 -0
- /package/dist/{_virtual/index.js → index159.cjs} +0 -0
- /package/dist/{_virtual/interception-routes.js → index160.cjs} +0 -0
- /package/dist/{_virtual/interpolate-as.js → index162.cjs} +0 -0
- /package/dist/{_virtual/is-dynamic.js → index163.cjs} +0 -0
- /package/dist/{_virtual/is-local-url.js → index166.cjs} +0 -0
- /package/dist/{_virtual/is-postpone.js → index167.cjs} +0 -0
- /package/dist/{_virtual/normalize-locale-path2.js → index168.cjs} +0 -0
- /package/dist/{_virtual/omit.js → index169.cjs} +0 -0
- /package/dist/{hooks/useOnScrollProgress.js → index17.cjs} +0 -0
- /package/dist/{_virtual/parse-path.js → index170.cjs} +0 -0
- /package/dist/{_virtual/redirect-status-code.js → index171.cjs} +0 -0
- /package/dist/{_virtual/path-has-prefix.js → index172.cjs} +0 -0
- /package/dist/{_virtual/querystring.js → index173.cjs} +0 -0
- /package/dist/{_virtual/metadata-constants.js → index175.cjs} +0 -0
- /package/dist/{_virtual/remove-trailing-slash.js → index176.cjs} +0 -0
- /package/dist/{_virtual/route-matcher.js → index177.cjs} +0 -0
- /package/dist/{_virtual/route-regex.js → index179.cjs} +0 -0
- /package/dist/{_virtual/_commonjsHelpers.js → index180.cjs} +0 -0
- /package/dist/{mantine/breakpointsWithPx.js → index19.cjs} +0 -0
- /package/dist/{mantine/toTailwindColors.js → index20.cjs} +0 -0
- /package/dist/{utils/formatBytes.js → index21.cjs} +0 -0
- /package/dist/{utils/ky/parseJson.js → index23.cjs} +0 -0
- /package/dist/{utils/array/groupBy.js → index24.cjs} +0 -0
- /package/dist/{utils/array/shuffleArray.js → index25.cjs} +0 -0
- /package/dist/{utils/newHref.js → index26.cjs} +0 -0
- /package/dist/{utils/isInfinityEmpty.js → index27.cjs} +0 -0
- /package/dist/{components/Icon.js → index28.cjs} +0 -0
- /package/dist/{components/InfinityLoader/index.js → index3.cjs} +0 -0
- /package/dist/{_virtual/redirect.js → index34.cjs} +0 -0
- /package/dist/{_virtual/request-idle-callback.js → index43.cjs} +0 -0
- /package/dist/{_virtual/router-context.shared-runtime.js → index56.cjs} +0 -0
- /package/dist/{_virtual/scheduler.js → index58.cjs} +0 -0
- /package/dist/{_virtual/resolve-href.js → index59.cjs} +0 -0
- /package/dist/{consts/http-status.js → index6.cjs} +0 -0
- /package/dist/{_virtual/segment.js → index60.cjs} +0 -0
- /package/dist/{_virtual/static-generation-bailout.js → index61.cjs} +0 -0
- /package/dist/{_virtual/server-inserted-html.shared-runtime.js → index68.cjs} +0 -0
- /package/dist/{_virtual/sorted-routes.js → index69.cjs} +0 -0
- /package/dist/{consts/revalidate.js → index7.cjs} +0 -0
- /package/dist/{_virtual/unauthorized.js → index77.cjs} +0 -0
- /package/dist/{_virtual/utils.js → index79.cjs} +0 -0
- /package/dist/{_virtual/unstable-rethrow.browser.js → index80.cjs} +0 -0
- /package/dist/{_virtual/work-async-storage-instance.js → index86.cjs} +0 -0
- /package/dist/{_virtual/work-async-storage.external.js → index88.cjs} +0 -0
- /package/dist/{_virtual/work-unit-async-storage-instance.js → index89.cjs} +0 -0
- /package/dist/{contexts/PageDataContext/index.js → index9.cjs} +0 -0
- /package/dist/{_virtual/unstable-rethrow.js → index90.cjs} +0 -0
- /package/dist/{_virtual/work-unit-async-storage.external.js → index92.cjs} +0 -0
- /package/dist/{_virtual/unstable-rethrow.server.js → index93.cjs} +0 -0
- /package/dist/{_virtual/use-intersection.js → index95.cjs} +0 -0
- /package/dist/{_virtual/use-merged-ref.js → index98.cjs} +0 -0
package/dist/index31.js
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { __module as q } from "./index43.js";
|
|
2
|
+
import { __require as de } from "./index44.js";
|
|
3
|
+
import pe from "react/jsx-runtime";
|
|
4
|
+
import he from "react";
|
|
5
|
+
import { __require as _e } from "./index45.js";
|
|
6
|
+
import { __require as me } from "./index46.js";
|
|
7
|
+
import { __require as ve } from "./index47.js";
|
|
8
|
+
import { __require as Ee } from "./index48.js";
|
|
9
|
+
import { __require as be } from "./index49.js";
|
|
10
|
+
import { __require as ge } from "./index50.js";
|
|
11
|
+
import { __require as we } from "./index51.js";
|
|
12
|
+
import { __require as qe } from "./index52.js";
|
|
13
|
+
import { __require as ye } from "./index53.js";
|
|
14
|
+
import { __require as Pe } from "./index54.js";
|
|
15
|
+
import { __require as Ce } from "./index55.js";
|
|
16
|
+
var I;
|
|
17
|
+
function Ke() {
|
|
18
|
+
return I ? q.exports : (I = 1, function(K, d) {
|
|
19
|
+
"use client";
|
|
20
|
+
Object.defineProperty(d, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
});
|
|
23
|
+
function X(t, n) {
|
|
24
|
+
for (var a in n) Object.defineProperty(t, a, {
|
|
25
|
+
enumerable: !0,
|
|
26
|
+
get: n[a]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
X(d, {
|
|
30
|
+
default: function() {
|
|
31
|
+
return se;
|
|
32
|
+
},
|
|
33
|
+
useLinkStatus: function() {
|
|
34
|
+
return ie;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
const G = /* @__PURE__ */ de(), L = pe, c = /* @__PURE__ */ G._(he), N = _e(), T = me(), $ = ve(), F = Ee(), W = be(), z = ge(), J = we(), Q = qe(), Y = ye(), Z = Pe(), ee = Ce(), x = /* @__PURE__ */ new Set();
|
|
38
|
+
function y(t, n, a, i) {
|
|
39
|
+
if (!(typeof window > "u") && (0, T.isLocalURL)(n)) {
|
|
40
|
+
if (!i.bypassPrefetchedCheck) {
|
|
41
|
+
const l = (
|
|
42
|
+
// Let the link's locale prop override the default router locale.
|
|
43
|
+
typeof i.locale < "u" ? i.locale : "locale" in t ? t.locale : void 0
|
|
44
|
+
), p = n + "%" + a + "%" + l;
|
|
45
|
+
if (x.has(p))
|
|
46
|
+
return;
|
|
47
|
+
x.add(p);
|
|
48
|
+
}
|
|
49
|
+
t.prefetch(n, a, i).catch((l) => {
|
|
50
|
+
if (process.env.NODE_ENV !== "production")
|
|
51
|
+
throw l;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function re(t) {
|
|
56
|
+
const a = t.currentTarget.getAttribute("target");
|
|
57
|
+
return a && a !== "_self" || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || // triggers resource download
|
|
58
|
+
t.nativeEvent && t.nativeEvent.which === 2;
|
|
59
|
+
}
|
|
60
|
+
function te(t, n, a, i, l, p, b, P, g) {
|
|
61
|
+
const { nodeName: C } = t.currentTarget;
|
|
62
|
+
if (C.toUpperCase() === "A" && re(t) || t.currentTarget.hasAttribute("download"))
|
|
63
|
+
return;
|
|
64
|
+
if (!(0, T.isLocalURL)(a)) {
|
|
65
|
+
l && (t.preventDefault(), location.replace(a));
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
t.preventDefault(), (() => {
|
|
69
|
+
if (g) {
|
|
70
|
+
let E = !1;
|
|
71
|
+
if (g({
|
|
72
|
+
preventDefault: () => {
|
|
73
|
+
E = !0;
|
|
74
|
+
}
|
|
75
|
+
}), E)
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const h = b ?? !0;
|
|
79
|
+
"beforePopState" in n ? n[l ? "replace" : "push"](a, i, {
|
|
80
|
+
shallow: p,
|
|
81
|
+
locale: P,
|
|
82
|
+
scroll: h
|
|
83
|
+
}) : n[l ? "replace" : "push"](i || a, {
|
|
84
|
+
scroll: h
|
|
85
|
+
});
|
|
86
|
+
})();
|
|
87
|
+
}
|
|
88
|
+
function j(t) {
|
|
89
|
+
return typeof t == "string" ? t : (0, $.formatUrl)(t);
|
|
90
|
+
}
|
|
91
|
+
const oe = /* @__PURE__ */ c.default.forwardRef(function(n, a) {
|
|
92
|
+
let i;
|
|
93
|
+
const { href: l, as: p, children: b, prefetch: P = null, passHref: g, replace: C, shallow: D, scroll: k, locale: h, onClick: E, onNavigate: ae, onMouseEnter: R, onTouchStart: M, legacyBehavior: f = !1, ...le } = n;
|
|
94
|
+
i = b, f && (typeof i == "string" || typeof i == "number") && (i = /* @__PURE__ */ (0, L.jsx)("a", {
|
|
95
|
+
children: i
|
|
96
|
+
}));
|
|
97
|
+
const r = c.default.useContext(z.RouterContext), S = P !== !1;
|
|
98
|
+
if (process.env.NODE_ENV !== "production") {
|
|
99
|
+
let o = function(e) {
|
|
100
|
+
return Object.defineProperty(new Error("Failed prop type: The prop `" + e.key + "` expects a " + e.expected + " in `<Link>`, but got `" + e.actual + "` instead." + (typeof window < "u" ? `
|
|
101
|
+
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
102
|
+
value: "E319",
|
|
103
|
+
enumerable: !1,
|
|
104
|
+
configurable: !0
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
Object.keys({
|
|
108
|
+
href: !0
|
|
109
|
+
}).forEach((e) => {
|
|
110
|
+
if (e === "href" && (n[e] == null || typeof n[e] != "string" && typeof n[e] != "object"))
|
|
111
|
+
throw o({
|
|
112
|
+
key: e,
|
|
113
|
+
expected: "`string` or `object`",
|
|
114
|
+
actual: n[e] === null ? "null" : typeof n[e]
|
|
115
|
+
});
|
|
116
|
+
}), Object.keys({
|
|
117
|
+
as: !0,
|
|
118
|
+
replace: !0,
|
|
119
|
+
scroll: !0,
|
|
120
|
+
shallow: !0,
|
|
121
|
+
passHref: !0,
|
|
122
|
+
prefetch: !0,
|
|
123
|
+
locale: !0,
|
|
124
|
+
onClick: !0,
|
|
125
|
+
onMouseEnter: !0,
|
|
126
|
+
onTouchStart: !0,
|
|
127
|
+
legacyBehavior: !0,
|
|
128
|
+
onNavigate: !0
|
|
129
|
+
}).forEach((e) => {
|
|
130
|
+
const m = typeof n[e];
|
|
131
|
+
if (e === "as") {
|
|
132
|
+
if (n[e] && m !== "string" && m !== "object")
|
|
133
|
+
throw o({
|
|
134
|
+
key: e,
|
|
135
|
+
expected: "`string` or `object`",
|
|
136
|
+
actual: m
|
|
137
|
+
});
|
|
138
|
+
} else if (e === "locale") {
|
|
139
|
+
if (n[e] && m !== "string")
|
|
140
|
+
throw o({
|
|
141
|
+
key: e,
|
|
142
|
+
expected: "`string`",
|
|
143
|
+
actual: m
|
|
144
|
+
});
|
|
145
|
+
} else if (e === "onClick" || e === "onMouseEnter" || e === "onTouchStart" || e === "onNavigate") {
|
|
146
|
+
if (n[e] && m !== "function")
|
|
147
|
+
throw o({
|
|
148
|
+
key: e,
|
|
149
|
+
expected: "`function`",
|
|
150
|
+
actual: m
|
|
151
|
+
});
|
|
152
|
+
} else if ((e === "replace" || e === "scroll" || e === "shallow" || e === "passHref" || e === "prefetch" || e === "legacyBehavior") && n[e] != null && m !== "boolean")
|
|
153
|
+
throw o({
|
|
154
|
+
key: e,
|
|
155
|
+
expected: "`boolean`",
|
|
156
|
+
actual: m
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
const { href: _, as: u } = c.default.useMemo(() => {
|
|
161
|
+
if (!r) {
|
|
162
|
+
const O = j(l);
|
|
163
|
+
return {
|
|
164
|
+
href: O,
|
|
165
|
+
as: p ? j(p) : O
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
const [o, v] = (0, N.resolveHref)(r, l, !0);
|
|
169
|
+
return {
|
|
170
|
+
href: o,
|
|
171
|
+
as: p ? (0, N.resolveHref)(r, p) : v || o
|
|
172
|
+
};
|
|
173
|
+
}, [
|
|
174
|
+
r,
|
|
175
|
+
l,
|
|
176
|
+
p
|
|
177
|
+
]), A = c.default.useRef(_), U = c.default.useRef(u);
|
|
178
|
+
let s;
|
|
179
|
+
if (f)
|
|
180
|
+
if (process.env.NODE_ENV === "development") {
|
|
181
|
+
E && console.warn('"onClick" was passed to <Link> with `href` of `' + l + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), R && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + l + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
|
|
182
|
+
try {
|
|
183
|
+
s = c.default.Children.only(i);
|
|
184
|
+
} catch {
|
|
185
|
+
throw i ? Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `" + l + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
|
|
186
|
+
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
187
|
+
value: "E266",
|
|
188
|
+
enumerable: !1,
|
|
189
|
+
configurable: !0
|
|
190
|
+
}) : Object.defineProperty(new Error("No children were passed to <Link> with `href` of `" + l + "` but one child is required https://nextjs.org/docs/messages/link-no-children"), "__NEXT_ERROR_CODE", {
|
|
191
|
+
value: "E320",
|
|
192
|
+
enumerable: !1,
|
|
193
|
+
configurable: !0
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
} else
|
|
197
|
+
s = c.default.Children.only(i);
|
|
198
|
+
else if (process.env.NODE_ENV === "development" && i?.type === "a")
|
|
199
|
+
throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
200
|
+
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`), "__NEXT_ERROR_CODE", {
|
|
201
|
+
value: "E209",
|
|
202
|
+
enumerable: !1,
|
|
203
|
+
configurable: !0
|
|
204
|
+
});
|
|
205
|
+
const ue = f ? s && typeof s == "object" && s.ref : a, [H, B, V] = (0, J.useIntersection)({
|
|
206
|
+
rootMargin: "200px"
|
|
207
|
+
}), ce = c.default.useCallback((o) => {
|
|
208
|
+
(U.current !== u || A.current !== _) && (V(), U.current = u, A.current = _), H(o);
|
|
209
|
+
}, [
|
|
210
|
+
u,
|
|
211
|
+
_,
|
|
212
|
+
V,
|
|
213
|
+
H
|
|
214
|
+
]), fe = (0, Z.useMergedRef)(ce, ue);
|
|
215
|
+
c.default.useEffect(() => {
|
|
216
|
+
process.env.NODE_ENV === "production" && r && (!B || !S || y(r, _, u, {
|
|
217
|
+
locale: h
|
|
218
|
+
}));
|
|
219
|
+
}, [
|
|
220
|
+
u,
|
|
221
|
+
_,
|
|
222
|
+
B,
|
|
223
|
+
h,
|
|
224
|
+
S,
|
|
225
|
+
r?.locale,
|
|
226
|
+
r
|
|
227
|
+
]);
|
|
228
|
+
const w = {
|
|
229
|
+
ref: fe,
|
|
230
|
+
onClick(o) {
|
|
231
|
+
if (process.env.NODE_ENV !== "production" && !o)
|
|
232
|
+
throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'), "__NEXT_ERROR_CODE", {
|
|
233
|
+
value: "E312",
|
|
234
|
+
enumerable: !1,
|
|
235
|
+
configurable: !0
|
|
236
|
+
});
|
|
237
|
+
!f && typeof E == "function" && E(o), f && s.props && typeof s.props.onClick == "function" && s.props.onClick(o), r && (o.defaultPrevented || te(o, r, _, u, C, D, k, h, ae));
|
|
238
|
+
},
|
|
239
|
+
onMouseEnter(o) {
|
|
240
|
+
!f && typeof R == "function" && R(o), f && s.props && typeof s.props.onMouseEnter == "function" && s.props.onMouseEnter(o), r && y(r, _, u, {
|
|
241
|
+
locale: h,
|
|
242
|
+
priority: !0,
|
|
243
|
+
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
244
|
+
bypassPrefetchedCheck: !0
|
|
245
|
+
});
|
|
246
|
+
},
|
|
247
|
+
onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(v) {
|
|
248
|
+
!f && typeof M == "function" && M(v), f && s.props && typeof s.props.onTouchStart == "function" && s.props.onTouchStart(v), r && y(r, _, u, {
|
|
249
|
+
locale: h,
|
|
250
|
+
priority: !0,
|
|
251
|
+
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
252
|
+
bypassPrefetchedCheck: !0
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
if ((0, F.isAbsoluteUrl)(u))
|
|
257
|
+
w.href = u;
|
|
258
|
+
else if (!f || g || s.type === "a" && !("href" in s.props)) {
|
|
259
|
+
const o = typeof h < "u" ? h : r?.locale, v = r?.isLocaleDomain && (0, Q.getDomainLocale)(u, o, r?.locales, r?.domainLocales);
|
|
260
|
+
w.href = v || (0, Y.addBasePath)((0, W.addLocale)(u, o, r?.defaultLocale));
|
|
261
|
+
}
|
|
262
|
+
return f ? (process.env.NODE_ENV === "development" && (0, ee.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
|
|
263
|
+
|
|
264
|
+
npx @next/codemod@latest new-link .
|
|
265
|
+
|
|
266
|
+
Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ c.default.cloneElement(s, w)) : /* @__PURE__ */ (0, L.jsx)("a", {
|
|
267
|
+
...le,
|
|
268
|
+
...w,
|
|
269
|
+
children: i
|
|
270
|
+
});
|
|
271
|
+
}), ne = /* @__PURE__ */ (0, c.createContext)({
|
|
272
|
+
// We do not support link status in the Pages Router, so we always return false
|
|
273
|
+
pending: !1
|
|
274
|
+
}), ie = () => (0, c.useContext)(ne), se = oe;
|
|
275
|
+
(typeof d.default == "function" || typeof d.default == "object" && d.default !== null) && typeof d.default.__esModule > "u" && (Object.defineProperty(d.default, "__esModule", { value: !0 }), Object.assign(d.default, d), K.exports = d.default);
|
|
276
|
+
}(q, q.exports), q.exports);
|
|
277
|
+
}
|
|
278
|
+
export {
|
|
279
|
+
Ke as __require
|
|
280
|
+
};
|
package/dist/index32.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index33.cjs");var e,r;function t(){return r||(r=1,e=i.__require()),e}exports.__require=t;
|
package/dist/index32.js
ADDED
package/dist/index33.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index34.cjs"),E=require("react"),M=require("./index35.cjs"),w=require("./index36.cjs"),O=require("./index37.cjs"),j=require("./index38.cjs"),H=require("./index39.cjs"),I=require("./index40.cjs"),N=require("./index41.cjs"),D=require("./index42.cjs");var y;function U(){return y||(y=1,function(q,r){Object.defineProperty(r,"__esModule",{value:!0});function P(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}P(r,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return m.ServerInsertedHTMLContext},forbidden:function(){return u.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return u.unauthorized},unstable_rethrow:function(){return u.unstable_rethrow},useParams:function(){return p},usePathname:function(){return C},useRouter:function(){return L},useSearchParams:function(){return b},useSelectedLayoutSegment:function(){return T},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return m.useServerInsertedHTML}});const i=E,l=M.__require(),d=w.__require(),R=O.__require(),_=j.__require(),u=H.__require(),m=I.__require(),o=typeof window>"u"?N.__require().useDynamicRouteParams:void 0;function b(){const e=(0,i.useContext)(d.SearchParamsContext),t=(0,i.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e]);if(typeof window>"u"){const{bailoutToClientRendering:n}=D.__require();n("useSearchParams()")}return t}function C(){return o?.("usePathname()"),(0,i.useContext)(d.PathnameContext)}function L(){const e=(0,i.useContext)(l.AppRouterContext);if(e===null)throw Object.defineProperty(new Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function p(){return o?.("useParams()"),(0,i.useContext)(d.PathParamsContext)}function S(e,t,n,a){n===void 0&&(n=!0),a===void 0&&(a=[]);let s;if(n)s=e[1][t];else{const v=e[1];var g;s=(g=v.children)!=null?g:Object.values(v)[0]}if(!s)return a;const x=s[0];let f=(0,R.getSegmentValue)(x);return!f||f.startsWith(_.PAGE_SEGMENT_KEY)?a:(a.push(f),S(s,t,!1,a))}function h(e){e===void 0&&(e="children"),o?.("useSelectedLayoutSegments()");const t=(0,i.useContext)(l.LayoutRouterContext);return t?S(t.parentTree,e):null}function T(e){e===void 0&&(e="children"),o?.("useSelectedLayoutSegment()");const t=h(e);if(!t||t.length===0)return null;const n=e==="children"?t[0]:t[t.length-1];return n===_.DEFAULT_SEGMENT_KEY?null:n}(typeof r.default=="function"||typeof r.default=="object"&&r.default!==null)&&typeof r.default.__esModule>"u"&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),q.exports=r.default)}(c.__module,c.__module.exports)),c.__module.exports}exports.__require=U;
|
package/dist/index33.js
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { __module as c } from "./index34.js";
|
|
2
|
+
import T from "react";
|
|
3
|
+
import { __require as M } from "./index35.js";
|
|
4
|
+
import { __require as w } from "./index36.js";
|
|
5
|
+
import { __require as O } from "./index37.js";
|
|
6
|
+
import { __require as j } from "./index38.js";
|
|
7
|
+
import { __require as H } from "./index39.js";
|
|
8
|
+
import { __require as N } from "./index40.js";
|
|
9
|
+
import { __require as D } from "./index41.js";
|
|
10
|
+
import { __require as I } from "./index42.js";
|
|
11
|
+
var p;
|
|
12
|
+
function W() {
|
|
13
|
+
return p ? c.exports : (p = 1, function(y, n) {
|
|
14
|
+
Object.defineProperty(n, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
});
|
|
17
|
+
function P(e, t) {
|
|
18
|
+
for (var r in t) Object.defineProperty(e, r, {
|
|
19
|
+
enumerable: !0,
|
|
20
|
+
get: t[r]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
P(n, {
|
|
24
|
+
ReadonlyURLSearchParams: function() {
|
|
25
|
+
return u.ReadonlyURLSearchParams;
|
|
26
|
+
},
|
|
27
|
+
RedirectType: function() {
|
|
28
|
+
return u.RedirectType;
|
|
29
|
+
},
|
|
30
|
+
ServerInsertedHTMLContext: function() {
|
|
31
|
+
return _.ServerInsertedHTMLContext;
|
|
32
|
+
},
|
|
33
|
+
forbidden: function() {
|
|
34
|
+
return u.forbidden;
|
|
35
|
+
},
|
|
36
|
+
notFound: function() {
|
|
37
|
+
return u.notFound;
|
|
38
|
+
},
|
|
39
|
+
permanentRedirect: function() {
|
|
40
|
+
return u.permanentRedirect;
|
|
41
|
+
},
|
|
42
|
+
redirect: function() {
|
|
43
|
+
return u.redirect;
|
|
44
|
+
},
|
|
45
|
+
unauthorized: function() {
|
|
46
|
+
return u.unauthorized;
|
|
47
|
+
},
|
|
48
|
+
unstable_rethrow: function() {
|
|
49
|
+
return u.unstable_rethrow;
|
|
50
|
+
},
|
|
51
|
+
useParams: function() {
|
|
52
|
+
return b;
|
|
53
|
+
},
|
|
54
|
+
usePathname: function() {
|
|
55
|
+
return C;
|
|
56
|
+
},
|
|
57
|
+
useRouter: function() {
|
|
58
|
+
return L;
|
|
59
|
+
},
|
|
60
|
+
useSearchParams: function() {
|
|
61
|
+
return q;
|
|
62
|
+
},
|
|
63
|
+
useSelectedLayoutSegment: function() {
|
|
64
|
+
return x;
|
|
65
|
+
},
|
|
66
|
+
useSelectedLayoutSegments: function() {
|
|
67
|
+
return h;
|
|
68
|
+
},
|
|
69
|
+
useServerInsertedHTML: function() {
|
|
70
|
+
return _.useServerInsertedHTML;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
const i = T, m = M(), d = w(), R = O(), l = j(), u = H(), _ = N(), o = typeof window > "u" ? D().useDynamicRouteParams : void 0;
|
|
74
|
+
function q() {
|
|
75
|
+
const e = (0, i.useContext)(d.SearchParamsContext), t = (0, i.useMemo)(() => e ? new u.ReadonlyURLSearchParams(e) : null, [
|
|
76
|
+
e
|
|
77
|
+
]);
|
|
78
|
+
if (typeof window > "u") {
|
|
79
|
+
const { bailoutToClientRendering: r } = I();
|
|
80
|
+
r("useSearchParams()");
|
|
81
|
+
}
|
|
82
|
+
return t;
|
|
83
|
+
}
|
|
84
|
+
function C() {
|
|
85
|
+
return o?.("usePathname()"), (0, i.useContext)(d.PathnameContext);
|
|
86
|
+
}
|
|
87
|
+
function L() {
|
|
88
|
+
const e = (0, i.useContext)(m.AppRouterContext);
|
|
89
|
+
if (e === null)
|
|
90
|
+
throw Object.defineProperty(new Error("invariant expected app router to be mounted"), "__NEXT_ERROR_CODE", {
|
|
91
|
+
value: "E238",
|
|
92
|
+
enumerable: !1,
|
|
93
|
+
configurable: !0
|
|
94
|
+
});
|
|
95
|
+
return e;
|
|
96
|
+
}
|
|
97
|
+
function b() {
|
|
98
|
+
return o?.("useParams()"), (0, i.useContext)(d.PathParamsContext);
|
|
99
|
+
}
|
|
100
|
+
function S(e, t, r, a) {
|
|
101
|
+
r === void 0 && (r = !0), a === void 0 && (a = []);
|
|
102
|
+
let s;
|
|
103
|
+
if (r)
|
|
104
|
+
s = e[1][t];
|
|
105
|
+
else {
|
|
106
|
+
const g = e[1];
|
|
107
|
+
var v;
|
|
108
|
+
s = (v = g.children) != null ? v : Object.values(g)[0];
|
|
109
|
+
}
|
|
110
|
+
if (!s) return a;
|
|
111
|
+
const E = s[0];
|
|
112
|
+
let f = (0, R.getSegmentValue)(E);
|
|
113
|
+
return !f || f.startsWith(l.PAGE_SEGMENT_KEY) ? a : (a.push(f), S(s, t, !1, a));
|
|
114
|
+
}
|
|
115
|
+
function h(e) {
|
|
116
|
+
e === void 0 && (e = "children"), o?.("useSelectedLayoutSegments()");
|
|
117
|
+
const t = (0, i.useContext)(m.LayoutRouterContext);
|
|
118
|
+
return t ? S(t.parentTree, e) : null;
|
|
119
|
+
}
|
|
120
|
+
function x(e) {
|
|
121
|
+
e === void 0 && (e = "children"), o?.("useSelectedLayoutSegment()");
|
|
122
|
+
const t = h(e);
|
|
123
|
+
if (!t || t.length === 0)
|
|
124
|
+
return null;
|
|
125
|
+
const r = e === "children" ? t[0] : t[t.length - 1];
|
|
126
|
+
return r === l.DEFAULT_SEGMENT_KEY ? null : r;
|
|
127
|
+
}
|
|
128
|
+
(typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), y.exports = n.default);
|
|
129
|
+
}(c, c.exports), c.exports);
|
|
130
|
+
}
|
|
131
|
+
export {
|
|
132
|
+
W as __require
|
|
133
|
+
};
|
package/dist/index34.js
ADDED
package/dist/index35.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index56.cjs"),x=require("./index57.cjs"),d=require("react");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return n},MissingSlotContext:function(){return s},TemplateContext:function(){return a}});const e=x.__require()._(d),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;
|
package/dist/index35.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __exports as e } from "./index56.js";
|
|
2
|
+
import { __require as x } from "./index57.js";
|
|
3
|
+
import _ from "react";
|
|
4
|
+
var p;
|
|
5
|
+
function y() {
|
|
6
|
+
return p ? e : (p = 1, function(o) {
|
|
7
|
+
"use client";
|
|
8
|
+
Object.defineProperty(o, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function c(f, i) {
|
|
12
|
+
for (var l in i) Object.defineProperty(f, l, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: i[l]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
c(o, {
|
|
18
|
+
AppRouterContext: function() {
|
|
19
|
+
return r;
|
|
20
|
+
},
|
|
21
|
+
GlobalLayoutRouterContext: function() {
|
|
22
|
+
return u;
|
|
23
|
+
},
|
|
24
|
+
LayoutRouterContext: function() {
|
|
25
|
+
return n;
|
|
26
|
+
},
|
|
27
|
+
MissingSlotContext: function() {
|
|
28
|
+
return s;
|
|
29
|
+
},
|
|
30
|
+
TemplateContext: function() {
|
|
31
|
+
return a;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const t = /* @__PURE__ */ (/* @__PURE__ */ x())._(_), r = t.default.createContext(null), n = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
|
|
35
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "AppRouterContext", n.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
|
|
36
|
+
const s = t.default.createContext(/* @__PURE__ */ new Set());
|
|
37
|
+
}(e), e);
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
y as __require
|
|
41
|
+
};
|
package/dist/index36.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index58.cjs"),C=require("react");var s;function l(){return s||(s=1,function(n){"use client";Object.defineProperty(n,"__esModule",{value:!0});function c(x,u){for(var i in u)Object.defineProperty(x,i,{enumerable:!0,get:u[i]})}c(n,{PathParamsContext:function(){return a},PathnameContext:function(){return o},SearchParamsContext:function(){return r}});const e=C,r=(0,e.createContext)(null),o=(0,e.createContext)(null),a=(0,e.createContext)(null);process.env.NODE_ENV!=="production"&&(r.displayName="SearchParamsContext",o.displayName="PathnameContext",a.displayName="PathParamsContext")}(t.__exports)),t.__exports}exports.__require=l;
|
package/dist/index36.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __exports as t } from "./index58.js";
|
|
2
|
+
import C from "react";
|
|
3
|
+
var s;
|
|
4
|
+
function l() {
|
|
5
|
+
return s ? t : (s = 1, function(n) {
|
|
6
|
+
"use client";
|
|
7
|
+
Object.defineProperty(n, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
});
|
|
10
|
+
function c(m, i) {
|
|
11
|
+
for (var u in i) Object.defineProperty(m, u, {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: i[u]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
c(n, {
|
|
17
|
+
PathParamsContext: function() {
|
|
18
|
+
return a;
|
|
19
|
+
},
|
|
20
|
+
PathnameContext: function() {
|
|
21
|
+
return o;
|
|
22
|
+
},
|
|
23
|
+
SearchParamsContext: function() {
|
|
24
|
+
return r;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const e = C, r = (0, e.createContext)(null), o = (0, e.createContext)(null), a = (0, e.createContext)(null);
|
|
28
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "SearchParamsContext", o.displayName = "PathnameContext", a.displayName = "PathParamsContext");
|
|
29
|
+
}(t), t);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
l as __require
|
|
33
|
+
};
|
package/dist/index37.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index59.cjs");var r;function a(){return r||(r=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getSegmentValue",{enumerable:!0,get:function(){return l}});function l(t){return Array.isArray(t)?t[1]:t}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=a;
|
package/dist/index37.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __module as t } from "./index59.js";
|
|
2
|
+
var r;
|
|
3
|
+
function l() {
|
|
4
|
+
return r ? t.exports : (r = 1, function(n, e) {
|
|
5
|
+
Object.defineProperty(e, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), Object.defineProperty(e, "getSegmentValue", {
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
get: function() {
|
|
10
|
+
return a;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function a(u) {
|
|
14
|
+
return Array.isArray(u) ? u[1] : u;
|
|
15
|
+
}
|
|
16
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
|
17
|
+
}(t, t.exports), t.exports);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
l as __require
|
|
21
|
+
};
|
package/dist/index38.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index60.cjs");var _;function E(){return _||(_=1,function(i){Object.defineProperty(i,"__esModule",{value:!0});function c(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}c(i,{DEFAULT_SEGMENT_KEY:function(){return S},PAGE_SEGMENT_KEY:function(){return r},addSearchParamsIfPageSegment:function(){return f},isGroupSegment:function(){return s},isParallelRouteSegment:function(){return a}});function s(e){return e[0]==="("&&e.endsWith(")")}function a(e){return e.startsWith("@")&&e!=="@children"}function f(e,t){if(e.includes(r)){const o=JSON.stringify(t);return o!=="{}"?r+"?"+o:r}return e}const r="__PAGE__",S="__DEFAULT__"}(u.__exports)),u.__exports}exports.__require=E;
|
package/dist/index38.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { __exports as u } from "./index60.js";
|
|
2
|
+
var _;
|
|
3
|
+
function g() {
|
|
4
|
+
return _ ? u : (_ = 1, function(i) {
|
|
5
|
+
Object.defineProperty(i, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function a(e, n) {
|
|
9
|
+
for (var t in n) Object.defineProperty(e, t, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: n[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
a(i, {
|
|
15
|
+
DEFAULT_SEGMENT_KEY: function() {
|
|
16
|
+
return E;
|
|
17
|
+
},
|
|
18
|
+
PAGE_SEGMENT_KEY: function() {
|
|
19
|
+
return r;
|
|
20
|
+
},
|
|
21
|
+
addSearchParamsIfPageSegment: function() {
|
|
22
|
+
return s;
|
|
23
|
+
},
|
|
24
|
+
isGroupSegment: function() {
|
|
25
|
+
return c;
|
|
26
|
+
},
|
|
27
|
+
isParallelRouteSegment: function() {
|
|
28
|
+
return f;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
function c(e) {
|
|
32
|
+
return e[0] === "(" && e.endsWith(")");
|
|
33
|
+
}
|
|
34
|
+
function f(e) {
|
|
35
|
+
return e.startsWith("@") && e !== "@children";
|
|
36
|
+
}
|
|
37
|
+
function s(e, n) {
|
|
38
|
+
if (e.includes(r)) {
|
|
39
|
+
const o = JSON.stringify(n);
|
|
40
|
+
return o !== "{}" ? r + "?" + o : r;
|
|
41
|
+
}
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
const r = "__PAGE__", E = "__DEFAULT__";
|
|
45
|
+
}(u), u);
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
g as __require
|
|
49
|
+
};
|
package/dist/index39.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index61.cjs"),p=require("./index62.cjs"),q=require("./index63.cjs"),R=require("./index64.cjs"),m=require("./index65.cjs"),y=require("./index66.cjs"),v=require("./index67.cjs");var i;function w(){return i||(i=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0});function c(n,o){for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]})}c(e,{ReadonlyURLSearchParams:function(){return b},RedirectType:function(){return s.RedirectType},forbidden:function(){return f.forbidden},notFound:function(){return _.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_rethrow:function(){return h.unstable_rethrow}});const u=p.__require(),s=q.__require(),_=R.__require(),f=m.__require(),l=y.__require(),h=v.__require();class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class b extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=w;
|