@abyss-project/commons-front-core 1.0.144 → 1.0.147

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 (82) hide show
  1. package/dist/{CookieConsentSettings.component-DIIK_rRd.js → CookieConsentSettings.component-Dkw8Ye0E.js} +304 -162
  2. package/dist/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +3 -2
  3. package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +3 -2
  4. package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +3 -2
  5. package/dist/components/InfoBox/InfoBox.component.d.ts +1 -1
  6. package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +2 -1
  7. package/dist/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +1 -0
  8. package/dist/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +1 -0
  9. package/dist/components/Inputs/ContextSelector/ContextSelector.component.d.ts +43 -0
  10. package/dist/components/Inputs/ContextSelector/index.d.ts +2 -0
  11. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +2 -0
  12. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +16 -0
  13. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +1 -0
  14. package/dist/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +9 -0
  15. package/dist/components/Inputs/LanguageFlagLabel/index.d.ts +2 -0
  16. package/dist/components/Inputs/LanguageFlagLabel/language-flags.d.ts +2 -0
  17. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +3 -2
  18. package/dist/components/Inputs/index.d.ts +2 -0
  19. package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +1 -1
  20. package/dist/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +24 -0
  21. package/dist/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +1 -0
  22. package/dist/components/Layouts/AbyssFamilyBanner/index.d.ts +2 -0
  23. package/dist/components/Layouts/index.d.ts +1 -0
  24. package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +1 -0
  25. package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +2 -1
  26. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +8 -0
  27. package/dist/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +1 -0
  28. package/dist/components/PdfEditor/operations/actions.d.ts +14 -0
  29. package/dist/components/PdfEditor/operations/rotate-coords.d.ts +19 -0
  30. package/dist/components/PdfEditor/operations/rotate-coords.spec.d.ts +1 -0
  31. package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +3 -0
  32. package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +3 -0
  33. package/dist/components/PdfEditor/signature/resolve-asset.d.ts +3 -0
  34. package/dist/components/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
  35. package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +2 -1
  36. package/dist/components/PdfEditor/tools/SignatureTool.d.ts +3 -0
  37. package/dist/components/PdfEditor/tools/Toolbar.d.ts +6 -0
  38. package/dist/components/PdfEditor/types.d.ts +13 -5
  39. package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +3 -1
  40. package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +6 -2
  41. package/dist/components/PdfEditor/viewer/ViewerControls.d.ts +15 -0
  42. package/dist/components/QuotaReached/billing-quota-error.spec.d.ts +1 -0
  43. package/dist/components/Support/types.d.ts +6 -6
  44. package/dist/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +2 -1
  45. package/dist/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +6 -0
  46. package/dist/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +1 -0
  47. package/dist/components/Utils/AbyssFamilyMenuSection/index.d.ts +1 -0
  48. package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +7 -1
  49. package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +1 -1
  50. package/dist/components/Utils/index.d.ts +1 -0
  51. package/dist/cookie-consent.js +1 -1
  52. package/dist/hooks/confirm-modal/confirm-modal.context.d.ts +3 -3
  53. package/dist/hooks/use-public-users.hook.d.ts +1 -0
  54. package/dist/hooks/use-public-users.hook.spec.d.ts +1 -0
  55. package/dist/hooks/use-rich-intl.hook.d.ts +172 -0
  56. package/dist/{index-0qb6YhgV.js → index-2CKJrPca.js} +2 -2
  57. package/dist/{index-CgrJ7FhF.js → index-B3Q0CXvH.js} +2 -2
  58. package/dist/{index-rTu81tl5.js → index-BHkn2ltL.js} +2 -2
  59. package/dist/{index-eTVkFOlH.js → index-BL7GRhPa.js} +4 -4
  60. package/dist/{index-DgtjymrE.js → index-BOsYmSCD.js} +31144 -29328
  61. package/dist/{index-DRhJX2fG.js → index-BW9Bye_5.js} +3 -3
  62. package/dist/{index-VTLXfj7y.js → index-BqukycfU.js} +3 -3
  63. package/dist/{index-CYTUtJ1a.js → index-C2KsBRfQ.js} +2 -2
  64. package/dist/{index-D7xEmIDx.js → index-CaN4t0Xc.js} +2 -2
  65. package/dist/{index-1u1el1f5.js → index-CrfvkYYN.js} +2 -2
  66. package/dist/{index-CrKObS9o.js → index-Cx0vAIWv.js} +2 -2
  67. package/dist/{index-Cbmdxst-.js → index-D8zo5pJ7.js} +3 -3
  68. package/dist/{index-HKLND03d.js → index-DBRSsvnV.js} +2 -2
  69. package/dist/{index-BpPAOM8y.js → index-DCJSXRWb.js} +1 -1
  70. package/dist/{index-ClzOO_BD.js → index-DCjRpdx3.js} +4 -4
  71. package/dist/{index-CMWMj2q-.js → index-DFfm18gp.js} +2 -2
  72. package/dist/{index-CadocGiW.js → index-DayoEcuw.js} +2 -2
  73. package/dist/{index-D5bHj5Xy.js → index-Dn-WBCKE.js} +2 -2
  74. package/dist/{index-ld9SEAyd.js → index-EZoUoL9o.js} +3 -3
  75. package/dist/{index-BlAxx0qM.js → index-GG9dANvs.js} +4 -4
  76. package/dist/{index-Dbd_xKL4.js → index-HwfQ82MI.js} +2 -2
  77. package/dist/{index-DZIEFA9C.js → index-xJbVPHgr.js} +2 -2
  78. package/dist/index.js +215 -208
  79. package/dist/translations/en.d.ts +70 -0
  80. package/dist/translations/family-i18n.spec.d.ts +1 -0
  81. package/dist/translations/fr.d.ts +70 -0
  82. package/package.json +4 -4
@@ -1,8 +1,8 @@
1
- import { jsx as i, jsxs as A, Fragment as $ } from "react/jsx-runtime";
2
- import { useCallback as C, useMemo as x, useState as y, useEffect as z, createContext as Q, useContext as ee } from "react";
3
- import { Paper as te, Stack as M, Box as N, Typography as m, Button as f, Dialog as oe, DialogTitle as ie, DialogContent as re, FormControlLabel as b, Checkbox as _, DialogActions as se, Card as ne, CardContent as ae } from "@mui/material";
1
+ import { jsx as i, jsxs as g, Fragment as $ } from "react/jsx-runtime";
2
+ import { useCallback as O, useMemo as x, useState as b, useEffect as z, createContext as Q, useContext as ee } from "react";
3
+ import { Paper as te, Stack as P, Box as I, Typography as m, Button as C, Dialog as oe, DialogTitle as ie, DialogContent as re, FormControlLabel as R, Checkbox as v, DialogActions as se, Card as ae, CardContent as ne } from "@mui/material";
4
4
  import { useIntl as le } from "react-intl";
