@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.
Files changed (337) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +18 -0
  3. package/catalog/pages/CookieConsent.tsx +1 -1
  4. package/catalog/pages/MobileShell.tsx +75 -39
  5. package/catalog/pages/Tabs.tsx +24 -0
  6. package/catalog/specs/cookie-consent-modal.spec.ts +1 -1
  7. package/catalog/specs/mobile-shell.spec.ts +28 -0
  8. package/dist/{CookieConsentSettings-BGIHx7eH.js → CookieConsentSettings-BzeQZ5tD.js} +223 -224
  9. package/dist/{Surface-B74cXq1M.js → Surface-t4XKtudZ.js} +319 -714
  10. package/dist/Tabs-DXgqVX6V.js +5276 -0
  11. package/dist/components/ScanStatus/InfectedDownloadWarningModal.d.ts +14 -45
  12. package/dist/components/business/AbyssProjectLinkField/AbyssProjectLinkField.d.ts +48 -0
  13. package/dist/components/business/CookieConsent/containing-block.d.ts +1 -1
  14. package/dist/components/business/Deliveries/ScheduledTaskPanel.d.ts +7 -2
  15. package/dist/components/business/Deliveries/deliveries.logic.d.ts +31 -0
  16. package/dist/components/business/Deliveries/deliveries.types.d.ts +24 -0
  17. package/dist/components/business/Deliveries/use-missed-run-count.hook.d.ts +8 -0
  18. package/dist/components/business/Deliveries/use-missed-runs.hook.d.ts +13 -0
  19. package/dist/components/business/Deliveries/use-previous-page-edge.hook.d.ts +22 -0
  20. package/dist/components/business/PendingInvitations/PendingInvitations.d.ts +28 -0
  21. package/dist/components/business/index.d.ts +2 -0
  22. package/dist/components/editors/PdfEditor/PdfEditor.d.ts +2 -2
  23. package/dist/components/editors/PdfEditor/pdf-colors.d.ts +2 -2
  24. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +3 -3
  25. package/dist/components/inputs/date-localization.d.ts +3 -3
  26. package/dist/components/layers/Modal/Modal.d.ts +1 -1
  27. package/dist/components/meaning/Avatar/Avatar.d.ts +2 -0
  28. package/dist/components/mobile/ActionBar/ActionBar.d.ts +2 -1
  29. package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +8 -2
  30. package/dist/components/mobile/MobileShell/MobileShell.d.ts +2 -1
  31. package/dist/components/mobile/MobileShell/MobileShellActionBar.d.ts +7 -0
  32. package/dist/components/mobile/MobileShell/MobileShellPageFrame.d.ts +13 -0
  33. package/dist/components/mobile/index.d.ts +1 -0
  34. package/dist/components/mobile/mobile-layout.d.ts +8 -0
  35. package/dist/components/mobile/test-support/mobile-test-harness.d.ts +5 -0
  36. package/dist/components/structure/AppShell/AppShell.d.ts +2 -2
  37. package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -3
  38. package/dist/cookie-consent.js +2 -2
  39. package/dist/demo/DemoBanner/DemoBanner.d.ts +1 -1
  40. package/dist/{editors-s-GER37R.js → editors-Dt29L0Ux.js} +4074 -4063
  41. package/dist/editors.js +1 -1
  42. package/dist/hooks/use-rich-intl.hook.d.ts +52 -454
  43. package/dist/hooks/use-scroll-overflow-cue.hook.d.ts +8 -2
  44. package/dist/{index-DoWxAfPn.js → index-3hRPEDk5.js} +4 -4
  45. package/dist/{index-DctO0l5q.js → index-BHKOZzg1.js} +1 -1
  46. package/dist/{index-NX_Kd4oz.js → index-BYWSBoej.js} +3 -3
  47. package/dist/{index-genxamHw.js → index-BYWcX6y7.js} +2 -2
  48. package/dist/{index-Dka20zad.js → index-BaS25rA-.js} +2 -2
  49. package/dist/{index-BZgkwoZ5.js → index-BczDLUpv.js} +2 -2
  50. package/dist/{index-BxlF9T05.js → index-Bh0e5MGQ.js} +2 -2
  51. package/dist/{index-CO6rjqWZ.js → index-C3iToWR_.js} +4 -4
  52. package/dist/{index-B635dFQ2.js → index-CNem7pV2.js} +2 -2
  53. package/dist/{index-B_fqzhtm.js → index-Cs5brR68.js} +3 -3
  54. package/dist/{index-D9IW7UEw.js → index-D0E9e2bc.js} +2 -2
  55. package/dist/{index-CXEf_Hel.js → index-D2yo-g20.js} +4 -4
  56. package/dist/{index-1n03jgsr.js → index-DGizXlGr.js} +3 -3
  57. package/dist/{index-CE-4v9ue.js → index-DLZ2_Fhk.js} +3 -3
  58. package/dist/{index-CVN6HOlq.js → index-DbBqHu3d.js} +2 -2
  59. package/dist/{index-B-oGxRVH.js → index-Deq0UIQ5.js} +2 -2
  60. package/dist/{index-8L4OftHM.js → index-Dg0a5ekJ.js} +2 -2
  61. package/dist/{index-yqn8Hbay.js → index-DvcQvaXv.js} +2 -2
  62. package/dist/{index-YkgGwyfx.js → index-ETHoxvZf.js} +2 -2
  63. package/dist/{index-D4kZ3Yip.js → index-na4ea52T.js} +2 -2
  64. package/dist/{index-Bn9RgQrP.js → index-vX7Ua1iM.js} +2 -2
  65. package/dist/index.js +47045 -19954
  66. package/dist/theme/design-media.d.ts +4 -4
  67. package/dist/theme/design-theme.d.ts +1 -5
  68. package/dist/theme/index.d.ts +0 -1
  69. package/dist/translations/en.d.ts +18 -219
  70. package/dist/translations/fr.d.ts +18 -219
  71. package/dist/utils/file.utils.d.ts +2 -2
  72. package/dist/utils/index.d.ts +1 -1
  73. package/dist/utils/notification-target.utils.d.ts +49 -0
  74. package/package.json +8 -16
  75. package/test-results/catalog/.last-run.json +4 -0
  76. package/vite.config.ts +6 -8
  77. package/dist/Tabs-nH2IBqqa.js +0 -1991
  78. package/dist/clsx-OuTLNxxd.js +0 -16
  79. package/dist/design-theme-DtU1zQos.js +0 -27703
  80. package/dist/index-C27b790L.js +0 -3304
  81. package/dist/legacy/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +0 -24
  82. package/dist/legacy/components/Avatars/OrganizationAvatar/index.d.ts +0 -2
  83. package/dist/legacy/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +0 -29
  84. package/dist/legacy/components/Avatars/ProjectAvatar/index.d.ts +0 -2
  85. package/dist/legacy/components/Avatars/UserAvatar/UserAvatar.component.d.ts +0 -25
  86. package/dist/legacy/components/Avatars/UserAvatar/constant.d.ts +0 -8
  87. package/dist/legacy/components/Avatars/UserAvatar/index.d.ts +0 -3
  88. package/dist/legacy/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +0 -18
  89. package/dist/legacy/components/Avatars/UserAvatarList/index.d.ts +0 -2
  90. package/dist/legacy/components/Avatars/index.d.ts +0 -4
  91. package/dist/legacy/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +0 -30
  92. package/dist/legacy/components/Banking/AccountTransactions/index.d.ts +0 -2
  93. package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +0 -12
  94. package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +0 -1
  95. package/dist/legacy/components/Banking/Inputs/index.d.ts +0 -1
  96. package/dist/legacy/components/Banking/index.d.ts +0 -1
  97. package/dist/legacy/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +0 -36
  98. package/dist/legacy/components/Cards/InternalProjectCard/index.d.ts +0 -2
  99. package/dist/legacy/components/Cards/ProjectCard/ProjectCard.component.d.ts +0 -28
  100. package/dist/legacy/components/Cards/ProjectCard/index.d.ts +0 -2
  101. package/dist/legacy/components/Cards/index.d.ts +0 -2
  102. package/dist/legacy/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +0 -21
  103. package/dist/legacy/components/Charts/AbyssBarChart/index.d.ts +0 -1
  104. package/dist/legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +0 -14
  105. package/dist/legacy/components/Charts/AbyssCashFlowChart/index.d.ts +0 -1
  106. package/dist/legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +0 -33
  107. package/dist/legacy/components/Charts/AbyssLineChart/index.d.ts +0 -1
  108. package/dist/legacy/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +0 -18
  109. package/dist/legacy/components/Charts/AbyssPieChart/index.d.ts +0 -1
  110. package/dist/legacy/components/Charts/index.d.ts +0 -4
  111. package/dist/legacy/components/Charts/useNivoTheme.d.ts +0 -65
  112. package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/ApplicationSentinelTypeChip.component.d.ts +0 -7
  113. package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/index.d.ts +0 -1
  114. package/dist/legacy/components/Chips/LogTypeChip/LogTypeChip.component.d.ts +0 -7
  115. package/dist/legacy/components/Chips/LogTypeChip/index.d.ts +0 -1
  116. package/dist/legacy/components/Chips/ProjectStatusChip/ProjectStatusChip.component.d.ts +0 -7
  117. package/dist/legacy/components/Chips/ProjectStatusChip/index.d.ts +0 -1
  118. package/dist/legacy/components/Chips/WebhookResponseCodeChip/WebhookResponseCodeChip.component.d.ts +0 -6
  119. package/dist/legacy/components/Chips/WebhookResponseCodeChip/index.d.ts +0 -1
  120. package/dist/legacy/components/Chips/index.d.ts +0 -4
  121. package/dist/legacy/components/CommandPalette/AbyssCommandPalette.d.ts +0 -12
  122. package/dist/legacy/components/CommandPalette/index.d.ts +0 -3
  123. package/dist/legacy/components/CommandPalette/types.d.ts +0 -104
  124. package/dist/legacy/components/CommandPalette/useCommandPaletteHotkey.d.ts +0 -10
  125. package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +0 -13
  126. package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts +0 -1
  127. package/dist/legacy/components/CompanySearchAutocomplete/index.d.ts +0 -2
  128. package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.d.ts +0 -70
  129. package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.spec.d.ts +0 -1
  130. package/dist/legacy/components/Data/AbyssTable/AbyssTableCards.component.d.ts +0 -25
  131. package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.d.ts +0 -147
  132. package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +0 -1
  133. package/dist/legacy/components/Data/AbyssTable/index.d.ts +0 -2
  134. package/dist/legacy/components/Data/index.d.ts +0 -1
  135. package/dist/legacy/components/InfoBox/InfoBox.component.d.ts +0 -6
  136. package/dist/legacy/components/InfoBox/index.d.ts +0 -1
  137. package/dist/legacy/components/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +0 -4
  138. package/dist/legacy/components/Inputs/AbyssDatePicker/index.d.ts +0 -1
  139. package/dist/legacy/components/Inputs/AbyssDateTimePicker/AbyssDateTimePicker.component.d.ts +0 -4
  140. package/dist/legacy/components/Inputs/AbyssDateTimePicker/index.d.ts +0 -1
  141. package/dist/legacy/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +0 -35
  142. package/dist/legacy/components/Inputs/AbyssNumberField/format.d.ts +0 -35
  143. package/dist/legacy/components/Inputs/AbyssNumberField/format.spec.d.ts +0 -1
  144. package/dist/legacy/components/Inputs/AbyssNumberField/index.d.ts +0 -2
  145. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +0 -21
  146. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/index.d.ts +0 -2
  147. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +0 -1
  148. package/dist/legacy/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +0 -18
  149. package/dist/legacy/components/Inputs/AbyssSelectOrganization/index.d.ts +0 -2
  150. package/dist/legacy/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +0 -18
  151. package/dist/legacy/components/Inputs/AbyssSelectProject/index.d.ts +0 -2
  152. package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.d.ts +0 -17
  153. package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.spec.d.ts +0 -1
  154. package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.d.ts +0 -14
  155. package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.spec.d.ts +0 -1
  156. package/dist/legacy/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +0 -18
  157. package/dist/legacy/components/Inputs/CloudImport/index.d.ts +0 -3
  158. package/dist/legacy/components/Inputs/ColorPalette/ColorPalette.component.d.ts +0 -23
  159. package/dist/legacy/components/Inputs/ColorPalette/index.d.ts +0 -1
  160. package/dist/legacy/components/Inputs/ColorPicker/ColorPicker.component.d.ts +0 -19
  161. package/dist/legacy/components/Inputs/ColorPicker/index.d.ts +0 -1
  162. package/dist/legacy/components/Inputs/ContextSelector/ContextSelector.component.d.ts +0 -68
  163. package/dist/legacy/components/Inputs/ContextSelector/index.d.ts +0 -2
  164. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +0 -60
  165. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts +0 -1
  166. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts +0 -1
  167. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts +0 -1
  168. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -69
  169. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +0 -1
  170. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts +0 -1
  171. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +0 -15
  172. package/dist/legacy/components/Inputs/DatePeriodPicker/index.d.ts +0 -2
  173. package/dist/legacy/components/Inputs/DropZone/DropZone.component.d.ts +0 -27
  174. package/dist/legacy/components/Inputs/DropZone/DropZone.component.spec.d.ts +0 -1
  175. package/dist/legacy/components/Inputs/DropZone/index.d.ts +0 -1
  176. package/dist/legacy/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +0 -22
  177. package/dist/legacy/components/Inputs/LanguageFlagLabel/index.d.ts +0 -2
  178. package/dist/legacy/components/Inputs/LanguageFlagLabel/language-flags.d.ts +0 -12
  179. package/dist/legacy/components/Inputs/PasswordInput/PasswordInput.component.d.ts +0 -41
  180. package/dist/legacy/components/Inputs/PasswordInput/index.d.ts +0 -1
  181. package/dist/legacy/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -8
  182. package/dist/legacy/components/Inputs/ProjectCategoryBadge/index.d.ts +0 -1
  183. package/dist/legacy/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -39
  184. package/dist/legacy/components/Inputs/ProjectLinkSelector/index.d.ts +0 -2
  185. package/dist/legacy/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
  186. package/dist/legacy/components/Inputs/ProjectTagChip/index.d.ts +0 -1
  187. package/dist/legacy/components/Inputs/index.d.ts +0 -17
  188. package/dist/legacy/components/Invitations/AbyssPendingInvitations.component.d.ts +0 -18
  189. package/dist/legacy/components/Invitations/index.d.ts +0 -2
  190. package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +0 -11
  191. package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +0 -1
  192. package/dist/legacy/components/Layouts/AbyssBillingPlan/index.d.ts +0 -1
  193. package/dist/legacy/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +0 -13
  194. package/dist/legacy/components/Layouts/AbyssDashboardLayout/index.d.ts +0 -1
  195. package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +0 -32
  196. package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +0 -1
  197. package/dist/legacy/components/Layouts/AbyssFamilyBanner/index.d.ts +0 -2
  198. package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +0 -14
  199. package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts +0 -1
  200. package/dist/legacy/components/Layouts/AbyssHeader/index.d.ts +0 -1
  201. package/dist/legacy/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +0 -25
  202. package/dist/legacy/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +0 -27
  203. package/dist/legacy/components/Layouts/AbyssLayoutProvider/index.d.ts +0 -3
  204. package/dist/legacy/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +0 -3
  205. package/dist/legacy/components/Layouts/AbyssLoadingScreen/index.d.ts +0 -1
  206. package/dist/legacy/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +0 -8
  207. package/dist/legacy/components/Layouts/AbyssSearchBar/index.d.ts +0 -1
  208. package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +0 -35
  209. package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +0 -9
  210. package/dist/legacy/components/Layouts/AbyssSidebar/index.d.ts +0 -3
  211. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +0 -8
  212. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +0 -1
  213. package/dist/legacy/components/Layouts/AbyssThemeToggle/index.d.ts +0 -1
  214. package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +0 -19
  215. package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +0 -11
  216. package/dist/legacy/components/Layouts/DashboardLayout/index.d.ts +0 -2
  217. package/dist/legacy/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +0 -7
  218. package/dist/legacy/components/Layouts/LoadingLayout/index.d.ts +0 -1
  219. package/dist/legacy/components/Layouts/MainLayout/MainLayout.layout.d.ts +0 -9
  220. package/dist/legacy/components/Layouts/MainLayout/index.d.ts +0 -1
  221. package/dist/legacy/components/Layouts/index.d.ts +0 -12
  222. package/dist/legacy/components/Modals/AbyssModal/AbyssModal.component.d.ts +0 -18
  223. package/dist/legacy/components/Modals/AbyssModal/index.d.ts +0 -1
  224. package/dist/legacy/components/Modals/ConfirmModal/ConfirmModal.d.ts +0 -22
  225. package/dist/legacy/components/Modals/ConfirmModal/index.d.ts +0 -2
  226. package/dist/legacy/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +0 -15
  227. package/dist/legacy/components/Modals/ImportFromCloudModal/index.d.ts +0 -1
  228. package/dist/legacy/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +0 -12
  229. package/dist/legacy/components/Modals/QRCodeModal/index.d.ts +0 -1
  230. package/dist/legacy/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -12
  231. package/dist/legacy/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -38
  232. package/dist/legacy/components/Modals/UserSettingsModal/index.d.ts +0 -2
  233. package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +0 -1
  234. package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +0 -1
  235. package/dist/legacy/components/Modals/index.d.ts +0 -6
  236. package/dist/legacy/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +0 -53
  237. package/dist/legacy/components/QuotaGauge/bubble-placement.d.ts +0 -47
  238. package/dist/legacy/components/QuotaGauge/bubble-placement.spec.d.ts +0 -1
  239. package/dist/legacy/components/QuotaGauge/gauge-highlight.spec.d.ts +0 -1
  240. package/dist/legacy/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +0 -1
  241. package/dist/legacy/components/QuotaGauge/gauge-segments.d.ts +0 -80
  242. package/dist/legacy/components/QuotaGauge/gauge-segments.spec.d.ts +0 -1
  243. package/dist/legacy/components/QuotaGauge/index.d.ts +0 -6
  244. package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +0 -83
  245. package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +0 -1
  246. package/dist/legacy/components/QuotaOffer/index.d.ts +0 -4
  247. package/dist/legacy/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +0 -1
  248. package/dist/legacy/components/QuotaReached/QuotaReachedDialog.component.d.ts +0 -15
  249. package/dist/legacy/components/QuotaReached/index.d.ts +0 -3
  250. package/dist/legacy/components/QuotaReached/quota-service-meta.d.ts +0 -31
  251. package/dist/legacy/components/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +0 -15
  252. package/dist/legacy/components/Spotlight/InternalProjectCard/index.d.ts +0 -1
  253. package/dist/legacy/components/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -20
  254. package/dist/legacy/components/Spotlight/ProjectCard/index.d.ts +0 -1
  255. package/dist/legacy/components/Spotlight/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -7
  256. package/dist/legacy/components/Spotlight/ProjectCategoryBadge/index.d.ts +0 -1
  257. package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -10
  258. package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.spec.d.ts +0 -1
  259. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +0 -2
  260. package/dist/legacy/components/Spotlight/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
  261. package/dist/legacy/components/Spotlight/ProjectTagChip/index.d.ts +0 -1
  262. package/dist/legacy/components/Spotlight/index.d.ts +0 -5
  263. package/dist/legacy/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +0 -12
  264. package/dist/legacy/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +0 -39
  265. package/dist/legacy/components/Utils/AbyssDrawer/index.d.ts +0 -2
  266. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +0 -10
  267. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +0 -1
  268. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +0 -11
  269. package/dist/legacy/components/Utils/AbyssErrorPage/index.d.ts +0 -3
  270. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +0 -6
  271. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +0 -1
  272. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/index.d.ts +0 -1
  273. package/dist/legacy/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +0 -11
  274. package/dist/legacy/components/Utils/AbyssHeaderTitle/index.d.ts +0 -1
  275. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +0 -43
  276. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +0 -1
  277. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +0 -15
  278. package/dist/legacy/components/Utils/AbyssLayoutMenu/index.d.ts +0 -3
  279. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +0 -36
  280. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +0 -1
  281. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +0 -30
  282. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts +0 -1
  283. package/dist/legacy/components/Utils/AbyssLayoutNotifications/index.d.ts +0 -4
  284. package/dist/legacy/components/Utils/ImportButton/ImportButton.component.d.ts +0 -19
  285. package/dist/legacy/components/Utils/ImportButton/index.d.ts +0 -2
  286. package/dist/legacy/components/Utils/WaterParticles/WaterParticles.component.d.ts +0 -14
  287. package/dist/legacy/components/Utils/WaterParticles/index.d.ts +0 -1
  288. package/dist/legacy/components/Utils/index.d.ts +0 -10
  289. package/dist/legacy/components/aria-labels-i18n.spec.d.ts +0 -1
  290. package/dist/legacy/components/commons-labels-i18n.spec.d.ts +0 -1
  291. package/dist/legacy/components/index.d.ts +0 -18
  292. package/dist/legacy/components/theme-mode-colors.spec.d.ts +0 -1
  293. package/dist/legacy/fonts.css +0 -7
  294. package/dist/legacy/hooks/confirm-modal/confirm-modal.context.d.ts +0 -10
  295. package/dist/legacy/hooks/confirm-modal/index.d.ts +0 -1
  296. package/dist/legacy/hooks/index.d.ts +0 -1
  297. package/dist/legacy/index.d.ts +0 -4
  298. package/dist/legacy/legacy-editors-removed.spec.d.ts +0 -1
  299. package/dist/legacy/legacy-support-removed.spec.d.ts +0 -1
  300. package/dist/legacy/legacy-under-new-theme.spec.d.ts +0 -1
  301. package/dist/legacy/theme/augmentation.d.ts +0 -84
  302. package/dist/legacy/theme/components/buttons.d.ts +0 -35
  303. package/dist/legacy/theme/components/data-display.d.ts +0 -4
  304. package/dist/legacy/theme/components/index.d.ts +0 -2
  305. package/dist/legacy/theme/components/inputs.d.ts +0 -4
  306. package/dist/legacy/theme/components/inputs.spec.d.ts +0 -1
  307. package/dist/legacy/theme/components/navigation.d.ts +0 -4
  308. package/dist/legacy/theme/components/surfaces.d.ts +0 -4
  309. package/dist/legacy/theme/core-breakpoints-under-legacy-theme.spec.d.ts +0 -1
  310. package/dist/legacy/theme/create-theme.d.ts +0 -9
  311. package/dist/legacy/theme/create-theme.spec.d.ts +0 -1
  312. package/dist/legacy/theme/disabled-contrast.spec.d.ts +0 -1
  313. package/dist/legacy/theme/index.d.ts +0 -23
  314. package/dist/legacy/theme/legacy-tokens.d.ts +0 -3
  315. package/dist/legacy/theme/new-components-under-legacy-theme.spec.d.ts +0 -1
  316. package/dist/legacy/theme/palettes/common.d.ts +0 -74
  317. package/dist/legacy/theme/palettes/dark.d.ts +0 -67
  318. package/dist/legacy/theme/palettes/light.d.ts +0 -67
  319. package/dist/legacy/theme/tokens/animations.d.ts +0 -33
  320. package/dist/legacy/theme/tokens/borders.d.ts +0 -14
  321. package/dist/legacy/theme/tokens/colors.d.ts +0 -129
  322. package/dist/legacy/theme/tokens/shadows.d.ts +0 -53
  323. package/dist/legacy/theme/tokens/transitions.d.ts +0 -25
  324. package/dist/legacy/theme/tokens/typography.d.ts +0 -99
  325. package/dist/legacy/utils/billing-colors.utils.d.ts +0 -7
  326. package/dist/legacy/utils/color.utils.d.ts +0 -11
  327. package/dist/legacy/utils/file.utils.d.ts +0 -2
  328. package/dist/legacy/utils/index.d.ts +0 -3
  329. package/dist/legacy.d.ts +0 -2
  330. package/dist/legacy.js +0 -16282
  331. package/dist/theme/DesignCssVariables.d.ts +0 -12
  332. package/dist/theme/DesignCssVariables.spec.d.ts +0 -1
  333. package/dist/utils/share-notification.utils.d.ts +0 -10
  334. /package/dist/{legacy/components/Cards/project-card-date.spec.d.ts → components/business/AbyssProjectLinkField/AbyssProjectLinkField.spec.d.ts} +0 -0
  335. /package/dist/{legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts → components/business/PendingInvitations/PendingInvitations.spec.d.ts} +0 -0
  336. /package/dist/{legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts → components/mobile/MobileShell/MobileShellActionBar.spec.d.ts} +0 -0
  337. /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 X, jsx as d } from "react/jsx-runtime";
