@1024pix/epreuves-components 4.0.2 → 4.2.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 (52) hide show
  1. package/dist/{Button.ce-CIdOR7Ut.js → Button.ce-DZ8jDtW5.js} +1 -1
  2. package/dist/{ButtonTooltip.ce-DcDedpxX.js → ButtonTooltip.ce-BnJlaEqx.js} +1 -1
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js → Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js} +16 -14
  4. package/dist/{FocusManager.ce-B9q14nBB.js → FocusManager.ce-DHXwg6WZ.js} +2 -2
  5. package/dist/{LLMMessage.ce-m7gAgj3M.js → LLMMessage.ce-jLEqjxsl.js} +2 -2
  6. package/dist/{Loading.ce-Diq78Qvm.js → Loading.ce-DDtlSLlu.js} +1 -1
  7. package/dist/{NavigationButton.ce-CgVczgG8.js → NavigationButton.ce-BnnVUwGr.js} +2 -2
  8. package/dist/{PixMailMessage.ce-CI8R0PnN.js → PixMailMessage.ce-oCccQFGV.js} +33 -33
  9. package/dist/{Popin.ce-BczgRCZ5.js → Popin.ce-Co12R3C8.js} +33 -25
  10. package/dist/{Retry-vIN7ZGdK.js → Retry-C7C78Wpj.js} +1 -1
  11. package/dist/{Stepper.ce-DwjG4jda.js → Stepper.ce-Dttf3Dsf.js} +1 -1
  12. package/dist/{_plugin-vue_export-helper-VRfPs3B6.js → _plugin-vue_export-helper-B-lVMTio.js} +1224 -1192
  13. package/dist/components/analyse-mails-phishing.ce.js.js +5 -5
  14. package/dist/components/calcul-impact.ce.js.js +2 -2
  15. package/dist/components/capacity-calculation.ce.js.js +3 -3
  16. package/dist/components/clickable-image.ce.js.js +1 -1
  17. package/dist/components/complete-phrase.ce.js.js +3 -3
  18. package/dist/components/flip-cards.ce.js.js +1 -1
  19. package/dist/components/image-quiz.ce.js.js +3 -3
  20. package/dist/components/image-quizzes.ce.js.js +3 -3
  21. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  22. package/dist/components/llm-messages.ce.js.js +3 -3
  23. package/dist/components/llm-prompt-select.ce.js.js +1 -1
  24. package/dist/components/mdp-classement.ce.js.js +5 -5
  25. package/dist/components/message-conversation.ce.js.js +2 -2
  26. package/dist/components/mobile-shell.ce.js.js +1 -1
  27. package/dist/components/phishing-message.ce.js.js +2 -2
  28. package/dist/components/phishing-notification.ce.js.js +3 -3
  29. package/dist/components/pix-anonymisation.ce.js.js +79 -84
  30. package/dist/components/pix-article.ce.js.js +2 -2
  31. package/dist/components/pix-carousel.ce.js.js +4 -4
  32. package/dist/components/pix-combinaisons.ce.js.js +85 -85
  33. package/dist/components/pix-cursor.ce.js.js +3 -3
  34. package/dist/components/pix-mail-message.ce.js.js +4 -4
  35. package/dist/components/proteger-mail-spam.ce.js.js +46 -46
  36. package/dist/components/qcm-deepfake.ce.js.js +3 -3
  37. package/dist/components/quiz-stepper.ce.js.js +5 -5
  38. package/dist/components/select-conversation.ce.js.js +2 -2
  39. package/dist/components/template-mail.ce.js.js +4 -4
  40. package/dist/components/test-top-mdp.ce.js.js +86 -79
  41. package/dist/components/trouver-mdp-rs.ce.js.js +297 -283
  42. package/dist/{i18n-C-9bWDxP.js → i18n-CsT7k7zW.js} +124 -113
  43. package/dist/{i18n-lite-CZIis7T7.js → i18n-lite-BIJ2LVs6.js} +19 -12
  44. package/dist/{image-quiz.ce-COX8VOUE.js → image-quiz.ce-B4NDetit.js} +49 -44
  45. package/dist/{index-DgWpXIzq.js → index-BaI3Qosp.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/nl-euPrf5s3.js +21 -0
  48. package/dist/props.examples.js +13 -13
  49. package/dist/schema.js +77 -67
  50. package/dist/{shadow-dom-5ECgVh4w.js → shadow-dom-Bouq869n.js} +1 -1
  51. package/package.json +1 -1
  52. package/dist/nl-Bonww6Q2.js +0 -13
@@ -1,65 +1,65 @@
1
- import { b as J, h as S, K as X, o as u, c as b, a as e, C as y, D as m, E as f, x as o, z as T, F as L, e as P, f as Y, l as ee, m as te, r as h, g as i, n as ae, _ as se, d as oe } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { u as ie, i as B } from "../i18n-lite-CZIis7T7.js";
3
- import { B as V } from "../Button.ce-CIdOR7Ut.js";
4
- import { P as ne } from "../Popin.ce-BczgRCZ5.js";
5
- import { p as re } from "../shadow-dom-5ECgVh4w.js";
6
- import { b as le } from "../normalize-props-DH0oPBss.js";
7
- const ce = {
1
+ import { b as J, h as T, K as X, o as u, c as f, a as e, C as _, D as m, E as b, x as o, z as S, F as j, e as L, f as Y, l as ee, m as te, r as h, g as i, n as ae, _ as se, d as oe } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { u as ie, i as V } from "../i18n-lite-BIJ2LVs6.js";
3
+ import { B as P } from "../Button.ce-DZ8jDtW5.js";
4
+ import { P as ne } from "../Popin.ce-Co12R3C8.js";
5
+ import { p as le } from "../shadow-dom-Bouq869n.js";
6
+ import { b as re } from "../normalize-props-DH0oPBss.js";
7
+ const ce = {}, de = {}, pe = {}, ue = {}, be = {}, fe = {
8
8
  "pix-combinaisons": { findCombinations: "Trouvez les combinaisons", discoverCombinations: "Combinaisons découvertes", progression: "Progression", validate: "Valider", ariaValidate: "Valider la combinaison", displayAllCombinations: "Voir toutes les combinaisons", combinationAlreadyTried: "Vous avez déjà essayé cette combinaison", fourPasswords: "4 mots de passe sont possibles. C’est peu !", easilyTestable: "Une personne peut facilement tester toutes les combinaisons à la main.", next: "Suivant", soManyPasswords: "27 mots de passe sont possibles !", feedbackSoManyPasswords: "Environ 7 fois plus de combinaisons qu’avant. Ça augmente vite dis donc ! 😱\u2028Quand on ajoute des caractères et qu’on allonge le mot de passe, il faut beaucoup plus de temps pour tout tester à la main.", completed: "Terminé", backspace: "Retour en arrière", currentStep: "{{step}} {{number}}", step: "Étape", numberOfChars: "{{number}} caractères", completionState: "Vous avez trouvé {{percent}} des combinaisons possibles" }
9
- }, A = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8333%209.16675H4.16667C3.24619%209.16675%202.5%209.91294%202.5%2010.8334V16.6667C2.5%2017.5872%203.24619%2018.3334%204.16667%2018.3334H15.8333C16.7538%2018.3334%2017.5%2017.5872%2017.5%2016.6667V10.8334C17.5%209.91294%2016.7538%209.16675%2015.8333%209.16675Z'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.83331%209.16675V5.83341C5.83331%204.72835%206.2723%203.66854%207.0537%202.88714C7.8351%202.10573%208.89491%201.66675%209.99998%201.66675C11.105%201.66675%2012.1649%202.10573%2012.9463%202.88714C13.7277%203.66854%2014.1666%204.72835%2014.1666%205.83341V9.16675'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", de = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.83713%207.37459C10.522%206.70686%2011.4406%206.33317%2012.3971%206.33325H26.1265C26.9238%206.33325%2027.8518%206.55459%2028.6105%207.02525C29.3825%207.50259%2030.0905%208.32392%2030.0905%209.49992V22.4999C30.0905%2023.6759%2029.3825%2024.4959%2028.6105%2024.9746C27.8597%2025.4244%2027.0016%2025.6635%2026.1265%2025.6666H12.3971C11.4406%2025.6667%2010.522%2025.293%209.83713%2024.6253L2.70379%2017.6706C2.48084%2017.4532%202.30365%2017.1934%202.18267%2016.9065C2.06169%2016.6195%201.99936%2016.3113%201.99936%2015.9999C1.99936%2015.6885%202.06169%2015.3803%202.18267%2015.0934C2.30365%2014.8064%202.48084%2014.5466%202.70379%2014.3293L9.83713%207.37459ZM18.7065%2012.6266C18.6149%2012.5283%2018.5045%2012.4495%2018.3818%2012.3949C18.2592%2012.3402%2018.1268%2012.3108%2017.9925%2012.3085C17.8582%2012.3061%2017.7248%2012.3308%2017.6003%2012.3811C17.4758%2012.4314%2017.3627%2012.5062%2017.2677%2012.6012C17.1728%2012.6962%2017.0979%2012.8093%2017.0476%2012.9338C16.9973%2013.0583%2016.9726%2013.1917%2016.975%2013.3259C16.9774%2013.4602%2017.0068%2013.5926%2017.0614%2013.7153C17.1161%2013.838%2017.1949%2013.9484%2017.2931%2014.0399L19.2531%2015.9999L17.2931%2017.9599C17.1949%2018.0515%2017.1161%2018.1619%2017.0614%2018.2845C17.0068%2018.4072%2016.9774%2018.5396%2016.975%2018.6739C16.9726%2018.8082%2016.9973%2018.9415%2017.0476%2019.066C17.0979%2019.1906%2017.1728%2019.3037%2017.2677%2019.3986C17.3627%2019.4936%2017.4758%2019.5685%2017.6003%2019.6187C17.7248%2019.669%2017.8582%2019.6937%2017.9925%2019.6914C18.1268%2019.689%2018.2592%2019.6596%2018.3818%2019.605C18.5045%2019.5503%2018.6149%2019.4715%2018.7065%2019.3733L20.6665%2017.4133L22.6265%2019.3733C22.718%2019.4715%2022.8284%2019.5503%2022.9511%2019.605C23.0737%2019.6596%2023.2062%2019.689%2023.3404%2019.6914C23.4747%2019.6937%2023.6081%2019.669%2023.7326%2019.6187C23.8571%2019.5685%2023.9702%2019.4936%2024.0652%2019.3986C24.1601%2019.3037%2024.235%2019.1906%2024.2853%2019.066C24.3356%2018.9415%2024.3603%2018.8082%2024.3579%2018.6739C24.3555%2018.5396%2024.3262%2018.4072%2024.2715%2018.2845C24.2168%2018.1619%2024.138%2018.0515%2024.0398%2017.9599L22.0798%2015.9999L24.0398%2014.0399C24.138%2013.9484%2024.2168%2013.838%2024.2715%2013.7153C24.3262%2013.5926%2024.3555%2013.4602%2024.3579%2013.3259C24.3603%2013.1917%2024.3356%2013.0583%2024.2853%2012.9338C24.235%2012.8093%2024.1601%2012.6962%2024.0652%2012.6012C23.9702%2012.5062%2023.8571%2012.4314%2023.7326%2012.3811C23.6081%2012.3308%2023.4747%2012.3061%2023.3404%2012.3085C23.2062%2012.3108%2023.0737%2012.3402%2022.9511%2012.3949C22.8284%2012.4495%2022.718%2012.5283%2022.6265%2012.6266L20.6665%2014.5866L18.7065%2012.6266Z'%20fill='%232C75FF'/%3e%3c/svg%3e", pe = { class: "stepper" }, ue = ["aria-hidden"], fe = { class: "character-value" }, be = { class: "sr-only" }, me = { class: "character-info" }, ve = ["aria-hidden"], ge = { class: "character-value" }, he = { class: "sr-only" }, xe = { class: "character-info" }, Ce = { class: "cards" }, ye = { class: "card card-left" }, we = ["aria-level"], ke = ["src"], _e = {
9
+ }, me = {}, ve = {}, A = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8333%209.16675H4.16667C3.24619%209.16675%202.5%209.91294%202.5%2010.8334V16.6667C2.5%2017.5872%203.24619%2018.3334%204.16667%2018.3334H15.8333C16.7538%2018.3334%2017.5%2017.5872%2017.5%2016.6667V10.8334C17.5%209.91294%2016.7538%209.16675%2015.8333%209.16675Z'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.83331%209.16675V5.83341C5.83331%204.72835%206.2723%203.66854%207.0537%202.88714C7.8351%202.10573%208.89491%201.66675%209.99998%201.66675C11.105%201.66675%2012.1649%202.10573%2012.9463%202.88714C13.7277%203.66854%2014.1666%204.72835%2014.1666%205.83341V9.16675'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ge = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.83713%207.37459C10.522%206.70686%2011.4406%206.33317%2012.3971%206.33325H26.1265C26.9238%206.33325%2027.8518%206.55459%2028.6105%207.02525C29.3825%207.50259%2030.0905%208.32392%2030.0905%209.49992V22.4999C30.0905%2023.6759%2029.3825%2024.4959%2028.6105%2024.9746C27.8597%2025.4244%2027.0016%2025.6635%2026.1265%2025.6666H12.3971C11.4406%2025.6667%2010.522%2025.293%209.83713%2024.6253L2.70379%2017.6706C2.48084%2017.4532%202.30365%2017.1934%202.18267%2016.9065C2.06169%2016.6195%201.99936%2016.3113%201.99936%2015.9999C1.99936%2015.6885%202.06169%2015.3803%202.18267%2015.0934C2.30365%2014.8064%202.48084%2014.5466%202.70379%2014.3293L9.83713%207.37459ZM18.7065%2012.6266C18.6149%2012.5283%2018.5045%2012.4495%2018.3818%2012.3949C18.2592%2012.3402%2018.1268%2012.3108%2017.9925%2012.3085C17.8582%2012.3061%2017.7248%2012.3308%2017.6003%2012.3811C17.4758%2012.4314%2017.3627%2012.5062%2017.2677%2012.6012C17.1728%2012.6962%2017.0979%2012.8093%2017.0476%2012.9338C16.9973%2013.0583%2016.9726%2013.1917%2016.975%2013.3259C16.9774%2013.4602%2017.0068%2013.5926%2017.0614%2013.7153C17.1161%2013.838%2017.1949%2013.9484%2017.2931%2014.0399L19.2531%2015.9999L17.2931%2017.9599C17.1949%2018.0515%2017.1161%2018.1619%2017.0614%2018.2845C17.0068%2018.4072%2016.9774%2018.5396%2016.975%2018.6739C16.9726%2018.8082%2016.9973%2018.9415%2017.0476%2019.066C17.0979%2019.1906%2017.1728%2019.3037%2017.2677%2019.3986C17.3627%2019.4936%2017.4758%2019.5685%2017.6003%2019.6187C17.7248%2019.669%2017.8582%2019.6937%2017.9925%2019.6914C18.1268%2019.689%2018.2592%2019.6596%2018.3818%2019.605C18.5045%2019.5503%2018.6149%2019.4715%2018.7065%2019.3733L20.6665%2017.4133L22.6265%2019.3733C22.718%2019.4715%2022.8284%2019.5503%2022.9511%2019.605C23.0737%2019.6596%2023.2062%2019.689%2023.3404%2019.6914C23.4747%2019.6937%2023.6081%2019.669%2023.7326%2019.6187C23.8571%2019.5685%2023.9702%2019.4936%2024.0652%2019.3986C24.1601%2019.3037%2024.235%2019.1906%2024.2853%2019.066C24.3356%2018.9415%2024.3603%2018.8082%2024.3579%2018.6739C24.3555%2018.5396%2024.3262%2018.4072%2024.2715%2018.2845C24.2168%2018.1619%2024.138%2018.0515%2024.0398%2017.9599L22.0798%2015.9999L24.0398%2014.0399C24.138%2013.9484%2024.2168%2013.838%2024.2715%2013.7153C24.3262%2013.5926%2024.3555%2013.4602%2024.3579%2013.3259C24.3603%2013.1917%2024.3356%2013.0583%2024.2853%2012.9338C24.235%2012.8093%2024.1601%2012.6962%2024.0652%2012.6012C23.9702%2012.5062%2023.8571%2012.4314%2023.7326%2012.3811C23.6081%2012.3308%2023.4747%2012.3061%2023.3404%2012.3085C23.2062%2012.3108%2023.0737%2012.3402%2022.9511%2012.3949C22.8284%2012.4495%2022.718%2012.5283%2022.6265%2012.6266L20.6665%2014.5866L18.7065%2012.6266Z'%20fill='%232C75FF'/%3e%3c/svg%3e", he = { class: "stepper" }, xe = ["aria-hidden"], Ce = { class: "character-value" }, _e = { class: "sr-only" }, ye = { class: "character-info" }, we = ["aria-hidden"], ke = { class: "character-value" }, je = { class: "sr-only" }, Le = { class: "character-info" }, Pe = { class: "cards" }, Ve = { class: "card card-left" }, Be = ["aria-level"], $e = ["src"], ze = {
10
10
  class: "sr-only",
11
11
  "aria-live": "polite"
12
- }, Le = {
12
+ }, Te = {
13
13
  class: "placeholders",
14
14
  id: "letters",
15
15
  "aria-live": "polite"
16
- }, Pe = { class: "letters-and-back" }, Ve = ["src"], Be = {
16
+ }, Se = { class: "letters-and-back" }, Ae = ["src"], Ee = {
17
17
  key: 0,
18
18
  class: "doublon-feedback",
19
19
  "aria-live": "polite"
20
- }, $e = { class: "card card-right" }, ze = ["aria-level"], je = ["src"], Se = ["aria-live"], Te = /* @__PURE__ */ J({
20
+ }, De = { class: "card card-right" }, Me = ["aria-level"], Fe = ["src"], Ne = ["aria-live"], Re = /* @__PURE__ */ J({
21
21
  __name: "PixCombinaisons.ce",
22
22
  props: {
23
23
  wontWait: { type: Boolean, default: !1 },
24
24
  titleLevel: { default: 2, type: Number }
25
25
  },
26
- setup(d, { expose: E }) {
27
- re();
28
- const { t: l } = ie(), M = S("combination"), $ = S("wrapper"), n = h([]), x = h(!1), c = h([]), p = h(1), k = h(!1), w = h(!1), F = i(() => n.value.length === C.value.length || v.value), N = i(() => n.value.length === 0 || v.value), R = i(() => n.value.length !== C.value.length && !v.value || w.value), v = i(() => c.value.length >= 7), C = i(() => ["A", "B", "C"].slice(0, p.value + 1)), I = i(() => c.value.length === _.value.length && !k.value), q = i(() => p.value === 1 ? {
29
- title: l("pix-combinaisons.fourPasswords"),
30
- content: l("pix-combinaisons.easilyTestable"),
31
- textButton: l("pix-combinaisons.next")
26
+ setup(d, { expose: D }) {
27
+ le();
28
+ const { t: r } = ie(), M = T("combination"), B = T("wrapper"), n = h([]), x = h(!1), c = h([]), p = h(1), w = h(!1), y = h(!1), F = i(() => n.value.length === C.value.length || v.value), N = i(() => n.value.length === 0 || v.value), R = i(() => n.value.length !== C.value.length && !v.value || y.value), v = i(() => c.value.length >= 7), C = i(() => ["A", "B", "C"].slice(0, p.value + 1)), I = i(() => c.value.length === k.value.length && !w.value), q = i(() => p.value === 1 ? {
29
+ title: r("pix-combinaisons.fourPasswords"),
30
+ content: r("pix-combinaisons.easilyTestable"),
31
+ textButton: r("pix-combinaisons.next")
32
32
  } : {
33
- title: l("pix-combinaisons.soManyPasswords"),
34
- content: l("pix-combinaisons.feedbackSoManyPasswords"),
35
- textButton: l("pix-combinaisons.completed")
36
- }), H = i(() => v.value ? l("pix-combinaisons.displayAllCombinations") : l("pix-combinaisons.validate")), O = i(() => v.value ? l("pix-combinaisons.displayAllCombinations") : l("pix-combinaisons.ariaValidate")), z = i(() => `${(c.value.length * 100 / _.value.length).toFixed(0)}%`), Z = i(() => `${p.value === 1 ? "50" : "100"}%`), _ = i(() => j(C.value));
33
+ title: r("pix-combinaisons.soManyPasswords"),
34
+ content: r("pix-combinaisons.feedbackSoManyPasswords"),
35
+ textButton: r("pix-combinaisons.completed")
36
+ }), H = i(() => v.value ? r("pix-combinaisons.displayAllCombinations") : r("pix-combinaisons.validate")), O = i(() => v.value ? r("pix-combinaisons.displayAllCombinations") : r("pix-combinaisons.ariaValidate")), $ = i(() => `${(c.value.length * 100 / k.value.length).toFixed(0)}%`), Z = i(() => `${p.value === 1 ? "50" : "100"}%`), k = i(() => z(C.value));
37
37
  function W() {
38
- n.value = [], x.value = !1, c.value = [], p.value = 1, k.value = !1, w.value = !1;
38
+ n.value = [], x.value = !1, c.value = [], p.value = 1, w.value = !1, y.value = !1;
39
39
  }
40
- function j(t, a = t) {
41
- const r = [];
40
+ function z(t, a = t) {
41
+ const l = [];
42
42
  for (let s = 0; s < t.length; s++)
43
43
  for (let g = 0; g < a.length; g++)
44
- r.push(`${t[s]}${a[g]}`);
45
- return r[0].length !== a.length ? j(r, t) : r;
44
+ l.push(`${t[s]}${a[g]}`);
45
+ return l[0].length !== a.length ? z(l, t) : l;
46
46
  }
47
47
  async function G() {
48
48
  if (p.value === 2) {
49
- k.value = !0;
49
+ w.value = !0;
50
50
  return;
51
51
  }
52
- n.value = [], x.value = !1, c.value = [], await ae(), $.value.focus(), p.value = 2;
52
+ n.value = [], x.value = !1, c.value = [], await ae(), B.value.focus(), p.value = 2;
53
53
  }
54
54
  function K(t) {
55
55
  n.value.push(t);
56
56
  }
57
57
  async function Q() {
58
58
  if (v.value) {
59
- w.value = !0;
60
- const a = _.value.filter((r) => !c.value.includes(r));
61
- for (const r of a)
62
- c.value.push(r), M.value.at(-1).scrollIntoView({ behavior: "smooth" }), d.wontWait || await new Promise((s) => setTimeout(s, 200));
59
+ y.value = !0;
60
+ const a = k.value.filter((l) => !c.value.includes(l));
61
+ for (const l of a)
62
+ c.value.push(l), M.value.at(-1).scrollIntoView({ block: "end", behavior: "smooth" }), d.wontWait || await new Promise((s) => setTimeout(s, 200));
63
63
  return;
64
64
  }
65
65
  const t = n.value.join("");
@@ -72,64 +72,64 @@ const ce = {
72
72
  function U(t, a) {
73
73
  return t.includes(a);
74
74
  }
75
- return E({
75
+ return D({
76
76
  reset: W
77
77
  }), (t, a) => {
78
- const r = X("i18n");
79
- return u(), b("div", {
78
+ const l = X("i18n");
79
+ return u(), f("div", {
80
80
  ref_key: "wrapper",
81
- ref: $,
81
+ ref: B,
82
82
  class: "wrapper",
83
83
  tabindex: "-1"
84
84
  }, [
85
- e("div", pe, [
85
+ e("div", he, [
86
86
  e("div", {
87
87
  class: "character",
88
88
  "aria-hidden": p.value !== 1
89
89
  }, [
90
- e("p", fe, [
91
- y(r, { t: "pix-combinaisons.currentStep" }, {
90
+ e("p", Ce, [
91
+ _(l, { t: "pix-combinaisons.currentStep" }, {
92
92
  step: m(() => [
93
- e("span", be, o(t.$t("pix-combinaisons.step")), 1)
93
+ e("span", _e, o(t.$t("pix-combinaisons.step")), 1)
94
94
  ]),
95
95
  number: m(() => [...a[1] || (a[1] = [
96
- f("1", -1)
96
+ b("1", -1)
97
97
  ])]),
98
98
  _: 1
99
99
  })
100
100
  ]),
101
- e("p", me, [
102
- f(o(t.$t("pix-combinaisons.numberOfChars", { number: 2 })), 1),
101
+ e("p", ye, [
102
+ b(o(t.$t("pix-combinaisons.numberOfChars", { number: 2 })), 1),
103
103
  a[2] || (a[2] = e("span", null, "(a,b)", -1))
104
104
  ])
105
- ], 8, ue),
105
+ ], 8, xe),
106
106
  e("div", {
107
107
  class: "stepper-bar",
108
- style: T({ "--step-progression": Z.value })
108
+ style: S({ "--step-progression": Z.value })
109
109
  }, null, 4),
110
110
  e("div", {
111
111
  class: "character",
112
112
  "aria-hidden": p.value !== 2
113
113
  }, [
114
- e("p", ge, [
115
- y(r, { t: "pix-combinaisons.currentStep" }, {
114
+ e("p", ke, [
115
+ _(l, { t: "pix-combinaisons.currentStep" }, {
116
116
  step: m(() => [
117
- e("span", he, o(t.$t("pix-combinaisons.step")), 1)
117
+ e("span", je, o(t.$t("pix-combinaisons.step")), 1)
118
118
  ]),
119
119
  number: m(() => [...a[3] || (a[3] = [
120
- f("2", -1)
120
+ b("2", -1)
121
121
  ])]),
122
122
  _: 1
123
123
  })
124
124
  ]),
125
- e("p", xe, [
126
- f(o(t.$t("pix-combinaisons.numberOfChars", { number: 3 })), 1),
125
+ e("p", Le, [
126
+ b(o(t.$t("pix-combinaisons.numberOfChars", { number: 3 })), 1),
127
127
  a[4] || (a[4] = e("span", null, "(a,b,c)", -1))
128
128
  ])
129
- ], 8, ve)
129
+ ], 8, we)
130
130
  ]),
131
- e("div", Ce, [
132
- e("section", ye, [
131
+ e("div", Pe, [
132
+ e("section", Ve, [
133
133
  e("div", {
134
134
  id: "title",
135
135
  role: "heading",
@@ -138,23 +138,23 @@ const ce = {
138
138
  e("img", {
139
139
  alt: "",
140
140
  src: A
141
- }, null, 8, ke),
142
- f(" " + o(t.$t("pix-combinaisons.findCombinations")), 1)
143
- ], 8, we),
141
+ }, null, 8, $e),
142
+ b(" " + o(t.$t("pix-combinaisons.findCombinations")), 1)
143
+ ], 8, Be),
144
144
  e("p", null, o(t.$t("pix-combinaisons.progression")), 1),
145
145
  e("div", {
146
146
  class: "progress-bar",
147
- style: T({ "--completion": z.value })
147
+ style: S({ "--completion": $.value })
148
148
  }, null, 4),
149
- e("p", _e, o(t.$t("pix-combinaisons.completionState", { percent: z.value })), 1),
150
- e("div", Le, [
151
- (u(!0), b(L, null, P(C.value.length, (s, g) => (u(), b("p", {
149
+ e("p", ze, o(t.$t("pix-combinaisons.completionState", { percent: $.value })), 1),
150
+ e("div", Te, [
151
+ (u(!0), f(j, null, L(C.value.length, (s, g) => (u(), f("p", {
152
152
  class: "placeholder",
153
153
  key: s
154
154
  }, o(n.value[g]), 1))), 128))
155
155
  ]),
156
- e("div", Pe, [
157
- (u(!0), b(L, null, P(C.value, (s) => (u(), Y(V, {
156
+ e("div", Se, [
157
+ (u(!0), f(j, null, L(C.value, (s) => (u(), Y(P, {
158
158
  "is-disabled": F.value,
159
159
  class: "letter",
160
160
  onClick: (g) => K(s),
@@ -162,11 +162,11 @@ const ce = {
162
162
  "aria-controls": "letters"
163
163
  }, {
164
164
  default: m(() => [
165
- f(o(s), 1)
165
+ b(o(s), 1)
166
166
  ]),
167
167
  _: 2
168
168
  }, 1032, ["is-disabled", "onClick"]))), 128)),
169
- y(V, {
169
+ _(P, {
170
170
  "is-disabled": N.value,
171
171
  class: "backspace",
172
172
  onClick: a[0] || (a[0] = (s) => n.value.pop()),
@@ -174,14 +174,14 @@ const ce = {
174
174
  }, {
175
175
  default: m(() => [
176
176
  e("img", {
177
- src: de,
177
+ src: ge,
178
178
  alt: ""
179
- }, null, 8, Ve)
179
+ }, null, 8, Ae)
180
180
  ]),
181
181
  _: 1
182
182
  }, 8, ["is-disabled", "aria-label"])
183
183
  ]),
184
- y(V, {
184
+ _(P, {
185
185
  class: "validate",
186
186
  "is-disabled": R.value,
187
187
  onClick: Q,
@@ -189,13 +189,13 @@ const ce = {
189
189
  "aria-describedby": "letters"
190
190
  }, {
191
191
  default: m(() => [
192
- f(o(H.value), 1)
192
+ b(o(H.value), 1)
193
193
  ]),
194
194
  _: 1
195
195
  }, 8, ["is-disabled", "aria-label"]),
196
- x.value ? (u(), b("p", Be, o(t.$t("pix-combinaisons.combinationAlreadyTried")), 1)) : ee("", !0)
196
+ x.value ? (u(), f("p", Ee, o(t.$t("pix-combinaisons.combinationAlreadyTried")), 1)) : ee("", !0)
197
197
  ]),
198
- e("section", $e, [
198
+ e("section", De, [
199
199
  e("div", {
200
200
  role: "heading",
201
201
  "aria-level": d.titleLevel + 1
@@ -203,37 +203,37 @@ const ce = {
203
203
  e("img", {
204
204
  alt: "",
205
205
  src: A
206
- }, null, 8, je),
207
- f(" " + o(t.$t("pix-combinaisons.discoverCombinations")), 1)
208
- ], 8, ze),
206
+ }, null, 8, Fe),
207
+ b(" " + o(t.$t("pix-combinaisons.discoverCombinations")), 1)
208
+ ], 8, Me),
209
209
  e("ul", {
210
210
  class: "results",
211
- "aria-live": w.value ? "polite" : "off"
211
+ "aria-live": y.value ? "polite" : "off"
212
212
  }, [
213
- (u(!0), b(L, null, P(c.value, (s) => (u(), b("li", {
213
+ (u(!0), f(j, null, L(c.value, (s) => (u(), f("li", {
214
214
  ref_for: !0,
215
215
  ref: "combination",
216
216
  key: s
217
217
  }, o(s), 1))), 128))
218
- ], 8, Se)
218
+ ], 8, Ne)
219
219
  ])
220
220
  ]),
221
- y(ne, te(q.value, {
221
+ _(ne, te(q.value, {
222
222
  show: I.value,
223
223
  onPrimaryAction: G
224
224
  }), null, 16, ["show"])
225
225
  ], 512);
226
226
  };
227
227
  }
228
- }), Ae = 'html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.doublon-feedback{border-radius:8px;background:#eaf1ff;padding:8px}.wrapper{position:relative;padding:24px 16px}.stepper{display:flex;align-items:center;gap:8px;width:60%;margin:0 auto;margin-bottom:calc(28px + 1.5rem)}.stepper .stepper-bar{height:4px;width:100%;background:#cdd1d9;border-radius:4px;position:relative}.stepper .stepper-bar:after{content:"";position:absolute;border-radius:inherit;background:#155dfc;width:var(--step-progression);height:100%}.stepper .character{display:flex;justify-content:center;align-items:center;position:relative;font-size:.875rem;font-weight:700;border-radius:50%;background-color:#3d68ff;aspect-ratio:1;width:32px}.stepper .character-value{color:#fff}.stepper .character-info{position:absolute;width:fit-content;color:#3d68ff;top:100%;left:50%;transform:translate(-50%);line-height:.75rem;text-align:center}.stepper .character-info span{display:block;font-size:.75rem;color:inherit}.cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.card{width:100%;max-width:356px;border-radius:24px;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px}.card p{font-family:Roboto,sans-serif;font-size:.875rem;margin-block:8px}.card-left .progress-bar{height:12px;border-radius:12px;background:#cdd1d9;margin-bottom:24px;position:relative}.card-left .progress-bar:after{content:"";position:absolute;left:0;border-radius:12px;background:linear-gradient(90deg,#2b7fff,#00b8db);height:100%;width:var(--completion)}.card-left .placeholders{display:flex;gap:8px;justify-content:center}.card-left .placeholder{font-size:1.25rem;border-radius:10px;border:2px dashed #cdd1d9;background:#f4f5f7;width:64px;height:80px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:700}.card-left .letters-and-back{display:flex;gap:8px;justify-content:center;cursor:pointer;margin:16px 0}.card-left .letter{padding-block:16px;border-radius:10px;background:#155dfc;color:#fff;font-size:1.25rem;font-weight:700;text-align:center}.card-left .letter:hover{background:#155dfcdd}.card-left .letter[aria-disabled=true]{background:#155dfc50}.card-left .backspace,.card-left .backspace:hover,.card-left .backspace[aria-disabled=true]{background:#f4f5f7}.card-left .backspace[aria-disabled=true] img{opacity:.5}.card-left .validate{width:100%;font-weight:700;font-size:1rem;margin-bottom:24px}.card-right{display:flex;flex-direction:column}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow-y:auto;max-height:300px}.results li{list-style:none;border-radius:10px;border:2px solid #2c75ff;background:#eaf1ff;padding:15px 0;text-align:center;font-weight:700}div[role=heading]{font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:24px}button{border:none;border-radius:10px;flex:1;cursor:pointer}', De = /* @__PURE__ */ se(Te, [["styles", [Ae]]]);
229
- B.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/fr.json": ce }));
230
- const D = oe(De, {
228
+ }), Ie = 'html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.doublon-feedback{border-radius:8px;background:#eaf1ff;padding:8px}.wrapper{position:relative;padding:24px 16px}.stepper{display:flex;align-items:center;gap:8px;width:60%;margin:0 auto;margin-bottom:calc(28px + 1.5rem)}.stepper .stepper-bar{height:4px;width:100%;background:#cdd1d9;border-radius:4px;position:relative}.stepper .stepper-bar:after{content:"";position:absolute;border-radius:inherit;background:#155dfc;width:var(--step-progression);height:100%}.stepper .character{display:flex;justify-content:center;align-items:center;position:relative;font-size:.875rem;font-weight:700;border-radius:50%;background-color:#3d68ff;aspect-ratio:1;width:32px}.stepper .character-value{color:#fff}.stepper .character-info{position:absolute;width:fit-content;color:#3d68ff;top:100%;left:50%;transform:translate(-50%);line-height:.75rem;text-align:center}.stepper .character-info span{display:block;font-size:.75rem;color:inherit}.cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.card{width:100%;max-width:356px;border-radius:24px;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px}.card p{font-family:Roboto,sans-serif;font-size:.875rem;margin-block:8px}.card-left .progress-bar{height:12px;border-radius:12px;background:#cdd1d9;margin-bottom:24px;position:relative}.card-left .progress-bar:after{content:"";position:absolute;left:0;border-radius:12px;background:linear-gradient(90deg,#2b7fff,#00b8db);height:100%;width:var(--completion)}.card-left .placeholders{display:flex;gap:8px;justify-content:center}.card-left .placeholder{font-size:1.25rem;border-radius:10px;border:2px dashed #cdd1d9;background:#f4f5f7;width:64px;height:80px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:700}.card-left .letters-and-back{display:flex;gap:8px;justify-content:center;cursor:pointer;margin:16px 0}.card-left .letter{padding-block:16px;border-radius:10px;background:#155dfc;color:#fff;font-size:1.25rem;font-weight:700;text-align:center}.card-left .letter:hover{background:#155dfcdd}.card-left .letter[aria-disabled=true]{background:#155dfc50}.card-left .backspace,.card-left .backspace:hover,.card-left .backspace[aria-disabled=true]{background:#f4f5f7}.card-left .backspace[aria-disabled=true] img{opacity:.5}.card-left .validate{width:100%;font-weight:700;font-size:1rem;margin-bottom:24px}.card-right{display:flex;flex-direction:column}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow-y:auto;max-height:300px}.results li{list-style:none;border-radius:10px;border:2px solid #2c75ff;background:#eaf1ff;padding:15px 0;text-align:center;font-weight:700}div[role=heading]{font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:24px}button{border:none;border-radius:10px;flex:1;cursor:pointer}', qe = /* @__PURE__ */ se(Re, [["styles", [Ie]]]);
229
+ V.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ce, "./locales/en.json": de, "./locales/es-419.json": pe, "./locales/es.json": ue, "./locales/fr-BE.json": be, "./locales/fr.json": fe, "./locales/it.json": me, "./locales/nl.json": ve }));
230
+ const E = oe(qe, {
231
231
  configureApp(d) {
232
- B.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(B);
232
+ V.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(V);
233
233
  }
234
234
  });
235
- D.prototype.normalizeProps = (d) => ({
235
+ E.prototype.normalizeProps = (d) => ({
236
236
  ...d,
237
- titleLevel: le(d.titleLevel)
237
+ titleLevel: re(d.titleLevel)
238
238
  });
239
- window.customElements.define("pix-combinaisons", D);
239
+ window.customElements.define("pix-combinaisons", E);
@@ -1,6 +1,6 @@
1
- import { b as B, r as y, s as k, K as E, o as a, c as i, a as r, v as d, x as u, F as f, e as b, H, Q as S, C as g, t as C, D as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { a as K, i as w, b as Q } from "../i18n-C-9bWDxP.js";
3
- import { N as j } from "../NavigationButton.ce-CgVczgG8.js";
1
+ import { b as B, r as y, s as k, K as E, o as a, c as i, a as r, v as d, x as u, F as f, e as b, H, Q as S, C as g, t as C, D as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { a as K, i as w, b as Q } from "../i18n-CsT7k7zW.js";
3
+ import { N as j } from "../NavigationButton.ce-BnnVUwGr.js";
4
4
  const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
5
5
  "pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
6
6
  }, Y = {}, Z = {}, ee = ["for"], oe = {
@@ -1,7 +1,7 @@
1
- import { _ as o, a as _, b as a, c as l, d as n, e as i, f as t, g } from "../nl-Bonww6Q2.js";
2
- import { d as m } from "../_plugin-vue_export-helper-VRfPs3B6.js";
3
- import { i as e } from "../i18n-lite-CZIis7T7.js";
4
- import { P as c } from "../PixMailMessage.ce-CI8R0PnN.js";
1
+ import { _ as o, a as _, b as a, c as l, d as n, e as i, f as t, g } from "../nl-euPrf5s3.js";
2
+ import { d as m } from "../_plugin-vue_export-helper-B-lVMTio.js";
3
+ import { i as e } from "../i18n-lite-BIJ2LVs6.js";
4
+ import { P as c } from "../PixMailMessage.ce-oCccQFGV.js";
5
5
  e.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": g, "./locales/en.json": t, "./locales/es-419.json": i, "./locales/es.json": n, "./locales/fr-BE.json": l, "./locales/fr.json": a, "./locales/it.json": _, "./locales/nl.json": o }));
6
6
  const r = m(c, {
7
7
  configureApp(s) {
@@ -1,73 +1,73 @@
1
- import { b as T, h as k, o as l, c as M, a as o, x as u, C as f, t as F, f as p, D as g, l as y, E as O, v as d, r as v, g as i, n as S, _ as $, d as j } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { u as V, i as b } from "../i18n-lite-CZIis7T7.js";
3
- import { S as D } from "../Stepper.ce-DwjG4jda.js";
4
- import { _ as I, a as K, F as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js";
5
- import { P as H } from "../Popin.ce-BczgRCZ5.js";
6
- import { B as J } from "../Button.ce-CIdOR7Ut.js";
7
- import { P as Q } from "../PixMailMessage.ce-CI8R0PnN.js";
8
- import { p as U } from "../shadow-dom-5ECgVh4w.js";
1
+ import { b as T, h as k, o as l, c as N, a as o, x as u, C as f, t as M, f as p, D as g, l as y, E as F, v as d, r as v, g as s, n as S, _ as O, d as $ } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { u as V, i as b } from "../i18n-lite-BIJ2LVs6.js";
3
+ import { S as D } from "../Stepper.ce-Dttf3Dsf.js";
4
+ import { _ as I, a as K, F as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js";
5
+ import { P as H } from "../Popin.ce-Co12R3C8.js";
6
+ import { B as J } from "../Button.ce-DZ8jDtW5.js";
7
+ import { P as Q } from "../PixMailMessage.ce-oCccQFGV.js";
8
+ import { p as U } from "../shadow-dom-Bouq869n.js";
9
9
  import { u as w, a as W, b as X } from "../normalize-props-DH0oPBss.js";
10
- const Y = {
10
+ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
11
11
  "proteger-mail-spam": { step: "Étape {{step}} sur {{totalStep}}", mailRecipent: "À moi", nextStepButton: "Continuer", successPopin: { title: "Se protéger, mais protéger aussi les autres.", content: "Dans le prochain exemple, l’interface dispose d'avantage de possibilités.", buttonLabel: "Suivant" }, feedback: { titleOk: "Bonne décision", titleKo: "Mauvais choix", step1: { reply: "Répondre confirme votre adresse mail et peut encourager l’escroc. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque, et ne vous empêche pas de recevoir d’autres mails de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", delete: "Supprimer ce message ne vous empêche pas d’en recevoir d’autres de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", blockSender: "En choisissant de bloquer l’expéditeur, vous ne recevrez plus de message de cet expéditeur." }, step2: { reply: "Répondre valide votre adresse mail et ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", delete: "Supprimer ce message ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", blockSender: "En choisissant de bloquer l’expéditeur, vous vous protégez de cet escroc mais vous ne protégez pas les autres. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", reportSpam: " En signalant ce message, vous vous protégez et vous contribuez à la protection des autres, car cela améliore les filtres anti-spam de tous les utilisateurs." } } }
12
- }, Z = {
12
+ }, oe = {}, se = {}, ie = {
13
13
  class: "main-container",
14
14
  ref: "container",
15
15
  tabindex: "-1"
16
- }, ee = ["aria-level"], te = { class: "header__description" }, ae = /* @__PURE__ */ T({
16
+ }, re = ["aria-level"], le = { class: "header__description" }, ce = /* @__PURE__ */ T({
17
17
  __name: "ProtegerMailSpam.ce",
18
18
  props: {
19
19
  titleLevel: { default: 2, type: Number },
20
20
  steps: { type: Array }
21
21
  },
22
- setup(a, { expose: m }) {
22
+ setup(n, { expose: m }) {
23
23
  const { t: e } = V();
24
24
  U();
25
- const t = v(0), n = v(""), c = v(!1), P = k("continue-button"), C = k("container"), s = i(() => a.steps.at(t.value)), r = i(() => s.value.goodAction === n.value), h = i(() => t.value === a.steps.length - 1), B = i(() => n.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${n.value}`) : ""), q = i(() => r.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), A = i(() => r.value ? {
25
+ const t = v(0), a = v(""), c = v(!1), P = k("continue-button"), C = k("container"), i = s(() => n.steps.at(t.value)), r = s(() => i.value.goodAction === a.value), _ = s(() => t.value === n.steps.length - 1), B = s(() => a.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${a.value}`) : ""), j = s(() => r.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), q = s(() => r.value ? {
26
26
  return: "disabled",
27
27
  reply: "disabled",
28
28
  forward: "disabled",
29
29
  menu: "disabled"
30
- } : s.value.actions);
31
- function E() {
32
- n.value = "", t.value = 0, c.value = !1;
30
+ } : i.value.actions);
31
+ function A() {
32
+ a.value = "", t.value = 0, c.value = !1;
33
33
  }
34
- async function L(x) {
35
- n.value = x, await S(), r.value && !h.value && P.value?.buttonElement.focus();
34
+ async function E(h) {
35
+ a.value = h, await S(), r.value && !_.value && P.value?.buttonElement.focus();
36
36
  }
37
- async function R() {
38
- t.value += 1, n.value = "", await S(), C.value.focus();
37
+ async function L() {
38
+ t.value += 1, a.value = "", await S(), C.value.focus();
39
39
  }
40
- async function N() {
41
- await R(), c.value = !1;
40
+ async function R() {
41
+ await L(), c.value = !1;
42
42
  }
43
43
  return m({
44
- reset: E
45
- }), (x, _) => (l(), M("div", Z, [
44
+ reset: A
45
+ }), (h, x) => (l(), N("div", ie, [
46
46
  o("section", null, [
47
47
  o("div", null, [
48
48
  o("div", {
49
49
  role: "heading",
50
- "aria-level": a.titleLevel,
50
+ "aria-level": n.titleLevel,
51
51
  class: "header__title"
52
- }, u(s.value.title), 9, ee),
53
- o("p", te, u(s.value.description), 1)
52
+ }, u(i.value.title), 9, re),
53
+ o("p", le, u(i.value.description), 1)
54
54
  ]),
55
55
  f(D, {
56
56
  step: t.value,
57
- "steps-count": a.steps.length
57
+ "steps-count": n.steps.length
58
58
  }, null, 8, ["step", "steps-count"]),
59
59
  f(Q, {
60
- actions: A.value,
61
- mail: s.value.mail,
62
- onAction: L
60
+ actions: q.value,
61
+ mail: i.value.mail,
62
+ onAction: E
63
63
  }, null, 8, ["actions", "mail"]),
64
64
  o("div", {
65
- class: F(["feedback", { "is-hidden": !n.value }]),
65
+ class: M(["feedback", { "is-hidden": !a.value }]),
66
66
  "aria-live": "polite"
67
67
  }, [
68
- n.value ? (l(), p(G, {
68
+ a.value ? (l(), p(G, {
69
69
  key: 0,
70
- title: q.value
70
+ title: j.value
71
71
  }, {
72
72
  icon: g(() => [
73
73
  r.value ? (l(), p(I, {
@@ -86,14 +86,14 @@ const Y = {
86
86
  _: 1
87
87
  }, 8, ["title"])) : y("", !0)
88
88
  ], 2),
89
- r.value && !h.value ? (l(), p(J, {
89
+ r.value && !_.value ? (l(), p(J, {
90
90
  key: 0,
91
91
  ref: "continue-button",
92
- onClick: _[0] || (_[0] = (ie) => c.value = !0),
92
+ onClick: x[0] || (x[0] = (de) => c.value = !0),
93
93
  class: "next-button"
94
94
  }, {
95
95
  default: g(() => [
96
- O(u(d(e)("proteger-mail-spam.nextStepButton")), 1)
96
+ F(u(d(e)("proteger-mail-spam.nextStepButton")), 1)
97
97
  ]),
98
98
  _: 1
99
99
  }, 512)) : y("", !0)
@@ -103,19 +103,19 @@ const Y = {
103
103
  title: d(e)("proteger-mail-spam.successPopin.title"),
104
104
  show: c.value,
105
105
  "text-button": d(e)("proteger-mail-spam.successPopin.buttonLabel"),
106
- onPrimaryAction: N
106
+ onPrimaryAction: R
107
107
  }, null, 8, ["content", "title", "show", "text-button"])
108
108
  ], 512));
109
109
  }
110
- }), ne = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .feedback{width:100%}.main-container .feedback.is-hidden{margin-top:unset}.main-container .feedback__icon{width:1rem}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", oe = /* @__PURE__ */ $(ae, [["styles", [ne]]]);
111
- b.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/fr.json": Y }));
112
- const z = j(oe, {
113
- configureApp(a) {
114
- b.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(b);
110
+ }), ue = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .feedback{width:100%}.main-container .feedback.is-hidden{margin-top:unset}.main-container .feedback__icon{width:1rem}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", pe = /* @__PURE__ */ O(ce, [["styles", [ue]]]);
111
+ b.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ne, "./locales/fr.json": ae, "./locales/it.json": oe, "./locales/nl.json": se }));
112
+ const z = $(pe, {
113
+ configureApp(n) {
114
+ b.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(b);
115
115
  }
116
116
  });
117
- z.prototype.normalizeProps = (a) => {
118
- const m = a.steps.map((e) => {
117
+ z.prototype.normalizeProps = (n) => {
118
+ const m = n.steps.map((e) => {
119
119
  const t = {
120
120
  ...e,
121
121
  actions: w({
@@ -126,7 +126,7 @@ z.prototype.normalizeProps = (a) => {
126
126
  return t.mail.sender.avatarColor = W(t.mail.sender.avatarColor), t;
127
127
  });
128
128
  return {
129
- titleLevel: X(a.titleLevel),
129
+ titleLevel: X(n.titleLevel),
130
130
  steps: m
131
131
  };
132
132
  };
@@ -1,6 +1,6 @@
1
- import { b as y, o, c as i, a as s, x as d, l as v, t as w, g as b, _, U as R, H as A, P as O, E as V, V as P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, C as k, W as U, D as W, y as H, d as J } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { i as a, a as K, b as X } from "../i18n-C-9bWDxP.js";
3
- import { R as Y } from "../Retry-vIN7ZGdK.js";
1
+ import { b as y, o, c as i, a as s, x as d, l as v, t as w, g as b, _, U as R, H as A, P as O, E as V, V as P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, C as k, W as U, D as W, y as H, d as J } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { i as a, a as K, b as X } from "../i18n-CsT7k7zW.js";
3
+ import { R as Y } from "../Retry-C7C78Wpj.js";
4
4
  import { b as Z } from "../normalize-props-DH0oPBss.js";
5
5
  const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
6
6
  "qcm-deepfake": { options: ["une photo de sa chanteuse préférée", "une chanson de sa chanteuse préférée", "les partitions de la chanson", "une photo de Caroline", "un enregistrement de Caroline qui dit quelques phrases"], iaResultInfo: "Retrouvez ici les résultats du logiciel d'IA générative :", iaResultGenerated: "Résultat généré par le logiciel d'IA générative", in: "Entrée", out: "Sortie", waiting: "Logiciel d'IA générative", selectThreeElements: "Sélectionnez 3 éléments pour générer la vidéo de Caroline :", generateVideo: "Générer la vidéo !", loading: "Chargement…", restart: "Recommencer", element_one: "élément", element_other: "éléments", generateVideoInfo_one: "Plus que {{count}} élément", generateVideoInfo_other: "Plus que {{count}} éléments", restartInfo: "Essayez avec de nouveaux éléments", success: { title: "Bien joué !", description: "C'est bien la vidéo de Caroline. Vous avez utilisé les bons éléments." }, fail: { title: "Pas exactement…", description: "Le résultat ne convient pas. Recommencez en changeant les éléments en entrée." } }
@@ -1,9 +1,9 @@
1
- import { b as q, o as r, c as m, t as B, a as l, x as u, l as g, _ as A, h as V, C as b, f as h, D as k, E as G, y as Q, r as v, g as p, d as R } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { u as D, a as O, i as z, b as P } from "../i18n-C-9bWDxP.js";
3
- import { _ as I, a as M, F as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js";
4
- import { S as J } from "../Stepper.ce-DwjG4jda.js";
1
+ import { b as q, o as r, c as m, t as B, a as l, x as u, l as g, _ as A, h as V, C as b, f as h, D as k, E as G, y as Q, r as v, g as p, d as R } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { u as D, a as O, i as z, b as P } from "../i18n-CsT7k7zW.js";
3
+ import { _ as I, a as M, F as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js";
4
+ import { S as J } from "../Stepper.ce-Dttf3Dsf.js";
5
5
  import { a as f, b as K } from "../normalize-props-DH0oPBss.js";
6
- import { l as U } from "../index-DgWpXIzq.js";
6
+ import { l as U } from "../index-BaI3Qosp.js";
7
7
  const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
8
8
  "quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
9
9
  }, ne = {}, se = {}, ie = ["id", "aria-disabled", "checked"], oe = ["for"], ae = {
@@ -1,5 +1,5 @@
1
- import { b as w, r as g, o as n, c as i, a as e, x as a, v as l, t as z, E as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
- import { a as j, i as _, b as L } from "../i18n-C-9bWDxP.js";
1
+ import { b as w, r as g, o as n, c as i, a as e, x as a, v as l, t as z, E as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { a as j, i as _, b as L } from "../i18n-CsT7k7zW.js";
3
3
  import { b as S } from "../normalize-props-DH0oPBss.js";
4
4
  import { t as f, a as F, q as $ } from "../temporal.utils-DgmGPVba.js";
5
5
  const B = {}, E = {}, I = {}, N = {}, q = {}, A = {
@@ -1,8 +1,8 @@
1
- import { _ as r, a as m, b as _, c as p, d as c, e as u, f as d, g } from "../nl-Bonww6Q2.js";
1
+ import { _ as r, a as m, b as _, c as p, d as c, e as u, f as d, g } from "../nl-euPrf5s3.js";
2
2
  import { u as v, a as b, b as f } from "../normalize-props-DH0oPBss.js";
3
- import { b as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-VRfPs3B6.js";
4
- import { i as t } from "../i18n-lite-CZIis7T7.js";
5
- import { P as C } from "../PixMailMessage.ce-CI8R0PnN.js";
3
+ import { b as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-B-lVMTio.js";
4
+ import { i as t } from "../i18n-lite-BIJ2LVs6.js";
5
+ import { P as C } from "../PixMailMessage.ce-oCccQFGV.js";
6
6
  const S = /* @__PURE__ */ j({
7
7
  __name: "TemplateMail.ce",
8
8
  props: {