5
- import { UserLanguage as R, enTranslation as ce, frTranslation as de, AbyssCore as k } from "@abyss-project/main";
5
+ import { UserLanguage as y, enTranslation as ce, frTranslation as de, AbyssCore as k } from "@abyss-project/main";
6
6
  import { useQuery as ue, useMutation as pe } from "@tanstack/react-query";
7
7
  const q = {
8
8
  50: "#EEF2FF",
@@ -31,7 +31,7 @@ const q = {
31
31
  850: "#1C1C1E",
32
32
  900: "#18181B",
33
33
  950: "#09090B"
34
- }, Ae = {
34
+ }, ge = {
35
35
  50: "#ECFEFF",
36
36
  100: "#CFFAFE",
37
37
  200: "#A5F3FC",
@@ -54,7 +54,7 @@ const q = {
54
54
  700: "#B45309",
55
55
  800: "#92400E",
56
56
  900: "#78350F"
57
- }, Ee = {
57
+ }, Ae = {
58
58
  50: "#FEF2F2",
59
59
  100: "#FEE2E2",
60
60
  200: "#FECACA",
@@ -65,7 +65,7 @@ const q = {
65
65
  700: "#B91C1C",
66
66
  800: "#991B1B",
67
67
  900: "#7F1D1D"
68
- }, Se = {
68
+ }, Ee = {
69
69
  50: "#ECFDF5",
70
70
  100: "#D1FAE5",
71
71
  200: "#A7F3D0",
@@ -76,7 +76,7 @@ const q = {
76
76
  700: "#047857",
77
77
  800: "#065F46",
78
78
  900: "#064E3B"
79
- }, ge = {
79
+ }, Se = {
80
80
  50: "#FAF5FF",
81
81
  100: "#F3E8FF",
82
82
  200: "#E9D5FF",
@@ -87,20 +87,20 @@ const q = {
87
87
  700: "#7C3AED",
88
88
  800: "#6B21A8",
89
89
  900: "#581C87"
90
- }, Te = {
90
+ }, he = {
91
91
  discord: "#5865F2",
92
92
  discordHover: "#4752C4",
93
93
  google: "#4285F4",
94
94
  googleHover: "#3367D6",
95
95
  slack: "#4A154B",
96
96
  slackHover: "#3B1139"
97
- }, he = {
97
+ }, Te = {
98
98
  yellow: "#E1A624",
99
99
  blue: "#317AC1",
100
100
  grey: "#384454",
101
101
  white: "#D4D3DC",
102
102
  braun: "#AD956B"
103
- }, P = [
103
+ }, M = [
104
104
  "#6366F1",
105
105
  // indigo (brand)
106
106
  "#22D3EE",
@@ -126,7 +126,7 @@ const q = {
126
126
  "#C084FC"
127
127
  // purple
128
128
  ], G = [
129
- ...P,
129
+ ...M,
130
130
  "#E879F9",
131
131
  // fuchsia
132
132
  "#2DD4BF",
@@ -143,7 +143,7 @@ const q = {
143
143
  // cyan light
144
144
  "#F9A8D4"
145
145
  // pink light
146
- ], Ie = [
146
+ ], fe = [
147
147
  "#6366f1",
148
148
  // indigo
149
149
  "#8b5cf6",
@@ -176,23 +176,23 @@ const q = {
176
176
  // sky
177
177
  "#3b82f6"
178
178
  // blue
179
- ], Ne = (e) => P[e % P.length], Oe = (e) => G[e % G.length], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
179
+ ], Ie = (e) => M[e % M.length], Ne = (e) => G[e % G.length], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
180
180
  __proto__: null,
181
181
  amber: W,
182
- chipColors: he,
183
- colorPool: P,
182
+ chipColors: Te,
183
+ colorPool: M,
184
184
  colorPoolExtended: G,
185
- cyan: Ae,
186
- getPoolColor: Ne,
187
- getPoolColorExtended: Oe,
188
- green: Se,
185
+ cyan: ge,
186
+ getPoolColor: Ie,
187
+ getPoolColorExtended: Ne,
188
+ green: Ee,
189
189
  indigo: q,
190
190
  neutral: me,
191
- purple: ge,
192
- red: Ee,
193
- social: Te,
194
- tagColorPool: Ie
195
- }, Symbol.toStringTag, { value: "Module" })), Ce = {
191
+ purple: Se,
192
+ red: Ae,
193
+ social: he,
194
+ tagColorPool: fe
195
+ }, Symbol.toStringTag, { value: "Module" })), Oe = {
196
196
  "space-display-name": {
197
197
  personal: "Mon Cloud",
198
198
  "perso-in-org": "Mon Cloud (dans org)",
@@ -220,11 +220,26 @@ const q = {
220
220
  download: "Télécharger",
221
221
  "save-to-cloud": "Enregistrer sur AbyssCloud",
222
222
  "quick-sigs": "Signatures enregistrées",
223
- "quick-texts": "Blocs de texte"
223
+ "quick-texts": "Blocs de texte",
224
+ "toggle-pages": "Afficher/masquer les pages",
225
+ aria: {
226
+ tools: "Outils d’édition",
227
+ history: "Annuler et rétablir",
228
+ "quick-signatures": "Signatures enregistrées"
229
+ }
224
230
  },
225
231
  sidebar: {
226
232
  pages: "Pages ({count})"
227
233
  },
234
+ viewer: {
235
+ "zoom-in": "Zoom avant",
236
+ "zoom-out": "Zoom arrière",
237
+ "fit-width": "Ajuster à la largeur",
238
+ "reset-zoom": "Réinitialiser le zoom",
239
+ "prev-page": "Page précédente",
240
+ "next-page": "Page suivante",
241
+ "page-indicator": "Page {current} sur {total}"
242
+ },
228
243
  insert: {
229
244
  button: "Insérer des pages",
230
245
  reading: "Lecture du PDF…",
@@ -241,14 +256,16 @@ const q = {
241
256
  confirm: "{count, plural, one {Insérer # page} other {Insérer # pages}}"
242
257
  },
243
258
  action: {
244
- cancel: "Annuler"
259
+ cancel: "Annuler",
260
+ delete: "Supprimer"
245
261
  },
246
262
  error: {
247
263
  "load-failed": "Impossible de charger le PDF : {message}",
248
264
  "export-failed": "Échec de l'export : {message}"
249
265
  },
250
266
  text: {
251
- hint: "Cliquez n'importe où sur la page pour ajouter du texte. Entrée ou clic en dehors pour valider. Double-clic pour modifier, glisser pour déplacer."
267
+ hint: "Cliquez n'importe où sur la page pour ajouter du texte. Entrée ou clic en dehors pour valider. Double-clic pour modifier, glisser pour déplacer.",
268
+ placeholder: "Saisir…"
252
269
  },
253
270
  draw: {
254
271
  hint: "Cliquez et glissez sur la page pour dessiner.",
@@ -263,6 +280,7 @@ const q = {
263
280
  "add-button": "Ajouter une signature",
264
281
  "apply-all-pages": "Appliquer sur toutes les pages",
265
282
  "manage-assets": "Gérer mes assets",
283
+ "asset-load-failed": "Impossible de charger cet asset. Veuillez réessayer.",
266
284
  clear: "Effacer",
267
285
  "picker-title": "Ajouter votre signature",
268
286
  tabs: {
@@ -326,7 +344,9 @@ const q = {
326
344
  },
327
345
  "fill-fields": {
328
346
  empty: "Aucun champ remplissable détecté dans ce PDF.",
329
- detected: "{count, plural, one {# champ remplissable détecté.} other {# champs remplissables détectés.}}"
347
+ detected: "{count, plural, one {# champ remplissable détecté.} other {# champs remplissables détectés.}}",
348
+ flatten: "Aplatir les champs à l’export",
349
+ "flatten-hint": "Fige les valeurs et rend le formulaire non modifiable."
330
350
  },
331
351
  page: {
332
352
  inserted: "Page insérée",
@@ -451,7 +471,8 @@ const q = {
451
471
  account: "Mon compte",
452
472
  settings: "Paramètres",
453
473
  billing: "Facturation",
454
- logout: "Déconnexion"
474
+ logout: "Déconnexion",
475
+ family: "Famille"
455
476
  },
456
477
  scope: {
457
478
  personal: "Personnel",
@@ -464,6 +485,12 @@ const q = {
464
485
  decline: "Décliner"
465
486
  }
466
487
  },
488
+ "context-selector": {
489
+ personal: "Mon Espace",
490
+ organization: "Organisation",
491
+ projects: "Projets",
492
+ "org-entry": "Organisation"
493
+ },
467
494
  general: {
468
495
  error: "Une erreur est survenue",
469
496
  retry: "Réessayer",
@@ -510,6 +537,22 @@ const q = {
510
537
  "theme-light": "Mode clair",
511
538
  "theme-dark": "Mode sombre"
512
539
  },
540
+ table: {
541
+ "rows-per-page": "Lignes par page :",
542
+ "displayed-rows": "{from}–{to} sur {count}",
543
+ "displayed-rows-empty": "0 sur 0",
544
+ "rows-count": "{count, plural, one {# ligne} other {# lignes}}",
545
+ "page-of": "{page} / {count}",
546
+ search: "Rechercher…",
547
+ empty: "Aucune donnée",
548
+ "show-filters": "Afficher les filtres",
549
+ "hide-filters": "Masquer les filtres",
550
+ "clear-filters": "Tout effacer",
551
+ "first-page": "Première page",
552
+ "previous-page": "Page précédente",
553
+ "next-page": "Page suivante",
554
+ "last-page": "Dernière page"
555
+ },
513
556
  "file-importation": {
514
557
  "cloud-usage-metrics": {
515
558
  title: "Espaces AbyssCloud",
@@ -920,6 +963,7 @@ const q = {
920
963
  },
921
964
  billing: {
922
965
  "current-plan": "Plan actuel",
966
+ "free-plan": "Gratuit",
923
967
  tier: {
924
968
  FREEMIUM: "Gratuit",
925
969
  DEFAULT: "Standard",
@@ -998,6 +1042,14 @@ const q = {
998
1042
  internal: {
999
1043
  name: "Internal",
1000
1044
  description: "Usage interne Abyss"
1045
+ },
1046
+ "family-free": {
1047
+ name: "Famille",
1048
+ description: "Jusqu'à 6 membres, espaces partagés"
1049
+ },
1050
+ "family-paid": {
1051
+ name: "Famille+",
1052
+ description: "Jusqu'à 12 membres + bonus sur vos quotas perso"
1001
1053
  }
1002
1054
  },
1003
1055
  "plan-feature": {
@@ -1016,6 +1068,25 @@ const q = {
1016
1068
  "open-button-tooltip": "Cliquer pour ajouter un commentaire"
1017
1069
  }
1018
1070
  },
1071
+ family: {
1072
+ banner: {
1073
+ "no-family": "Pas encore de famille",
1074
+ "no-family-cta": "Créer une famille",
1075
+ "no-family-sub": "Souvenirs, fichiers & quotas partagés",
1076
+ pending: "Invitation en attente",
1077
+ manage: "Gérer",
1078
+ "owner-badge": "Propriétaire",
1079
+ // reserved: Banking family — used by host banner
1080
+ "coming-soon": "Banking famille — bientôt disponible",
1081
+ settings: {
1082
+ "no-family-description": "Créez un espace partagé avec vos proches — souvenirs, fichiers, tableaux et plus.",
1083
+ "join-hint": "Pour rejoindre une famille existante, vous devez être invité par un de ses membres : demandez-lui de vous envoyer une invitation.",
1084
+ "pending-description": "Vous avez reçu une invitation. Connectez-vous à Abyss pour l'accepter ou la refuser.",
1085
+ "active-description": "Vous êtes membre de cet espace famille.",
1086
+ "owner-description": "Vous gérez cet espace famille."
1087
+ }
1088
+ }
1089
+ },
1019
1090
  support: {
1020
1091
  status: {
1021
1092
  OPEN: "Ouvert",
@@ -1207,7 +1278,7 @@ const q = {
1207
1278
  ABYSS_TOOLS: "Abyss Tools"
1208
1279
  }
1209
1280
  }
1210
- }, fe = {
1281
+ }, Ce = {
1211
1282
  "space-display-name": {
1212
1283
  personal: "My Cloud",
1213
1284
  "perso-in-org": "My Cloud (in org)",
@@ -1235,11 +1306,26 @@ const q = {
1235
1306
  download: "Download",
1236
1307
  "save-to-cloud": "Save to AbyssCloud",
1237
1308
  "quick-sigs": "Saved signatures",
1238
- "quick-texts": "Text blocks"
1309
+ "quick-texts": "Text blocks",
1310
+ "toggle-pages": "Toggle pages panel",
1311
+ aria: {
1312
+ tools: "Editing tools",
1313
+ history: "Undo and redo",
1314
+ "quick-signatures": "Saved signatures"
1315
+ }
1239
1316
  },
1240
1317
  sidebar: {
1241
1318
  pages: "Pages ({count})"
1242
1319
  },
1320
+ viewer: {
1321
+ "zoom-in": "Zoom in",
1322
+ "zoom-out": "Zoom out",
1323
+ "fit-width": "Fit width",
1324
+ "reset-zoom": "Reset zoom",
1325
+ "prev-page": "Previous page",
1326
+ "next-page": "Next page",
1327
+ "page-indicator": "Page {current} of {total}"
1328
+ },
1243
1329
  insert: {
1244
1330
  button: "Insert pages",
1245
1331
  reading: "Reading PDF…",
@@ -1256,14 +1342,16 @@ const q = {
1256
1342
  confirm: "{count, plural, one {Insert # page} other {Insert # pages}}"
1257
1343
  },
1258
1344
  action: {
1259
- cancel: "Cancel"
1345
+ cancel: "Cancel",
1346
+ delete: "Delete"
1260
1347
  },
1261
1348
  error: {
1262
1349
  "load-failed": "Failed to load PDF: {message}",
1263
1350
  "export-failed": "Export failed: {message}"
1264
1351
  },
1265
1352
  text: {
1266
- hint: "Click anywhere on the page to add text. Press Enter or click outside to confirm. Double-click to edit, drag to move."
1353
+ hint: "Click anywhere on the page to add text. Press Enter or click outside to confirm. Double-click to edit, drag to move.",
1354
+ placeholder: "Type…"
1267
1355
  },
1268
1356
  draw: {
1269
1357
  hint: "Click and drag on the page to draw.",
@@ -1278,6 +1366,7 @@ const q = {
1278
1366
  "add-button": "Add a signature",
1279
1367
  "apply-all-pages": "Apply to every page",
1280
1368
  "manage-assets": "Manage my assets",
1369
+ "asset-load-failed": "Could not load this asset. Please try again.",
1281
1370
  clear: "Clear",
1282
1371
  "picker-title": "Add your signature",
1283
1372
  tabs: {
@@ -1341,7 +1430,9 @@ const q = {
1341
1430
  },
1342
1431
  "fill-fields": {
1343
1432
  empty: "No fillable fields detected in this PDF.",
1344
- detected: "{count, plural, one {# fillable field detected.} other {# fillable fields detected.}}"
1433
+ detected: "{count, plural, one {# fillable field detected.} other {# fillable fields detected.}}",
1434
+ flatten: "Flatten fields on export",
1435
+ "flatten-hint": "Bakes the values in and makes the form read-only."
1345
1436
  },
1346
1437
  page: {
1347
1438
  inserted: "Inserted page",
@@ -1466,7 +1557,8 @@ const q = {
1466
1557
  account: "My account",
1467
1558
  settings: "Settings",
1468
1559
  billing: "Billing",
1469
- logout: "Log out"
1560
+ logout: "Log out",
1561
+ family: "Family"
1470
1562
  },
1471
1563
  scope: {
1472
1564
  personal: "Personal",
@@ -1479,6 +1571,12 @@ const q = {
1479
1571
  decline: "Decline"
1480
1572
  }
1481
1573
  },
1574
+ "context-selector": {
1575
+ personal: "My Space",
1576
+ organization: "Organization",
1577
+ projects: "Projects",
1578
+ "org-entry": "Organization"
1579
+ },
1482
1580
  general: {
1483
1581
  error: "An error occurred",
1484
1582
  retry: "Retry",
@@ -1525,6 +1623,22 @@ const q = {
1525
1623
  "theme-light": "Light mode",
1526
1624
  "theme-dark": "Dark mode"
1527
1625
  },
1626
+ table: {
1627
+ "rows-per-page": "Rows per page:",
1628
+ "displayed-rows": "{from}–{to} of {count}",
1629
+ "displayed-rows-empty": "0 of 0",
1630
+ "rows-count": "{count, plural, one {# row} other {# rows}}",
1631
+ "page-of": "{page} / {count}",
1632
+ search: "Search…",
1633
+ empty: "No data",
1634
+ "show-filters": "Show filters",
1635
+ "hide-filters": "Hide filters",
1636
+ "clear-filters": "Clear all",
1637
+ "first-page": "First page",
1638
+ "previous-page": "Previous page",
1639
+ "next-page": "Next page",
1640
+ "last-page": "Last page"
1641
+ },
1528
1642
  "file-importation": {
1529
1643
  "cloud-usage-metrics": {
1530
1644
  title: "AbyssCloud Spaces",
@@ -1935,6 +2049,7 @@ const q = {
1935
2049
  },
1936
2050
  billing: {
1937
2051
  "current-plan": "Current plan",
2052
+ "free-plan": "Free",
1938
2053
  tier: {
1939
2054
  FREEMIUM: "Free",
1940
2055
  DEFAULT: "Standard",
@@ -2013,6 +2128,14 @@ const q = {
2013
2128
  internal: {
2014
2129
  name: "Internal",
2015
2130
  description: "Abyss internal use"
2131
+ },
2132
+ "family-free": {
2133
+ name: "Family",
2134
+ description: "Up to 6 members, shared spaces"
2135
+ },
2136
+ "family-paid": {
2137
+ name: "Family+",
2138
+ description: "Up to 12 members + a bonus on your personal quotas"
2016
2139
  }
2017
2140
  },
2018
2141
  "plan-feature": {
@@ -2221,12 +2344,31 @@ const q = {
2221
2344
  ABYSS_GAME_ODYSSEY: "Abyss Game Odyssey",
2222
2345
  ABYSS_TOOLS: "Abyss Tools"
2223
2346
  }
2347
+ },
2348
+ family: {
2349
+ banner: {
2350
+ "no-family": "No family yet",
2351
+ "no-family-cta": "Create a family",
2352
+ "no-family-sub": "Shared memories, files & quotas",
2353
+ pending: "Invitation pending",
2354
+ manage: "Manage",
2355
+ "owner-badge": "Owner",
2356
+ // reserved: Banking family — used by host banner
2357
+ "coming-soon": "Family Banking — coming soon",
2358
+ settings: {
2359
+ "no-family-description": "Create a shared space with your loved ones — memories, files, boards and more.",
2360
+ "join-hint": "To join an existing family, a member must invite you: ask them to send you an invitation.",
2361
+ "pending-description": "You have a pending invitation. Sign in to Abyss to accept or decline it.",
2362
+ "active-description": "You are a member of this family space.",
2363
+ "owner-description": "You are managing this family space."
2364
+ }
2365
+ }
2224
2366
  }
2225
2367
  };
2226
2368
  var U, B;
2227
- function Re() {
2369
+ function ye() {
2228
2370
  if (B) return U;
2229
- B = 1, U = o, o.flatten = o, o.unflatten = n;
2371
+ B = 1, U = o, o.flatten = o, o.unflatten = a;
2230
2372
  function e(r) {
2231
2373
  return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
2232
2374
  }
@@ -2235,89 +2377,89 @@ function Re() {
2235
2377
  }
2236
2378
  function o(r, s) {
2237
2379
  s = s || {};
2238
- const u = s.delimiter || ".", p = s.maxDepth, E = s.transformKey || t, I = {};
2239
- function a(T, O, h) {
2240
- h = h || 1, Object.keys(T).forEach(function(c) {
2241
- const l = T[c], d = s.safe && Array.isArray(l), S = Object.prototype.toString.call(l), g = e(l), D = S === "[object Object]" || S === "[object Array]", v = O ? O + u + E(c) : E(c);
2242
- if (!d && !g && D && Object.keys(l).length && (!s.maxDepth || h < p))
2243
- return a(l, v, h + 1);
2244
- I[v] = l;
2380
+ const u = s.delimiter || ".", p = s.maxDepth, A = s.transformKey || t, f = {};
2381
+ function n(h, N, T) {
2382
+ T = T || 1, Object.keys(h).forEach(function(c) {
2383
+ const l = h[c], d = s.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), D = E === "[object Object]" || E === "[object Array]", _ = N ? N + u + A(c) : A(c);
2384
+ if (!d && !S && D && Object.keys(l).length && (!s.maxDepth || T < p))
2385
+ return n(l, _, T + 1);
2386
+ f[_] = l;
2245
2387
  });
2246
2388
  }
2247
- return a(r), I;
2389
+ return n(r), f;
2248
2390
  }
2249
- function n(r, s) {
2391
+ function a(r, s) {
2250
2392
  s = s || {};
2251
- const u = s.delimiter || ".", p = s.overwrite || !1, E = s.transformKey || t, I = {};
2393
+ const u = s.delimiter || ".", p = s.overwrite || !1, A = s.transformKey || t, f = {};
2252
2394
  if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
2253
2395
  return r;
2254
- function T(c) {
2396
+ function h(c) {
2255
2397
  const l = Number(c);
2256
2398
  return isNaN(l) || c.indexOf(".") !== -1 || s.object ? c : l;
2257
2399
  }
2258
- function O(c, l, d) {
2259
- return Object.keys(d).reduce(function(S, g) {
2260
- return S[c + u + g] = d[g], S;
2400
+ function N(c, l, d) {
2401
+ return Object.keys(d).reduce(function(E, S) {
2402
+ return E[c + u + S] = d[S], E;
2261
2403
  }, l);
2262
2404
  }
2263
- function h(c) {
2264
- const l = Object.prototype.toString.call(c), d = l === "[object Array]", S = l === "[object Object]";
2405
+ function T(c) {
2406
+ const l = Object.prototype.toString.call(c), d = l === "[object Array]", E = l === "[object Object]";
2265
2407
  if (c) {
2266
2408
  if (d)
2267
2409
  return !c.length;
2268
- if (S)
2410
+ if (E)
2269
2411
  return !Object.keys(c).length;
2270
2412
  } else return !0;
2271
2413
  }
2272
2414
  return r = Object.keys(r).reduce(function(c, l) {
2273
2415
  const d = Object.prototype.toString.call(r[l]);
2274
- return !(d === "[object Object]" || d === "[object Array]") || h(r[l]) ? (c[l] = r[l], c) : O(
2416
+ return !(d === "[object Object]" || d === "[object Array]") || T(r[l]) ? (c[l] = r[l], c) : N(
2275
2417
  l,
2276
2418
  c,
2277
2419
  o(r[l], s)
2278
2420
  );
2279
2421
  }, {}), Object.keys(r).forEach(function(c) {
2280
- const l = c.split(u).map(E);
2281
- let d = T(l.shift()), S = T(l[0]), g = I;
2282
- for (; S !== void 0; ) {
2422
+ const l = c.split(u).map(A);
2423
+ let d = h(l.shift()), E = h(l[0]), S = f;
2424
+ for (; E !== void 0; ) {
2283
2425
  if (d === "__proto__")
2284
2426
  return;
2285
- const D = Object.prototype.toString.call(g[d]), v = D === "[object Object]" || D === "[object Array]";
2286
- if (!p && !v && typeof g[d] < "u")
2427
+ const D = Object.prototype.toString.call(S[d]), _ = D === "[object Object]" || D === "[object Array]";
2428
+ if (!p && !_ && typeof S[d] < "u")
2287
2429
  return;
2288
- (p && !v || !p && g[d] == null) && (g[d] = typeof S == "number" && !s.object ? [] : {}), g = g[d], l.length > 0 && (d = T(l.shift()), S = T(l[0]));
2430
+ (p && !_ || !p && S[d] == null) && (S[d] = typeof E == "number" && !s.object ? [] : {}), S = S[d], l.length > 0 && (d = h(l.shift()), E = h(l[0]));
2289
2431
  }
2290
- g[d] = n(r[c], s);
2291
- }), I;
2432
+ S[d] = a(r[c], s);
2433
+ }), f;
2292
2434
  }
2293
2435
  return U;
2294
2436
  }
2295
- var w = Re();
2437
+ var w = ye();
2296
2438
  const j = {
2297
- [R.FRENCH]: { ...Ce, common: de },
2298
- [R.ENGLISH]: { ...fe, common: ce }
2439
+ [y.FRENCH]: { ...Oe, common: de },
2440
+ [y.ENGLISH]: { ...Ce, common: ce }
2299
2441
  }, We = {
2300
- [R.FRENCH]: w.flatten(j[R.FRENCH]),
2301
- [R.ENGLISH]: w.flatten(j[R.ENGLISH])
2302
- }, ye = {
2442
+ [y.FRENCH]: w.flatten(j[y.FRENCH]),
2443
+ [y.ENGLISH]: w.flatten(j[y.ENGLISH])
2444
+ }, be = {
2303
2445
  break: /* @__PURE__ */ i("br", {}),
2304
2446
  bold: (...e) => /* @__PURE__ */ i("strong", { children: e }),
2305
2447
  italic: (...e) => /* @__PURE__ */ i("i", { children: e }),
2306
2448
  primary: (...e) => /* @__PURE__ */ i("span", { style: { color: q[500] }, children: e }),
2307
2449
  focus: (...e) => /* @__PURE__ */ i("span", { style: { color: W[400] }, children: e })
2308
2450
  }, K = () => {
2309
- const e = le(), t = C(
2310
- (o, n) => e.formatMessage(o, { ...ye, ...n }),
2451
+ const e = le(), t = O(
2452
+ (o, a) => e.formatMessage(o, { ...be, ...a }),
2311
2453
  [e]
2312
2454
  );
2313
2455
  return x(() => {
2314
- const { formatMessage: o, ...n } = e;
2315
- return { ...n, formatRichMessage: t };
2456
+ const { formatMessage: o, ...a } = e;
2457
+ return { ...a, formatRichMessage: t };
2316
2458
  }, [e, t]);
2317
- }, L = "abyssCookieConsent", J = 365, be = J * 24 * 60 * 60, _e = () => typeof window > "u" ? !1 : window.location.protocol === "https:", X = (e, t) => {
2459
+ }, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60, ve = () => typeof window > "u" ? !1 : window.location.protocol === "https:", X = (e, t) => {
2318
2460
  const o = ["Path=/", `Max-Age=${t}`, "SameSite=Lax"];
2319
- return e.domain && o.push(`Domain=${e.domain}`), _e() && o.push("Secure"), o.join("; ");
2320
- }, ve = () => {
2461
+ return e.domain && o.push(`Domain=${e.domain}`), ve() && o.push("Secure"), o.join("; ");
2462
+ }, _e = () => {
2321
2463
  if (typeof document > "u")
2322
2464
  return null;
2323
2465
  const e = document.cookie.split(";").map((o) => o.trim()).find((o) => o.startsWith(`${L}=`));
@@ -2325,8 +2467,8 @@ const j = {
2325
2467
  return null;
2326
2468
  const t = e.slice(L.length + 1);
2327
2469
  try {
2328
- const o = atob(decodeURIComponent(t)), n = JSON.parse(o);
2329
- return typeof n.a != "boolean" || typeof n.m != "boolean" || typeof n.d != "string" || typeof n.v != "string" ? null : n;
2470
+ const o = atob(decodeURIComponent(t)), a = JSON.parse(o);
2471
+ return typeof a.a != "boolean" || typeof a.m != "boolean" || typeof a.d != "string" || typeof a.v != "string" ? null : a;
2330
2472
  } catch {
2331
2473
  return null;
2332
2474
  }
@@ -2334,7 +2476,7 @@ const j = {
2334
2476
  if (typeof document > "u")
2335
2477
  return;
2336
2478
  const o = btoa(JSON.stringify(e));
2337
- document.cookie = `${L}=${o}; ${X(t, be)}`;
2479
+ document.cookie = `${L}=${o}; ${X(t, Re)}`;
2338
2480
  }, De = (e = {}) => {
2339
2481
  typeof document > "u" || (document.cookie = `${L}=; ${X(e, 0)}`);
2340
2482
  };
@@ -2345,18 +2487,18 @@ const Y = (e) => ({
2345
2487
  marketing: e.marketing,
2346
2488
  decidedAt: typeof e.decidedAt == "string" ? e.decidedAt : new Date(e.decidedAt).toISOString(),
2347
2489
  consentVersion: e.consentVersion
2348
- }), Me = (e, t) => {
2490
+ }), Pe = (e, t) => {
2349
2491
  if (!e && !t)
2350
2492
  return { action: "noop", value: null };
2351
2493
  if (!e && t)
2352
2494
  return { action: "adopt-db", value: Y(t) };
2353
2495
  if (e && !t)
2354
2496
  return { action: "push-cookie", value: e };
2355
- const o = new Date(e.decidedAt).getTime(), n = new Date(
2497
+ const o = new Date(e.decidedAt).getTime(), a = new Date(
2356
2498
  typeof t.decidedAt == "string" ? t.decidedAt : t.decidedAt.toISOString()
2357
2499
  ).getTime();
2358
- return n > o ? { action: "adopt-db", value: Y(t) } : o > n ? { action: "push-cookie", value: e } : { action: "noop", value: e };
2359
- }, Pe = J * 24 * 60 * 60 * 1e3, Le = (e) => ({
2500
+ return a > o ? { action: "adopt-db", value: Y(t) } : o > a ? { action: "push-cookie", value: e } : { action: "noop", value: e };
2501
+ }, Me = J * 24 * 60 * 60 * 1e3, Le = (e) => ({
2360
2502
  essentials: !0,
2361
2503
  analytics: e.a,
2362
2504
  marketing: e.m,
@@ -2370,38 +2512,38 @@ const Y = (e) => ({
2370
2512
  }), Ue = (e, t, o) => {
2371
2513
  if (o.v !== t)
2372
2514
  return !1;
2373
- const n = new Date(e).getTime();
2374
- return Number.isNaN(n) ? !1 : Date.now() - n < Pe;
2515
+ const a = new Date(e).getTime();
2516
+ return Number.isNaN(a) ? !1 : Date.now() - a < Me;
2375
2517
  }, Ge = (e) => {
2376
- const t = ve();
2518
+ const t = _e();
2377
2519
  return !t || !Ue(t.d, e, t) ? null : Le(t);
2378
2520
  }, Fe = (e) => {
2379
- const [t, o] = y(() => Ge(e.consentVersion)), n = ue({
2521
+ const [t, o] = b(() => Ge(e.consentVersion)), a = ue({
2380
2522
  queryKey: ["cookie-consent", "me"],
2381
2523
  queryFn: async () => (await k.sdk.user.cookieConsent.get()).data.consent,
2382
2524
  enabled: e.isAuthenticated,
2383
2525
  retry: !1,
2384
2526
  refetchOnWindowFocus: !1
2385
2527
  }), r = pe({
2386
- mutationFn: async (a) => (await k.sdk.user.cookieConsent.upsert({
2387
- analytics: a.analytics,
2388
- marketing: a.marketing,
2389
- decidedAt: a.decidedAt,
2390
- consentVersion: a.consentVersion
2528
+ mutationFn: async (n) => (await k.sdk.user.cookieConsent.upsert({
2529
+ analytics: n.analytics,
2530
+ marketing: n.marketing,
2531
+ decidedAt: n.decidedAt,
2532
+ consentVersion: n.consentVersion
2391
2533
  })).data.consent
2392
- }), s = C(
2393
- (a) => {
2394
- H(V(a), { domain: e.domain }), o(a), e.isAuthenticated && r.mutate(a);
2534
+ }), s = O(
2535
+ (n) => {
2536
+ H(V(n), { domain: e.domain }), o(n), e.isAuthenticated && r.mutate(n);
2395
2537
  },
2396
2538
  [e.domain, e.isAuthenticated, r]
2397
2539
  );
2398
2540
  z(() => {
2399
- if (!e.isAuthenticated || n.isLoading || n.isError)
2541
+ if (!e.isAuthenticated || a.isLoading || a.isError)
2400
2542
  return;
2401
- const a = Me(t, n.data ?? null);
2402
- a.action === F.ADOPT_DB && a.value ? (H(V(a.value), { domain: e.domain }), o(a.value)) : a.action === F.PUSH_COOKIE && a.value && r.mutate(a.value);
2403
- }, [e.isAuthenticated, n.isLoading, n.isError, n.data]);
2404
- const u = C(() => {
2543
+ const n = Pe(t, a.data ?? null);
2544
+ n.action === F.ADOPT_DB && n.value ? (H(V(n.value), { domain: e.domain }), o(n.value)) : n.action === F.PUSH_COOKIE && n.value && r.mutate(n.value);
2545
+ }, [e.isAuthenticated, a.isLoading, a.isError, a.data]);
2546
+ const u = O(() => {
2405
2547
  s({
2406
2548
  essentials: !0,
2407
2549
  analytics: !0,
@@ -2409,7 +2551,7 @@ const Y = (e) => ({
2409
2551
  decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
2410
2552
  consentVersion: e.consentVersion
2411
2553
  });
2412
- }, [e.consentVersion, s]), p = C(() => {
2554
+ }, [e.consentVersion, s]), p = O(() => {
2413
2555
  s({
2414
2556
  essentials: !0,
2415
2557
  analytics: !1,
@@ -2417,26 +2559,26 @@ const Y = (e) => ({
2417
2559
  decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
2418
2560
  consentVersion: e.consentVersion
2419
2561
  });
2420
- }, [e.consentVersion, s]), E = C(
2421
- (a) => {
2562
+ }, [e.consentVersion, s]), A = O(
2563
+ (n) => {
2422
2564
  s({
2423
2565
  essentials: !0,
2424
- analytics: a.analytics,
2425
- marketing: a.marketing,
2566
+ analytics: n.analytics,
2567
+ marketing: n.marketing,
2426
2568
  decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
2427
2569
  consentVersion: e.consentVersion
2428
2570
  });
2429
2571
  },
2430
2572
  [e.consentVersion, s]
2431
- ), I = C(() => {
2573
+ ), f = O(() => {
2432
2574
  De({ domain: e.domain }), o(null);
2433
2575
  }, [e.domain]);
2434
- return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: E, reset: I };
2576
+ return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset: f };
2435
2577
  }, ke = ({ api: e, privacyLinkHref: t }) => {
2436
- const o = K(), { acceptAll: n, rejectAll: r, save: s } = e, [u, p] = y(!1), [E, I] = y(!1), [a, T] = y(!1), O = () => {
2437
- s({ analytics: E, marketing: a }), p(!1);
2578
+ const o = K(), { acceptAll: a, rejectAll: r, save: s } = e, [u, p] = b(!1), [A, f] = b(!1), [n, h] = b(!1), N = () => {
2579
+ s({ analytics: A, marketing: n }), p(!1);
2438
2580
  };
2439
- return /* @__PURE__ */ A($, { children: [
2581
+ return /* @__PURE__ */ g($, { children: [
2440
2582
  /* @__PURE__ */ i(
2441
2583
  te,
2442
2584
  {
@@ -2446,7 +2588,7 @@ const Y = (e) => ({
2446
2588
  bottom: { xs: 8, md: 16 },
2447
2589
  left: { xs: 8, md: 16 },
2448
2590
  right: { xs: 8, md: 16 },
2449
- zIndex: (h) => h.zIndex.snackbar,
2591
+ zIndex: (T) => T.zIndex.snackbar,
2450
2592
  p: { xs: 2, md: 3 },
2451
2593
  borderRadius: 2,
2452
2594
  maxWidth: 900,
@@ -2456,57 +2598,57 @@ const Y = (e) => ({
2456
2598
  },
2457
2599
  role: "dialog",
2458
2600
  "aria-labelledby": "cookie-consent-title",
2459
- children: /* @__PURE__ */ A(M, { direction: { xs: "column", md: "row" }, spacing: 2, alignItems: { xs: "stretch", md: "center" }, children: [
2460
- /* @__PURE__ */ A(N, { sx: { flex: 1 }, children: [
2601
+ children: /* @__PURE__ */ g(P, { direction: { xs: "column", md: "row" }, spacing: 2, alignItems: { xs: "stretch", md: "center" }, children: [
2602
+ /* @__PURE__ */ g(I, { sx: { flex: 1 }, children: [
2461
2603
  /* @__PURE__ */ i(m, { id: "cookie-consent-title", variant: "subtitle1", fontWeight: 700, gutterBottom: !0, children: o.formatRichMessage({ id: "cookies.banner.title" }) }),
2462
2604
  /* @__PURE__ */ i(m, { variant: "body2", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.banner.description" }) }),
2463
2605
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", sx: { mt: 1, display: "block" }, children: /* @__PURE__ */ i("a", { href: t, style: { color: "inherit" }, rel: "noreferrer", children: o.formatRichMessage({ id: "cookies.banner.privacy-link" }) }) })
2464
2606
  ] }),
2465
- /* @__PURE__ */ A(M, { direction: { xs: "column", sm: "row" }, spacing: 1, sx: { flexShrink: 0 }, children: [
2466
- /* @__PURE__ */ i(f, { variant: "text", onClick: r, children: o.formatRichMessage({ id: "cookies.action.reject-all" }) }),
2467
- /* @__PURE__ */ i(f, { variant: "outlined", onClick: () => p(!0), children: o.formatRichMessage({ id: "cookies.action.configure" }) }),
2468
- /* @__PURE__ */ i(f, { variant: "contained", onClick: n, children: o.formatRichMessage({ id: "cookies.action.accept-all" }) })
2607
+ /* @__PURE__ */ g(P, { direction: { xs: "column", sm: "row" }, spacing: 1, sx: { flexShrink: 0 }, children: [
2608
+ /* @__PURE__ */ i(C, { variant: "text", onClick: r, children: o.formatRichMessage({ id: "cookies.action.reject-all" }) }),
2609
+ /* @__PURE__ */ i(C, { variant: "outlined", onClick: () => p(!0), children: o.formatRichMessage({ id: "cookies.action.configure" }) }),
2610
+ /* @__PURE__ */ i(C, { variant: "contained", onClick: a, children: o.formatRichMessage({ id: "cookies.action.accept-all" }) })
2469
2611
  ] })
2470
2612
  ] })
2471
2613
  }
2472
2614
  ),
2473
- /* @__PURE__ */ A(oe, { open: u, onClose: () => p(!1), maxWidth: "sm", fullWidth: !0, children: [
2615
+ /* @__PURE__ */ g(oe, { open: u, onClose: () => p(!1), maxWidth: "sm", fullWidth: !0, children: [
2474
2616
  /* @__PURE__ */ i(ie, { children: o.formatRichMessage({ id: "cookies.configure.title" }) }),
2475
- /* @__PURE__ */ i(re, { children: /* @__PURE__ */ A(M, { spacing: 2, sx: { pt: 1 }, children: [
2617
+ /* @__PURE__ */ i(re, { children: /* @__PURE__ */ g(P, { spacing: 2, sx: { pt: 1 }, children: [
2476
2618
  /* @__PURE__ */ i(
2477
- b,
2619
+ R,
2478
2620
  {
2479
- control: /* @__PURE__ */ i(_, { checked: !0, disabled: !0 }),
2480
- label: /* @__PURE__ */ A(N, { children: [
2621
+ control: /* @__PURE__ */ i(v, { checked: !0, disabled: !0 }),
2622
+ label: /* @__PURE__ */ g(I, { children: [
2481
2623
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
2482
2624
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.essentials.description" }) })
2483
2625
  ] })
2484
2626
  }
2485
2627
  ),
2486
2628
  /* @__PURE__ */ i(
2487
- b,
2629
+ R,
2488
2630
  {
2489
- control: /* @__PURE__ */ i(_, { checked: E, onChange: (h, c) => I(c) }),
2490
- label: /* @__PURE__ */ A(N, { children: [
2631
+ control: /* @__PURE__ */ i(v, { checked: A, onChange: (T, c) => f(c) }),
2632
+ label: /* @__PURE__ */ g(I, { children: [
2491
2633
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
2492
2634
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.analytics.description" }) })
2493
2635
  ] })
2494
2636
  }
2495
2637
  ),
2496
2638
  /* @__PURE__ */ i(
2497
- b,
2639
+ R,
2498
2640
  {
2499
- control: /* @__PURE__ */ i(_, { checked: a, onChange: (h, c) => T(c) }),
2500
- label: /* @__PURE__ */ A(N, { children: [
2641
+ control: /* @__PURE__ */ i(v, { checked: n, onChange: (T, c) => h(c) }),
2642
+ label: /* @__PURE__ */ g(I, { children: [
2501
2643
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
2502
2644
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.marketing.description" }) })
2503
2645
  ] })
2504
2646
  }
2505
2647
  )
2506
2648
  ] }) }),
2507
- /* @__PURE__ */ A(se, { children: [
2508
- /* @__PURE__ */ i(f, { onClick: () => p(!1), children: o.formatRichMessage({ id: "cookies.action.cancel" }) }),
2509
- /* @__PURE__ */ i(f, { onClick: O, variant: "contained", children: o.formatRichMessage({ id: "cookies.action.save" }) })
2649
+ /* @__PURE__ */ g(se, { children: [
2650
+ /* @__PURE__ */ i(C, { onClick: () => p(!1), children: o.formatRichMessage({ id: "cookies.action.cancel" }) }),
2651
+ /* @__PURE__ */ i(C, { onClick: N, variant: "contained", children: o.formatRichMessage({ id: "cookies.action.save" }) })
2510
2652
  ] })
2511
2653
  ] })
2512
2654
  ] });
@@ -2519,86 +2661,86 @@ const Y = (e) => ({
2519
2661
  children: e,
2520
2662
  consentVersion: t,
2521
2663
  isAuthenticated: o,
2522
- domain: n,
2664
+ domain: a,
2523
2665
  privacyLinkHref: r = we,
2524
2666
  renderBanner: s
2525
2667
  }) => {
2526
- const u = Fe({ isAuthenticated: o, consentVersion: t, domain: n }), p = x(() => u.isResolved ? null : s ? s(u) : /* @__PURE__ */ i(ke, { api: u, privacyLinkHref: r }), [u, r, s]);
2527
- return /* @__PURE__ */ A(Z.Provider, { value: u, children: [
2668
+ const u = Fe({ isAuthenticated: o, consentVersion: t, domain: a }), p = x(() => u.isResolved ? null : s ? s(u) : /* @__PURE__ */ i(ke, { api: u, privacyLinkHref: r }), [u, r, s]);
2669
+ return /* @__PURE__ */ g(Z.Provider, { value: u, children: [
2528
2670
  e,
2529
2671
  p
2530
2672
  ] });
2531
2673
  }, Je = () => {
2532
- const e = K(), { consent: t, save: o } = Be(), [n, r] = y((t == null ? void 0 : t.analytics) ?? !1), [s, u] = y((t == null ? void 0 : t.marketing) ?? !1);
2674
+ const e = K(), { consent: t, save: o } = Be(), [a, r] = b((t == null ? void 0 : t.analytics) ?? !1), [s, u] = b((t == null ? void 0 : t.marketing) ?? !1);
2533
2675
  return z(() => {
2534
2676
  t && (r(t.analytics), u(t.marketing));
2535
- }, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ i(ne, { sx: { borderRadius: 3 }, children: /* @__PURE__ */ i(ae, { children: /* @__PURE__ */ A(M, { spacing: 2, children: [
2677
+ }, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ i(ae, { sx: { borderRadius: 3 }, children: /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ g(P, { spacing: 2, children: [
2536
2678
  /* @__PURE__ */ i(m, { variant: "h6", children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
2537
2679
  /* @__PURE__ */ i(
2538
- b,
2680
+ R,
2539
2681
  {
2540
- control: /* @__PURE__ */ i(_, { checked: !0, disabled: !0 }),
2541
- label: /* @__PURE__ */ A(N, { children: [
2682
+ control: /* @__PURE__ */ i(v, { checked: !0, disabled: !0 }),
2683
+ label: /* @__PURE__ */ g(I, { children: [
2542
2684
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
2543
2685
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.essentials.description" }) })
2544
2686
  ] })
2545
2687
  }
2546
2688
  ),
2547
2689
  /* @__PURE__ */ i(
2548
- b,
2690
+ R,
2549
2691
  {
2550
- control: /* @__PURE__ */ i(_, { checked: n, onChange: (p, E) => r(E) }),
2551
- label: /* @__PURE__ */ A(N, { children: [
2692
+ control: /* @__PURE__ */ i(v, { checked: a, onChange: (p, A) => r(A) }),
2693
+ label: /* @__PURE__ */ g(I, { children: [
2552
2694
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
2553
2695
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.analytics.description" }) })
2554
2696
  ] })
2555
2697
  }
2556
2698
  ),
2557
2699
  /* @__PURE__ */ i(
2558
- b,
2700
+ R,
2559
2701
  {
2560
- control: /* @__PURE__ */ i(_, { checked: s, onChange: (p, E) => u(E) }),
2561
- label: /* @__PURE__ */ A(N, { children: [
2702
+ control: /* @__PURE__ */ i(v, { checked: s, onChange: (p, A) => u(A) }),
2703
+ label: /* @__PURE__ */ g(I, { children: [
2562
2704
  /* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
2563
2705
  /* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.marketing.description" }) })
2564
2706
  ] })
2565
2707
  }
2566
2708
  ),
2567
- /* @__PURE__ */ i(N, { children: /* @__PURE__ */ i(f, { variant: "contained", onClick: () => o({ analytics: n, marketing: s }), children: e.formatRichMessage({ id: "cookies.action.save" }) }) })
2709
+ /* @__PURE__ */ i(I, { children: /* @__PURE__ */ i(C, { variant: "contained", onClick: () => o({ analytics: a, marketing: s }), children: e.formatRichMessage({ id: "cookies.action.save" }) }) })
2568
2710
  ] }) }) });
2569
2711
  };
2570
2712
  export {
2571
2713
  Ke as A,
2572
- ye as B,
2714
+ be as B,
2573
2715
  ke as C,
2574
- fe as D,
2575
- Ce as E,
2716
+ Ce as D,
2717
+ Oe as E,
2576
2718
  F as R,
2577
2719
  J as V,
2578
2720
  Je as a,
2579
2721
  Fe as b,
2580
2722
  L as c,
2581
2723
  De as d,
2582
- Me as e,
2724
+ Pe as e,
2583
2725
  We as f,
2584
- Ee as g,
2726
+ Ae as g,
2585
2727
  W as h,
2586
- Se as i,
2728
+ Ee as i,
2587
2729
  q as j,
2588
2730
  K as k,
2589
- Ae as l,
2731
+ ge as l,
2590
2732
  qe as m,
2591
2733
  me as n,
2592
- he as o,
2593
- ge as p,
2594
- P as q,
2595
- ve as r,
2596
- Te as s,
2734
+ Te as o,
2735
+ Se as p,
2736
+ M as q,
2737
+ _e as r,
2738
+ he as s,
2597
2739
  G as t,
2598
2740
  Be as u,
2599
- Ie as v,
2741
+ fe as v,
2600
2742
  H as w,
2601
- Ne as x,
2602
- Oe as y,
2743
+ Ie as x,
2744
+ Ne as y,
2603
2745
  j as z
2604
2746
  };