2
- import { useState as v, useCallback as b, useEffect as R, useLayoutEffect as ae, useId as w, useRef as ce, createContext as le, useContext as Z, useMemo as K } from "react";
3
- import x from "@mui/material/Button";
4
- import ee from "@mui/material/Switch";
5
- import { styled as m } from "@mui/material/styles";
6
- import { T as j, t as I, w as M, p as f, d as N, D as V, S as O, a as z, u as E, M as C, b as te, h as de, c as ue, e as fe } from "./Surface-B74cXq1M.js";
7
- import { useQuery as pe, useMutation as me } from "@tanstack/react-query";
8
- import { AbyssCore as F } from "@abyss-project/main";
9
- import { createPortal as ye } from "react-dom";
10
- import ge from "@mui/material/GlobalStyles";
11
- import he from "@mui/material/Link";
12
- const ht = "2026-11-03", T = "abyssCookieConsent", ne = 183, ke = ne * 24 * 60 * 60 * 1e3, ve = ne * 24 * 60 * 60, be = "/", Ae = "Lax", Ce = (e) => btoa(JSON.stringify(e)), Se = (e) => {
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
- }, oe = (e, t, o = Date.now()) => {
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 < ke;
24
- }, we = () => typeof window > "u" ? !1 : window.location.protocol === "https:", se = (e, t) => {
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=${be}`,
26
+ `Path=${he}`,
27
27
  `Max-Age=${t}`,
28
- `SameSite=${Ae}`
28
+ `SameSite=${ke}`
29
29
  ];
30
- return e.domain && o.push(`Domain=${e.domain}`), we() && o.push("Secure"), o.join("; ");
31
- }, Ee = () => {
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(`${T}=`));
35
- return e ? Se(e.slice(T.length + 1)) : null;
36
- }, G = (e, t = {}) => {
37
- typeof document > "u" || (document.cookie = `${T}=${Ce(
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
- )}; ${se(t, ve)}`);
40
- }, Me = (e = {}) => {
41
- typeof document > "u" || (document.cookie = `${T}=; ${se(e, 0)}`);
39
+ )}; ${te(t, ge)}`);
40
+ }, Se = (e = {}) => {
41
+ typeof document > "u" || (document.cookie = `${x}=; ${te(e, 0)}`);
42
42
  };
