@tmlmobilidade/ui 20250307.1723.25 → 20250310.1959.17
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.d.ts +57 -15
- package/dist/src/_virtual/_interop_require_default.js +4 -0
- package/dist/src/_virtual/_interop_require_default.js.map +1 -0
- package/dist/src/_virtual/_interop_require_wildcard.js +4 -0
- package/dist/src/_virtual/_interop_require_wildcard.js.map +1 -0
- package/dist/src/_virtual/action-async-storage-instance.js +4 -0
- package/dist/src/_virtual/action-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/action-async-storage.external.js +4 -0
- package/dist/src/_virtual/action-async-storage.external.js.map +1 -0
- package/dist/src/_virtual/app-router-context.shared-runtime.js +4 -0
- package/dist/src/_virtual/app-router-context.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/async-local-storage.js +4 -0
- package/dist/src/_virtual/async-local-storage.js.map +1 -0
- package/dist/src/_virtual/bailout-to-client-rendering.js +4 -0
- package/dist/src/_virtual/bailout-to-client-rendering.js.map +1 -0
- package/dist/src/_virtual/bailout-to-csr.js +4 -0
- package/dist/src/_virtual/bailout-to-csr.js.map +1 -0
- package/dist/src/_virtual/dynamic-rendering-utils.js +4 -0
- package/dist/src/_virtual/dynamic-rendering-utils.js.map +1 -0
- package/dist/src/_virtual/dynamic-rendering.js +4 -0
- package/dist/src/_virtual/dynamic-rendering.js.map +1 -0
- package/dist/src/_virtual/forbidden.js +4 -0
- package/dist/src/_virtual/forbidden.js.map +1 -0
- package/dist/src/_virtual/get-segment-value.js +4 -0
- package/dist/src/_virtual/get-segment-value.js.map +1 -0
- package/dist/src/_virtual/hooks-client-context.shared-runtime.js +4 -0
- package/dist/src/_virtual/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/hooks-server-context.js +4 -0
- package/dist/src/_virtual/hooks-server-context.js.map +1 -0
- package/dist/src/_virtual/http-access-fallback.js +4 -0
- package/dist/src/_virtual/http-access-fallback.js.map +1 -0
- package/dist/src/_virtual/is-dynamic-usage-error.js +4 -0
- package/dist/src/_virtual/is-dynamic-usage-error.js.map +1 -0
- package/dist/src/_virtual/is-next-router-error.js +4 -0
- package/dist/src/_virtual/is-next-router-error.js.map +1 -0
- package/dist/src/_virtual/is-postpone.js +4 -0
- package/dist/src/_virtual/is-postpone.js.map +1 -0
- package/dist/src/_virtual/metadata-constants.js +4 -0
- package/dist/src/_virtual/metadata-constants.js.map +1 -0
- package/dist/src/_virtual/navigation.js +4 -0
- package/dist/src/_virtual/navigation.js.map +1 -0
- package/dist/src/_virtual/navigation.react-server.js +4 -0
- package/dist/src/_virtual/navigation.react-server.js.map +1 -0
- package/dist/src/_virtual/not-found.js +4 -0
- package/dist/src/_virtual/not-found.js.map +1 -0
- package/dist/src/_virtual/redirect-error.js +4 -0
- package/dist/src/_virtual/redirect-error.js.map +1 -0
- package/dist/src/_virtual/redirect-status-code.js +4 -0
- package/dist/src/_virtual/redirect-status-code.js.map +1 -0
- package/dist/src/_virtual/redirect.js +4 -0
- package/dist/src/_virtual/redirect.js.map +1 -0
- package/dist/src/_virtual/scheduler.js +4 -0
- package/dist/src/_virtual/scheduler.js.map +1 -0
- package/dist/src/_virtual/segment.js +4 -0
- package/dist/src/_virtual/segment.js.map +1 -0
- package/dist/src/_virtual/server-inserted-html.shared-runtime.js +4 -0
- package/dist/src/_virtual/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/static-generation-bailout.js +4 -0
- package/dist/src/_virtual/static-generation-bailout.js.map +1 -0
- package/dist/src/_virtual/unauthorized.js +4 -0
- package/dist/src/_virtual/unauthorized.js.map +1 -0
- package/dist/src/_virtual/unstable-rethrow.js +4 -0
- package/dist/src/_virtual/unstable-rethrow.js.map +1 -0
- package/dist/src/_virtual/work-async-storage-instance.js +4 -0
- package/dist/src/_virtual/work-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/work-async-storage.external.js +4 -0
- package/dist/src/_virtual/work-async-storage.external.js.map +1 -0
- package/dist/src/_virtual/work-unit-async-storage-instance.js +4 -0
- package/dist/src/_virtual/work-unit-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/work-unit-async-storage.external.js +4 -0
- package/dist/src/_virtual/work-unit-async-storage.external.js.map +1 -0
- package/dist/src/components/AppProvider/index.d.ts +3 -2
- package/dist/src/components/AppProvider/index.js +6 -5
- package/dist/src/components/AppProvider/index.js.map +1 -1
- package/dist/src/components/common/ActionIcon/index.js +1 -1
- package/dist/src/components/common/AppLogos/index.js +1 -1
- package/dist/src/components/common/Badge/index.js +1 -1
- package/dist/src/components/common/Button/index.js +1 -1
- package/dist/src/components/common/Checkbox/index.js +1 -1
- package/dist/src/components/common/Combobox/index.js +1 -1
- package/dist/src/components/common/ComponentWrapper/index.d.ts +7 -0
- package/dist/src/components/common/ComponentWrapper/index.js +9 -0
- package/dist/src/components/common/ComponentWrapper/index.js.map +1 -0
- package/dist/src/components/common/ComponentWrapper/styles.module.css.js +4 -0
- package/dist/src/components/common/ComponentWrapper/styles.module.css.js.map +1 -0
- package/dist/src/components/common/DateTimePicker/index.js +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js +1 -1
- package/dist/src/components/common/Description/index.js +1 -1
- package/dist/src/components/common/FileButton/index.js +1 -1
- package/dist/src/components/common/Label/index.js +1 -1
- package/dist/src/components/common/Menu/index.js +1 -1
- package/dist/src/components/common/PasswordInput/index.js +1 -1
- package/dist/src/components/common/SegmentedControl/index.js +1 -1
- package/dist/src/components/common/Slider/index.js +1 -1
- package/dist/src/components/common/Switch/index.js +1 -1
- package/dist/src/components/common/Tag/index.js +1 -1
- package/dist/src/components/common/Text/index.js +1 -1
- package/dist/src/components/common/TextArea/index.js +1 -1
- package/dist/src/components/common/TextInput/index.js +1 -1
- package/dist/src/components/common/Tooltip/index.js +1 -1
- package/dist/src/components/common/index.d.ts +1 -0
- package/dist/src/components/datatable/DataTable/index.js +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js +1 -1
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/layout/AppWrapper/Header/index.js +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +1 -1
- package/dist/src/components/layout/Grid/index.js +1 -1
- package/dist/src/components/layout/Section/index.js +1 -1
- package/dist/src/components/layout/Sidebar/index.js +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js +1 -1
- package/dist/src/components/layout/Spacer/index.js +1 -1
- package/dist/src/components/layout/Surface/index.js +1 -1
- package/dist/src/components/map/MapView/index.js +2 -2
- package/dist/src/components/map/MapViewStyleActiveStops/index.js +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js +1 -1
- package/dist/src/components/{AppProvider → providers}/MapOptions.context.d.ts +1 -1
- package/dist/src/components/{AppProvider → providers}/MapOptions.context.js +2 -2
- package/dist/src/components/providers/MapOptions.context.js.map +1 -0
- package/dist/src/components/providers/Me.context.d.ts +20 -0
- package/dist/src/components/providers/Me.context.js +61 -0
- package/dist/src/components/providers/Me.context.js.map +1 -0
- package/dist/src/components/theme/ThemeProvider/index.js +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js +1 -1
- package/dist/src/components/theme/Themer/index.js +1 -1
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/http.d.ts +16 -0
- package/dist/src/lib/http.js +13 -0
- package/dist/src/lib/http.js.map +1 -0
- package/dist/src/lib/map.utils.js +4 -3
- package/dist/src/lib/map.utils.js.map +1 -1
- package/dist/src/lib/utils.d.ts +1 -1
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js +9 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +41 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
- package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js +49 -0
- package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js +45 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/forbidden.js +58 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/forbidden.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/hooks-server-context.js +46 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +73 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/is-next-router-error.js +33 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.js +185 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.react-server.js +85 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/not-found.js +52 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/not-found.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-error.js +56 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-status-code.js +32 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect.js +98 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +29 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/static-generation-bailout.js +46 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unauthorized.js +59 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unstable-rethrow.js +47 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js +26 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/metadata/metadata-constants.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/scheduler.js +62 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/scheduler.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/async-local-storage.js +74 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/dynamic-rendering.js +536 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +91 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/dynamic-rendering-utils.js +51 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/lib/router-utils/is-postpone.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +38 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +45 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/segment.js +50 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/segment.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +38 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/navigation.js +6 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/navigation.js.map +1 -0
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/adapters/next/app.js.map +1 -0
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +1 -0
- package/dist/src/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/chunk-C3RNEY2H.js +3 -3
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/cjs/react-jsx-runtime.production.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/jsx-runtime.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/styles-no-reset.css +10283 -0
- package/dist/styles.css +253 -205
- package/package.json +6 -30
- package/README.md +0 -321
- package/dist/src/components/AppProvider/MapOptions.context.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/adapters/next/app.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/src/node_modules/react/jsx-runtime.js.map +0 -1
- /package/dist/src/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/adapters/next/app.js +0 -0
- /package/dist/src/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/chunk-5WWTJYGR.js +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
import { __exports as _interop_require_default$1 } from '../../../../../../../_virtual/_interop_require_default.js';
|
2
|
+
|
3
|
+
function _interop_require_default(obj) {
|
4
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
5
|
+
}
|
6
|
+
_interop_require_default$1._ = _interop_require_default;
|
7
|
+
|
8
|
+
export { _interop_require_default$1 as default };
|
9
|
+
//# sourceMappingURL=_interop_require_default.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_interop_require_default.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n"],"names":["_interop_require_default_1"],"mappings":";;AAEA,SAAS,wBAAwB,CAAC,GAAG,EAAE;AACvC,IAAI,OAAO,GAAG,IAAI,GAAG,CAAC,UAAU,GAAG,GAAG,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;AACzD;AACAA,0BAAA,CAAA,CAAS,GAAG;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { __exports as _interop_require_wildcard$1 } from '../../../../../../../_virtual/_interop_require_wildcard.js';
|
2
|
+
|
3
|
+
function _getRequireWildcardCache(nodeInterop) {
|
4
|
+
if (typeof WeakMap !== "function") return null;
|
5
|
+
|
6
|
+
var cacheBabelInterop = new WeakMap();
|
7
|
+
var cacheNodeInterop = new WeakMap();
|
8
|
+
|
9
|
+
return (_getRequireWildcardCache = function(nodeInterop) {
|
10
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
11
|
+
})(nodeInterop);
|
12
|
+
}
|
13
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
14
|
+
if (!nodeInterop && obj && obj.__esModule) return obj;
|
15
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
|
16
|
+
|
17
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
18
|
+
|
19
|
+
if (cache && cache.has(obj)) return cache.get(obj);
|
20
|
+
|
21
|
+
var newObj = { __proto__: null };
|
22
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
23
|
+
|
24
|
+
for (var key in obj) {
|
25
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
26
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
27
|
+
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
28
|
+
else newObj[key] = obj[key];
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
newObj.default = obj;
|
33
|
+
|
34
|
+
if (cache) cache.set(obj, newObj);
|
35
|
+
|
36
|
+
return newObj;
|
37
|
+
}
|
38
|
+
_interop_require_wildcard$1._ = _interop_require_wildcard;
|
39
|
+
|
40
|
+
export { _interop_require_wildcard$1 as default };
|
41
|
+
//# sourceMappingURL=_interop_require_wildcard.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_interop_require_wildcard.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n"],"names":["_interop_require_wildcard_1"],"mappings":";;AAEA,SAAS,wBAAwB,CAAC,WAAW,EAAE;AAC/C,IAAI,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,OAAO,IAAI;;AAElD,IAAI,IAAI,iBAAiB,GAAG,IAAI,OAAO,EAAE;AACzC,IAAI,IAAI,gBAAgB,GAAG,IAAI,OAAO,EAAE;;AAExC,IAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,WAAW,EAAE;AAC7D,QAAQ,OAAO,WAAW,GAAG,gBAAgB,GAAG,iBAAiB;AACjE,KAAK,EAAE,WAAW,CAAC;AACnB;AACA,SAAS,yBAAyB,CAAC,GAAG,EAAE,WAAW,EAAE;AACrD,IAAI,IAAI,CAAC,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,OAAO,GAAG;AACzD,IAAI,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE;;AAErG,IAAI,IAAI,KAAK,GAAG,wBAAwB,CAAC,WAAW,CAAC;;AAErD,IAAI,IAAI,KAAK,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;;AAEtD,IAAI,IAAI,MAAM,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE;AACpC,IAAI,IAAI,qBAAqB,GAAG,MAAM,CAAC,cAAc,IAAI,MAAM,CAAC,wBAAwB;;AAExF,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;AACzB,QAAQ,IAAI,GAAG,KAAK,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;AACjF,YAAY,IAAI,IAAI,GAAG,qBAAqB,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI;AAC/F,YAAY,IAAI,IAAI,KAAK,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC;AACxF,iBAAiB,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;AACvC;AACA;;AAEA,IAAI,MAAM,CAAC,OAAO,GAAG,GAAG;;AAExB,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC;;AAErC,IAAI,OAAO,MAAM;AACjB;AACAA,2BAAA,CAAA,CAAS,GAAG;;;;","x_google_ignoreList":[0]}
|
package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
// index.ts
|
2
|
+
function feature(geom, properties, options = {}) {
|
3
|
+
const feat = { type: "Feature" };
|
4
|
+
if (options.id === 0 || options.id) {
|
5
|
+
feat.id = options.id;
|
6
|
+
}
|
7
|
+
if (options.bbox) {
|
8
|
+
feat.bbox = options.bbox;
|
9
|
+
}
|
10
|
+
feat.properties = {};
|
11
|
+
feat.geometry = geom;
|
12
|
+
return feat;
|
13
|
+
}
|
14
|
+
function point(coordinates, properties, options = {}) {
|
15
|
+
if (!coordinates) {
|
16
|
+
throw new Error("coordinates is required");
|
17
|
+
}
|
18
|
+
if (!Array.isArray(coordinates)) {
|
19
|
+
throw new Error("coordinates must be an Array");
|
20
|
+
}
|
21
|
+
if (coordinates.length < 2) {
|
22
|
+
throw new Error("coordinates must be at least 2 numbers long");
|
23
|
+
}
|
24
|
+
if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {
|
25
|
+
throw new Error("coordinates must contain numbers");
|
26
|
+
}
|
27
|
+
const geom = {
|
28
|
+
type: "Point",
|
29
|
+
coordinates
|
30
|
+
};
|
31
|
+
return feature(geom, properties, options);
|
32
|
+
}
|
33
|
+
function featureCollection(features, options = {}) {
|
34
|
+
const fc = { type: "FeatureCollection" };
|
35
|
+
if (options.id) {
|
36
|
+
fc.id = options.id;
|
37
|
+
}
|
38
|
+
if (options.bbox) {
|
39
|
+
fc.bbox = options.bbox;
|
40
|
+
}
|
41
|
+
fc.features = features;
|
42
|
+
return fc;
|
43
|
+
}
|
44
|
+
function isNumber(num) {
|
45
|
+
return !isNaN(num) && num !== null && !Array.isArray(num);
|
46
|
+
}
|
47
|
+
|
48
|
+
export { feature, featureCollection, isNumber, point };
|
49
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/@turf+helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js"],"sourcesContent":["// index.ts\nvar earthRadius = 63710088e-1;\nvar factors = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1e3,\n kilometres: earthRadius / 1e3,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1e3,\n millimetres: earthRadius * 1e3,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936\n};\nvar areaFactors = {\n acres: 247105e-9,\n centimeters: 1e4,\n centimetres: 1e4,\n feet: 10.763910417,\n hectares: 1e-4,\n inches: 1550.003100006,\n kilometers: 1e-6,\n kilometres: 1e-6,\n meters: 1,\n metres: 1,\n miles: 386e-9,\n nauticalmiles: 29155334959812285e-23,\n millimeters: 1e6,\n millimetres: 1e6,\n yards: 1.195990046\n};\nfunction feature(geom, properties, options = {}) {\n const feat = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\nfunction geometry(type, coordinates, _options = {}) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\nfunction point(coordinates, properties, options = {}) {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n const geom = {\n type: \"Point\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction points(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\nfunction polygon(coordinates, properties, options = {}) {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom = {\n type: \"Polygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction polygons(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\nfunction lineString(coordinates, properties, options = {}) {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom = {\n type: \"LineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction lineStrings(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\nfunction featureCollection(features, options = {}) {\n const fc = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\nfunction multiLineString(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiLineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPoint(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPoint\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPolygon(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPolygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction geometryCollection(geometries, properties, options = {}) {\n const geom = {\n type: \"GeometryCollection\",\n geometries\n };\n return feature(geom, properties, options);\n}\nfunction round(num, precision = 0) {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\nfunction radiansToLength(radians, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\nfunction lengthToRadians(distance, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\nfunction lengthToDegrees(distance, units) {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\nfunction bearingToAzimuth(bearing) {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\nfunction azimuthToBearing(angle) {\n angle = angle % 360;\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n return angle;\n}\nfunction radiansToDegrees(radians) {\n const normalisedRadians = radians % (2 * Math.PI);\n return normalisedRadians * 180 / Math.PI;\n}\nfunction degreesToRadians(degrees) {\n const normalisedDegrees = degrees % 360;\n return normalisedDegrees * Math.PI / 180;\n}\nfunction convertLength(length, originalUnit = \"kilometers\", finalUnit = \"kilometers\") {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\nfunction convertArea(area, originalUnit = \"meters\", finalUnit = \"kilometers\") {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n return area / startFactor * finalFactor;\n}\nfunction isNumber(num) {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\nfunction isObject(input) {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\nfunction validateBBox(bbox) {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\nfunction validateId(id) {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\nexport {\n areaFactors,\n azimuthToBearing,\n bearingToAzimuth,\n convertArea,\n convertLength,\n degreesToRadians,\n earthRadius,\n factors,\n feature,\n featureCollection,\n geometry,\n geometryCollection,\n isNumber,\n isObject,\n lengthToDegrees,\n lengthToRadians,\n lineString,\n lineStrings,\n multiLineString,\n multiPoint,\n multiPolygon,\n point,\n points,\n polygon,\n polygons,\n radiansToDegrees,\n radiansToLength,\n round,\n validateBBox,\n validateId\n};\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":"AAAA;AAoCA,SAAS,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE;AACjD,EAAE,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE;AAClC,EAAE,IAAI,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,OAAO,CAAC,EAAE,EAAE;AACtC,IAAI,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE;AACxB;AACA,EAAE,IAAI,OAAO,CAAC,IAAI,EAAE;AACpB,IAAI,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI;AAC5B;AACA,EAAE,IAAI,CAAC,UAAU,GAAiB,EAAE;AACpC,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI;AACtB,EAAE,OAAO,IAAI;AACb;AAmBA,SAAS,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE;AACtD,EAAE,IAAI,CAAC,WAAW,EAAE;AACpB,IAAI,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;AAC9C;AACA,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;AACnC,IAAI,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC;AACnD;AACA,EAAE,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;AAC9B,IAAI,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC;AAClE;AACA,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;AAC9D,IAAI,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC;AACvD;AACA,EAAE,MAAM,IAAI,GAAG;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI;AACJ,GAAG;AACH,EAAE,OAAO,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC;AAC3C;AAyDA,SAAS,iBAAiB,CAAC,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE;AACnD,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE;AAC1C,EAAE,IAAI,OAAO,CAAC,EAAE,EAAE;AAClB,IAAI,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE;AACtB;AACA,EAAE,IAAI,OAAO,CAAC,IAAI,EAAE;AACpB,IAAI,EAAE,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI;AAC1B;AACA,EAAE,EAAE,CAAC,QAAQ,GAAG,QAAQ;AACxB,EAAE,OAAO,EAAE;AACX;AAiGA,SAAS,QAAQ,CAAC,GAAG,EAAE;AACvB,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC3D;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { __module as bailoutToClientRendering } from '../../../../../../../../_virtual/bailout-to-client-rendering.js';
|
2
|
+
import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
|
3
|
+
import '../../server/app-render/work-async-storage.external.js';
|
4
|
+
import { __exports as workAsyncStorage_external } from '../../../../../../../../_virtual/work-async-storage.external.js';
|
5
|
+
|
6
|
+
var hasRequiredBailoutToClientRendering;
|
7
|
+
|
8
|
+
function requireBailoutToClientRendering () {
|
9
|
+
if (hasRequiredBailoutToClientRendering) return bailoutToClientRendering.exports;
|
10
|
+
hasRequiredBailoutToClientRendering = 1;
|
11
|
+
(function (module, exports) {
|
12
|
+
Object.defineProperty(exports, "__esModule", {
|
13
|
+
value: true
|
14
|
+
});
|
15
|
+
Object.defineProperty(exports, "bailoutToClientRendering", {
|
16
|
+
enumerable: true,
|
17
|
+
get: function() {
|
18
|
+
return bailoutToClientRendering;
|
19
|
+
}
|
20
|
+
});
|
21
|
+
const _bailouttocsr = requireBailoutToCsr();
|
22
|
+
const _workasyncstorageexternal = workAsyncStorage_external;
|
23
|
+
function bailoutToClientRendering(reason) {
|
24
|
+
const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
|
25
|
+
if (workStore == null ? void 0 : workStore.forceStatic) return;
|
26
|
+
if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(reason), "__NEXT_ERROR_CODE", {
|
27
|
+
value: "E394",
|
28
|
+
enumerable: false,
|
29
|
+
configurable: true
|
30
|
+
});
|
31
|
+
}
|
32
|
+
|
33
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
34
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
35
|
+
Object.assign(exports.default, exports);
|
36
|
+
module.exports = exports.default;
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
} (bailoutToClientRendering, bailoutToClientRendering.exports));
|
41
|
+
return bailoutToClientRendering.exports;
|
42
|
+
}
|
43
|
+
|
44
|
+
export { requireBailoutToClientRendering as __require };
|
45
|
+
//# sourceMappingURL=bailout-to-client-rendering.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bailout-to-client-rendering.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"bailoutToClientRendering\", {\n enumerable: true,\n get: function() {\n return bailoutToClientRendering;\n }\n});\nconst _bailouttocsr = require(\"../../shared/lib/lazy-dynamic/bailout-to-csr\");\nconst _workasyncstorageexternal = require(\"../../server/app-render/work-async-storage.external\");\nfunction bailoutToClientRendering(reason) {\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n if (workStore == null ? void 0 : workStore.forceStatic) return;\n if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(reason), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\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=bailout-to-client-rendering.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,0BAA0B,EAAE;MACvD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,wBAAwB;AACvC;AACA,GAAC,CAAC;EACF,MAAM,aAAa,GAAGA,mBAAuD,EAAA;EAC7E,MAAM,yBAAyB,GAAGC,yBAA8D;EAChG,SAAS,wBAAwB,CAAC,MAAM,EAAE;MACtC,MAAM,SAAS,GAAG,yBAAyB,CAAC,gBAAgB,CAAC,QAAQ,EAAE;MACvE,IAAI,SAAS,IAAI,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE;MACxD,IAAI,SAAS,IAAI,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC,kBAAkB,EAAE,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;UACzJ,KAAK,EAAE,MAAM;UACb,UAAU,EAAE,KAAK;AACzB,UAAQ,YAAY,EAAE;AACtB,OAAK,CAAC;AACN;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { __module as forbidden } from '../../../../../../../../_virtual/forbidden.js';
|
2
|
+
import { h as httpAccessFallbackExports } from './http-access-fallback/http-access-fallback.js';
|
3
|
+
|
4
|
+
(function (module, exports) {
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
Object.defineProperty(exports, "forbidden", {
|
9
|
+
enumerable: true,
|
10
|
+
get: function() {
|
11
|
+
return forbidden;
|
12
|
+
}
|
13
|
+
});
|
14
|
+
const _httpaccessfallback = httpAccessFallbackExports;
|
15
|
+
// TODO: Add `forbidden` docs
|
16
|
+
/**
|
17
|
+
* @experimental
|
18
|
+
* This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)
|
19
|
+
* within a route segment as well as inject a tag.
|
20
|
+
*
|
21
|
+
* `forbidden()` can be used in
|
22
|
+
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
23
|
+
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
24
|
+
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
25
|
+
*
|
26
|
+
* Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)
|
27
|
+
*/ const DIGEST = "" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + ";403";
|
28
|
+
function forbidden() {
|
29
|
+
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
|
30
|
+
throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
31
|
+
value: "E488",
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
}
|
36
|
+
// eslint-disable-next-line no-throw-literal
|
37
|
+
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
38
|
+
value: "E394",
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
error.digest = DIGEST;
|
43
|
+
throw error;
|
44
|
+
}
|
45
|
+
|
46
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
47
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
48
|
+
Object.assign(exports.default, exports);
|
49
|
+
module.exports = exports.default;
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
} (forbidden, forbidden.exports));
|
54
|
+
|
55
|
+
var forbiddenExports = forbidden.exports;
|
56
|
+
|
57
|
+
export { forbiddenExports as f };
|
58
|
+
//# sourceMappingURL=forbidden.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"forbidden.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/forbidden.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"forbidden\", {\n enumerable: true,\n get: function() {\n return forbidden;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` 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 * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */ const DIGEST = \"\" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + \";403\";\nfunction forbidden() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(\"`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.\"), \"__NEXT_ERROR_CODE\", {\n value: \"E488\",\n enumerable: false,\n configurable: true\n });\n }\n // eslint-disable-next-line no-throw-literal\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\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=forbidden.js.map"],"names":["require$$0"],"mappings":";;;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AACF,CAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;KACxC,UAAU,EAAE,IAAI;KAChB,GAAG,EAAE,WAAW;AACpB,SAAQ,OAAO,SAAS;AACxB;AACA,EAAC,CAAC;CACF,MAAM,mBAAmB,GAAGA,yBAAsD;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;KACI,MAAM,MAAM,GAAG,EAAE,GAAG,mBAAmB,CAAC,8BAA8B,GAAG,MAAM;AACnF,CAAA,SAAS,SAAS,GAAG;AACrB,KAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE;AAC1D,SAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,6GAA6G,CAAC,EAAE,mBAAmB,EAAE;aACvK,KAAK,EAAE,MAAM;aACb,UAAU,EAAE,KAAK;AAC7B,aAAY,YAAY,EAAE;AAC1B,UAAS,CAAC;AACV;AACA;AACA,KAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;SACxE,KAAK,EAAE,MAAM;SACb,UAAU,EAAE,KAAK;AACzB,SAAQ,YAAY,EAAE;AACtB,MAAK,CAAC;AACN,KAAI,KAAK,CAAC,MAAM,GAAG,MAAM;AACzB,KAAI,MAAM,KAAK;AACf;;AAEA,CAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,GAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;GACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;GACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { __module as hooksServerContext } from '../../../../../../../../_virtual/hooks-server-context.js';
|
2
|
+
|
3
|
+
(function (module, exports) {
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
function _export(target, all) {
|
8
|
+
for(var name in all)Object.defineProperty(target, name, {
|
9
|
+
enumerable: true,
|
10
|
+
get: all[name]
|
11
|
+
});
|
12
|
+
}
|
13
|
+
_export(exports, {
|
14
|
+
DynamicServerError: function() {
|
15
|
+
return DynamicServerError;
|
16
|
+
},
|
17
|
+
isDynamicServerError: function() {
|
18
|
+
return isDynamicServerError;
|
19
|
+
}
|
20
|
+
});
|
21
|
+
const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';
|
22
|
+
class DynamicServerError extends Error {
|
23
|
+
constructor(description){
|
24
|
+
super("Dynamic server usage: " + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
function isDynamicServerError(err) {
|
28
|
+
if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
return err.digest === DYNAMIC_ERROR_CODE;
|
32
|
+
}
|
33
|
+
|
34
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
35
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
36
|
+
Object.assign(exports.default, exports);
|
37
|
+
module.exports = exports.default;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
} (hooksServerContext, hooksServerContext.exports));
|
42
|
+
|
43
|
+
var hooksServerContextExports = hooksServerContext.exports;
|
44
|
+
|
45
|
+
export { hooksServerContextExports as h };
|
46
|
+
//# sourceMappingURL=hooks-server-context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hooks-server-context.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/hooks-server-context.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n DynamicServerError: null,\n isDynamicServerError: 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 DynamicServerError: function() {\n return DynamicServerError;\n },\n isDynamicServerError: function() {\n return isDynamicServerError;\n }\n});\nconst DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nclass DynamicServerError extends Error {\n constructor(description){\n super(\"Dynamic server usage: \" + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nfunction isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\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=hooks-server-context.js.map"],"names":[],"mappings":";;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AAKF,CAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,KAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;SACpD,UAAU,EAAE,IAAI;AACxB,SAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,MAAK,CAAC;AACN;CACA,OAAO,CAAC,OAAO,EAAE;KACb,kBAAkB,EAAE,WAAW;AACnC,SAAQ,OAAO,kBAAkB;MAC5B;KACD,oBAAoB,EAAE,WAAW;AACrC,SAAQ,OAAO,oBAAoB;AACnC;AACA,EAAC,CAAC;CACF,MAAM,kBAAkB,GAAG,sBAAsB;CACjD,MAAM,kBAAkB,SAAS,KAAK,CAAC;KACnC,WAAW,CAAC,WAAW,CAAC;AAC5B,SAAQ,KAAK,CAAC,wBAAwB,GAAG,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,GAAG,WAAW,EAAE,IAAI,CAAC,MAAM,GAAG,kBAAkB;AACvH;AACA;CACA,SAAS,oBAAoB,CAAC,GAAG,EAAE;KAC/B,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,EAAE,QAAQ,IAAI,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,EAAE;AACzG,SAAQ,OAAO,KAAK;AACpB;AACA,KAAI,OAAO,GAAG,CAAC,MAAM,KAAK,kBAAkB;AAC5C;;AAEA,CAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,GAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;GACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;GACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { __module as httpAccessFallback } from '../../../../../../../../../_virtual/http-access-fallback.js';
|
2
|
+
|
3
|
+
(function (module, exports) {
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
function _export(target, all) {
|
8
|
+
for(var name in all)Object.defineProperty(target, name, {
|
9
|
+
enumerable: true,
|
10
|
+
get: all[name]
|
11
|
+
});
|
12
|
+
}
|
13
|
+
_export(exports, {
|
14
|
+
HTTPAccessErrorStatus: function() {
|
15
|
+
return HTTPAccessErrorStatus;
|
16
|
+
},
|
17
|
+
HTTP_ERROR_FALLBACK_ERROR_CODE: function() {
|
18
|
+
return HTTP_ERROR_FALLBACK_ERROR_CODE;
|
19
|
+
},
|
20
|
+
getAccessFallbackErrorTypeByStatus: function() {
|
21
|
+
return getAccessFallbackErrorTypeByStatus;
|
22
|
+
},
|
23
|
+
getAccessFallbackHTTPStatus: function() {
|
24
|
+
return getAccessFallbackHTTPStatus;
|
25
|
+
},
|
26
|
+
isHTTPAccessFallbackError: function() {
|
27
|
+
return isHTTPAccessFallbackError;
|
28
|
+
}
|
29
|
+
});
|
30
|
+
const HTTPAccessErrorStatus = {
|
31
|
+
NOT_FOUND: 404,
|
32
|
+
FORBIDDEN: 403,
|
33
|
+
UNAUTHORIZED: 401
|
34
|
+
};
|
35
|
+
const ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));
|
36
|
+
const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';
|
37
|
+
function isHTTPAccessFallbackError(error) {
|
38
|
+
if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
const [prefix, httpStatus] = error.digest.split(';');
|
42
|
+
return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));
|
43
|
+
}
|
44
|
+
function getAccessFallbackHTTPStatus(error) {
|
45
|
+
const httpStatus = error.digest.split(';')[1];
|
46
|
+
return Number(httpStatus);
|
47
|
+
}
|
48
|
+
function getAccessFallbackErrorTypeByStatus(status) {
|
49
|
+
switch(status){
|
50
|
+
case 401:
|
51
|
+
return 'unauthorized';
|
52
|
+
case 403:
|
53
|
+
return 'forbidden';
|
54
|
+
case 404:
|
55
|
+
return 'not-found';
|
56
|
+
default:
|
57
|
+
return;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
62
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
63
|
+
Object.assign(exports.default, exports);
|
64
|
+
module.exports = exports.default;
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
} (httpAccessFallback, httpAccessFallback.exports));
|
69
|
+
|
70
|
+
var httpAccessFallbackExports = httpAccessFallback.exports;
|
71
|
+
|
72
|
+
export { httpAccessFallbackExports as h };
|
73
|
+
//# sourceMappingURL=http-access-fallback.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http-access-fallback.js","sources":["../../../../../../../../../../../../../node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n HTTPAccessErrorStatus: null,\n HTTP_ERROR_FALLBACK_ERROR_CODE: null,\n getAccessFallbackErrorTypeByStatus: null,\n getAccessFallbackHTTPStatus: null,\n isHTTPAccessFallbackError: 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 HTTPAccessErrorStatus: function() {\n return HTTPAccessErrorStatus;\n },\n HTTP_ERROR_FALLBACK_ERROR_CODE: function() {\n return HTTP_ERROR_FALLBACK_ERROR_CODE;\n },\n getAccessFallbackErrorTypeByStatus: function() {\n return getAccessFallbackErrorTypeByStatus;\n },\n getAccessFallbackHTTPStatus: function() {\n return getAccessFallbackHTTPStatus;\n },\n isHTTPAccessFallbackError: function() {\n return isHTTPAccessFallbackError;\n }\n});\nconst HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401\n};\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\nconst HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';\nfunction isHTTPAccessFallbackError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const [prefix, httpStatus] = error.digest.split(';');\n return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\nfunction getAccessFallbackHTTPStatus(error) {\n const httpStatus = error.digest.split(';')[1];\n return Number(httpStatus);\n}\nfunction getAccessFallbackErrorTypeByStatus(status) {\n switch(status){\n case 401:\n return 'unauthorized';\n case 403:\n return 'forbidden';\n case 404:\n return 'not-found';\n default:\n return;\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=http-access-fallback.js.map"],"names":[],"mappings":";;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AAQF,CAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,KAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;SACpD,UAAU,EAAE,IAAI;AACxB,SAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,MAAK,CAAC;AACN;CACA,OAAO,CAAC,OAAO,EAAE;KACb,qBAAqB,EAAE,WAAW;AACtC,SAAQ,OAAO,qBAAqB;MAC/B;KACD,8BAA8B,EAAE,WAAW;AAC/C,SAAQ,OAAO,8BAA8B;MACxC;KACD,kCAAkC,EAAE,WAAW;AACnD,SAAQ,OAAO,kCAAkC;MAC5C;KACD,2BAA2B,EAAE,WAAW;AAC5C,SAAQ,OAAO,2BAA2B;MACrC;KACD,yBAAyB,EAAE,WAAW;AAC1C,SAAQ,OAAO,yBAAyB;AACxC;AACA,EAAC,CAAC;AACF,CAAA,MAAM,qBAAqB,GAAG;KAC1B,SAAS,EAAE,GAAG;KACd,SAAS,EAAE,GAAG;AAClB,KAAI,YAAY,EAAE;EACjB;CACD,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;CACnE,MAAM,8BAA8B,GAAG,0BAA0B;CACjE,SAAS,yBAAyB,CAAC,KAAK,EAAE;KACtC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,EAAE,QAAQ,IAAI,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,EAAE;AACjH,SAAQ,OAAO,KAAK;AACpB;AACA,KAAI,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;AACxD,KAAI,OAAO,MAAM,KAAK,8BAA8B,IAAI,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAC7F;CACA,SAAS,2BAA2B,CAAC,KAAK,EAAE;AAC5C,KAAI,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjD,KAAI,OAAO,MAAM,CAAC,UAAU,CAAC;AAC7B;CACA,SAAS,kCAAkC,CAAC,MAAM,EAAE;AACpD,KAAI,OAAO,MAAM;AACjB,SAAQ,KAAK,GAAG;AAChB,aAAY,OAAO,cAAc;AACjC,SAAQ,KAAK,GAAG;AAChB,aAAY,OAAO,WAAW;AAC9B,SAAQ,KAAK,GAAG;AAChB,aAAY,OAAO,WAAW;SACtB;aACI;AACZ;AACA;;AAEA,CAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,GAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;GACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;GACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { __module as isNextRouterError } from '../../../../../../../../_virtual/is-next-router-error.js';
|
2
|
+
import { h as httpAccessFallbackExports } from './http-access-fallback/http-access-fallback.js';
|
3
|
+
import { r as redirectErrorExports } from './redirect-error.js';
|
4
|
+
|
5
|
+
(function (module, exports) {
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
7
|
+
value: true
|
8
|
+
});
|
9
|
+
Object.defineProperty(exports, "isNextRouterError", {
|
10
|
+
enumerable: true,
|
11
|
+
get: function() {
|
12
|
+
return isNextRouterError;
|
13
|
+
}
|
14
|
+
});
|
15
|
+
const _httpaccessfallback = httpAccessFallbackExports;
|
16
|
+
const _redirecterror = redirectErrorExports;
|
17
|
+
function isNextRouterError(error) {
|
18
|
+
return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(error);
|
19
|
+
}
|
20
|
+
|
21
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
22
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
23
|
+
Object.assign(exports.default, exports);
|
24
|
+
module.exports = exports.default;
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
} (isNextRouterError, isNextRouterError.exports));
|
29
|
+
|
30
|
+
var isNextRouterErrorExports = isNextRouterError.exports;
|
31
|
+
|
32
|
+
export { isNextRouterErrorExports as i };
|
33
|
+
//# sourceMappingURL=is-next-router-error.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"is-next-router-error.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/is-next-router-error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isNextRouterError\", {\n enumerable: true,\n get: function() {\n return isNextRouterError;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\nconst _redirecterror = require(\"./redirect-error\");\nfunction isNextRouterError(error) {\n return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(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=is-next-router-error.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AACF,CAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE;KAChD,UAAU,EAAE,IAAI;KAChB,GAAG,EAAE,WAAW;AACpB,SAAQ,OAAO,iBAAiB;AAChC;AACA,EAAC,CAAC;CACF,MAAM,mBAAmB,GAAGA,yBAAsD;CAClF,MAAM,cAAc,GAAGC,oBAA2B;CAClD,SAAS,iBAAiB,CAAC,KAAK,EAAE;AAClC,KAAI,OAAO,IAAI,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,IAAI,mBAAmB,CAAC,yBAAyB,EAAE,KAAK,CAAC;AAClH;;AAEA,CAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,GAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;GACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;GACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,185 @@
|
|
1
|
+
import { __module as navigation } from '../../../../../../../../_virtual/navigation.js';
|
2
|
+
import React__default from 'react';
|
3
|
+
import '../../shared/lib/app-router-context.shared-runtime.js';
|
4
|
+
import '../../shared/lib/hooks-client-context.shared-runtime.js';
|
5
|
+
import { g as getSegmentValueExports } from './router-reducer/reducers/get-segment-value.js';
|
6
|
+
import '../../shared/lib/segment.js';
|
7
|
+
import { n as navigation_reactServerExports } from './navigation.react-server.js';
|
8
|
+
import '../../server/app-render/dynamic-rendering.js';
|
9
|
+
import '../../shared/lib/server-inserted-html.shared-runtime.js';
|
10
|
+
import { __require as requireBailoutToClientRendering } from './bailout-to-client-rendering.js';
|
11
|
+
import { __exports as serverInsertedHtml_sharedRuntime } from '../../../../../../../../_virtual/server-inserted-html.shared-runtime.js';
|
12
|
+
import { __exports as hooksClientContext_sharedRuntime } from '../../../../../../../../_virtual/hooks-client-context.shared-runtime.js';
|
13
|
+
import { __exports as dynamicRendering } from '../../../../../../../../_virtual/dynamic-rendering.js';
|
14
|
+
import { __exports as appRouterContext_sharedRuntime } from '../../../../../../../../_virtual/app-router-context.shared-runtime.js';
|
15
|
+
import { __exports as segment } from '../../../../../../../../_virtual/segment.js';
|
16
|
+
|
17
|
+
(function (module, exports) {
|
18
|
+
Object.defineProperty(exports, "__esModule", {
|
19
|
+
value: true
|
20
|
+
});
|
21
|
+
function _export(target, all) {
|
22
|
+
for(var name in all)Object.defineProperty(target, name, {
|
23
|
+
enumerable: true,
|
24
|
+
get: all[name]
|
25
|
+
});
|
26
|
+
}
|
27
|
+
_export(exports, {
|
28
|
+
ReadonlyURLSearchParams: function() {
|
29
|
+
return _navigationreactserver.ReadonlyURLSearchParams;
|
30
|
+
},
|
31
|
+
RedirectType: function() {
|
32
|
+
return _navigationreactserver.RedirectType;
|
33
|
+
},
|
34
|
+
ServerInsertedHTMLContext: function() {
|
35
|
+
return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;
|
36
|
+
},
|
37
|
+
forbidden: function() {
|
38
|
+
return _navigationreactserver.forbidden;
|
39
|
+
},
|
40
|
+
notFound: function() {
|
41
|
+
return _navigationreactserver.notFound;
|
42
|
+
},
|
43
|
+
permanentRedirect: function() {
|
44
|
+
return _navigationreactserver.permanentRedirect;
|
45
|
+
},
|
46
|
+
redirect: function() {
|
47
|
+
return _navigationreactserver.redirect;
|
48
|
+
},
|
49
|
+
unauthorized: function() {
|
50
|
+
return _navigationreactserver.unauthorized;
|
51
|
+
},
|
52
|
+
unstable_rethrow: function() {
|
53
|
+
return _navigationreactserver.unstable_rethrow;
|
54
|
+
},
|
55
|
+
useParams: function() {
|
56
|
+
return useParams;
|
57
|
+
},
|
58
|
+
usePathname: function() {
|
59
|
+
return usePathname;
|
60
|
+
},
|
61
|
+
useRouter: function() {
|
62
|
+
return useRouter;
|
63
|
+
},
|
64
|
+
useSearchParams: function() {
|
65
|
+
return useSearchParams;
|
66
|
+
},
|
67
|
+
useSelectedLayoutSegment: function() {
|
68
|
+
return useSelectedLayoutSegment;
|
69
|
+
},
|
70
|
+
useSelectedLayoutSegments: function() {
|
71
|
+
return useSelectedLayoutSegments;
|
72
|
+
},
|
73
|
+
useServerInsertedHTML: function() {
|
74
|
+
return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;
|
75
|
+
}
|
76
|
+
});
|
77
|
+
const _react = React__default;
|
78
|
+
const _approutercontextsharedruntime = appRouterContext_sharedRuntime;
|
79
|
+
const _hooksclientcontextsharedruntime = hooksClientContext_sharedRuntime;
|
80
|
+
const _getsegmentvalue = getSegmentValueExports;
|
81
|
+
const _segment = segment;
|
82
|
+
const _navigationreactserver = navigation_reactServerExports;
|
83
|
+
const _dynamicrendering = dynamicRendering;
|
84
|
+
const _serverinsertedhtmlsharedruntime = serverInsertedHtml_sharedRuntime;
|
85
|
+
function useSearchParams() {
|
86
|
+
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
87
|
+
// In the case where this is `null`, the compat types added in
|
88
|
+
// `next-env.d.ts` will add a new overload that changes the return type to
|
89
|
+
// include `null`.
|
90
|
+
const readonlySearchParams = (0, _react.useMemo)(()=>{
|
91
|
+
if (!searchParams) {
|
92
|
+
// When the router is not ready in pages, we won't have the search params
|
93
|
+
// available.
|
94
|
+
return null;
|
95
|
+
}
|
96
|
+
return new _navigationreactserver.ReadonlyURLSearchParams(searchParams);
|
97
|
+
}, [
|
98
|
+
searchParams
|
99
|
+
]);
|
100
|
+
if (typeof window === 'undefined') {
|
101
|
+
// AsyncLocalStorage should not be included in the client bundle.
|
102
|
+
const { bailoutToClientRendering } = requireBailoutToClientRendering();
|
103
|
+
// TODO-APP: handle dynamic = 'force-static' here and on the client
|
104
|
+
bailoutToClientRendering('useSearchParams()');
|
105
|
+
}
|
106
|
+
return readonlySearchParams;
|
107
|
+
}
|
108
|
+
function usePathname() {
|
109
|
+
(0, _dynamicrendering.useDynamicRouteParams)('usePathname()');
|
110
|
+
// In the case where this is `null`, the compat types added in `next-env.d.ts`
|
111
|
+
// will add a new overload that changes the return type to include `null`.
|
112
|
+
return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
113
|
+
}
|
114
|
+
function useRouter() {
|
115
|
+
const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);
|
116
|
+
if (router === null) {
|
117
|
+
throw Object.defineProperty(new Error('invariant expected app router to be mounted'), "__NEXT_ERROR_CODE", {
|
118
|
+
value: "E238",
|
119
|
+
enumerable: false,
|
120
|
+
configurable: true
|
121
|
+
});
|
122
|
+
}
|
123
|
+
return router;
|
124
|
+
}
|
125
|
+
function useParams() {
|
126
|
+
(0, _dynamicrendering.useDynamicRouteParams)('useParams()');
|
127
|
+
return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
128
|
+
}
|
129
|
+
/** Get the canonical parameters from the current level to the leaf node. */ // Client components API
|
130
|
+
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {
|
131
|
+
if (first === void 0) first = true;
|
132
|
+
if (segmentPath === void 0) segmentPath = [];
|
133
|
+
let node;
|
134
|
+
if (first) {
|
135
|
+
// Use the provided parallel route key on the first parallel route
|
136
|
+
node = tree[1][parallelRouteKey];
|
137
|
+
} else {
|
138
|
+
// After first parallel route prefer children, if there's no children pick the first parallel route.
|
139
|
+
const parallelRoutes = tree[1];
|
140
|
+
var _parallelRoutes_children;
|
141
|
+
node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];
|
142
|
+
}
|
143
|
+
if (!node) return segmentPath;
|
144
|
+
const segment = node[0];
|
145
|
+
let segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);
|
146
|
+
if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) {
|
147
|
+
return segmentPath;
|
148
|
+
}
|
149
|
+
segmentPath.push(segmentValue);
|
150
|
+
return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);
|
151
|
+
}
|
152
|
+
function useSelectedLayoutSegments(parallelRouteKey) {
|
153
|
+
if (parallelRouteKey === void 0) parallelRouteKey = 'children';
|
154
|
+
(0, _dynamicrendering.useDynamicRouteParams)('useSelectedLayoutSegments()');
|
155
|
+
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
156
|
+
// @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts
|
157
|
+
if (!context) return null;
|
158
|
+
return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey);
|
159
|
+
}
|
160
|
+
function useSelectedLayoutSegment(parallelRouteKey) {
|
161
|
+
if (parallelRouteKey === void 0) parallelRouteKey = 'children';
|
162
|
+
(0, _dynamicrendering.useDynamicRouteParams)('useSelectedLayoutSegment()');
|
163
|
+
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
164
|
+
if (!selectedLayoutSegments || selectedLayoutSegments.length === 0) {
|
165
|
+
return null;
|
166
|
+
}
|
167
|
+
const selectedLayoutSegment = parallelRouteKey === 'children' ? selectedLayoutSegments[0] : selectedLayoutSegments[selectedLayoutSegments.length - 1];
|
168
|
+
// if the default slot is showing, we return null since it's not technically "selected" (it's a fallback)
|
169
|
+
// and returning an internal value like `__DEFAULT__` would be confusing.
|
170
|
+
return selectedLayoutSegment === _segment.DEFAULT_SEGMENT_KEY ? null : selectedLayoutSegment;
|
171
|
+
}
|
172
|
+
|
173
|
+
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
174
|
+
Object.defineProperty(exports.default, '__esModule', { value: true });
|
175
|
+
Object.assign(exports.default, exports);
|
176
|
+
module.exports = exports.default;
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
} (navigation, navigation.exports));
|
181
|
+
|
182
|
+
var navigationExports = navigation.exports;
|
183
|
+
|
184
|
+
export { navigationExports as n };
|
185
|
+
//# sourceMappingURL=navigation.js.map
|