@abyss-project/commons-front-core 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CookieConsentSettings.component-DVCoCodG.js → CookieConsentSettings.component-Babyi3W7.js} +234 -148
- package/dist/assets/logo/index.d.ts +2 -0
- package/dist/components/CommandPalette/AbyssCommandPalette.d.ts +3 -0
- package/dist/components/CommandPalette/index.d.ts +3 -0
- package/dist/components/CommandPalette/types.d.ts +41 -0
- package/dist/components/CommandPalette/useCommandPaletteHotkey.d.ts +1 -0
- package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +5 -1
- package/dist/components/Data/AbyssTable/abyss-table.logic.d.ts +8 -0
- package/dist/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +1 -0
- package/dist/components/Data/AbyssTable/index.d.ts +1 -1
- package/dist/components/Inputs/AbyssNumberField/format.d.ts +7 -0
- package/dist/components/Inputs/AbyssNumberField/format.spec.d.ts +1 -0
- package/dist/components/Support/SupportCategoryChip.component.d.ts +1 -0
- package/dist/components/Support/SupportStatusTimeline.component.d.ts +8 -0
- package/dist/components/Support/support-attachment.logic.d.ts +2 -0
- package/dist/components/Support/support-attachment.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-author.logic.d.ts +4 -0
- package/dist/components/Support/support-author.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-create-stepper.logic.d.ts +2 -0
- package/dist/components/Support/support-create-stepper.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-message-input.logic.d.ts +7 -0
- package/dist/components/Support/support-message-input.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-status-timeline.logic.d.ts +9 -0
- package/dist/components/Support/support-status-timeline.logic.spec.d.ts +1 -0
- package/dist/components/Support/types.d.ts +11 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +1637 -8
- package/dist/{index-DdQmheMd.js → index-8yeiMsN2.js} +2 -2
- package/dist/{index-DTvT-pSd.js → index-B5_AMDvn.js} +2 -2
- package/dist/{index-BdPBT9wT.js → index-B6HSnKic.js} +4 -4
- package/dist/{index-Cb8bNozc.js → index-B899a19q.js} +2 -2
- package/dist/{index-B9whHwJH.js → index-BPBq7o9R.js} +2 -2
- package/dist/{index-5k64joRw.js → index-BZZzNup7.js} +2 -2
- package/dist/{index-1zDS0iEh.js → index-Bck6bTkX.js} +4 -4
- package/dist/{index-Do3-0Q46.js → index-BhERZKZL.js} +2 -2
- package/dist/{index-BEHOwNBI.js → index-BlBO8RTR.js} +2 -2
- package/dist/{index-CnObY2fJ.js → index-BpfMLh3g.js} +3 -3
- package/dist/{index-CUPsXzwL.js → index-CKKJ_tQH.js} +3 -3
- package/dist/{index-sizp2HZr.js → index-C_ItzEqZ.js} +2 -2
- package/dist/{index-C73ogXrJ.js → index-CwQu80hq.js} +46886 -45868
- package/dist/{index-jvUBv7pK.js → index-D3OGRmMG.js} +2 -2
- package/dist/{index-3YimkuCN.js → index-D4JrV75A.js} +3 -3
- package/dist/{index-65A77dq7.js → index-DQYsp1ra.js} +1 -1
- package/dist/{index-BHN85JYH.js → index-DmY-WbY8.js} +2 -2
- package/dist/{index-DOkPKk_l.js → index-FykPQo4w.js} +2 -2
- package/dist/{index-DOlx6Vms.js → index-pdKyXaVF.js} +3 -3
- package/dist/{index-irVSvSqH.js → index-vWfRDX8u.js} +4 -4
- package/dist/{index-D1Ff3bz9.js → index-y87yi7Ik.js} +2 -2
- package/dist/{index-mfuPigV5.js → index-yvn0gNA4.js} +2 -2
- package/dist/index.js +241 -237
- package/dist/translations/en.d.ts +48 -5
- package/dist/translations/fr.d.ts +48 -5
- package/dist/translations/quota-reached-i18n-coverage.spec.d.ts +1 -0
- package/dist/utils/color.utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useCallback as
|
|
3
|
-
import { Paper as te, Stack as D, Box as
|
|
1
|
+
import { jsx as o, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as I, useMemo as x, useState as b, useEffect as z, createContext as Q, useContext as ee } from "react";
|
|
3
|
+
import { Paper as te, Stack as D, Box as f, Typography as m, Button as N, Dialog as ie, DialogTitle as oe, DialogContent as re, FormControlLabel as R, Checkbox as _, DialogActions as ae, Card as se, CardContent as ne } from "@mui/material";
|
|
4
4
|
import { useIntl as le } from "react-intl";
|
|
5
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";
|
|
@@ -125,7 +125,7 @@ const q = {
|
|
|
125
125
|
// yellow
|
|
126
126
|
"#C084FC"
|
|
127
127
|
// purple
|
|
128
|
-
],
|
|
128
|
+
], G = [
|
|
129
129
|
...M,
|
|
130
130
|
"#E879F9",
|
|
131
131
|
// fuchsia
|
|
@@ -143,7 +143,7 @@ const q = {
|
|
|
143
143
|
// cyan light
|
|
144
144
|
"#F9A8D4"
|
|
145
145
|
// pink light
|
|
146
|
-
],
|
|
146
|
+
], Oe = [
|
|
147
147
|
"#6366f1",
|
|
148
148
|
// indigo
|
|
149
149
|
"#8b5cf6",
|
|
@@ -176,14 +176,14 @@ const q = {
|
|
|
176
176
|
// sky
|
|
177
177
|
"#3b82f6"
|
|
178
178
|
// blue
|
|
179
|
-
],
|
|
179
|
+
], fe = (e) => M[e % M.length], Ce = (e) => G[e % G.length], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
180
180
|
__proto__: null,
|
|
181
181
|
amber: W,
|
|
182
182
|
chipColors: Te,
|
|
183
183
|
colorPool: M,
|
|
184
|
-
colorPoolExtended:
|
|
184
|
+
colorPoolExtended: G,
|
|
185
185
|
cyan: ge,
|
|
186
|
-
getPoolColor:
|
|
186
|
+
getPoolColor: fe,
|
|
187
187
|
getPoolColorExtended: Ce,
|
|
188
188
|
green: Ee,
|
|
189
189
|
indigo: q,
|
|
@@ -191,8 +191,8 @@ const q = {
|
|
|
191
191
|
purple: Se,
|
|
192
192
|
red: Ae,
|
|
193
193
|
social: he,
|
|
194
|
-
tagColorPool:
|
|
195
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
194
|
+
tagColorPool: Oe
|
|
195
|
+
}, Symbol.toStringTag, { value: "Module" })), Ie = {
|
|
196
196
|
"space-display-name": {
|
|
197
197
|
personal: "Mon Cloud",
|
|
198
198
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -464,7 +464,18 @@ const q = {
|
|
|
464
464
|
TRAINING_TEMPLATES_COUNT: "Modèles",
|
|
465
465
|
TRAINING_CUSTOM_EXERCISES_COUNT: "Exercices personnalisés",
|
|
466
466
|
MEMORIES_EVENTS_COUNT: "Événements",
|
|
467
|
-
MEMORIES_MEDIA_STORAGE_GB: "Stockage médias"
|
|
467
|
+
MEMORIES_MEDIA_STORAGE_GB: "Stockage médias",
|
|
468
|
+
ACCOUNT_STORAGE_GB: "Stockage partagé (Go)",
|
|
469
|
+
ACCOUNT_AV_SCAN_UNITS: "Analyses antivirus",
|
|
470
|
+
TOOLS_EXTRACTION: "Extractions",
|
|
471
|
+
TOOLS_EXTRACTION_OCR_PAGES: "Pages OCR",
|
|
472
|
+
TOOLS_EXTRACT_TEMPLATES_ACTIVE: "Modèles d'extraction actifs",
|
|
473
|
+
TOOLS_EXTRACTION_TRACE_RETENTION_DAYS: "Rétention des traces (jours)",
|
|
474
|
+
TOOLS_BEAM_COUNT: "Transferts",
|
|
475
|
+
TOOLS_BEAM_UPLOADS_MONTH: "Envois / mois",
|
|
476
|
+
TOOLS_BEAM_BANDWIDTH_MONTH: "Bande passante transferts (Go)",
|
|
477
|
+
TOOLS_BEAM_EMAILS_DAY: "E-mails de transfert / jour",
|
|
478
|
+
TOOLS_BEAM_EXPIRY_MAX_DAYS: "Durée de vie des transferts (jours)"
|
|
468
479
|
}
|
|
469
480
|
},
|
|
470
481
|
"error-page": {
|
|
@@ -1012,6 +1023,7 @@ const q = {
|
|
|
1012
1023
|
billing: {
|
|
1013
1024
|
"current-plan": "Plan actuel",
|
|
1014
1025
|
"free-plan": "Gratuit",
|
|
1026
|
+
"custom-plan": "Plan personnalisé",
|
|
1015
1027
|
tier: {
|
|
1016
1028
|
FREEMIUM: "Gratuit",
|
|
1017
1029
|
DEFAULT: "Standard",
|
|
@@ -1142,9 +1154,16 @@ const q = {
|
|
|
1142
1154
|
WAITING: "En attente",
|
|
1143
1155
|
ESCALATED: "Escaladé",
|
|
1144
1156
|
RESOLVED: "Résolu",
|
|
1145
|
-
CLOSED: "
|
|
1157
|
+
CLOSED: "Clôturé",
|
|
1146
1158
|
ARCHIVED: "Archivé"
|
|
1147
1159
|
},
|
|
1160
|
+
timeline: {
|
|
1161
|
+
title: "Suivi du ticket",
|
|
1162
|
+
open: "Ouvert",
|
|
1163
|
+
"in-progress": "En cours",
|
|
1164
|
+
resolved: "Résolu",
|
|
1165
|
+
closed: "Clôturé"
|
|
1166
|
+
},
|
|
1148
1167
|
priority: {
|
|
1149
1168
|
NORMAL: "Normal",
|
|
1150
1169
|
HIGH: "Élevé",
|
|
@@ -1163,6 +1182,7 @@ const q = {
|
|
|
1163
1182
|
BUG_PERFORMANCE: "Performance",
|
|
1164
1183
|
BUG_DATA: "Problème de données",
|
|
1165
1184
|
BUG_OTHER: "Autre bug",
|
|
1185
|
+
EXTRACTION: "Extraction de documents",
|
|
1166
1186
|
ACCOUNT_ACCESS: "Accès au compte",
|
|
1167
1187
|
ACCOUNT_DELETE: "Suppression de compte",
|
|
1168
1188
|
ACCOUNT_SECURITY: "Sécurité du compte",
|
|
@@ -1170,6 +1190,7 @@ const q = {
|
|
|
1170
1190
|
BILLING_INVOICE: "Facture",
|
|
1171
1191
|
BILLING_CUSTOM_PLAN: "Plan personnalisé",
|
|
1172
1192
|
BILLING_REFUND: "Remboursement",
|
|
1193
|
+
BILLING_TRIAL: "Période d'essai",
|
|
1173
1194
|
API_INTEGRATION: "Intégration API",
|
|
1174
1195
|
API_DOCUMENTATION: "Documentation API",
|
|
1175
1196
|
API_KEY: "Clé API",
|
|
@@ -1200,15 +1221,20 @@ const q = {
|
|
|
1200
1221
|
"priority-reason-required": "La raison de la priorité est requise pour la priorité {priority}",
|
|
1201
1222
|
submit: "Envoyer le ticket",
|
|
1202
1223
|
back: "Retour",
|
|
1203
|
-
cancel: "Annuler"
|
|
1224
|
+
cancel: "Annuler",
|
|
1225
|
+
"attachment-failed": "Échec de l'envoi de la pièce jointe « {name} ». Vous pouvez réessayer depuis le ticket."
|
|
1204
1226
|
},
|
|
1205
1227
|
detail: {
|
|
1206
1228
|
description: "Description",
|
|
1229
|
+
"unknown-user": "Utilisateur",
|
|
1207
1230
|
"no-messages": "Aucun message",
|
|
1231
|
+
"waiting-title": "Votre demande est bien arrivée",
|
|
1232
|
+
"waiting-subtitle": "Un membre du support vous répondra ici. Vous recevrez un email dès qu’il y a du nouveau.",
|
|
1208
1233
|
"messages-title": "Messages",
|
|
1209
1234
|
"messages-count": "{count} messages",
|
|
1210
1235
|
"new-messages": "Nouveaux messages",
|
|
1211
1236
|
"send-placeholder": "Écrivez votre message...",
|
|
1237
|
+
"send-hint": "Entrée = nouvelle ligne · Ctrl/⌘+Entrée pour envoyer",
|
|
1212
1238
|
send: "Envoyer",
|
|
1213
1239
|
"admin-note": "Note admin",
|
|
1214
1240
|
"admin-note-placeholder": "Note interne (non visible par l'utilisateur)...",
|
|
@@ -1234,16 +1260,16 @@ const q = {
|
|
|
1234
1260
|
"created-at": "Créé le",
|
|
1235
1261
|
"updated-at": "Mis à jour le",
|
|
1236
1262
|
"resolved-at": "Résolu le",
|
|
1237
|
-
"closed-at": "
|
|
1263
|
+
"closed-at": "Clôturé le",
|
|
1238
1264
|
requester: "Demandeur",
|
|
1239
1265
|
unassigned: "Non assigné",
|
|
1240
1266
|
resolve: "Résoudre",
|
|
1241
|
-
close: "
|
|
1267
|
+
close: "Clôturer",
|
|
1242
1268
|
reopen: "Rouvrir",
|
|
1243
1269
|
"resolve-reason": "Raison de résolution",
|
|
1244
1270
|
"resolve-confirm-desc": "Êtes-vous sûr de vouloir résoudre ce ticket ?",
|
|
1245
|
-
"close-reason": "Raison de
|
|
1246
|
-
"close-confirm-desc": "Êtes-vous sûr de vouloir
|
|
1271
|
+
"close-reason": "Raison de clôture",
|
|
1272
|
+
"close-confirm-desc": "Êtes-vous sûr de vouloir clôturer ce ticket ?",
|
|
1247
1273
|
tags: "Tags",
|
|
1248
1274
|
"no-tags": "Aucun tag",
|
|
1249
1275
|
organization: "Organisation",
|
|
@@ -1260,7 +1286,7 @@ const q = {
|
|
|
1260
1286
|
CATEGORY_CHANGED: "Catégorie modifiée",
|
|
1261
1287
|
RESOLVED: "Résolu",
|
|
1262
1288
|
REOPENED: "Rouvert",
|
|
1263
|
-
CLOSED: "
|
|
1289
|
+
CLOSED: "Clôturé",
|
|
1264
1290
|
ESCALATED: "Escaladé",
|
|
1265
1291
|
PUT_ON_HOLD: "Mis en attente",
|
|
1266
1292
|
RESUMED: "Repris",
|
|
@@ -1272,9 +1298,9 @@ const q = {
|
|
|
1272
1298
|
},
|
|
1273
1299
|
action: {
|
|
1274
1300
|
TAKE_OVER: "Prendre en charge",
|
|
1275
|
-
CLOSE: "
|
|
1301
|
+
CLOSE: "Clôturer le ticket",
|
|
1276
1302
|
RESOLVE: "Résoudre",
|
|
1277
|
-
REOPEN: "Rouvrir",
|
|
1303
|
+
REOPEN: "Rouvrir le ticket",
|
|
1278
1304
|
ESCALATE: "Escalader",
|
|
1279
1305
|
PUT_ON_HOLD: "Mettre en attente",
|
|
1280
1306
|
RESUME: "Reprendre",
|
|
@@ -1289,8 +1315,13 @@ const q = {
|
|
|
1289
1315
|
"max-reached": "Nombre maximum de pièces jointes atteint",
|
|
1290
1316
|
delete: "Supprimer la pièce jointe",
|
|
1291
1317
|
"delete-confirm": "Êtes-vous sûr de vouloir supprimer cette pièce jointe ?",
|
|
1318
|
+
"delete-confirm-title": "Supprimer la pièce jointe ?",
|
|
1319
|
+
"delete-confirm-description": "« {name} » sera définitivement supprimée. Cette action est irréversible.",
|
|
1320
|
+
"delete-confirm-action": "Supprimer",
|
|
1292
1321
|
uploading: "Téléversement en cours...",
|
|
1293
|
-
"upload-hint": "Glissez-déposez un fichier ici ou cliquez pour parcourir"
|
|
1322
|
+
"upload-hint": "Glissez-déposez un fichier ici ou cliquez pour parcourir",
|
|
1323
|
+
open: "Ouvrir dans un nouvel onglet",
|
|
1324
|
+
download: "Télécharger"
|
|
1294
1325
|
},
|
|
1295
1326
|
stepper: {
|
|
1296
1327
|
categoryGroup: {
|
|
@@ -1302,13 +1333,25 @@ const q = {
|
|
|
1302
1333
|
},
|
|
1303
1334
|
selectSubCategory: "Sélectionnez une sous-catégorie",
|
|
1304
1335
|
step: {
|
|
1305
|
-
forWho:
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1336
|
+
forWho: {
|
|
1337
|
+
label: "Pour qui ?",
|
|
1338
|
+
help: "Indique l'utilisateur ou l'organisation concerné par la demande."
|
|
1339
|
+
},
|
|
1340
|
+
category: {
|
|
1341
|
+
label: "Catégorie",
|
|
1342
|
+
help: "Choisis la catégorie qui décrit le mieux ton problème pour accélérer le traitement."
|
|
1343
|
+
},
|
|
1344
|
+
details: {
|
|
1345
|
+
label: "Détails",
|
|
1346
|
+
help: "Donne un titre clair et décris ton problème avec le plus de détails possible (étapes, message d'erreur…)."
|
|
1347
|
+
},
|
|
1348
|
+
priority: {
|
|
1349
|
+
label: "Priorité",
|
|
1350
|
+
help: "Choisis l'urgence. Une priorité haute/critique demande une justification."
|
|
1351
|
+
}
|
|
1309
1352
|
},
|
|
1310
1353
|
next: "Suivant",
|
|
1311
|
-
|
|
1354
|
+
"attachments-title": "Pièces jointes"
|
|
1312
1355
|
},
|
|
1313
1356
|
service: {
|
|
1314
1357
|
ABYSS: "Abyss Platform",
|
|
@@ -1331,7 +1374,7 @@ const q = {
|
|
|
1331
1374
|
}
|
|
1332
1375
|
}
|
|
1333
1376
|
}
|
|
1334
|
-
},
|
|
1377
|
+
}, Ne = {
|
|
1335
1378
|
"space-display-name": {
|
|
1336
1379
|
personal: "My Cloud",
|
|
1337
1380
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -1603,7 +1646,18 @@ const q = {
|
|
|
1603
1646
|
TRAINING_TEMPLATES_COUNT: "Templates",
|
|
1604
1647
|
TRAINING_CUSTOM_EXERCISES_COUNT: "Custom exercises",
|
|
1605
1648
|
MEMORIES_EVENTS_COUNT: "Events",
|
|
1606
|
-
MEMORIES_MEDIA_STORAGE_GB: "Media storage"
|
|
1649
|
+
MEMORIES_MEDIA_STORAGE_GB: "Media storage",
|
|
1650
|
+
ACCOUNT_STORAGE_GB: "Shared storage (GB)",
|
|
1651
|
+
ACCOUNT_AV_SCAN_UNITS: "Antivirus scans",
|
|
1652
|
+
TOOLS_EXTRACTION: "Extractions",
|
|
1653
|
+
TOOLS_EXTRACTION_OCR_PAGES: "OCR pages",
|
|
1654
|
+
TOOLS_EXTRACT_TEMPLATES_ACTIVE: "Active extraction templates",
|
|
1655
|
+
TOOLS_EXTRACTION_TRACE_RETENTION_DAYS: "Trace retention (days)",
|
|
1656
|
+
TOOLS_BEAM_COUNT: "Transfers",
|
|
1657
|
+
TOOLS_BEAM_UPLOADS_MONTH: "Uploads / month",
|
|
1658
|
+
TOOLS_BEAM_BANDWIDTH_MONTH: "Transfer bandwidth (GB)",
|
|
1659
|
+
TOOLS_BEAM_EMAILS_DAY: "Transfer emails / day",
|
|
1660
|
+
TOOLS_BEAM_EXPIRY_MAX_DAYS: "Transfer lifetime (days)"
|
|
1607
1661
|
}
|
|
1608
1662
|
},
|
|
1609
1663
|
"error-page": {
|
|
@@ -2151,6 +2205,7 @@ const q = {
|
|
|
2151
2205
|
billing: {
|
|
2152
2206
|
"current-plan": "Current plan",
|
|
2153
2207
|
"free-plan": "Free",
|
|
2208
|
+
"custom-plan": "Custom plan",
|
|
2154
2209
|
tier: {
|
|
2155
2210
|
FREEMIUM: "Free",
|
|
2156
2211
|
DEFAULT: "Standard",
|
|
@@ -2265,6 +2320,13 @@ const q = {
|
|
|
2265
2320
|
CLOSED: "Closed",
|
|
2266
2321
|
ARCHIVED: "Archived"
|
|
2267
2322
|
},
|
|
2323
|
+
timeline: {
|
|
2324
|
+
title: "Ticket progress",
|
|
2325
|
+
open: "Open",
|
|
2326
|
+
"in-progress": "In progress",
|
|
2327
|
+
resolved: "Resolved",
|
|
2328
|
+
closed: "Closed"
|
|
2329
|
+
},
|
|
2268
2330
|
priority: {
|
|
2269
2331
|
NORMAL: "Normal",
|
|
2270
2332
|
HIGH: "High",
|
|
@@ -2283,6 +2345,7 @@ const q = {
|
|
|
2283
2345
|
BUG_PERFORMANCE: "Performance",
|
|
2284
2346
|
BUG_DATA: "Data issue",
|
|
2285
2347
|
BUG_OTHER: "Other bug",
|
|
2348
|
+
EXTRACTION: "Document extraction",
|
|
2286
2349
|
ACCOUNT_ACCESS: "Account access",
|
|
2287
2350
|
ACCOUNT_DELETE: "Account deletion",
|
|
2288
2351
|
ACCOUNT_SECURITY: "Account security",
|
|
@@ -2290,6 +2353,7 @@ const q = {
|
|
|
2290
2353
|
BILLING_INVOICE: "Invoice",
|
|
2291
2354
|
BILLING_CUSTOM_PLAN: "Custom plan",
|
|
2292
2355
|
BILLING_REFUND: "Refund",
|
|
2356
|
+
BILLING_TRIAL: "Free trial",
|
|
2293
2357
|
API_INTEGRATION: "API integration",
|
|
2294
2358
|
API_DOCUMENTATION: "API documentation",
|
|
2295
2359
|
API_KEY: "API key",
|
|
@@ -2320,15 +2384,20 @@ const q = {
|
|
|
2320
2384
|
"priority-reason-required": "Priority reason is required for {priority} priority",
|
|
2321
2385
|
submit: "Submit ticket",
|
|
2322
2386
|
back: "Back",
|
|
2323
|
-
cancel: "Cancel"
|
|
2387
|
+
cancel: "Cancel",
|
|
2388
|
+
"attachment-failed": 'Failed to upload attachment "{name}". You can retry it from the ticket.'
|
|
2324
2389
|
},
|
|
2325
2390
|
detail: {
|
|
2326
2391
|
description: "Description",
|
|
2392
|
+
"unknown-user": "User",
|
|
2327
2393
|
"no-messages": "No messages yet",
|
|
2394
|
+
"waiting-title": "We’ve got your request",
|
|
2395
|
+
"waiting-subtitle": "A support teammate will reply right here. We’ll email you as soon as there’s an update.",
|
|
2328
2396
|
"messages-title": "Messages",
|
|
2329
2397
|
"messages-count": "{count} messages",
|
|
2330
2398
|
"new-messages": "New messages",
|
|
2331
2399
|
"send-placeholder": "Type your message...",
|
|
2400
|
+
"send-hint": "Enter = new line · Ctrl/⌘+Enter to send",
|
|
2332
2401
|
send: "Send",
|
|
2333
2402
|
"admin-note": "Admin note",
|
|
2334
2403
|
"admin-note-placeholder": "Internal note (not visible to user)...",
|
|
@@ -2392,9 +2461,9 @@ const q = {
|
|
|
2392
2461
|
},
|
|
2393
2462
|
action: {
|
|
2394
2463
|
TAKE_OVER: "Take over",
|
|
2395
|
-
CLOSE: "Close",
|
|
2464
|
+
CLOSE: "Close ticket",
|
|
2396
2465
|
RESOLVE: "Resolve",
|
|
2397
|
-
REOPEN: "Reopen",
|
|
2466
|
+
REOPEN: "Reopen ticket",
|
|
2398
2467
|
ESCALATE: "Escalate",
|
|
2399
2468
|
PUT_ON_HOLD: "Put on hold",
|
|
2400
2469
|
RESUME: "Resume",
|
|
@@ -2409,8 +2478,13 @@ const q = {
|
|
|
2409
2478
|
"max-reached": "Maximum attachments reached",
|
|
2410
2479
|
delete: "Delete attachment",
|
|
2411
2480
|
"delete-confirm": "Are you sure you want to delete this attachment?",
|
|
2481
|
+
"delete-confirm-title": "Delete this attachment?",
|
|
2482
|
+
"delete-confirm-description": "“{name}” will be permanently deleted. This cannot be undone.",
|
|
2483
|
+
"delete-confirm-action": "Delete",
|
|
2412
2484
|
uploading: "Uploading...",
|
|
2413
|
-
"upload-hint": "Drag and drop a file here or click to browse"
|
|
2485
|
+
"upload-hint": "Drag and drop a file here or click to browse",
|
|
2486
|
+
open: "Open in a new tab",
|
|
2487
|
+
download: "Download"
|
|
2414
2488
|
},
|
|
2415
2489
|
stepper: {
|
|
2416
2490
|
categoryGroup: {
|
|
@@ -2422,13 +2496,25 @@ const q = {
|
|
|
2422
2496
|
},
|
|
2423
2497
|
selectSubCategory: "Select a sub-category",
|
|
2424
2498
|
step: {
|
|
2425
|
-
forWho:
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2499
|
+
forWho: {
|
|
2500
|
+
label: "For who?",
|
|
2501
|
+
help: "Pick the user or organization this request is about."
|
|
2502
|
+
},
|
|
2503
|
+
category: {
|
|
2504
|
+
label: "Category",
|
|
2505
|
+
help: "Choose the category that best describes your issue to speed up handling."
|
|
2506
|
+
},
|
|
2507
|
+
details: {
|
|
2508
|
+
label: "Details",
|
|
2509
|
+
help: "Give a clear title and describe your issue with as much detail as possible (steps, error message…)."
|
|
2510
|
+
},
|
|
2511
|
+
priority: {
|
|
2512
|
+
label: "Priority",
|
|
2513
|
+
help: "Pick the urgency. High/critical priority requires a justification."
|
|
2514
|
+
}
|
|
2429
2515
|
},
|
|
2430
2516
|
next: "Next",
|
|
2431
|
-
|
|
2517
|
+
"attachments-title": "Attachments"
|
|
2432
2518
|
},
|
|
2433
2519
|
service: {
|
|
2434
2520
|
ABYSS: "Abyss Platform",
|
|
@@ -2474,29 +2560,29 @@ const q = {
|
|
|
2474
2560
|
var U, B;
|
|
2475
2561
|
function ye() {
|
|
2476
2562
|
if (B) return U;
|
|
2477
|
-
B = 1, U =
|
|
2563
|
+
B = 1, U = i, i.flatten = i, i.unflatten = s;
|
|
2478
2564
|
function e(r) {
|
|
2479
2565
|
return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
2480
2566
|
}
|
|
2481
2567
|
function t(r) {
|
|
2482
2568
|
return r;
|
|
2483
2569
|
}
|
|
2484
|
-
function
|
|
2570
|
+
function i(r, a) {
|
|
2485
2571
|
a = a || {};
|
|
2486
|
-
const u = a.delimiter || ".", p = a.maxDepth, A = a.transformKey || t,
|
|
2572
|
+
const u = a.delimiter || ".", p = a.maxDepth, A = a.transformKey || t, O = {};
|
|
2487
2573
|
function n(h, C, T) {
|
|
2488
2574
|
T = T || 1, Object.keys(h).forEach(function(c) {
|
|
2489
|
-
const l = h[c], d = a.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), P = E === "[object Object]" || E === "[object Array]",
|
|
2575
|
+
const l = h[c], d = a.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), P = E === "[object Object]" || E === "[object Array]", v = C ? C + u + A(c) : A(c);
|
|
2490
2576
|
if (!d && !S && P && Object.keys(l).length && (!a.maxDepth || T < p))
|
|
2491
|
-
return n(l,
|
|
2492
|
-
|
|
2577
|
+
return n(l, v, T + 1);
|
|
2578
|
+
O[v] = l;
|
|
2493
2579
|
});
|
|
2494
2580
|
}
|
|
2495
|
-
return n(r),
|
|
2581
|
+
return n(r), O;
|
|
2496
2582
|
}
|
|
2497
2583
|
function s(r, a) {
|
|
2498
2584
|
a = a || {};
|
|
2499
|
-
const u = a.delimiter || ".", p = a.overwrite || !1, A = a.transformKey || t,
|
|
2585
|
+
const u = a.delimiter || ".", p = a.overwrite || !1, A = a.transformKey || t, O = {};
|
|
2500
2586
|
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
2501
2587
|
return r;
|
|
2502
2588
|
function h(c) {
|
|
@@ -2522,58 +2608,58 @@ function ye() {
|
|
|
2522
2608
|
return !(d === "[object Object]" || d === "[object Array]") || T(r[l]) ? (c[l] = r[l], c) : C(
|
|
2523
2609
|
l,
|
|
2524
2610
|
c,
|
|
2525
|
-
|
|
2611
|
+
i(r[l], a)
|
|
2526
2612
|
);
|
|
2527
2613
|
}, {}), Object.keys(r).forEach(function(c) {
|
|
2528
2614
|
const l = c.split(u).map(A);
|
|
2529
|
-
let d = h(l.shift()), E = h(l[0]), S =
|
|
2615
|
+
let d = h(l.shift()), E = h(l[0]), S = O;
|
|
2530
2616
|
for (; E !== void 0; ) {
|
|
2531
2617
|
if (d === "__proto__")
|
|
2532
2618
|
return;
|
|
2533
|
-
const P = Object.prototype.toString.call(S[d]),
|
|
2534
|
-
if (!p && !
|
|
2619
|
+
const P = Object.prototype.toString.call(S[d]), v = P === "[object Object]" || P === "[object Array]";
|
|
2620
|
+
if (!p && !v && typeof S[d] < "u")
|
|
2535
2621
|
return;
|
|
2536
|
-
(p && !
|
|
2622
|
+
(p && !v || !p && S[d] == null) && (S[d] = typeof E == "number" && !a.object ? [] : {}), S = S[d], l.length > 0 && (d = h(l.shift()), E = h(l[0]));
|
|
2537
2623
|
}
|
|
2538
2624
|
S[d] = s(r[c], a);
|
|
2539
|
-
}),
|
|
2625
|
+
}), O;
|
|
2540
2626
|
}
|
|
2541
2627
|
return U;
|
|
2542
2628
|
}
|
|
2543
2629
|
var w = ye();
|
|
2544
2630
|
const j = {
|
|
2545
|
-
[y.FRENCH]: { ...
|
|
2546
|
-
[y.ENGLISH]: { ...
|
|
2631
|
+
[y.FRENCH]: { ...Ie, common: de },
|
|
2632
|
+
[y.ENGLISH]: { ...Ne, common: ce }
|
|
2547
2633
|
}, We = {
|
|
2548
2634
|
[y.FRENCH]: w.flatten(j[y.FRENCH]),
|
|
2549
2635
|
[y.ENGLISH]: w.flatten(j[y.ENGLISH])
|
|
2550
2636
|
}, be = {
|
|
2551
|
-
break: /* @__PURE__ */
|
|
2552
|
-
bold: (...e) => /* @__PURE__ */
|
|
2553
|
-
italic: (...e) => /* @__PURE__ */
|
|
2554
|
-
primary: (...e) => /* @__PURE__ */
|
|
2555
|
-
focus: (...e) => /* @__PURE__ */
|
|
2637
|
+
break: /* @__PURE__ */ o("br", {}),
|
|
2638
|
+
bold: (...e) => /* @__PURE__ */ o("strong", { children: e }),
|
|
2639
|
+
italic: (...e) => /* @__PURE__ */ o("i", { children: e }),
|
|
2640
|
+
primary: (...e) => /* @__PURE__ */ o("span", { style: { color: q[500] }, children: e }),
|
|
2641
|
+
focus: (...e) => /* @__PURE__ */ o("span", { style: { color: W[400] }, children: e })
|
|
2556
2642
|
}, K = () => {
|
|
2557
|
-
const e = le(), t =
|
|
2558
|
-
(
|
|
2643
|
+
const e = le(), t = I(
|
|
2644
|
+
(i, s) => e.formatMessage(i, { ...be, ...s }),
|
|
2559
2645
|
[e]
|
|
2560
2646
|
);
|
|
2561
2647
|
return x(() => {
|
|
2562
|
-
const { formatMessage:
|
|
2648
|
+
const { formatMessage: i, ...s } = e;
|
|
2563
2649
|
return { ...s, formatRichMessage: t };
|
|
2564
2650
|
}, [e, t]);
|
|
2565
|
-
}, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60,
|
|
2566
|
-
const
|
|
2567
|
-
return e.domain &&
|
|
2568
|
-
},
|
|
2651
|
+
}, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60, _e = () => typeof window > "u" ? !1 : window.location.protocol === "https:", X = (e, t) => {
|
|
2652
|
+
const i = ["Path=/", `Max-Age=${t}`, "SameSite=Lax"];
|
|
2653
|
+
return e.domain && i.push(`Domain=${e.domain}`), _e() && i.push("Secure"), i.join("; ");
|
|
2654
|
+
}, ve = () => {
|
|
2569
2655
|
if (typeof document > "u")
|
|
2570
2656
|
return null;
|
|
2571
|
-
const e = document.cookie.split(";").map((
|
|
2657
|
+
const e = document.cookie.split(";").map((i) => i.trim()).find((i) => i.startsWith(`${L}=`));
|
|
2572
2658
|
if (!e)
|
|
2573
2659
|
return null;
|
|
2574
2660
|
const t = e.slice(L.length + 1);
|
|
2575
2661
|
try {
|
|
2576
|
-
const
|
|
2662
|
+
const i = atob(decodeURIComponent(t)), s = JSON.parse(i);
|
|
2577
2663
|
return typeof s.a != "boolean" || typeof s.m != "boolean" || typeof s.d != "string" || typeof s.v != "string" ? null : s;
|
|
2578
2664
|
} catch {
|
|
2579
2665
|
return null;
|
|
@@ -2581,13 +2667,13 @@ const j = {
|
|
|
2581
2667
|
}, H = (e, t = {}) => {
|
|
2582
2668
|
if (typeof document > "u")
|
|
2583
2669
|
return;
|
|
2584
|
-
const
|
|
2585
|
-
document.cookie = `${L}=${
|
|
2670
|
+
const i = btoa(JSON.stringify(e));
|
|
2671
|
+
document.cookie = `${L}=${i}; ${X(t, Re)}`;
|
|
2586
2672
|
}, Pe = (e = {}) => {
|
|
2587
2673
|
typeof document > "u" || (document.cookie = `${L}=; ${X(e, 0)}`);
|
|
2588
2674
|
};
|
|
2589
|
-
var
|
|
2590
|
-
const
|
|
2675
|
+
var F = /* @__PURE__ */ ((e) => (e.NOOP = "noop", e.ADOPT_DB = "adopt-db", e.PUSH_COOKIE = "push-cookie", e))(F || {});
|
|
2676
|
+
const Y = (e) => ({
|
|
2591
2677
|
essentials: !0,
|
|
2592
2678
|
analytics: e.analytics,
|
|
2593
2679
|
marketing: e.marketing,
|
|
@@ -2597,34 +2683,34 @@ const V = (e) => ({
|
|
|
2597
2683
|
if (!e && !t)
|
|
2598
2684
|
return { action: "noop", value: null };
|
|
2599
2685
|
if (!e && t)
|
|
2600
|
-
return { action: "adopt-db", value:
|
|
2686
|
+
return { action: "adopt-db", value: Y(t) };
|
|
2601
2687
|
if (e && !t)
|
|
2602
2688
|
return { action: "push-cookie", value: e };
|
|
2603
|
-
const
|
|
2689
|
+
const i = new Date(e.decidedAt).getTime(), s = new Date(
|
|
2604
2690
|
typeof t.decidedAt == "string" ? t.decidedAt : t.decidedAt.toISOString()
|
|
2605
2691
|
).getTime();
|
|
2606
|
-
return s >
|
|
2692
|
+
return s > i ? { action: "adopt-db", value: Y(t) } : i > s ? { action: "push-cookie", value: e } : { action: "noop", value: e };
|
|
2607
2693
|
}, Me = J * 24 * 60 * 60 * 1e3, Le = (e) => ({
|
|
2608
2694
|
essentials: !0,
|
|
2609
2695
|
analytics: e.a,
|
|
2610
2696
|
marketing: e.m,
|
|
2611
2697
|
decidedAt: e.d,
|
|
2612
2698
|
consentVersion: e.v
|
|
2613
|
-
}),
|
|
2699
|
+
}), V = (e) => ({
|
|
2614
2700
|
a: e.analytics,
|
|
2615
2701
|
m: e.marketing,
|
|
2616
2702
|
d: e.decidedAt,
|
|
2617
2703
|
v: e.consentVersion
|
|
2618
|
-
}), Ue = (e, t,
|
|
2619
|
-
if (
|
|
2704
|
+
}), Ue = (e, t, i) => {
|
|
2705
|
+
if (i.v !== t)
|
|
2620
2706
|
return !1;
|
|
2621
2707
|
const s = new Date(e).getTime();
|
|
2622
2708
|
return Number.isNaN(s) ? !1 : Date.now() - s < Me;
|
|
2623
|
-
}, Fe = (e) => {
|
|
2624
|
-
const t = _e();
|
|
2625
|
-
return !t || !Ue(t.d, e, t) ? null : Le(t);
|
|
2626
2709
|
}, Ge = (e) => {
|
|
2627
|
-
const
|
|
2710
|
+
const t = ve();
|
|
2711
|
+
return !t || !Ue(t.d, e, t) ? null : Le(t);
|
|
2712
|
+
}, Fe = (e) => {
|
|
2713
|
+
const [t, i] = b(() => Ge(e.consentVersion)), s = ue({
|
|
2628
2714
|
queryKey: ["cookie-consent", "me"],
|
|
2629
2715
|
queryFn: async () => (await k.sdk.user.cookieConsent.get()).data.consent,
|
|
2630
2716
|
enabled: e.isAuthenticated,
|
|
@@ -2637,9 +2723,9 @@ const V = (e) => ({
|
|
|
2637
2723
|
decidedAt: n.decidedAt,
|
|
2638
2724
|
consentVersion: n.consentVersion
|
|
2639
2725
|
})).data.consent
|
|
2640
|
-
}), a =
|
|
2726
|
+
}), a = I(
|
|
2641
2727
|
(n) => {
|
|
2642
|
-
H(
|
|
2728
|
+
H(V(n), { domain: e.domain }), i(n), e.isAuthenticated && r.mutate(n);
|
|
2643
2729
|
},
|
|
2644
2730
|
[e.domain, e.isAuthenticated, r]
|
|
2645
2731
|
);
|
|
@@ -2647,9 +2733,9 @@ const V = (e) => ({
|
|
|
2647
2733
|
if (!e.isAuthenticated || s.isLoading || s.isError)
|
|
2648
2734
|
return;
|
|
2649
2735
|
const n = De(t, s.data ?? null);
|
|
2650
|
-
n.action ===
|
|
2736
|
+
n.action === F.ADOPT_DB && n.value ? (H(V(n.value), { domain: e.domain }), i(n.value)) : n.action === F.PUSH_COOKIE && n.value && r.mutate(n.value);
|
|
2651
2737
|
}, [e.isAuthenticated, s.isLoading, s.isError, s.data]);
|
|
2652
|
-
const u =
|
|
2738
|
+
const u = I(() => {
|
|
2653
2739
|
a({
|
|
2654
2740
|
essentials: !0,
|
|
2655
2741
|
analytics: !0,
|
|
@@ -2657,7 +2743,7 @@ const V = (e) => ({
|
|
|
2657
2743
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2658
2744
|
consentVersion: e.consentVersion
|
|
2659
2745
|
});
|
|
2660
|
-
}, [e.consentVersion, a]), p =
|
|
2746
|
+
}, [e.consentVersion, a]), p = I(() => {
|
|
2661
2747
|
a({
|
|
2662
2748
|
essentials: !0,
|
|
2663
2749
|
analytics: !1,
|
|
@@ -2665,7 +2751,7 @@ const V = (e) => ({
|
|
|
2665
2751
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2666
2752
|
consentVersion: e.consentVersion
|
|
2667
2753
|
});
|
|
2668
|
-
}, [e.consentVersion, a]), A =
|
|
2754
|
+
}, [e.consentVersion, a]), A = I(
|
|
2669
2755
|
(n) => {
|
|
2670
2756
|
a({
|
|
2671
2757
|
essentials: !0,
|
|
@@ -2676,16 +2762,16 @@ const V = (e) => ({
|
|
|
2676
2762
|
});
|
|
2677
2763
|
},
|
|
2678
2764
|
[e.consentVersion, a]
|
|
2679
|
-
),
|
|
2680
|
-
Pe({ domain: e.domain }),
|
|
2765
|
+
), O = I(() => {
|
|
2766
|
+
Pe({ domain: e.domain }), i(null);
|
|
2681
2767
|
}, [e.domain]);
|
|
2682
|
-
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset:
|
|
2768
|
+
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset: O };
|
|
2683
2769
|
}, ke = ({ api: e, privacyLinkHref: t }) => {
|
|
2684
|
-
const
|
|
2770
|
+
const i = K(), { acceptAll: s, rejectAll: r, save: a } = e, [u, p] = b(!1), [A, O] = b(!1), [n, h] = b(!1), C = () => {
|
|
2685
2771
|
a({ analytics: A, marketing: n }), p(!1);
|
|
2686
2772
|
};
|
|
2687
2773
|
return /* @__PURE__ */ g($, { children: [
|
|
2688
|
-
/* @__PURE__ */
|
|
2774
|
+
/* @__PURE__ */ o(
|
|
2689
2775
|
te,
|
|
2690
2776
|
{
|
|
2691
2777
|
elevation: 8,
|
|
@@ -2705,56 +2791,56 @@ const V = (e) => ({
|
|
|
2705
2791
|
role: "dialog",
|
|
2706
2792
|
"aria-labelledby": "cookie-consent-title",
|
|
2707
2793
|
children: /* @__PURE__ */ g(D, { direction: { xs: "column", md: "row" }, spacing: 2, alignItems: { xs: "stretch", md: "center" }, children: [
|
|
2708
|
-
/* @__PURE__ */ g(
|
|
2709
|
-
/* @__PURE__ */
|
|
2710
|
-
/* @__PURE__ */
|
|
2711
|
-
/* @__PURE__ */
|
|
2794
|
+
/* @__PURE__ */ g(f, { sx: { flex: 1 }, children: [
|
|
2795
|
+
/* @__PURE__ */ o(m, { id: "cookie-consent-title", variant: "subtitle1", fontWeight: 700, gutterBottom: !0, children: i.formatRichMessage({ id: "cookies.banner.title" }) }),
|
|
2796
|
+
/* @__PURE__ */ o(m, { variant: "body2", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.banner.description" }) }),
|
|
2797
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", sx: { mt: 1, display: "block" }, children: /* @__PURE__ */ o("a", { href: t, style: { color: "inherit" }, rel: "noreferrer", children: i.formatRichMessage({ id: "cookies.banner.privacy-link" }) }) })
|
|
2712
2798
|
] }),
|
|
2713
2799
|
/* @__PURE__ */ g(D, { direction: { xs: "column", sm: "row" }, spacing: 1, sx: { flexShrink: 0 }, children: [
|
|
2714
|
-
/* @__PURE__ */
|
|
2715
|
-
/* @__PURE__ */
|
|
2716
|
-
/* @__PURE__ */
|
|
2800
|
+
/* @__PURE__ */ o(N, { variant: "text", onClick: r, children: i.formatRichMessage({ id: "cookies.action.reject-all" }) }),
|
|
2801
|
+
/* @__PURE__ */ o(N, { variant: "outlined", onClick: () => p(!0), children: i.formatRichMessage({ id: "cookies.action.configure" }) }),
|
|
2802
|
+
/* @__PURE__ */ o(N, { variant: "contained", onClick: s, children: i.formatRichMessage({ id: "cookies.action.accept-all" }) })
|
|
2717
2803
|
] })
|
|
2718
2804
|
] })
|
|
2719
2805
|
}
|
|
2720
2806
|
),
|
|
2721
|
-
/* @__PURE__ */ g(
|
|
2722
|
-
/* @__PURE__ */
|
|
2723
|
-
/* @__PURE__ */
|
|
2724
|
-
/* @__PURE__ */
|
|
2807
|
+
/* @__PURE__ */ g(ie, { open: u, onClose: () => p(!1), maxWidth: "sm", fullWidth: !0, children: [
|
|
2808
|
+
/* @__PURE__ */ o(oe, { children: i.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2809
|
+
/* @__PURE__ */ o(re, { children: /* @__PURE__ */ g(D, { spacing: 2, sx: { pt: 1 }, children: [
|
|
2810
|
+
/* @__PURE__ */ o(
|
|
2725
2811
|
R,
|
|
2726
2812
|
{
|
|
2727
|
-
control: /* @__PURE__ */
|
|
2728
|
-
label: /* @__PURE__ */ g(
|
|
2729
|
-
/* @__PURE__ */
|
|
2730
|
-
/* @__PURE__ */
|
|
2813
|
+
control: /* @__PURE__ */ o(_, { checked: !0, disabled: !0 }),
|
|
2814
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2815
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2816
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2731
2817
|
] })
|
|
2732
2818
|
}
|
|
2733
2819
|
),
|
|
2734
|
-
/* @__PURE__ */
|
|
2820
|
+
/* @__PURE__ */ o(
|
|
2735
2821
|
R,
|
|
2736
2822
|
{
|
|
2737
|
-
control: /* @__PURE__ */
|
|
2738
|
-
label: /* @__PURE__ */ g(
|
|
2739
|
-
/* @__PURE__ */
|
|
2740
|
-
/* @__PURE__ */
|
|
2823
|
+
control: /* @__PURE__ */ o(_, { checked: A, onChange: (T, c) => O(c) }),
|
|
2824
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2825
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2826
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2741
2827
|
] })
|
|
2742
2828
|
}
|
|
2743
2829
|
),
|
|
2744
|
-
/* @__PURE__ */
|
|
2830
|
+
/* @__PURE__ */ o(
|
|
2745
2831
|
R,
|
|
2746
2832
|
{
|
|
2747
|
-
control: /* @__PURE__ */
|
|
2748
|
-
label: /* @__PURE__ */ g(
|
|
2749
|
-
/* @__PURE__ */
|
|
2750
|
-
/* @__PURE__ */
|
|
2833
|
+
control: /* @__PURE__ */ o(_, { checked: n, onChange: (T, c) => h(c) }),
|
|
2834
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2835
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2836
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2751
2837
|
] })
|
|
2752
2838
|
}
|
|
2753
2839
|
)
|
|
2754
2840
|
] }) }),
|
|
2755
2841
|
/* @__PURE__ */ g(ae, { children: [
|
|
2756
|
-
/* @__PURE__ */
|
|
2757
|
-
/* @__PURE__ */
|
|
2842
|
+
/* @__PURE__ */ o(N, { onClick: () => p(!1), children: i.formatRichMessage({ id: "cookies.action.cancel" }) }),
|
|
2843
|
+
/* @__PURE__ */ o(N, { onClick: C, variant: "contained", children: i.formatRichMessage({ id: "cookies.action.save" }) })
|
|
2758
2844
|
] })
|
|
2759
2845
|
] })
|
|
2760
2846
|
] });
|
|
@@ -2766,65 +2852,65 @@ const V = (e) => ({
|
|
|
2766
2852
|
}, we = "https://abyss-project.fr/legal/privacy", Ke = ({
|
|
2767
2853
|
children: e,
|
|
2768
2854
|
consentVersion: t,
|
|
2769
|
-
isAuthenticated:
|
|
2855
|
+
isAuthenticated: i,
|
|
2770
2856
|
domain: s,
|
|
2771
2857
|
privacyLinkHref: r = we,
|
|
2772
2858
|
renderBanner: a
|
|
2773
2859
|
}) => {
|
|
2774
|
-
const u =
|
|
2860
|
+
const u = Fe({ isAuthenticated: i, consentVersion: t, domain: s }), p = x(() => u.isResolved ? null : a ? a(u) : /* @__PURE__ */ o(ke, { api: u, privacyLinkHref: r }), [u, r, a]);
|
|
2775
2861
|
return /* @__PURE__ */ g(Z.Provider, { value: u, children: [
|
|
2776
2862
|
e,
|
|
2777
2863
|
p
|
|
2778
2864
|
] });
|
|
2779
2865
|
}, Je = () => {
|
|
2780
|
-
const e = K(), { consent: t, save:
|
|
2866
|
+
const e = K(), { consent: t, save: i } = Be(), [s, r] = b((t == null ? void 0 : t.analytics) ?? !1), [a, u] = b((t == null ? void 0 : t.marketing) ?? !1);
|
|
2781
2867
|
return z(() => {
|
|
2782
2868
|
t && (r(t.analytics), u(t.marketing));
|
|
2783
|
-
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */
|
|
2784
|
-
/* @__PURE__ */
|
|
2785
|
-
/* @__PURE__ */
|
|
2869
|
+
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ o(se, { sx: { borderRadius: 3 }, children: /* @__PURE__ */ o(ne, { children: /* @__PURE__ */ g(D, { spacing: 2, children: [
|
|
2870
|
+
/* @__PURE__ */ o(m, { variant: "h6", children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2871
|
+
/* @__PURE__ */ o(
|
|
2786
2872
|
R,
|
|
2787
2873
|
{
|
|
2788
|
-
control: /* @__PURE__ */
|
|
2789
|
-
label: /* @__PURE__ */ g(
|
|
2790
|
-
/* @__PURE__ */
|
|
2791
|
-
/* @__PURE__ */
|
|
2874
|
+
control: /* @__PURE__ */ o(_, { checked: !0, disabled: !0 }),
|
|
2875
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2876
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2877
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2792
2878
|
] })
|
|
2793
2879
|
}
|
|
2794
2880
|
),
|
|
2795
|
-
/* @__PURE__ */
|
|
2881
|
+
/* @__PURE__ */ o(
|
|
2796
2882
|
R,
|
|
2797
2883
|
{
|
|
2798
|
-
control: /* @__PURE__ */
|
|
2799
|
-
label: /* @__PURE__ */ g(
|
|
2800
|
-
/* @__PURE__ */
|
|
2801
|
-
/* @__PURE__ */
|
|
2884
|
+
control: /* @__PURE__ */ o(_, { checked: s, onChange: (p, A) => r(A) }),
|
|
2885
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2886
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2887
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2802
2888
|
] })
|
|
2803
2889
|
}
|
|
2804
2890
|
),
|
|
2805
|
-
/* @__PURE__ */
|
|
2891
|
+
/* @__PURE__ */ o(
|
|
2806
2892
|
R,
|
|
2807
2893
|
{
|
|
2808
|
-
control: /* @__PURE__ */
|
|
2809
|
-
label: /* @__PURE__ */ g(
|
|
2810
|
-
/* @__PURE__ */
|
|
2811
|
-
/* @__PURE__ */
|
|
2894
|
+
control: /* @__PURE__ */ o(_, { checked: a, onChange: (p, A) => u(A) }),
|
|
2895
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2896
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2897
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2812
2898
|
] })
|
|
2813
2899
|
}
|
|
2814
2900
|
),
|
|
2815
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(N, { variant: "contained", onClick: () => i({ analytics: s, marketing: a }), children: e.formatRichMessage({ id: "cookies.action.save" }) }) })
|
|
2816
2902
|
] }) }) });
|
|
2817
2903
|
};
|
|
2818
2904
|
export {
|
|
2819
2905
|
Ke as A,
|
|
2820
2906
|
be as B,
|
|
2821
2907
|
ke as C,
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2908
|
+
Ne as D,
|
|
2909
|
+
Ie as E,
|
|
2910
|
+
F as R,
|
|
2825
2911
|
J as V,
|
|
2826
2912
|
Je as a,
|
|
2827
|
-
|
|
2913
|
+
Fe as b,
|
|
2828
2914
|
L as c,
|
|
2829
2915
|
Pe as d,
|
|
2830
2916
|
De as e,
|
|
@@ -2840,13 +2926,13 @@ export {
|
|
|
2840
2926
|
Te as o,
|
|
2841
2927
|
Se as p,
|
|
2842
2928
|
M as q,
|
|
2843
|
-
|
|
2929
|
+
ve as r,
|
|
2844
2930
|
he as s,
|
|
2845
|
-
|
|
2931
|
+
G as t,
|
|
2846
2932
|
Be as u,
|
|
2847
|
-
|
|
2933
|
+
Oe as v,
|
|
2848
2934
|
H as w,
|
|
2849
|
-
|
|
2935
|
+
fe as x,
|
|
2850
2936
|
Ce as y,
|
|
2851
2937
|
j as z
|
|
2852
2938
|
};
|