43
- var D = /* @__PURE__ */ ((e) => (e.NOOP = "noop", e.ADOPT_DB = "adopt-db", e.PUSH_COOKIE = "push-cookie", e))(D || {});
44
- const Y = (e) => ({
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
- }), Oe = (e, t) => {
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: Y(t) };
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: Y(t) } : o > n ? { action: "push-cookie", value: e } : { action: "noop", value: e };
61
- }, Te = (e) => ({
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
- }), U = (e) => ({
67
+ }), Y = (e) => ({
68
68
  a: e.analytics,
69
69
  m: e.marketing,
70
70
  d: e.decidedAt,
71
71
  v: e.consentVersion
72
- }), Re = (e) => {
73
- const t = Ee();
74
- return !t || !oe(t, e) ? null : Te(t);
75
- }, xe = (e) => {
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
- () => Re(e.consentVersion)
78
- ), n = pe({
77
+ () => Me(e.consentVersion)
78
+ ), n = de({
79
79
  queryKey: ["cookie-consent", "me"],
80
- queryFn: async () => (await F.sdk.user.cookieConsent.get()).data.consent,
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
- }), i = me({
85
- mutationFn: async (s) => (await F.sdk.user.cookieConsent.upsert({
86
- analytics: s.analytics,
87
- marketing: s.marketing,
88
- decidedAt: s.decidedAt,
89
- consentVersion: s.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
- (s) => {
93
- G(U(s), { domain: e.domain }), o(s), e.isAuthenticated && i.mutate(s);
92
+ (i) => {
93
+ F(Y(i), { domain: e.domain }), o(i), e.isAuthenticated && s.mutate(i);
94
94
  },
95
- [e.domain, e.isAuthenticated, i]
95
+ [e.domain, e.isAuthenticated, s]
96
96
  );
97
- R(() => {
97
+ T(() => {
98
98
  if (!e.isAuthenticated || n.isLoading || n.isError)
99
99
  return;
100
- const s = n.data ?? null, p = s !== null && oe(
100
+ const i = n.data ?? null, p = i !== null && ee(
101
101
  {
102
- a: s.analytics,
103
- m: s.marketing,
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(s.decidedAt),
106
- v: s.consentVersion
105
+ d: String(i.decidedAt),
106
+ v: i.consentVersion
107
107
  },
108
108
  e.consentVersion
109
- ), y = Oe(t, p ? s : null);
110
- y.action === D.ADOPT_DB && y.value ? (G(U(y.value), { domain: e.domain }), o(y.value)) : y.action === D.PUSH_COOKIE && y.value && i.mutate(y.value);
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
- (s) => {
129
+ (i) => {
130
130
  a({
131
131
  essentials: !0,
132
- analytics: s.analytics,
133
- marketing: s.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
- Me({ domain: e.domain }), o(null);
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
- }, Ie = "https://abyss-project.fr/cgu";
151
- class Le {
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(j);
164
+ t.style.removeProperty(K);
165
165
  return;
166
166
  }
167
167
  t.style.setProperty(
168
- j,
168
+ K,
169
169
  `${Math.max(...this.claims.values())}px`
170
170
  );
171
171
  }
172
172
  }
173
- const q = new Le(), _e = () => {
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
- }, $e = /* @__PURE__ */ new Set([
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
- ]), Pe = /* @__PURE__ */ new Set([
195
+ ]), Le = /* @__PURE__ */ new Set([
196
196
  "paint",
197
197
  "layout",
198
198
  "strict",
199
199
  "content"
200
- ]), De = /* @__PURE__ */ new Set(["size", "inline-size"]), k = (e) => e !== "" && e !== "none", L = (e, t) => e.split(/[\s,]+/).some((o) => t.has(o)), _ = [
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) => L(e, Pe)
222
+ creates: (e) => I(e, Le)
223
223
  },
224
224
  {
225
225
  property: "will-change",
226
226
  neutral: "auto",
227
- creates: (e) => L(e, $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) => L(e, De)
233
+ creates: (e) => I(e, _e)
234
234
  }
235
- ], Ne = (e, t) => {
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
- }, Ve = (e) => typeof e.getAnimations == "function" && e.getAnimations().length > 0, ze = (e, t) => {
242
- const o = Ne(e, t), n = /* @__PURE__ */ new Map();
243
- let i = null;
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
- i == null || i.disconnect(), o.forEach((c) => {
245
+ s == null || s.disconnect(), o.forEach((c) => {
246
246
  let r = n.get(c);
247
- if (_.filter(
248
- (s) => (r == null ? void 0 : r.owned.has(s.property)) === !0 && !a(c, s)
249
- ).forEach((s) => r == null ? void 0 : r.owned.delete(s.property)), Ve(c))
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
- _.forEach((s) => {
253
- const { property: p, neutral: y } = s;
254
- (r == null ? void 0 : r.owned.has(p)) === !0 || c.style.getPropertyValue(p) !== "" || !s.creates(u.getPropertyValue(p).trim()) || (r === void 0 && (r = {
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, y, "important"));
257
+ }, n.set(c, r)), r.owned.add(p), c.style.setProperty(p, m, "important"));
258
258
  });
259
259
  }), o.forEach(
260
- (c) => i == null ? void 0 : i.observe(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 i = new MutationObserver(l), t.addEventListener("transitionend", l), t.addEventListener("transitioncancel", l), t.addEventListener("animationend", l), l(), () => {
267
- i == null || i.disconnect(), i = null, t.removeEventListener("transitionend", l), t.removeEventListener("transitioncancel", l), t.removeEventListener("animationend", l), n.forEach((c, r) => {
268
- _.forEach((u) => {
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", Be = () => {
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 ae(() => {
277
+ return ie(() => {
278
278
  if (e === null)
279
279
  return;
280
- let n = null, i = null, a = 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 = _e(), s = (u == null ? void 0 : u.host) ?? null, p = (u == null ? void 0 : u.surface) ?? document.body;
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 y = (u == null ? void 0 : u.surface) ?? null;
291
- y !== i && (a == null || a(), a = null, i = y, u !== null && (a = ze(u.surface, u.host))), e.removeAttribute("aria-hidden"), s !== n && (n == null || n.removeAttribute(S), s == null || s.setAttribute(S, ""), n = s, o(s));
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
- }, J = m(x)(({ theme: e }) => I(e)), We = m("div")(({ theme: e }) => {
298
- const { space: t, elevations: o, durations: n, easings: i } = e.design;
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: M(O.Bottom, t[6]),
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 ${i.sheet}`
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
- [N.down(V.Tablet)]: {
319
- bottom: M(O.Bottom, t[3]),
320
- right: M(O.Right, t[3]),
321
- left: M(O.Left, t[3]),
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
- }), He = m("h2")(({ theme: e }) => ({
326
+ }), ze = y("h2")(({ theme: e }) => ({
327
327
  margin: 0,
328
328
  fontSize: f(e.design.typeScale.sectionTitle),
329
- fontWeight: z.semibold,
329
+ fontWeight: V.semibold,
330
330
  color: e.design.tokens["text.primary"]
331
- })), Ke = m("p")(({ theme: e }) => ({
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
- })), je = m(he)(({ theme: e }) => ({
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
- })), Fe = m("div")(({ theme: e }) => ({
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
- })), Ge = m(x)(({ theme: e }) => ({
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 Ye({ api: e }) {
351
- const t = E(), { acceptAll: o, rejectAll: n, openPreferences: i } = e, a = w(), l = w(), c = ce(null), { container: r, modalHost: u } = Be();
352
- return R(() => {
353
- const s = c.current;
354
- if (s === null)
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, y = Symbol("cookie-banner-clearance"), h = () => {
357
- const W = Number.parseFloat(getComputedStyle(s).bottom), H = s.getBoundingClientRect().height + (Number.isNaN(W) ? 0 : W), re = f(H);
358
- q.claim(y, H), u === null ? p.style.removeProperty(C) : p.style.setProperty(C, re);
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(s), window.addEventListener("resize", h), () => {
363
- A == null || A.disconnect(), window.removeEventListener("resize", h), q.release(y), p.style.removeProperty(C);
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 : ye(
366
- /* @__PURE__ */ g(X, { children: [
364
+ }, [u]), r === null ? null : fe(
365
+ /* @__PURE__ */ g(q, { children: [
367
366
  /* @__PURE__ */ d(
368
- ge,
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(We, { ref: c, children: /* @__PURE__ */ g(
386
- te,
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(He, { id: a, children: t.formatRichMessage({ id: "cookies.banner.title" }) }),
395
- /* @__PURE__ */ d(Ke, { id: l, children: t.formatRichMessage({ id: "cookies.banner.description" }) }),
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
- je,
396
+ We,
398
397
  {
399
- href: Ie,
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(Fe, { children: [
406
- /* @__PURE__ */ d(J, { variant: "contained", onClick: o, children: t.formatRichMessage({ id: "cookies.action.accept-all" }) }),
407
- /* @__PURE__ */ d(J, { variant: "outlined", onClick: n, children: t.formatRichMessage({ id: "cookies.action.reject-all" }) })
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
- Ge,
409
+ Ke,
411
410
  {
412
411
  variant: "text",
413
412
  size: "small",
414
413
  fullWidth: !0,
415
- onClick: i,
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 Ue = m("div")(({ theme: e }) => {
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: de(t["border.subtle"]) },
437
- [N.down(V.Tablet)]: {
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
- }), qe = m("div")(({ theme: e }) => ({
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
- })), Je = m("label")(({ theme: e }) => ({
449
+ })), Ye = y("label")(({ theme: e }) => ({
451
450
  fontSize: f(e.design.typeScale.body),
452
- fontWeight: z.medium,
451
+ fontWeight: V.medium,
453
452
  color: e.design.tokens["text.primary"]
454
- })), Qe = m("div")(({ theme: e }) => ({
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
- })), Xe = m("div")({
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
- [N.down(V.Tablet)]: {
463
+ [D.down(N.Tablet)]: {
465
464
  justifyContent: "flex-start"
466
465
  }
467
466
  });
468
- function ie({
467
+ function ne({
469
468
  label: e,
470
469
  description: t,
471
470
  control: o,
472
471
  htmlFor: n
473
472
  }) {
474
- const i = w(), a = `${i}-label`, l = t !== void 0 ? `${i}-description` : void 0;
473
+ const s = E(), a = `${s}-label`, l = t !== void 0 ? `${s}-description` : void 0;
475
474
  return /* @__PURE__ */ g(
476
- Ue,
475
+ Fe,
477
476
  {
478
477
  role: "group",
479
478
  "aria-labelledby": a,
480
479
  "aria-describedby": l,
481
480
  children: [
482
- /* @__PURE__ */ g(qe, { children: [
481
+ /* @__PURE__ */ g(Ge, { children: [
483
482
  /* @__PURE__ */ d(
484
- Je,
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(Qe, { id: l, children: t })
491
+ t !== void 0 && /* @__PURE__ */ d(Ue, { id: l, children: t })
493
492
  ] }),
494
- /* @__PURE__ */ d(Xe, { children: o })
493
+ /* @__PURE__ */ d(qe, { children: o })
495
494
  ]
496
495
  }
497
496
  );
498
497
  }
499
- const Q = m(x)(({ theme: e }) => I(e)), Ze = m("span")(({ theme: e }) => ({
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
- })), et = m("div")(({ theme: e }) => ({
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 i = E(), a = w();
513
+ const s = M(), a = E();
515
514
  return /* @__PURE__ */ d(
516
- ie,
515
+ ne,
517
516
  {
518
- label: i.formatRichMessage({
517
+ label: s.formatRichMessage({
519
518
  id: `cookies.category.${e}.title`
520
519
  }),
521
- description: i.formatRichMessage({
520
+ description: s.formatRichMessage({
522
521
  id: `cookies.category.${e}.description`
523
522
  }),
524
523
  htmlFor: a,
525
- control: /* @__PURE__ */ g(et, { children: [
526
- o && /* @__PURE__ */ d(Ze, { children: i.formatRichMessage({
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
- ee,
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 tt({
541
+ function Xe({
543
542
  api: e,
544
543
  open: t,
545
544
  onClose: o
546
545
  }) {
547
- const n = E(), { consent: i, save: a } = e, [l, c] = v(!1), [r, u] = v(!1), s = (i == null ? void 0 : i.analytics) ?? !1, p = (i == null ? void 0 : i.marketing) ?? !1;
548
- R(() => {
549
- t && (c(s), u(p));
550
- }, [t, s, p]);
551
- const y = () => {
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
- ue,
554
+ ce,
556
555
  {
557
556
  open: t,
558
557
  onClose: o,
559
- size: fe.Small,
558
+ size: le.Small,
560
559
  title: n.formatRichMessage({ id: "cookies.configure.title" }),
561
- actions: /* @__PURE__ */ g(X, { children: [
562
- /* @__PURE__ */ d(Q, { variant: "text", onClick: o, children: n.formatRichMessage({ id: "cookies.action.cancel" }) }),
563
- /* @__PURE__ */ d(Q, { variant: "contained", onClick: y, children: n.formatRichMessage({ id: "cookies.action.save" }) })
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($, { category: "essentials", checked: !0, locked: !0 }),
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 B = le(null), nt = () => {
588
- const e = Z(B);
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
- }, kt = () => Z(B), vt = ({ children: e, consentVersion: t, isAuthenticated: o, domain: n, renderBanner: i }) => {
595
- const a = xe({ isAuthenticated: o, consentVersion: t, domain: n }), [l, c] = v(!1), r = b(() => c(!0), []), u = b(() => c(!1), []), s = K(
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 = K(() => s.isResolved || l ? null : i ? i(s) : /* @__PURE__ */ d(Ye, { api: s }), [s, l, i]);
599
- return /* @__PURE__ */ g(B.Provider, { value: s, children: [
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
- tt,
602
+ Xe,
604
603
  {
605
- api: s,
604
+ api: i,
606
605
  open: l,
607
606
  onClose: u
608
607
  }
609
608
  )
610
609
  ] });
611
- }, ot = m(x)(({ theme: e }) => I(e)), st = m("h2")(({ theme: e }) => ({
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: z.semibold,
613
+ fontWeight: V.semibold,
615
614
  color: e.design.tokens["text.primary"]
616
- })), it = m("div")(({ theme: e }) => ({
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 i = E(), a = w();
625
+ const s = M(), a = E();
627
626
  return /* @__PURE__ */ d(
628
- ie,
627
+ ne,
629
628
  {
630
- label: i.formatRichMessage({
629
+ label: s.formatRichMessage({
631
630
  id: `cookies.category.${e}.title`
632
631
  }),
633
- description: i.formatRichMessage({
632
+ description: s.formatRichMessage({
634
633
  id: `cookies.category.${e}.description`
635
634
  }),
636
635
  htmlFor: a,
637
636
  control: /* @__PURE__ */ d(
638
- ee,
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 bt() {
650
- const e = E(), { consent: t, save: o } = nt(), [n, i] = 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;
651
- return R(() => {
652
- c !== void 0 && i(c), r !== void 0 && l(r);
653
- }, [c, r]), /* @__PURE__ */ g(te, { padding: 4, children: [
654
- /* @__PURE__ */ d(st, { children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
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: i
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(it, { children: /* @__PURE__ */ d(
673
- ot,
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
- vt as A,
684
- Ye as C,
685
- Ie as D,
686
- D as R,
687
- ie as S,
688
- kt as a,
689
- tt as b,
690
- bt as c,
691
- xe as d,
692
- ht as e,
693
- T as f,
694
- ne as g,
695
- ke as h,
696
- ve as i,
697
- be as j,
698
- Ae as k,
699
- Ce as l,
700
- Se as m,
701
- oe as n,
702
- Me as o,
703
- Oe as p,
704
- _e as q,
705
- Ee as r,
706
- q as t,
707
- nt as u,
708
- G as w
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
  };