@abyss-project/commons-front-core 20.5.1 → 21.0.0
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/CHANGELOG.md +35 -0
- package/README.md +18 -0
- package/catalog/pages/CookieConsent.tsx +1 -1
- package/catalog/pages/MobileShell.tsx +75 -39
- package/catalog/pages/Tabs.tsx +24 -0
- package/catalog/specs/cookie-consent-modal.spec.ts +1 -1
- package/catalog/specs/mobile-shell.spec.ts +28 -0
- package/dist/{CookieConsentSettings-BGIHx7eH.js → CookieConsentSettings-BzeQZ5tD.js} +223 -224
- package/dist/{Surface-B74cXq1M.js → Surface-t4XKtudZ.js} +319 -714
- package/dist/Tabs-DXgqVX6V.js +5276 -0
- package/dist/components/ScanStatus/InfectedDownloadWarningModal.d.ts +14 -45
- package/dist/components/business/AbyssProjectLinkField/AbyssProjectLinkField.d.ts +48 -0
- package/dist/components/business/CookieConsent/containing-block.d.ts +1 -1
- package/dist/components/business/Deliveries/ScheduledTaskPanel.d.ts +7 -2
- package/dist/components/business/Deliveries/deliveries.logic.d.ts +31 -0
- package/dist/components/business/Deliveries/deliveries.types.d.ts +24 -0
- package/dist/components/business/Deliveries/use-missed-run-count.hook.d.ts +8 -0
- package/dist/components/business/Deliveries/use-missed-runs.hook.d.ts +13 -0
- package/dist/components/business/Deliveries/use-previous-page-edge.hook.d.ts +22 -0
- package/dist/components/business/PendingInvitations/PendingInvitations.d.ts +28 -0
- package/dist/components/business/index.d.ts +2 -0
- package/dist/components/editors/PdfEditor/PdfEditor.d.ts +2 -2
- package/dist/components/editors/PdfEditor/pdf-colors.d.ts +2 -2
- package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +3 -3
- package/dist/components/inputs/date-localization.d.ts +3 -3
- package/dist/components/layers/Modal/Modal.d.ts +1 -1
- package/dist/components/meaning/Avatar/Avatar.d.ts +2 -0
- package/dist/components/mobile/ActionBar/ActionBar.d.ts +2 -1
- package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +8 -2
- package/dist/components/mobile/MobileShell/MobileShell.d.ts +2 -1
- package/dist/components/mobile/MobileShell/MobileShellActionBar.d.ts +7 -0
- package/dist/components/mobile/MobileShell/MobileShellPageFrame.d.ts +13 -0
- package/dist/components/mobile/index.d.ts +1 -0
- package/dist/components/mobile/mobile-layout.d.ts +8 -0
- package/dist/components/mobile/test-support/mobile-test-harness.d.ts +5 -0
- package/dist/components/structure/AppShell/AppShell.d.ts +2 -2
- package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -3
- package/dist/cookie-consent.js +2 -2
- package/dist/demo/DemoBanner/DemoBanner.d.ts +1 -1
- package/dist/{editors-s-GER37R.js → editors-Dt29L0Ux.js} +4074 -4063
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +52 -454
- package/dist/hooks/use-scroll-overflow-cue.hook.d.ts +8 -2
- package/dist/{index-DoWxAfPn.js → index-3hRPEDk5.js} +4 -4
- package/dist/{index-DctO0l5q.js → index-BHKOZzg1.js} +1 -1
- package/dist/{index-NX_Kd4oz.js → index-BYWSBoej.js} +3 -3
- package/dist/{index-genxamHw.js → index-BYWcX6y7.js} +2 -2
- package/dist/{index-Dka20zad.js → index-BaS25rA-.js} +2 -2
- package/dist/{index-BZgkwoZ5.js → index-BczDLUpv.js} +2 -2
- package/dist/{index-BxlF9T05.js → index-Bh0e5MGQ.js} +2 -2
- package/dist/{index-CO6rjqWZ.js → index-C3iToWR_.js} +4 -4
- package/dist/{index-B635dFQ2.js → index-CNem7pV2.js} +2 -2
- package/dist/{index-B_fqzhtm.js → index-Cs5brR68.js} +3 -3
- package/dist/{index-D9IW7UEw.js → index-D0E9e2bc.js} +2 -2
- package/dist/{index-CXEf_Hel.js → index-D2yo-g20.js} +4 -4
- package/dist/{index-1n03jgsr.js → index-DGizXlGr.js} +3 -3
- package/dist/{index-CE-4v9ue.js → index-DLZ2_Fhk.js} +3 -3
- package/dist/{index-CVN6HOlq.js → index-DbBqHu3d.js} +2 -2
- package/dist/{index-B-oGxRVH.js → index-Deq0UIQ5.js} +2 -2
- package/dist/{index-8L4OftHM.js → index-Dg0a5ekJ.js} +2 -2
- package/dist/{index-yqn8Hbay.js → index-DvcQvaXv.js} +2 -2
- package/dist/{index-YkgGwyfx.js → index-ETHoxvZf.js} +2 -2
- package/dist/{index-D4kZ3Yip.js → index-na4ea52T.js} +2 -2
- package/dist/{index-Bn9RgQrP.js → index-vX7Ua1iM.js} +2 -2
- package/dist/index.js +47045 -19954
- package/dist/theme/design-media.d.ts +4 -4
- package/dist/theme/design-theme.d.ts +1 -5
- package/dist/theme/index.d.ts +0 -1
- package/dist/translations/en.d.ts +18 -219
- package/dist/translations/fr.d.ts +18 -219
- package/dist/utils/file.utils.d.ts +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/notification-target.utils.d.ts +49 -0
- package/package.json +8 -16
- package/test-results/catalog/.last-run.json +4 -0
- package/vite.config.ts +6 -8
- package/dist/Tabs-nH2IBqqa.js +0 -1991
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/design-theme-DtU1zQos.js +0 -27703
- package/dist/index-C27b790L.js +0 -3304
- package/dist/legacy/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +0 -24
- package/dist/legacy/components/Avatars/OrganizationAvatar/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +0 -29
- package/dist/legacy/components/Avatars/ProjectAvatar/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/UserAvatar/UserAvatar.component.d.ts +0 -25
- package/dist/legacy/components/Avatars/UserAvatar/constant.d.ts +0 -8
- package/dist/legacy/components/Avatars/UserAvatar/index.d.ts +0 -3
- package/dist/legacy/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +0 -18
- package/dist/legacy/components/Avatars/UserAvatarList/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/index.d.ts +0 -4
- package/dist/legacy/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +0 -30
- package/dist/legacy/components/Banking/AccountTransactions/index.d.ts +0 -2
- package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +0 -12
- package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +0 -1
- package/dist/legacy/components/Banking/Inputs/index.d.ts +0 -1
- package/dist/legacy/components/Banking/index.d.ts +0 -1
- package/dist/legacy/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +0 -36
- package/dist/legacy/components/Cards/InternalProjectCard/index.d.ts +0 -2
- package/dist/legacy/components/Cards/ProjectCard/ProjectCard.component.d.ts +0 -28
- package/dist/legacy/components/Cards/ProjectCard/index.d.ts +0 -2
- package/dist/legacy/components/Cards/index.d.ts +0 -2
- package/dist/legacy/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +0 -21
- package/dist/legacy/components/Charts/AbyssBarChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +0 -14
- package/dist/legacy/components/Charts/AbyssCashFlowChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +0 -33
- package/dist/legacy/components/Charts/AbyssLineChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +0 -18
- package/dist/legacy/components/Charts/AbyssPieChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/index.d.ts +0 -4
- package/dist/legacy/components/Charts/useNivoTheme.d.ts +0 -65
- package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/ApplicationSentinelTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/LogTypeChip/LogTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/LogTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/ProjectStatusChip/ProjectStatusChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ProjectStatusChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/WebhookResponseCodeChip/WebhookResponseCodeChip.component.d.ts +0 -6
- package/dist/legacy/components/Chips/WebhookResponseCodeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/index.d.ts +0 -4
- package/dist/legacy/components/CommandPalette/AbyssCommandPalette.d.ts +0 -12
- package/dist/legacy/components/CommandPalette/index.d.ts +0 -3
- package/dist/legacy/components/CommandPalette/types.d.ts +0 -104
- package/dist/legacy/components/CommandPalette/useCommandPaletteHotkey.d.ts +0 -10
- package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +0 -13
- package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts +0 -1
- package/dist/legacy/components/CompanySearchAutocomplete/index.d.ts +0 -2
- package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.d.ts +0 -70
- package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.spec.d.ts +0 -1
- package/dist/legacy/components/Data/AbyssTable/AbyssTableCards.component.d.ts +0 -25
- package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.d.ts +0 -147
- package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Data/AbyssTable/index.d.ts +0 -2
- package/dist/legacy/components/Data/index.d.ts +0 -1
- package/dist/legacy/components/InfoBox/InfoBox.component.d.ts +0 -6
- package/dist/legacy/components/InfoBox/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +0 -4
- package/dist/legacy/components/Inputs/AbyssDatePicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssDateTimePicker/AbyssDateTimePicker.component.d.ts +0 -4
- package/dist/legacy/components/Inputs/AbyssDateTimePicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +0 -35
- package/dist/legacy/components/Inputs/AbyssNumberField/format.d.ts +0 -35
- package/dist/legacy/components/Inputs/AbyssNumberField/format.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssNumberField/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +0 -21
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/AbyssSelectOrganization/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/AbyssSelectProject/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.d.ts +0 -17
- package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.d.ts +0 -14
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/CloudImport/index.d.ts +0 -3
- package/dist/legacy/components/Inputs/ColorPalette/ColorPalette.component.d.ts +0 -23
- package/dist/legacy/components/Inputs/ColorPalette/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ColorPicker/ColorPicker.component.d.ts +0 -19
- package/dist/legacy/components/Inputs/ColorPicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ContextSelector/ContextSelector.component.d.ts +0 -68
- package/dist/legacy/components/Inputs/ContextSelector/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +0 -60
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -69
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +0 -15
- package/dist/legacy/components/Inputs/DatePeriodPicker/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/DropZone/DropZone.component.d.ts +0 -27
- package/dist/legacy/components/Inputs/DropZone/DropZone.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DropZone/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +0 -22
- package/dist/legacy/components/Inputs/LanguageFlagLabel/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/LanguageFlagLabel/language-flags.d.ts +0 -12
- package/dist/legacy/components/Inputs/PasswordInput/PasswordInput.component.d.ts +0 -41
- package/dist/legacy/components/Inputs/PasswordInput/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -8
- package/dist/legacy/components/Inputs/ProjectCategoryBadge/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -39
- package/dist/legacy/components/Inputs/ProjectLinkSelector/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
- package/dist/legacy/components/Inputs/ProjectTagChip/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/index.d.ts +0 -17
- package/dist/legacy/components/Invitations/AbyssPendingInvitations.component.d.ts +0 -18
- package/dist/legacy/components/Invitations/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +0 -11
- package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssBillingPlan/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +0 -13
- package/dist/legacy/components/Layouts/AbyssDashboardLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +0 -32
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +0 -14
- package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssHeader/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +0 -25
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +0 -27
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/index.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssLoadingScreen/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +0 -8
- package/dist/legacy/components/Layouts/AbyssSearchBar/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +0 -35
- package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +0 -9
- package/dist/legacy/components/Layouts/AbyssSidebar/index.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +0 -8
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssThemeToggle/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +0 -19
- package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +0 -11
- package/dist/legacy/components/Layouts/DashboardLayout/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +0 -7
- package/dist/legacy/components/Layouts/LoadingLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/MainLayout/MainLayout.layout.d.ts +0 -9
- package/dist/legacy/components/Layouts/MainLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/index.d.ts +0 -12
- package/dist/legacy/components/Modals/AbyssModal/AbyssModal.component.d.ts +0 -18
- package/dist/legacy/components/Modals/AbyssModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/ConfirmModal/ConfirmModal.d.ts +0 -22
- package/dist/legacy/components/Modals/ConfirmModal/index.d.ts +0 -2
- package/dist/legacy/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +0 -15
- package/dist/legacy/components/Modals/ImportFromCloudModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +0 -12
- package/dist/legacy/components/Modals/QRCodeModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -12
- package/dist/legacy/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -38
- package/dist/legacy/components/Modals/UserSettingsModal/index.d.ts +0 -2
- package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +0 -1
- package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +0 -1
- package/dist/legacy/components/Modals/index.d.ts +0 -6
- package/dist/legacy/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +0 -53
- package/dist/legacy/components/QuotaGauge/bubble-placement.d.ts +0 -47
- package/dist/legacy/components/QuotaGauge/bubble-placement.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-highlight.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-segments.d.ts +0 -80
- package/dist/legacy/components/QuotaGauge/gauge-segments.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/index.d.ts +0 -6
- package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +0 -83
- package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaOffer/index.d.ts +0 -4
- package/dist/legacy/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaReached/QuotaReachedDialog.component.d.ts +0 -15
- package/dist/legacy/components/QuotaReached/index.d.ts +0 -3
- package/dist/legacy/components/QuotaReached/quota-service-meta.d.ts +0 -31
- package/dist/legacy/components/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +0 -15
- package/dist/legacy/components/Spotlight/InternalProjectCard/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -20
- package/dist/legacy/components/Spotlight/ProjectCard/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -7
- package/dist/legacy/components/Spotlight/ProjectCategoryBadge/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -10
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.spec.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +0 -2
- package/dist/legacy/components/Spotlight/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
- package/dist/legacy/components/Spotlight/ProjectTagChip/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/index.d.ts +0 -5
- package/dist/legacy/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +0 -12
- package/dist/legacy/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +0 -39
- package/dist/legacy/components/Utils/AbyssDrawer/index.d.ts +0 -2
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +0 -10
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +0 -11
- package/dist/legacy/components/Utils/AbyssErrorPage/index.d.ts +0 -3
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +0 -6
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/index.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +0 -11
- package/dist/legacy/components/Utils/AbyssHeaderTitle/index.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +0 -43
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +0 -15
- package/dist/legacy/components/Utils/AbyssLayoutMenu/index.d.ts +0 -3
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +0 -36
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +0 -30
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/index.d.ts +0 -4
- package/dist/legacy/components/Utils/ImportButton/ImportButton.component.d.ts +0 -19
- package/dist/legacy/components/Utils/ImportButton/index.d.ts +0 -2
- package/dist/legacy/components/Utils/WaterParticles/WaterParticles.component.d.ts +0 -14
- package/dist/legacy/components/Utils/WaterParticles/index.d.ts +0 -1
- package/dist/legacy/components/Utils/index.d.ts +0 -10
- package/dist/legacy/components/aria-labels-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/commons-labels-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/index.d.ts +0 -18
- package/dist/legacy/components/theme-mode-colors.spec.d.ts +0 -1
- package/dist/legacy/fonts.css +0 -7
- package/dist/legacy/hooks/confirm-modal/confirm-modal.context.d.ts +0 -10
- package/dist/legacy/hooks/confirm-modal/index.d.ts +0 -1
- package/dist/legacy/hooks/index.d.ts +0 -1
- package/dist/legacy/index.d.ts +0 -4
- package/dist/legacy/legacy-editors-removed.spec.d.ts +0 -1
- package/dist/legacy/legacy-support-removed.spec.d.ts +0 -1
- package/dist/legacy/legacy-under-new-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/augmentation.d.ts +0 -84
- package/dist/legacy/theme/components/buttons.d.ts +0 -35
- package/dist/legacy/theme/components/data-display.d.ts +0 -4
- package/dist/legacy/theme/components/index.d.ts +0 -2
- package/dist/legacy/theme/components/inputs.d.ts +0 -4
- package/dist/legacy/theme/components/inputs.spec.d.ts +0 -1
- package/dist/legacy/theme/components/navigation.d.ts +0 -4
- package/dist/legacy/theme/components/surfaces.d.ts +0 -4
- package/dist/legacy/theme/core-breakpoints-under-legacy-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/create-theme.d.ts +0 -9
- package/dist/legacy/theme/create-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/disabled-contrast.spec.d.ts +0 -1
- package/dist/legacy/theme/index.d.ts +0 -23
- package/dist/legacy/theme/legacy-tokens.d.ts +0 -3
- package/dist/legacy/theme/new-components-under-legacy-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/palettes/common.d.ts +0 -74
- package/dist/legacy/theme/palettes/dark.d.ts +0 -67
- package/dist/legacy/theme/palettes/light.d.ts +0 -67
- package/dist/legacy/theme/tokens/animations.d.ts +0 -33
- package/dist/legacy/theme/tokens/borders.d.ts +0 -14
- package/dist/legacy/theme/tokens/colors.d.ts +0 -129
- package/dist/legacy/theme/tokens/shadows.d.ts +0 -53
- package/dist/legacy/theme/tokens/transitions.d.ts +0 -25
- package/dist/legacy/theme/tokens/typography.d.ts +0 -99
- package/dist/legacy/utils/billing-colors.utils.d.ts +0 -7
- package/dist/legacy/utils/color.utils.d.ts +0 -11
- package/dist/legacy/utils/file.utils.d.ts +0 -2
- package/dist/legacy/utils/index.d.ts +0 -3
- package/dist/legacy.d.ts +0 -2
- package/dist/legacy.js +0 -16282
- package/dist/theme/DesignCssVariables.d.ts +0 -12
- package/dist/theme/DesignCssVariables.spec.d.ts +0 -1
- package/dist/utils/share-notification.utils.d.ts +0 -10
- /package/dist/{legacy/components/Cards/project-card-date.spec.d.ts → components/business/AbyssProjectLinkField/AbyssProjectLinkField.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts → components/business/PendingInvitations/PendingInvitations.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts → components/mobile/MobileShell/MobileShellActionBar.spec.d.ts} +0 -0
- /package/dist/{legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.date.spec.d.ts → utils/notification-target.utils.spec.d.ts} +0 -0
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
import { jsxs as g, Fragment as
|
|
2
|
-
import { useState as v, useCallback as b, useEffect as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { styled as
|
|
6
|
-
import { T as
|
|
7
|
-
import { useQuery as
|
|
8
|
-
import { AbyssCore as
|
|
9
|
-
import { createPortal as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
const
|
|
1
|
+
import { jsxs as g, Fragment as q, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { useState as v, useCallback as b, useEffect as T, useLayoutEffect as ie, useId as E, useRef as se, createContext as re, useContext as J, useMemo as H } from "react";
|
|
3
|
+
import w from "@mui/material/Button";
|
|
4
|
+
import Q from "@mui/material/Switch";
|
|
5
|
+
import { styled as y } from "@mui/material/styles";
|
|
6
|
+
import { T as K, w as O, p as f, d as D, D as N, S as R, a as V, u as M, M as C, b as X, h as ae, c as ce, e as le } from "./Surface-t4XKtudZ.js";
|
|
7
|
+
import { useQuery as de, useMutation as ue } from "@tanstack/react-query";
|
|
8
|
+
import { AbyssCore as j } from "@abyss-project/main";
|
|
9
|
+
import { createPortal as fe } from "react-dom";
|
|
10
|
+
import pe from "@mui/material/GlobalStyles";
|
|
11
|
+
import me from "@mui/material/Link";
|
|
12
|
+
const pt = "2026-11-03", x = "abyssCookieConsent", Z = 183, ye = Z * 24 * 60 * 60 * 1e3, ge = Z * 24 * 60 * 60, he = "/", ke = "Lax", ve = (e) => btoa(JSON.stringify(e)), be = (e) => {
|
|
13
13
|
try {
|
|
14
14
|
const t = JSON.parse(atob(decodeURIComponent(e)));
|
|
15
15
|
return typeof t.a != "boolean" || typeof t.m != "boolean" || typeof t.d != "string" || typeof t.v != "string" ? null : t;
|
|
16
16
|
} catch {
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, ee = (e, t, o = Date.now()) => {
|
|
20
20
|
if (e.v !== t)
|
|
21
21
|
return !1;
|
|
22
22
|
const n = new Date(e.d).getTime();
|
|
23
|
-
return Number.isNaN(n) ? !1 : o - n <
|
|
24
|
-
},
|
|
23
|
+
return Number.isNaN(n) ? !1 : o - n < ye;
|
|
24
|
+
}, Ae = () => typeof window > "u" ? !1 : window.location.protocol === "https:", te = (e, t) => {
|
|
25
25
|
const o = [
|
|
26
|
-
`Path=${
|
|
26
|
+
`Path=${he}`,
|
|
27
27
|
`Max-Age=${t}`,
|
|
28
|
-
`SameSite=${
|
|
28
|
+
`SameSite=${ke}`
|
|
29
29
|
];
|
|
30
|
-
return e.domain && o.push(`Domain=${e.domain}`),
|
|
31
|
-
},
|
|
30
|
+
return e.domain && o.push(`Domain=${e.domain}`), Ae() && o.push("Secure"), o.join("; ");
|
|
31
|
+
}, Ce = () => {
|
|
32
32
|
if (typeof document > "u")
|
|
33
33
|
return null;
|
|
34
|
-
const e = document.cookie.split(";").map((t) => t.trim()).find((t) => t.startsWith(`${
|
|
35
|
-
return e ?
|
|
36
|
-
},
|
|
37
|
-
typeof document > "u" || (document.cookie = `${
|
|
34
|
+
const e = document.cookie.split(";").map((t) => t.trim()).find((t) => t.startsWith(`${x}=`));
|
|
35
|
+
return e ? be(e.slice(x.length + 1)) : null;
|
|
36
|
+
}, F = (e, t = {}) => {
|
|
37
|
+
typeof document > "u" || (document.cookie = `${x}=${ve(
|
|
38
38
|
e
|
|
39
|
-
)}; ${
|
|
40
|
-
},
|
|
41
|
-
typeof document > "u" || (document.cookie = `${
|
|
39
|
+
)}; ${te(t, ge)}`);
|
|
40
|
+
}, Se = (e = {}) => {
|
|
41
|
+
typeof document > "u" || (document.cookie = `${x}=; ${te(e, 0)}`);
|
|
42
42
|
};
|
|
43
|
-
var
|
|
44
|
-
const
|
|
43
|
+
var $ = /* @__PURE__ */ ((e) => (e.NOOP = "noop", e.ADOPT_DB = "adopt-db", e.PUSH_COOKIE = "push-cookie", e))($ || {});
|
|
44
|
+
const G = (e) => ({
|
|
45
45
|
essentials: !0,
|
|
46
46
|
analytics: e.analytics,
|
|
47
47
|
marketing: e.marketing,
|
|
48
48
|
decidedAt: typeof e.decidedAt == "string" ? e.decidedAt : new Date(e.decidedAt).toISOString(),
|
|
49
49
|
consentVersion: e.consentVersion
|
|
50
|
-
}),
|
|
50
|
+
}), we = (e, t) => {
|
|
51
51
|
if (!e && !t)
|
|
52
52
|
return { action: "noop", value: null };
|
|
53
53
|
if (!e && t)
|
|
54
|
-
return { action: "adopt-db", value:
|
|
54
|
+
return { action: "adopt-db", value: G(t) };
|
|
55
55
|
if (e && !t)
|
|
56
56
|
return { action: "push-cookie", value: e };
|
|
57
57
|
const o = new Date(e.decidedAt).getTime(), n = new Date(
|
|
58
58
|
typeof t.decidedAt == "string" ? t.decidedAt : t.decidedAt.toISOString()
|
|
59
59
|
).getTime();
|
|
60
|
-
return n > o ? { action: "adopt-db", value:
|
|
61
|
-
},
|
|
60
|
+
return n > o ? { action: "adopt-db", value: G(t) } : o > n ? { action: "push-cookie", value: e } : { action: "noop", value: e };
|
|
61
|
+
}, Ee = (e) => ({
|
|
62
62
|
essentials: !0,
|
|
63
63
|
analytics: e.a,
|
|
64
64
|
marketing: e.m,
|
|
65
65
|
decidedAt: e.d,
|
|
66
66
|
consentVersion: e.v
|
|
67
|
-
}),
|
|
67
|
+
}), Y = (e) => ({
|
|
68
68
|
a: e.analytics,
|
|
69
69
|
m: e.marketing,
|
|
70
70
|
d: e.decidedAt,
|
|
71
71
|
v: e.consentVersion
|
|
72
|
-
}),
|
|
73
|
-
const t =
|
|
74
|
-
return !t || !
|
|
75
|
-
},
|
|
72
|
+
}), Me = (e) => {
|
|
73
|
+
const t = Ce();
|
|
74
|
+
return !t || !ee(t, e) ? null : Ee(t);
|
|
75
|
+
}, Oe = (e) => {
|
|
76
76
|
const [t, o] = v(
|
|
77
|
-
() =>
|
|
78
|
-
), n =
|
|
77
|
+
() => Me(e.consentVersion)
|
|
78
|
+
), n = de({
|
|
79
79
|
queryKey: ["cookie-consent", "me"],
|
|
80
|
-
queryFn: async () => (await
|
|
80
|
+
queryFn: async () => (await j.sdk.user.cookieConsent.get()).data.consent,
|
|
81
81
|
enabled: e.isAuthenticated,
|
|
82
82
|
retry: !1,
|
|
83
83
|
refetchOnWindowFocus: !1
|
|
84
|
-
}),
|
|
85
|
-
mutationFn: async (
|
|
86
|
-
analytics:
|
|
87
|
-
marketing:
|
|
88
|
-
decidedAt:
|
|
89
|
-
consentVersion:
|
|
84
|
+
}), s = ue({
|
|
85
|
+
mutationFn: async (i) => (await j.sdk.user.cookieConsent.upsert({
|
|
86
|
+
analytics: i.analytics,
|
|
87
|
+
marketing: i.marketing,
|
|
88
|
+
decidedAt: i.decidedAt,
|
|
89
|
+
consentVersion: i.consentVersion
|
|
90
90
|
})).data.consent
|
|
91
91
|
}), a = b(
|
|
92
|
-
(
|
|
93
|
-
|
|
92
|
+
(i) => {
|
|
93
|
+
F(Y(i), { domain: e.domain }), o(i), e.isAuthenticated && s.mutate(i);
|
|
94
94
|
},
|
|
95
|
-
[e.domain, e.isAuthenticated,
|
|
95
|
+
[e.domain, e.isAuthenticated, s]
|
|
96
96
|
);
|
|
97
|
-
|
|
97
|
+
T(() => {
|
|
98
98
|
if (!e.isAuthenticated || n.isLoading || n.isError)
|
|
99
99
|
return;
|
|
100
|
-
const
|
|
100
|
+
const i = n.data ?? null, p = i !== null && ee(
|
|
101
101
|
{
|
|
102
|
-
a:
|
|
103
|
-
m:
|
|
102
|
+
a: i.analytics,
|
|
103
|
+
m: i.marketing,
|
|
104
104
|
// `String`, never `toISOString()`: an unreadable date must read as no choice, not throw.
|
|
105
|
-
d: String(
|
|
106
|
-
v:
|
|
105
|
+
d: String(i.decidedAt),
|
|
106
|
+
v: i.consentVersion
|
|
107
107
|
},
|
|
108
108
|
e.consentVersion
|
|
109
|
-
),
|
|
110
|
-
|
|
109
|
+
), m = we(t, p ? i : null);
|
|
110
|
+
m.action === $.ADOPT_DB && m.value ? (F(Y(m.value), { domain: e.domain }), o(m.value)) : m.action === $.PUSH_COOKIE && m.value && s.mutate(m.value);
|
|
111
111
|
}, [e.isAuthenticated, n.isLoading, n.isError, n.data]);
|
|
112
112
|
const l = b(() => {
|
|
113
113
|
a({
|
|
@@ -126,18 +126,18 @@ const Y = (e) => ({
|
|
|
126
126
|
consentVersion: e.consentVersion
|
|
127
127
|
});
|
|
128
128
|
}, [e.consentVersion, a]), r = b(
|
|
129
|
-
(
|
|
129
|
+
(i) => {
|
|
130
130
|
a({
|
|
131
131
|
essentials: !0,
|
|
132
|
-
analytics:
|
|
133
|
-
marketing:
|
|
132
|
+
analytics: i.analytics,
|
|
133
|
+
marketing: i.marketing,
|
|
134
134
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
135
135
|
consentVersion: e.consentVersion
|
|
136
136
|
});
|
|
137
137
|
},
|
|
138
138
|
[e.consentVersion, a]
|
|
139
139
|
), u = b(() => {
|
|
140
|
-
|
|
140
|
+
Se({ domain: e.domain }), o(null);
|
|
141
141
|
}, [e.domain]);
|
|
142
142
|
return {
|
|
143
143
|
consent: t,
|
|
@@ -147,8 +147,8 @@ const Y = (e) => ({
|
|
|
147
147
|
save: r,
|
|
148
148
|
reset: u
|
|
149
149
|
};
|
|
150
|
-
},
|
|
151
|
-
class
|
|
150
|
+
}, Re = "https://abyss-project.fr/cgu";
|
|
151
|
+
class xe {
|
|
152
152
|
constructor() {
|
|
153
153
|
this.claims = /* @__PURE__ */ new Map();
|
|
154
154
|
}
|
|
@@ -161,16 +161,16 @@ class Le {
|
|
|
161
161
|
publish() {
|
|
162
162
|
const t = document.documentElement;
|
|
163
163
|
if (this.claims.size === 0) {
|
|
164
|
-
t.style.removeProperty(
|
|
164
|
+
t.style.removeProperty(K);
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
167
|
t.style.setProperty(
|
|
168
|
-
|
|
168
|
+
K,
|
|
169
169
|
`${Math.max(...this.claims.values())}px`
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
const
|
|
173
|
+
const U = new xe(), Te = () => {
|
|
174
174
|
const e = Array.from(document.body.children).filter(
|
|
175
175
|
(t) => t instanceof HTMLElement && t.classList.contains("MuiModal-root") && !t.classList.contains("MuiModal-hidden") && !t.classList.contains("MuiPopover-root")
|
|
176
176
|
);
|
|
@@ -180,7 +180,7 @@ const q = new Le(), _e = () => {
|
|
|
180
180
|
return { host: o, surface: n };
|
|
181
181
|
}
|
|
182
182
|
return null;
|
|
183
|
-
},
|
|
183
|
+
}, Ie = /* @__PURE__ */ new Set([
|
|
184
184
|
"transform",
|
|
185
185
|
"translate",
|
|
186
186
|
"rotate",
|
|
@@ -192,12 +192,12 @@ const q = new Le(), _e = () => {
|
|
|
192
192
|
"transform-style",
|
|
193
193
|
"offset-path",
|
|
194
194
|
"content-visibility"
|
|
195
|
-
]),
|
|
195
|
+
]), Le = /* @__PURE__ */ new Set([
|
|
196
196
|
"paint",
|
|
197
197
|
"layout",
|
|
198
198
|
"strict",
|
|
199
199
|
"content"
|
|
200
|
-
]),
|
|
200
|
+
]), _e = /* @__PURE__ */ new Set(["size", "inline-size"]), k = (e) => e !== "" && e !== "none", I = (e, t) => e.split(/[\s,]+/).some((o) => t.has(o)), L = [
|
|
201
201
|
{ property: "transform", neutral: "none", creates: k },
|
|
202
202
|
{ property: "translate", neutral: "none", creates: k },
|
|
203
203
|
{ property: "rotate", neutral: "none", creates: k },
|
|
@@ -219,65 +219,65 @@ const q = new Le(), _e = () => {
|
|
|
219
219
|
{
|
|
220
220
|
property: "contain",
|
|
221
221
|
neutral: "none",
|
|
222
|
-
creates: (e) =>
|
|
222
|
+
creates: (e) => I(e, Le)
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
property: "will-change",
|
|
226
226
|
neutral: "auto",
|
|
227
|
-
creates: (e) =>
|
|
227
|
+
creates: (e) => I(e, Ie)
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
// `scroll-state` alone makes no containing block: only the size containers do.
|
|
231
231
|
property: "container-type",
|
|
232
232
|
neutral: "normal",
|
|
233
|
-
creates: (e) =>
|
|
233
|
+
creates: (e) => I(e, _e)
|
|
234
234
|
}
|
|
235
|
-
],
|
|
235
|
+
], Pe = (e, t) => {
|
|
236
236
|
const o = [];
|
|
237
237
|
let n = e;
|
|
238
238
|
for (; n !== null && (o.push(n), n !== t); )
|
|
239
239
|
n = n.parentElement;
|
|
240
240
|
return o;
|
|
241
|
-
},
|
|
242
|
-
const o =
|
|
243
|
-
let
|
|
241
|
+
}, $e = (e) => typeof e.getAnimations == "function" && e.getAnimations().length > 0, De = (e, t) => {
|
|
242
|
+
const o = Pe(e, t), n = /* @__PURE__ */ new Map();
|
|
243
|
+
let s = null;
|
|
244
244
|
const a = (c, r) => c.style.getPropertyValue(r.property) === r.neutral && c.style.getPropertyPriority(r.property) === "important", l = () => {
|
|
245
|
-
|
|
245
|
+
s == null || s.disconnect(), o.forEach((c) => {
|
|
246
246
|
let r = n.get(c);
|
|
247
|
-
if (
|
|
248
|
-
(
|
|
249
|
-
).forEach((
|
|
247
|
+
if (L.filter(
|
|
248
|
+
(i) => (r == null ? void 0 : r.owned.has(i.property)) === !0 && !a(c, i)
|
|
249
|
+
).forEach((i) => r == null ? void 0 : r.owned.delete(i.property)), $e(c))
|
|
250
250
|
return;
|
|
251
251
|
const u = getComputedStyle(c);
|
|
252
|
-
|
|
253
|
-
const { property: p, neutral:
|
|
254
|
-
(r == null ? void 0 : r.owned.has(p)) === !0 || c.style.getPropertyValue(p) !== "" || !
|
|
252
|
+
L.forEach((i) => {
|
|
253
|
+
const { property: p, neutral: m } = i;
|
|
254
|
+
(r == null ? void 0 : r.owned.has(p)) === !0 || c.style.getPropertyValue(p) !== "" || !i.creates(u.getPropertyValue(p).trim()) || (r === void 0 && (r = {
|
|
255
255
|
hadStyleAttribute: c.hasAttribute("style"),
|
|
256
256
|
owned: /* @__PURE__ */ new Set()
|
|
257
|
-
}, n.set(c, r)), r.owned.add(p), c.style.setProperty(p,
|
|
257
|
+
}, n.set(c, r)), r.owned.add(p), c.style.setProperty(p, m, "important"));
|
|
258
258
|
});
|
|
259
259
|
}), o.forEach(
|
|
260
|
-
(c) =>
|
|
260
|
+
(c) => s == null ? void 0 : s.observe(c, {
|
|
261
261
|
attributes: !0,
|
|
262
262
|
attributeFilter: ["style", "class"]
|
|
263
263
|
})
|
|
264
264
|
);
|
|
265
265
|
};
|
|
266
|
-
return
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
return s = new MutationObserver(l), t.addEventListener("transitionend", l), t.addEventListener("transitioncancel", l), t.addEventListener("animationend", l), l(), () => {
|
|
267
|
+
s == null || s.disconnect(), s = null, t.removeEventListener("transitionend", l), t.removeEventListener("transitioncancel", l), t.removeEventListener("animationend", l), n.forEach((c, r) => {
|
|
268
|
+
L.forEach((u) => {
|
|
269
269
|
c.owned.has(u.property) && a(r, u) && r.style.removeProperty(u.property);
|
|
270
270
|
}), !c.hadStyleAttribute && r.getAttribute("style") === "" && r.removeAttribute("style");
|
|
271
271
|
}), n.clear();
|
|
272
272
|
};
|
|
273
|
-
}, S = "data-abyss-cookie-banner-host",
|
|
273
|
+
}, S = "data-abyss-cookie-banner-host", Ne = () => {
|
|
274
274
|
const [e] = v(
|
|
275
275
|
() => typeof document > "u" ? null : document.createElement("div")
|
|
276
276
|
), [t, o] = v(null);
|
|
277
|
-
return
|
|
277
|
+
return ie(() => {
|
|
278
278
|
if (e === null)
|
|
279
279
|
return;
|
|
280
|
-
let n = null,
|
|
280
|
+
let n = null, s = null, a = null;
|
|
281
281
|
const l = /* @__PURE__ */ new WeakSet(), c = () => {
|
|
282
282
|
Array.from(document.body.children).forEach((h) => {
|
|
283
283
|
h.classList.contains("MuiModal-root") && !l.has(h) && (l.add(h), r.observe(h, {
|
|
@@ -285,28 +285,28 @@ const q = new Le(), _e = () => {
|
|
|
285
285
|
attributeFilter: ["class"]
|
|
286
286
|
}));
|
|
287
287
|
});
|
|
288
|
-
const u =
|
|
288
|
+
const u = Te(), i = (u == null ? void 0 : u.host) ?? null, p = (u == null ? void 0 : u.surface) ?? document.body;
|
|
289
289
|
e.parentNode !== p && p.appendChild(e);
|
|
290
|
-
const
|
|
291
|
-
|
|
290
|
+
const m = (u == null ? void 0 : u.surface) ?? null;
|
|
291
|
+
m !== s && (a == null || a(), a = null, s = m, u !== null && (a = De(u.surface, u.host))), e.removeAttribute("aria-hidden"), i !== n && (n == null || n.removeAttribute(S), i == null || i.setAttribute(S, ""), n = i, o(i));
|
|
292
292
|
}, r = new MutationObserver(c);
|
|
293
293
|
return r.observe(document.body, { childList: !0 }), c(), () => {
|
|
294
294
|
r.disconnect(), a == null || a(), n == null || n.removeAttribute(S), e.remove();
|
|
295
295
|
};
|
|
296
296
|
}, [e]), { container: e, modalHost: t };
|
|
297
|
-
},
|
|
298
|
-
const { space: t, elevations: o, durations: n, easings:
|
|
297
|
+
}, Ve = y("div")(({ theme: e }) => {
|
|
298
|
+
const { space: t, elevations: o, durations: n, easings: s } = e.design;
|
|
299
299
|
return {
|
|
300
300
|
position: "fixed",
|
|
301
301
|
zIndex: e.zIndex.snackbar,
|
|
302
302
|
// Clear of the home indicator or gesture bar of a native webview (0 elsewhere).
|
|
303
|
-
bottom:
|
|
303
|
+
bottom: O(R.Bottom, t[6]),
|
|
304
304
|
right: f(t[6]),
|
|
305
305
|
width: 420,
|
|
306
306
|
maxWidth: `calc(100vw - ${f(2 * t[6])})`,
|
|
307
307
|
"& > *": {
|
|
308
308
|
boxShadow: o.overlay,
|
|
309
|
-
animation: `cookie-consent-in ${n.slow}ms ${
|
|
309
|
+
animation: `cookie-consent-in ${n.slow}ms ${s.sheet}`
|
|
310
310
|
},
|
|
311
311
|
"@keyframes cookie-consent-in": {
|
|
312
312
|
from: { opacity: 0, transform: `translateY(${f(t[3])})` },
|
|
@@ -315,57 +315,56 @@ const q = new Le(), _e = () => {
|
|
|
315
315
|
"@media (prefers-reduced-motion: reduce)": {
|
|
316
316
|
"& > *": { animation: "none" }
|
|
317
317
|
},
|
|
318
|
-
[
|
|
319
|
-
bottom:
|
|
320
|
-
right:
|
|
321
|
-
left:
|
|
318
|
+
[D.down(N.Tablet)]: {
|
|
319
|
+
bottom: O(R.Bottom, t[3]),
|
|
320
|
+
right: O(R.Right, t[3]),
|
|
321
|
+
left: O(R.Left, t[3]),
|
|
322
322
|
width: "auto",
|
|
323
323
|
maxWidth: "none"
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
|
-
}),
|
|
326
|
+
}), ze = y("h2")(({ theme: e }) => ({
|
|
327
327
|
margin: 0,
|
|
328
328
|
fontSize: f(e.design.typeScale.sectionTitle),
|
|
329
|
-
fontWeight:
|
|
329
|
+
fontWeight: V.semibold,
|
|
330
330
|
color: e.design.tokens["text.primary"]
|
|
331
|
-
})),
|
|
331
|
+
})), Be = y("p")(({ theme: e }) => ({
|
|
332
332
|
margin: `${f(e.design.space[2])} 0 0`,
|
|
333
333
|
fontSize: f(e.design.typeScale.body),
|
|
334
334
|
color: e.design.tokens["text.secondary"]
|
|
335
|
-
})),
|
|
335
|
+
})), We = y(me)(({ theme: e }) => ({
|
|
336
336
|
alignSelf: "flex-start",
|
|
337
337
|
marginTop: f(e.design.space[3]),
|
|
338
338
|
fontSize: f(e.design.typeScale.body),
|
|
339
339
|
color: e.design.tokens["accent.text"]
|
|
340
|
-
})),
|
|
340
|
+
})), He = y("div")(({ theme: e }) => ({
|
|
341
341
|
display: "flex",
|
|
342
342
|
gap: f(e.design.space[2]),
|
|
343
343
|
marginTop: f(e.design.space[4]),
|
|
344
344
|
"& > *": { flex: 1 }
|
|
345
|
-
})),
|
|
346
|
-
...I(e),
|
|
345
|
+
})), Ke = y(w)(({ theme: e }) => ({
|
|
347
346
|
marginTop: f(e.design.space[2]),
|
|
348
347
|
color: e.design.tokens["text.secondary"]
|
|
349
348
|
}));
|
|
350
|
-
function
|
|
351
|
-
const t =
|
|
352
|
-
return
|
|
353
|
-
const
|
|
354
|
-
if (
|
|
349
|
+
function je({ api: e }) {
|
|
350
|
+
const t = M(), { acceptAll: o, rejectAll: n, openPreferences: s } = e, a = E(), l = E(), c = se(null), { container: r, modalHost: u } = Ne();
|
|
351
|
+
return T(() => {
|
|
352
|
+
const i = c.current;
|
|
353
|
+
if (i === null)
|
|
355
354
|
return;
|
|
356
|
-
const p = document.documentElement,
|
|
357
|
-
const
|
|
358
|
-
|
|
355
|
+
const p = document.documentElement, m = Symbol("cookie-banner-clearance"), h = () => {
|
|
356
|
+
const B = Number.parseFloat(getComputedStyle(i).bottom), W = i.getBoundingClientRect().height + (Number.isNaN(B) ? 0 : B), oe = f(W);
|
|
357
|
+
U.claim(m, W), u === null ? p.style.removeProperty(C) : p.style.setProperty(C, oe);
|
|
359
358
|
};
|
|
360
359
|
h();
|
|
361
360
|
const A = typeof ResizeObserver > "u" ? null : new ResizeObserver(h);
|
|
362
|
-
return A == null || A.observe(
|
|
363
|
-
A == null || A.disconnect(), window.removeEventListener("resize", h),
|
|
361
|
+
return A == null || A.observe(i), window.addEventListener("resize", h), () => {
|
|
362
|
+
A == null || A.disconnect(), window.removeEventListener("resize", h), U.release(m), p.style.removeProperty(C);
|
|
364
363
|
};
|
|
365
|
-
}, [u]), r === null ? null :
|
|
366
|
-
/* @__PURE__ */ g(
|
|
364
|
+
}, [u]), r === null ? null : fe(
|
|
365
|
+
/* @__PURE__ */ g(q, { children: [
|
|
367
366
|
/* @__PURE__ */ d(
|
|
368
|
-
|
|
367
|
+
pe,
|
|
369
368
|
{
|
|
370
369
|
styles: {
|
|
371
370
|
// A dialog or a sheet: the root of the modal is the box they are laid out in.
|
|
@@ -382,8 +381,8 @@ function Ye({ api: e }) {
|
|
|
382
381
|
}
|
|
383
382
|
}
|
|
384
383
|
),
|
|
385
|
-
/* @__PURE__ */ d(
|
|
386
|
-
|
|
384
|
+
/* @__PURE__ */ d(Ve, { ref: c, children: /* @__PURE__ */ g(
|
|
385
|
+
X,
|
|
387
386
|
{
|
|
388
387
|
padding: 4,
|
|
389
388
|
role: "dialog",
|
|
@@ -391,28 +390,28 @@ function Ye({ api: e }) {
|
|
|
391
390
|
"aria-labelledby": a,
|
|
392
391
|
"aria-describedby": l,
|
|
393
392
|
children: [
|
|
394
|
-
/* @__PURE__ */ d(
|
|
395
|
-
/* @__PURE__ */ d(
|
|
393
|
+
/* @__PURE__ */ d(ze, { id: a, children: t.formatRichMessage({ id: "cookies.banner.title" }) }),
|
|
394
|
+
/* @__PURE__ */ d(Be, { id: l, children: t.formatRichMessage({ id: "cookies.banner.description" }) }),
|
|
396
395
|
/* @__PURE__ */ d(
|
|
397
|
-
|
|
396
|
+
We,
|
|
398
397
|
{
|
|
399
|
-
href:
|
|
398
|
+
href: Re,
|
|
400
399
|
rel: "noreferrer",
|
|
401
400
|
underline: "hover",
|
|
402
401
|
children: t.formatRichMessage({ id: "cookies.banner.privacy-link" })
|
|
403
402
|
}
|
|
404
403
|
),
|
|
405
|
-
/* @__PURE__ */ g(
|
|
406
|
-
/* @__PURE__ */ d(
|
|
407
|
-
/* @__PURE__ */ d(
|
|
404
|
+
/* @__PURE__ */ g(He, { children: [
|
|
405
|
+
/* @__PURE__ */ d(w, { variant: "contained", onClick: o, children: t.formatRichMessage({ id: "cookies.action.accept-all" }) }),
|
|
406
|
+
/* @__PURE__ */ d(w, { variant: "outlined", onClick: n, children: t.formatRichMessage({ id: "cookies.action.reject-all" }) })
|
|
408
407
|
] }),
|
|
409
408
|
/* @__PURE__ */ d(
|
|
410
|
-
|
|
409
|
+
Ke,
|
|
411
410
|
{
|
|
412
411
|
variant: "text",
|
|
413
412
|
size: "small",
|
|
414
413
|
fullWidth: !0,
|
|
415
|
-
onClick:
|
|
414
|
+
onClick: s,
|
|
416
415
|
children: t.formatRichMessage({ id: "cookies.action.configure" })
|
|
417
416
|
}
|
|
418
417
|
)
|
|
@@ -423,7 +422,7 @@ function Ye({ api: e }) {
|
|
|
423
422
|
r
|
|
424
423
|
);
|
|
425
424
|
}
|
|
426
|
-
const
|
|
425
|
+
const Fe = y("div")(({ theme: e }) => {
|
|
427
426
|
const { tokens: t, space: o } = e.design;
|
|
428
427
|
return {
|
|
429
428
|
display: "flex",
|
|
@@ -433,55 +432,55 @@ const Ue = m("div")(({ theme: e }) => {
|
|
|
433
432
|
minWidth: 0,
|
|
434
433
|
paddingTop: f(o[3]),
|
|
435
434
|
paddingBottom: f(o[3]),
|
|
436
|
-
"& + &": { borderTop:
|
|
437
|
-
[
|
|
435
|
+
"& + &": { borderTop: ae(t["border.subtle"]) },
|
|
436
|
+
[D.down(N.Tablet)]: {
|
|
438
437
|
flexDirection: "column",
|
|
439
438
|
alignItems: "stretch",
|
|
440
439
|
gap: f(o[3])
|
|
441
440
|
}
|
|
442
441
|
};
|
|
443
|
-
}),
|
|
442
|
+
}), Ge = y("div")(({ theme: e }) => ({
|
|
444
443
|
display: "flex",
|
|
445
444
|
flexDirection: "column",
|
|
446
445
|
gap: f(e.design.space[1]),
|
|
447
446
|
flex: "1 1 auto",
|
|
448
447
|
minWidth: 0,
|
|
449
448
|
overflowWrap: "anywhere"
|
|
450
|
-
})),
|
|
449
|
+
})), Ye = y("label")(({ theme: e }) => ({
|
|
451
450
|
fontSize: f(e.design.typeScale.body),
|
|
452
|
-
fontWeight:
|
|
451
|
+
fontWeight: V.medium,
|
|
453
452
|
color: e.design.tokens["text.primary"]
|
|
454
|
-
})),
|
|
453
|
+
})), Ue = y("div")(({ theme: e }) => ({
|
|
455
454
|
fontSize: f(e.design.typeScale.small),
|
|
456
455
|
lineHeight: e.typography.body2.lineHeight,
|
|
457
456
|
color: e.design.tokens["text.secondary"]
|
|
458
|
-
})),
|
|
457
|
+
})), qe = y("div")({
|
|
459
458
|
display: "flex",
|
|
460
459
|
flex: "none",
|
|
461
460
|
alignItems: "center",
|
|
462
461
|
justifyContent: "flex-end",
|
|
463
462
|
maxWidth: "100%",
|
|
464
|
-
[
|
|
463
|
+
[D.down(N.Tablet)]: {
|
|
465
464
|
justifyContent: "flex-start"
|
|
466
465
|
}
|
|
467
466
|
});
|
|
468
|
-
function
|
|
467
|
+
function ne({
|
|
469
468
|
label: e,
|
|
470
469
|
description: t,
|
|
471
470
|
control: o,
|
|
472
471
|
htmlFor: n
|
|
473
472
|
}) {
|
|
474
|
-
const
|
|
473
|
+
const s = E(), a = `${s}-label`, l = t !== void 0 ? `${s}-description` : void 0;
|
|
475
474
|
return /* @__PURE__ */ g(
|
|
476
|
-
|
|
475
|
+
Fe,
|
|
477
476
|
{
|
|
478
477
|
role: "group",
|
|
479
478
|
"aria-labelledby": a,
|
|
480
479
|
"aria-describedby": l,
|
|
481
480
|
children: [
|
|
482
|
-
/* @__PURE__ */ g(
|
|
481
|
+
/* @__PURE__ */ g(Ge, { children: [
|
|
483
482
|
/* @__PURE__ */ d(
|
|
484
|
-
|
|
483
|
+
Ye,
|
|
485
484
|
{
|
|
486
485
|
id: a,
|
|
487
486
|
htmlFor: n,
|
|
@@ -489,45 +488,45 @@ function ie({
|
|
|
489
488
|
children: e
|
|
490
489
|
}
|
|
491
490
|
),
|
|
492
|
-
t !== void 0 && /* @__PURE__ */ d(
|
|
491
|
+
t !== void 0 && /* @__PURE__ */ d(Ue, { id: l, children: t })
|
|
493
492
|
] }),
|
|
494
|
-
/* @__PURE__ */ d(
|
|
493
|
+
/* @__PURE__ */ d(qe, { children: o })
|
|
495
494
|
]
|
|
496
495
|
}
|
|
497
496
|
);
|
|
498
497
|
}
|
|
499
|
-
const
|
|
498
|
+
const Je = y("span")(({ theme: e }) => ({
|
|
500
499
|
fontSize: f(e.design.typeScale.small),
|
|
501
500
|
color: e.design.tokens["text.secondary"],
|
|
502
501
|
whiteSpace: "nowrap"
|
|
503
|
-
})),
|
|
502
|
+
})), Qe = y("div")(({ theme: e }) => ({
|
|
504
503
|
display: "flex",
|
|
505
504
|
alignItems: "center",
|
|
506
505
|
gap: f(e.design.space[2])
|
|
507
506
|
}));
|
|
508
|
-
function
|
|
507
|
+
function _({
|
|
509
508
|
category: e,
|
|
510
509
|
checked: t,
|
|
511
510
|
locked: o = !1,
|
|
512
511
|
onChange: n
|
|
513
512
|
}) {
|
|
514
|
-
const
|
|
513
|
+
const s = M(), a = E();
|
|
515
514
|
return /* @__PURE__ */ d(
|
|
516
|
-
|
|
515
|
+
ne,
|
|
517
516
|
{
|
|
518
|
-
label:
|
|
517
|
+
label: s.formatRichMessage({
|
|
519
518
|
id: `cookies.category.${e}.title`
|
|
520
519
|
}),
|
|
521
|
-
description:
|
|
520
|
+
description: s.formatRichMessage({
|
|
522
521
|
id: `cookies.category.${e}.description`
|
|
523
522
|
}),
|
|
524
523
|
htmlFor: a,
|
|
525
|
-
control: /* @__PURE__ */ g(
|
|
526
|
-
o && /* @__PURE__ */ d(
|
|
524
|
+
control: /* @__PURE__ */ g(Qe, { children: [
|
|
525
|
+
o && /* @__PURE__ */ d(Je, { children: s.formatRichMessage({
|
|
527
526
|
id: "cookies.category.essentials.always-on"
|
|
528
527
|
}) }),
|
|
529
528
|
/* @__PURE__ */ d(
|
|
530
|
-
|
|
529
|
+
Q,
|
|
531
530
|
{
|
|
532
531
|
id: a,
|
|
533
532
|
checked: t,
|
|
@@ -539,33 +538,33 @@ function $({
|
|
|
539
538
|
}
|
|
540
539
|
);
|
|
541
540
|
}
|
|
542
|
-
function
|
|
541
|
+
function Xe({
|
|
543
542
|
api: e,
|
|
544
543
|
open: t,
|
|
545
544
|
onClose: o
|
|
546
545
|
}) {
|
|
547
|
-
const n =
|
|
548
|
-
|
|
549
|
-
t && (c(
|
|
550
|
-
}, [t,
|
|
551
|
-
const
|
|
546
|
+
const n = M(), { consent: s, save: a } = e, [l, c] = v(!1), [r, u] = v(!1), i = (s == null ? void 0 : s.analytics) ?? !1, p = (s == null ? void 0 : s.marketing) ?? !1;
|
|
547
|
+
T(() => {
|
|
548
|
+
t && (c(i), u(p));
|
|
549
|
+
}, [t, i, p]);
|
|
550
|
+
const m = () => {
|
|
552
551
|
a({ analytics: l, marketing: r }), o();
|
|
553
552
|
};
|
|
554
553
|
return /* @__PURE__ */ g(
|
|
555
|
-
|
|
554
|
+
ce,
|
|
556
555
|
{
|
|
557
556
|
open: t,
|
|
558
557
|
onClose: o,
|
|
559
|
-
size:
|
|
558
|
+
size: le.Small,
|
|
560
559
|
title: n.formatRichMessage({ id: "cookies.configure.title" }),
|
|
561
|
-
actions: /* @__PURE__ */ g(
|
|
562
|
-
/* @__PURE__ */ d(
|
|
563
|
-
/* @__PURE__ */ d(
|
|
560
|
+
actions: /* @__PURE__ */ g(q, { children: [
|
|
561
|
+
/* @__PURE__ */ d(w, { variant: "text", onClick: o, children: n.formatRichMessage({ id: "cookies.action.cancel" }) }),
|
|
562
|
+
/* @__PURE__ */ d(w, { variant: "contained", onClick: m, children: n.formatRichMessage({ id: "cookies.action.save" }) })
|
|
564
563
|
] }),
|
|
565
564
|
children: [
|
|
566
|
-
/* @__PURE__ */ d(
|
|
565
|
+
/* @__PURE__ */ d(_, { category: "essentials", checked: !0, locked: !0 }),
|
|
567
566
|
/* @__PURE__ */ d(
|
|
568
|
-
|
|
567
|
+
_,
|
|
569
568
|
{
|
|
570
569
|
category: "analytics",
|
|
571
570
|
checked: l,
|
|
@@ -573,7 +572,7 @@ function tt({
|
|
|
573
572
|
}
|
|
574
573
|
),
|
|
575
574
|
/* @__PURE__ */ d(
|
|
576
|
-
|
|
575
|
+
_,
|
|
577
576
|
{
|
|
578
577
|
category: "marketing",
|
|
579
578
|
checked: r,
|
|
@@ -584,36 +583,36 @@ function tt({
|
|
|
584
583
|
}
|
|
585
584
|
);
|
|
586
585
|
}
|
|
587
|
-
const
|
|
588
|
-
const e =
|
|
586
|
+
const z = re(null), Ze = () => {
|
|
587
|
+
const e = J(z);
|
|
589
588
|
if (!e)
|
|
590
589
|
throw new Error(
|
|
591
590
|
"useAbyssCookieConsent must be used inside <AbyssCookieConsentProvider>"
|
|
592
591
|
);
|
|
593
592
|
return e;
|
|
594
|
-
},
|
|
595
|
-
const a =
|
|
593
|
+
}, mt = () => J(z), yt = ({ children: e, consentVersion: t, isAuthenticated: o, domain: n, renderBanner: s }) => {
|
|
594
|
+
const a = Oe({ isAuthenticated: o, consentVersion: t, domain: n }), [l, c] = v(!1), r = b(() => c(!0), []), u = b(() => c(!1), []), i = H(
|
|
596
595
|
() => ({ ...a, openPreferences: r }),
|
|
597
596
|
[a, r]
|
|
598
|
-
), p =
|
|
599
|
-
return /* @__PURE__ */ g(
|
|
597
|
+
), p = H(() => i.isResolved || l ? null : s ? s(i) : /* @__PURE__ */ d(je, { api: i }), [i, l, s]);
|
|
598
|
+
return /* @__PURE__ */ g(z.Provider, { value: i, children: [
|
|
600
599
|
e,
|
|
601
600
|
p,
|
|
602
601
|
/* @__PURE__ */ d(
|
|
603
|
-
|
|
602
|
+
Xe,
|
|
604
603
|
{
|
|
605
|
-
api:
|
|
604
|
+
api: i,
|
|
606
605
|
open: l,
|
|
607
606
|
onClose: u
|
|
608
607
|
}
|
|
609
608
|
)
|
|
610
609
|
] });
|
|
611
|
-
},
|
|
610
|
+
}, et = y("h2")(({ theme: e }) => ({
|
|
612
611
|
margin: `0 0 ${f(e.design.space[2])}`,
|
|
613
612
|
fontSize: f(e.design.typeScale.sectionTitle),
|
|
614
|
-
fontWeight:
|
|
613
|
+
fontWeight: V.semibold,
|
|
615
614
|
color: e.design.tokens["text.primary"]
|
|
616
|
-
})),
|
|
615
|
+
})), tt = y("div")(({ theme: e }) => ({
|
|
617
616
|
display: "flex",
|
|
618
617
|
marginTop: f(e.design.space[3])
|
|
619
618
|
}));
|
|
@@ -623,19 +622,19 @@ function P({
|
|
|
623
622
|
locked: o = !1,
|
|
624
623
|
onChange: n
|
|
625
624
|
}) {
|
|
626
|
-
const
|
|
625
|
+
const s = M(), a = E();
|
|
627
626
|
return /* @__PURE__ */ d(
|
|
628
|
-
|
|
627
|
+
ne,
|
|
629
628
|
{
|
|
630
|
-
label:
|
|
629
|
+
label: s.formatRichMessage({
|
|
631
630
|
id: `cookies.category.${e}.title`
|
|
632
631
|
}),
|
|
633
|
-
description:
|
|
632
|
+
description: s.formatRichMessage({
|
|
634
633
|
id: `cookies.category.${e}.description`
|
|
635
634
|
}),
|
|
636
635
|
htmlFor: a,
|
|
637
636
|
control: /* @__PURE__ */ d(
|
|
638
|
-
|
|
637
|
+
Q,
|
|
639
638
|
{
|
|
640
639
|
id: a,
|
|
641
640
|
checked: t,
|
|
@@ -646,19 +645,19 @@ function P({
|
|
|
646
645
|
}
|
|
647
646
|
);
|
|
648
647
|
}
|
|
649
|
-
function
|
|
650
|
-
const e =
|
|
651
|
-
return
|
|
652
|
-
c !== void 0 &&
|
|
653
|
-
}, [c, r]), /* @__PURE__ */ g(
|
|
654
|
-
/* @__PURE__ */ d(
|
|
648
|
+
function gt() {
|
|
649
|
+
const e = M(), { consent: t, save: o } = Ze(), [n, s] = v((t == null ? void 0 : t.analytics) ?? !1), [a, l] = v((t == null ? void 0 : t.marketing) ?? !1), c = t == null ? void 0 : t.analytics, r = t == null ? void 0 : t.marketing;
|
|
650
|
+
return T(() => {
|
|
651
|
+
c !== void 0 && s(c), r !== void 0 && l(r);
|
|
652
|
+
}, [c, r]), /* @__PURE__ */ g(X, { padding: 4, children: [
|
|
653
|
+
/* @__PURE__ */ d(et, { children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
655
654
|
/* @__PURE__ */ d(P, { category: "essentials", checked: !0, locked: !0 }),
|
|
656
655
|
/* @__PURE__ */ d(
|
|
657
656
|
P,
|
|
658
657
|
{
|
|
659
658
|
category: "analytics",
|
|
660
659
|
checked: n,
|
|
661
|
-
onChange:
|
|
660
|
+
onChange: s
|
|
662
661
|
}
|
|
663
662
|
),
|
|
664
663
|
/* @__PURE__ */ d(
|
|
@@ -669,8 +668,8 @@ function bt() {
|
|
|
669
668
|
onChange: l
|
|
670
669
|
}
|
|
671
670
|
),
|
|
672
|
-
/* @__PURE__ */ d(
|
|
673
|
-
|
|
671
|
+
/* @__PURE__ */ d(tt, { children: /* @__PURE__ */ d(
|
|
672
|
+
w,
|
|
674
673
|
{
|
|
675
674
|
variant: "contained",
|
|
676
675
|
onClick: () => o({ analytics: n, marketing: a }),
|
|
@@ -680,30 +679,30 @@ function bt() {
|
|
|
680
679
|
] });
|
|
681
680
|
}
|
|
682
681
|
export {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
682
|
+
yt as A,
|
|
683
|
+
je as C,
|
|
684
|
+
Re as D,
|
|
685
|
+
$ as R,
|
|
686
|
+
ne as S,
|
|
687
|
+
mt as a,
|
|
688
|
+
Xe as b,
|
|
689
|
+
gt as c,
|
|
690
|
+
Oe as d,
|
|
691
|
+
pt as e,
|
|
692
|
+
x as f,
|
|
693
|
+
Z as g,
|
|
694
|
+
ye as h,
|
|
695
|
+
ge as i,
|
|
696
|
+
he as j,
|
|
697
|
+
ke as k,
|
|
698
|
+
ve as l,
|
|
699
|
+
be as m,
|
|
700
|
+
ee as n,
|
|
701
|
+
Se as o,
|
|
702
|
+
we as p,
|
|
703
|
+
Te as q,
|
|
704
|
+
Ce as r,
|
|
705
|
+
U as t,
|
|
706
|
+
Ze as u,
|
|
707
|
+
F as w
|
|
709
708
|
};
|