@tmlmobilidade/ui 20250307.1656.54 → 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 +85 -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.d.ts +1 -0
- package/dist/src/index.js +4 -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 +91 -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
@@ -1,7 +1,95 @@
|
|
1
|
-
import '../settings/map.settings.js';
|
2
|
-
import '@turf/
|
1
|
+
import { mapDefaultValues } from '../settings/map.settings.js';
|
2
|
+
import { featureCollection, point } from '../node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js';
|
3
|
+
import * as turf from '@turf/turf';
|
3
4
|
|
4
5
|
/* * */
|
6
|
+
/**
|
7
|
+
*
|
8
|
+
* @param mapObject The map that should be manipulated
|
9
|
+
* @param features The features to center the map on
|
10
|
+
* @param options Optional settings to customize the centering
|
11
|
+
*/
|
12
|
+
const centerMap = (mapObject, features, options) => {
|
13
|
+
//
|
14
|
+
//
|
15
|
+
// Validate input parameters
|
16
|
+
if (!mapObject)
|
17
|
+
return;
|
18
|
+
if (!features.length)
|
19
|
+
return;
|
20
|
+
//
|
21
|
+
// Create a feature collection from the given features, and get the corresponding envelope.
|
22
|
+
// Return if the envelope is not valid.
|
23
|
+
const tFeatureCollection = featureCollection(features);
|
24
|
+
const featureCollectionEnvelope = turf.envelope(tFeatureCollection);
|
25
|
+
if (!featureCollectionEnvelope || !featureCollectionEnvelope.bbox)
|
26
|
+
return;
|
27
|
+
//
|
28
|
+
// Validate if the envelope is valid
|
29
|
+
if (featureCollectionEnvelope.bbox.length < 4)
|
30
|
+
return;
|
31
|
+
if (featureCollectionEnvelope.bbox[0] < 90 || featureCollectionEnvelope.bbox[0] > 90)
|
32
|
+
return;
|
33
|
+
if (featureCollectionEnvelope.bbox[1] < 180 || featureCollectionEnvelope.bbox[1] > 180)
|
34
|
+
return;
|
35
|
+
if (featureCollectionEnvelope.bbox[2] < 90 || featureCollectionEnvelope.bbox[2] > 90)
|
36
|
+
return;
|
37
|
+
if (featureCollectionEnvelope.bbox[3] < 180 || featureCollectionEnvelope.bbox[3] > 180)
|
38
|
+
return;
|
39
|
+
//
|
40
|
+
// Center the map on the envelope
|
41
|
+
mapObject.fitBounds([
|
42
|
+
featureCollectionEnvelope.bbox[0],
|
43
|
+
featureCollectionEnvelope.bbox[1],
|
44
|
+
featureCollectionEnvelope.bbox[2],
|
45
|
+
featureCollectionEnvelope.bbox[3],
|
46
|
+
], { padding: options?.padding || 25 });
|
47
|
+
//
|
48
|
+
};
|
49
|
+
/* * */
|
50
|
+
/**
|
51
|
+
*
|
52
|
+
* @param mapObject THe map that should be manipulated
|
53
|
+
* @param coordinates The destination coordinates to move the map to
|
54
|
+
* @param options Optional settings to customize the movement
|
55
|
+
*/
|
56
|
+
const moveMap = (mapObject, coordinates) => {
|
57
|
+
//
|
58
|
+
//
|
59
|
+
// Validate the input parameters
|
60
|
+
if (!mapObject)
|
61
|
+
return;
|
62
|
+
if (!coordinates || !coordinates.length)
|
63
|
+
return;
|
64
|
+
//
|
65
|
+
// Get map current zoom level
|
66
|
+
const currentZoom = mapObject.getZoom();
|
67
|
+
const currentZoomWithMargin = currentZoom + mapDefaultValues.zoom_margin;
|
68
|
+
const thresholdZoomWithMargin = mapDefaultValues.zoom + mapDefaultValues.zoom_margin;
|
69
|
+
//
|
70
|
+
// Check if the given coordinates are inside the currently rendered map bounds
|
71
|
+
const currentMapBounds = mapObject.getBounds().toArray();
|
72
|
+
const isInside = turf.booleanIntersects(point(coordinates), turf.bboxPolygon([...currentMapBounds[0], ...currentMapBounds[1]]));
|
73
|
+
//
|
74
|
+
// If the given coordinates are visible and the zoom is not too far back (plus a little margin)...
|
75
|
+
if (isInside && currentZoomWithMargin > (thresholdZoomWithMargin * 1.15)) {
|
76
|
+
// ...then simply ease to it.
|
77
|
+
mapObject.easeTo({ center: coordinates, duration: mapDefaultValues.speed * 0.25, zoom: currentZoom });
|
78
|
+
}
|
79
|
+
else {
|
80
|
+
// If the zoom is too far, or the given coordinates are not visible, then fly to it
|
81
|
+
mapObject.flyTo({ center: coordinates, duration: mapDefaultValues.speed, zoom: thresholdZoomWithMargin });
|
82
|
+
}
|
83
|
+
//
|
84
|
+
};
|
85
|
+
/* * */
|
86
|
+
/**
|
87
|
+
* Return a base GeoJSON Feature for LineString object
|
88
|
+
* @returns A GeoJSON Feature for LineString object with an empty features array
|
89
|
+
*/
|
90
|
+
const getBaseGeoJsonFeatureLineString = () => {
|
91
|
+
return Object.assign({ geometry: { coordinates: [], type: 'LineString' }, properties: {}, type: 'Feature' });
|
92
|
+
};
|
5
93
|
/**
|
6
94
|
* Return a base GeoJSON FeatureCollection object
|
7
95
|
* @returns A GeoJSON FeatureCollection object with an empty features array
|
@@ -10,5 +98,5 @@ const getBaseGeoJsonFeatureCollection = () => {
|
|
10
98
|
return Object.assign({ features: [], type: 'FeatureCollection' });
|
11
99
|
};
|
12
100
|
|
13
|
-
export { getBaseGeoJsonFeatureCollection };
|
101
|
+
export { centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap };
|
14
102
|
//# sourceMappingURL=map.utils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"map.utils.js","sources":["../../../../src/lib/map.utils.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"map.utils.js","sources":["../../../../src/lib/map.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;AAYA;;;;;AAKG;AACU,MAAA,SAAS,GAAG,CAAC,SAAc,EAAE,QAAwE,EAAE,OAA0B,KAAI;;;;AAMjJ,IAAA,IAAI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AM,+BAA+B,GAAG,MAA+F;AAC7I,IAAA,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;AAClE;;;;"}
|
package/dist/src/lib/utils.d.ts
CHANGED
@@ -19,7 +19,7 @@ export declare const truncate: (str: null | string, length: number) => null | st
|
|
19
19
|
* @param {...Parameters<typeof fetch>} args - The arguments to pass to the fetch function.
|
20
20
|
* @returns {Promise<any>} - A promise that resolves to the JSON response.
|
21
21
|
*/
|
22
|
-
export declare const fetcher: (
|
22
|
+
export declare const fetcher: (input: string | URL | Request, init?: RequestInit | undefined) => Promise<any>;
|
23
23
|
/**
|
24
24
|
* Capitalizes first letters of words in string.
|
25
25
|
* @param {string} str String to be modified
|
@@ -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,E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AS,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,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AO,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,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tual/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,IAA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@@
|
|
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]}
|