@1024pix/epreuves-components 4.6.0 → 4.6.2

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 (60) hide show
  1. package/dist/Button.ce-CsTDnAGh.js +31 -0
  2. package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-CUxXoH9n.js} +5 -5
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
  4. package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
  5. package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-DqVOTSTE.js} +7 -7
  6. package/dist/LLMMessage.ce-BM9ikl_y.js +98 -0
  7. package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
  8. package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
  9. package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-CIOKG2O0.js} +16 -14
  10. package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-DUSt6eGF.js} +59 -59
  11. package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-OnxaZNvT.js} +5 -5
  12. package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
  13. package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
  14. package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
  15. package/dist/components/analyse-mails-phishing.ce.js.js +110 -111
  16. package/dist/components/autocompletion-mdp.ce.js.js +92 -92
  17. package/dist/components/button.ce.js.js +2 -2
  18. package/dist/components/calcul-impact.ce.js.js +36 -36
  19. package/dist/components/capacity-calculation.ce.js.js +46 -43
  20. package/dist/components/clickable-image.ce.js.js +25 -25
  21. package/dist/components/complete-phrase.ce.js.js +50 -50
  22. package/dist/components/flip-cards.ce.js.js +21 -21
  23. package/dist/components/generate-mdp.ce.js.js +56 -56
  24. package/dist/components/image-quiz.ce.js.js +3 -3
  25. package/dist/components/image-quizzes.ce.js.js +3 -3
  26. package/dist/components/llm-compare-messages.ce.js.js +4 -4
  27. package/dist/components/llm-messages.ce.js.js +6 -6
  28. package/dist/components/llm-prompt-select.ce.js.js +7 -7
  29. package/dist/components/mdp-classement.ce.js.js +107 -115
  30. package/dist/components/message-conversation.ce.js.js +17 -17
  31. package/dist/components/mobile-shell.ce.js.js +1 -1
  32. package/dist/components/notification-antivirus.ce.js.js +136 -146
  33. package/dist/components/phishing-message.ce.js.js +89 -89
  34. package/dist/components/phishing-notification.ce.js.js +10 -10
  35. package/dist/components/pix-anonymisation.ce.js.js +75 -75
  36. package/dist/components/pix-article.ce.js.js +7 -7
  37. package/dist/components/pix-carousel.ce.js.js +24 -22
  38. package/dist/components/pix-combinaisons.ce.js.js +25 -25
  39. package/dist/components/pix-cursor.ce.js.js +33 -33
  40. package/dist/components/pix-mail-message.ce.js.js +3 -3
  41. package/dist/components/proteger-mail-spam.ce.js.js +72 -84
  42. package/dist/components/qcm-deepfake.ce.js.js +31 -31
  43. package/dist/components/quiz-stepper.ce.js.js +66 -73
  44. package/dist/components/select-conversation.ce.js.js +4 -4
  45. package/dist/components/template-mail.ce.js.js +3 -3
  46. package/dist/components/test-top-mdp.ce.js.js +7 -7
  47. package/dist/components/trouver-mdp-rs.ce.js.js +154 -168
  48. package/dist/components/usages-donnees.ce.js.js +34 -34
  49. package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
  50. package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
  51. package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-KliaBWpC.js} +7 -7
  52. package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
  55. package/package.json +1 -1
  56. package/dist/Button.ce-C-lBihdF.js +0 -31
  57. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
  58. package/dist/Feedback.ce-CeyQhenY.js +0 -26
  59. package/dist/LLMMessage.ce-DBorHEa1.js +0 -96
  60. package/dist/components/feedback.ce.js.js +0 -4
@@ -1,24 +1,24 @@
1
- import { a as A, r as y, s as k, K as B, o as a, c as i, b as r, v as d, x as u, F as f, e as b, H, T as S, D as g, t as C, E as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { a as K, i as w, b as R } from "../i18n-C0iMUvqX.js";
3
- import { N as j } from "../NavigationButton.ce-DqFqWt9V.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 p, e as v, H, T 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-CD1RUA2y.js";
2
+ import { a as K, i as w, b as R } from "../i18n-C-1Ne5JG.js";
3
+ import { N as j } from "../NavigationButton.ce-CIOKG2O0.js";
4
4
  const U = {}, q = {}, J = {}, Q = {}, 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 = {
7
7
  class: "visible-options",
8
8
  "aria-hidden": "true"
9
- }, te = ["onClick"], ne = ["id"], ae = ["onClick", "value", "label"], ie = ["id", "list", "max", "disabled"], se = { class: "navigation-container" }, re = { class: "chosen-text-container" }, le = ["aria-hidden"], ce = { class: "chosen-option" }, de = {
9
+ }, te = ["onClick"], ne = ["id"], ae = ["value", "label", "onClick"], ie = ["id", "list", "max", "disabled"], se = { class: "navigation-container" }, re = { class: "chosen-text-container" }, le = ["aria-hidden"], ce = { class: "chosen-option" }, de = {
10
10
  class: "footer",
11
11
  "aria-live": "polite"
12
12
  }, ue = {
13
13
  key: 0,
14
14
  class: "confirm"
15
- }, pe = ["innerHTML", "aria-hidden"], ve = /* @__PURE__ */ A({
15
+ }, be = ["aria-hidden", "innerHTML"], fe = /* @__PURE__ */ B({
16
16
  __name: "PixCursor.ce",
17
17
  props: {
18
18
  options: { type: Array }
19
19
  },
20
20
  setup(n, { expose: M }) {
21
- const p = n, s = y(Math.floor(p.options.length / 2)), o = y(!1), v = k(), _ = k(), I = m(() => s.value === p.options.length - 1), N = m(() => s.value === 0), c = m(() => Number(s.value));
21
+ const b = n, s = y(Math.floor(b.options.length / 2)), o = y(!1), f = k(), _ = k(), I = m(() => s.value === b.options.length - 1), N = m(() => s.value === 0), c = m(() => Number(s.value));
22
22
  function T() {
23
23
  o.value = !0;
24
24
  }
@@ -26,18 +26,18 @@ const U = {}, q = {}, J = {}, Q = {}, W = {}, X = {
26
26
  o.value || (s.value = Math.max(0, c.value - 1));
27
27
  }
28
28
  function z() {
29
- o.value || (s.value = Math.min(p.options.length - 1, c.value + 1));
29
+ o.value || (s.value = Math.min(b.options.length - 1, c.value + 1));
30
30
  }
31
31
  function x(l) {
32
32
  o.value || (s.value = l);
33
33
  }
34
- function E() {
35
- o.value = !1, s.value = Math.floor(p.options.length / 2);
34
+ function O() {
35
+ o.value = !1, s.value = Math.floor(b.options.length / 2);
36
36
  }
37
37
  return M({
38
- reset: E
38
+ reset: O
39
39
  }), (l, h) => {
40
- const O = B("i18next");
40
+ const V = E("i18next");
41
41
  return a(), i("form", {
42
42
  class: "pix-cursor",
43
43
  onSubmit: F(T, ["prevent"])
@@ -45,25 +45,25 @@ const U = {}, q = {}, J = {}, Q = {}, W = {}, X = {
45
45
  r("div", null, [
46
46
  r("label", {
47
47
  class: "sr-only",
48
- for: d(v)
48
+ for: d(f)
49
49
  }, u(l.$t("pix-cursor.selectAnOption")), 9, ee),
50
50
  r("ul", oe, [
51
- (a(!0), i(f, null, b(n.options, (t, e) => (a(), i("li", {
52
- onClick: (V) => x(e),
53
- key: e
51
+ (a(!0), i(p, null, v(n.options, (t, e) => (a(), i("li", {
52
+ key: e,
53
+ onClick: (A) => x(e)
54
54
  }, u(t.label), 9, te))), 128))
55
55
  ]),
56
56
  r("datalist", { id: d(_) }, [
57
- (a(!0), i(f, null, b(n.options, (t, e) => (a(), i("option", {
58
- onClick: (V) => x(e),
57
+ (a(!0), i(p, null, v(n.options, (t, e) => (a(), i("option", {
59
58
  key: e,
60
59
  value: e,
61
- label: t.label
60
+ label: t.label,
61
+ onClick: (A) => x(e)
62
62
  }, u(t.label), 9, ae))), 128))
63
63
  ], 8, ne),
64
64
  H(r("input", {
65
+ id: d(f),
65
66
  "onUpdate:modelValue": h[0] || (h[0] = (t) => s.value = t),
66
- id: d(v),
67
67
  type: "range",
68
68
  list: d(_),
69
69
  min: "0",
@@ -74,24 +74,24 @@ const U = {}, q = {}, J = {}, Q = {}, W = {}, X = {
74
74
  ]),
75
75
  r("div", se, [
76
76
  g(j, {
77
- onClick: $,
78
77
  disabled: o.value || N.value,
79
78
  label: l.$t("pix-cursor.previous"),
80
- "aria-controls": d(v),
79
+ "aria-controls": d(f),
81
80
  "aria-disabled": o.value,
82
81
  "tooltip-position": "bottom",
83
82
  direction: "previous",
84
- type: "button"
83
+ type: "button",
84
+ onClick: $
85
85
  }, null, 8, ["disabled", "label", "aria-controls", "aria-disabled"]),
86
86
  r("div", re, [
87
- (a(!0), i(f, null, b(n.options, (t, e) => (a(), i("p", {
87
+ (a(!0), i(p, null, v(n.options, (t, e) => (a(), i("p", {
88
88
  key: e,
89
89
  class: C({
90
90
  hidden: e !== c.value
91
91
  }),
92
92
  "aria-hidden": e !== c.value
93
93
  }, [
94
- g(O, {
94
+ g(V, {
95
95
  translation: l.$t("pix-cursor.youHaveChosen")
96
96
  }, {
97
97
  choice: L(() => [
@@ -102,35 +102,35 @@ const U = {}, q = {}, J = {}, Q = {}, W = {}, X = {
102
102
  ], 10, le))), 128))
103
103
  ]),
104
104
  g(j, {
105
- onClick: z,
106
105
  disabled: o.value || I.value,
107
106
  label: l.$t("pix-cursor.next"),
108
- "aria-controls": d(v),
107
+ "aria-controls": d(f),
109
108
  "aria-disabled": o.value,
110
109
  "tooltip-position": "bottom",
111
110
  direction: "next",
112
- type: "button"
111
+ type: "button",
112
+ onClick: z
113
113
  }, null, 8, ["disabled", "label", "aria-controls", "aria-disabled"])
114
114
  ])
115
115
  ]),
116
116
  r("div", de, [
117
117
  o.value ? D("", !0) : (a(), i("button", ue, u(l.$t("pix-cursor.confirm")), 1)),
118
- (a(!0), i(f, null, b(n.options, (t, e) => (a(), i("p", {
119
- innerHTML: t.feedback.text,
118
+ (a(!0), i(p, null, v(n.options, (t, e) => (a(), i("p", {
120
119
  key: e,
121
120
  class: C(["feedback", {
122
121
  [t.feedback.type]: !0,
123
122
  hidden: !o.value || c.value !== e
124
123
  }]),
125
- "aria-hidden": c.value !== e
126
- }, null, 10, pe))), 128))
124
+ "aria-hidden": c.value !== e,
125
+ innerHTML: t.feedback.text
126
+ }, null, 10, be))), 128))
127
127
  ])
128
128
  ], 32);
129
129
  };
130
130
  }
131
- }), fe = "[data-v-58e704c5]{--pix-neutral-800: #253858;font-family:Nunito,sans-serif;color:var(--pix-neutral-800)}.pix-cursor[data-v-58e704c5]{display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem;gap:1rem;overflow:hidden}.pix-cursor p[data-v-58e704c5]{text-align:center;font-size:1.1rem}.pix-cursor .chosen-option[data-v-58e704c5]{font-weight:700}.pix-cursor .visible-options[data-v-58e704c5]{display:flex;justify-content:space-between;margin:0;padding:0}.pix-cursor .visible-options li[data-v-58e704c5]{cursor:pointer;list-style:none}.pix-cursor input[data-v-58e704c5]{width:100%}.pix-cursor .confirm[data-v-58e704c5]{padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1.25rem;letter-spacing:1.1;width:fit-content;margin:auto;border:none;color:#fff;background:#4075ff;grid-row:1;grid-column:1}.pix-cursor .confirm[data-v-58e704c5]:hover{background:#355ac4;transition:background ease .1s}.pix-cursor .navigation-container[data-v-58e704c5]{display:flex;justify-content:center;align-items:center;gap:1rem}.pix-cursor .navigation-container .chosen-text-container[data-v-58e704c5]{display:grid}.pix-cursor .navigation-container .chosen-text-container p[data-v-58e704c5]{grid-row:1;grid-column:1}.pix-cursor .navigation-container .chosen-text-container p.hidden[data-v-58e704c5]{transform:translate(100vw)}.pix-cursor .footer[data-v-58e704c5]{display:grid;grid-template-columns:auto;align-items:center;justify-content:center}.pix-cursor .feedback[data-v-58e704c5]{padding:1rem 1.2rem;border-left:solid 4px;border-radius:8px;grid-column:1;grid-row:1;text-align:start;margin:0}.pix-cursor .feedback.hidden[data-v-58e704c5]{visibility:hidden;transform:translate(100vw)}.pix-cursor .feedback.good[data-v-58e704c5]{background:#e8f5e9;border-left-color:#4caf51}.pix-cursor .feedback.bad[data-v-58e704c5]{background:#ffebee;border-left-color:#f44337}.pix-cursor .feedback.neutral[data-v-58e704c5]{background:#e8f6ff;border-left-color:#464ee0}.pix-cursor .feedback.close[data-v-58e704c5]{background:#fff8e1;border-left-color:#ffc108}", be = /* @__PURE__ */ P(ve, [["styles", [fe]], ["__scopeId", "data-v-58e704c5"]]);
131
+ }), pe = "[data-v-7c9bfb73]{--pix-neutral-800: #253858;font-family:Nunito,sans-serif;color:var(--pix-neutral-800)}.pix-cursor[data-v-7c9bfb73]{display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem;gap:1rem;overflow:hidden}.pix-cursor p[data-v-7c9bfb73]{text-align:center;font-size:1.1rem}.pix-cursor .chosen-option[data-v-7c9bfb73]{font-weight:700}.pix-cursor .visible-options[data-v-7c9bfb73]{display:flex;justify-content:space-between;margin:0;padding:0}.pix-cursor .visible-options li[data-v-7c9bfb73]{cursor:pointer;list-style:none}.pix-cursor input[data-v-7c9bfb73]{width:100%}.pix-cursor .confirm[data-v-7c9bfb73]{padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1.25rem;letter-spacing:1.1;width:fit-content;margin:auto;border:none;color:#fff;background:#4075ff;grid-row:1;grid-column:1}.pix-cursor .confirm[data-v-7c9bfb73]:hover{background:#355ac4;transition:background ease .1s}.pix-cursor .navigation-container[data-v-7c9bfb73]{display:flex;justify-content:center;align-items:center;gap:1rem}.pix-cursor .navigation-container .chosen-text-container[data-v-7c9bfb73]{display:grid}.pix-cursor .navigation-container .chosen-text-container p[data-v-7c9bfb73]{grid-row:1;grid-column:1}.pix-cursor .navigation-container .chosen-text-container p.hidden[data-v-7c9bfb73]{transform:translate(100vw)}.pix-cursor .footer[data-v-7c9bfb73]{display:grid;grid-template-columns:auto;align-items:center;justify-content:center}.pix-cursor .feedback[data-v-7c9bfb73]{padding:1rem 1.2rem;border-left:solid 4px;border-radius:8px;grid-column:1;grid-row:1;text-align:start;margin:0}.pix-cursor .feedback.hidden[data-v-7c9bfb73]{visibility:hidden;transform:translate(100vw)}.pix-cursor .feedback.good[data-v-7c9bfb73]{background:#e8f5e9;border-left-color:#4caf51}.pix-cursor .feedback.bad[data-v-7c9bfb73]{background:#ffebee;border-left-color:#f44337}.pix-cursor .feedback.neutral[data-v-7c9bfb73]{background:#e8f6ff;border-left-color:#464ee0}.pix-cursor .feedback.close[data-v-7c9bfb73]{background:#fff8e1;border-left-color:#ffc108}", ve = /* @__PURE__ */ P(fe, [["styles", [pe]], ["__scopeId", "data-v-7c9bfb73"]]);
132
132
  K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": U, "./locales/en.json": q, "./locales/es-419.json": J, "./locales/es.json": Q, "./locales/fr-BE.json": W, "./locales/fr.json": X, "./locales/it.json": Y, "./locales/nl.json": Z })).catch((n) => console.error(n));
133
- window.customElements.define("pix-cursor", G(be, {
133
+ window.customElements.define("pix-cursor", G(ve, {
134
134
  configureApp(n) {
135
135
  w.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(R, { i18next: w });
136
136
  }
@@ -1,7 +1,7 @@
1
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-DJlRxzRH.js";
3
- import { i as e } from "../i18n-lite-X2ADNonj.js";
4
- import { P as c } from "../PixMailMessage.ce-Cqrs9R3i.js";
2
+ import { d as m } from "../_plugin-vue_export-helper-CD1RUA2y.js";
3
+ import { i as e } from "../i18n-lite-WQsHAHqG.js";
4
+ import { P as c } from "../PixMailMessage.ce-DUSt6eGF.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,122 +1,110 @@
1
- import { a as T, h as k, o as l, c as N, b as o, x as u, D as f, t as M, f as p, E as g, l as y, A as F, v as d, r as v, g as s, n as S, _ as O, d as $ } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { u as V, i as b } from "../i18n-lite-X2ADNonj.js";
3
- import { S as D } from "../Stepper.ce-cG0al2pY.js";
4
- import { F as I } from "../Feedback.ce-CeyQhenY.js";
5
- import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
6
- import { P as H } from "../Popin.ce-D1V8wzxE.js";
7
- import { B as J } from "../Button.ce-C-lBihdF.js";
8
- import { P as Q } from "../PixMailMessage.ce-Cqrs9R3i.js";
9
- import { p as U } from "../shadow-dom-Dh5hLXcx.js";
10
- import { u as w, a as W, b as X } from "../normalize-props-DH0oPBss.js";
11
- const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
1
+ import { b as T, h as S, o as c, c as N, a as u, x as r, C as p, D as d, E as g, f as v, v as m, l as M, r as b, g as a, n as k, _ as O, d as $ } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as V, i as _ } from "../i18n-lite-WQsHAHqG.js";
3
+ import { S as D } from "../Stepper.ce-MmSadTrx.js";
4
+ import { _ as F, a as I, F as K } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
5
+ import { P as G } from "../Popin.ce-OnxaZNvT.js";
6
+ import { B as H } from "../Button.ce-CsTDnAGh.js";
7
+ import { P as J } from "../PixMailMessage.ce-DUSt6eGF.js";
8
+ import { p as Q } from "../shadow-dom-DSLDIcsa.js";
9
+ import { u as w, a as U, b as W } from "../normalize-props-DH0oPBss.js";
10
+ const X = {}, Y = {}, Z = {}, ee = {}, te = {}, oe = {
12
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." } } }
13
- }, oe = {}, se = {}, ie = {
14
- class: "main-container",
12
+ }, ne = {}, ae = {}, se = {
15
13
  ref: "container",
14
+ class: "main-container",
16
15
  tabindex: "-1"
17
- }, re = ["aria-level"], le = { class: "header__description" }, ce = /* @__PURE__ */ T({
16
+ }, ie = ["aria-level"], re = { class: "header__description" }, le = /* @__PURE__ */ T({
18
17
  __name: "ProtegerMailSpam.ce",
19
18
  props: {
20
19
  titleLevel: { default: 2, type: Number },
21
20
  steps: { type: Array }
22
21
  },
23
- setup(n, { expose: m }) {
22
+ setup(o, { expose: f }) {
24
23
  const { t: e } = V();
25
- U();
26
- const t = v(0), a = v(""), c = v(!1), P = k("continue-button"), B = k("container"), i = s(() => n.steps.at(t.value)), r = s(() => i.value.goodAction === a.value), _ = s(() => t.value === n.steps.length - 1), C = 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")), A = s(() => r.value ? {
24
+ Q();
25
+ const t = b(0), n = b(""), l = b(!1), P = S("continue-button"), C = S("container"), s = a(() => o.steps.at(t.value)), i = a(() => s.value.goodAction === n.value), h = a(() => t.value === o.steps.length - 1), j = a(() => n.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${n.value}`) : ""), B = a(() => i.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), q = a(() => i.value ? {
27
26
  return: "disabled",
28
27
  reply: "disabled",
29
28
  forward: "disabled",
30
29
  menu: "disabled"
31
- } : i.value.actions);
32
- function q() {
33
- a.value = "", t.value = 0, c.value = !1;
30
+ } : s.value.actions);
31
+ function A() {
32
+ n.value = "", t.value = 0, l.value = !1;
34
33
  }
35
- async function E(h) {
36
- a.value = h, await S(), r.value && !_.value && P.value?.buttonElement.focus();
34
+ async function E(x) {
35
+ n.value = x, await k(), i.value && !h.value && P.value?.buttonElement.focus();
37
36
  }
38
37
  async function L() {
39
- t.value += 1, a.value = "", await S(), B.value.focus();
38
+ t.value += 1, n.value = "", await k(), C.value.focus();
40
39
  }
41
40
  async function R() {
42
- await L(), c.value = !1;
41
+ await L(), l.value = !1;
43
42
  }
44
- return m({
45
- reset: q
46
- }), (h, x) => (l(), N("div", ie, [
47
- o("section", null, [
48
- o("div", null, [
49
- o("div", {
43
+ return f({
44
+ reset: A
45
+ }), (x, y) => (c(), N("div", se, [
46
+ u("section", null, [
47
+ u("div", null, [
48
+ u("div", {
50
49
  role: "heading",
51
- "aria-level": n.titleLevel,
50
+ "aria-level": o.titleLevel,
52
51
  class: "header__title"
53
- }, u(i.value.title), 9, re),
54
- o("p", le, u(i.value.description), 1)
52
+ }, r(s.value.title), 9, ie),
53
+ u("p", re, r(s.value.description), 1)
55
54
  ]),
56
- f(D, {
55
+ p(D, {
57
56
  step: t.value,
58
- "steps-count": n.steps.length
57
+ "steps-count": o.steps.length
59
58
  }, null, 8, ["step", "steps-count"]),
60
- f(Q, {
61
- actions: A.value,
62
- mail: i.value.mail,
59
+ p(J, {
60
+ actions: q.value,
61
+ mail: s.value.mail,
63
62
  onAction: E
64
63
  }, null, 8, ["actions", "mail"]),
65
- o("div", {
66
- class: M(["feedback", { "is-hidden": !a.value }]),
67
- "aria-live": "polite"
68
- }, [
69
- a.value ? (l(), p(I, {
70
- key: 0,
71
- title: j.value
72
- }, {
73
- icon: g(() => [
74
- r.value ? (l(), p(K, {
75
- key: 0,
76
- class: "feedback__icon",
77
- "aria-hiden": "true"
78
- })) : (l(), p(G, {
79
- key: 1,
80
- class: "feedback__icon",
81
- "aria-hiden": "true"
82
- }))
83
- ]),
84
- content: g(() => [
85
- o("p", null, u(C.value), 1)
86
- ]),
87
- _: 1
88
- }, 8, ["title"])) : y("", !0)
89
- ], 2),
90
- r.value && !_.value ? (l(), p(J, {
64
+ p(K, {
65
+ "display-feedback": !!n.value
66
+ }, {
67
+ icon: d(() => [
68
+ i.value ? (c(), v(F, { key: 0 })) : (c(), v(I, { key: 1 }))
69
+ ]),
70
+ title: d(() => [
71
+ g(r(B.value), 1)
72
+ ]),
73
+ content: d(() => [
74
+ g(r(j.value), 1)
75
+ ]),
76
+ _: 1
77
+ }, 8, ["display-feedback"]),
78
+ i.value && !h.value ? (c(), v(H, {
91
79
  key: 0,
92
80
  ref: "continue-button",
93
- onClick: x[0] || (x[0] = (de) => c.value = !0),
94
- class: "next-button"
81
+ class: "next-button",
82
+ onClick: y[0] || (y[0] = (pe) => l.value = !0)
95
83
  }, {
96
- default: g(() => [
97
- F(u(d(e)("proteger-mail-spam.nextStepButton")), 1)
84
+ default: d(() => [
85
+ g(r(m(e)("proteger-mail-spam.nextStepButton")), 1)
98
86
  ]),
99
87
  _: 1
100
- }, 512)) : y("", !0)
88
+ }, 512)) : M("", !0)
101
89
  ]),
102
- f(H, {
103
- content: d(e)("proteger-mail-spam.successPopin.content"),
104
- title: d(e)("proteger-mail-spam.successPopin.title"),
105
- show: c.value,
106
- "text-button": d(e)("proteger-mail-spam.successPopin.buttonLabel"),
90
+ p(G, {
91
+ content: m(e)("proteger-mail-spam.successPopin.content"),
92
+ title: m(e)("proteger-mail-spam.successPopin.title"),
93
+ show: l.value,
94
+ "text-button": m(e)("proteger-mail-spam.successPopin.buttonLabel"),
107
95
  onPrimaryAction: R
108
96
  }, null, 8, ["content", "title", "show", "text-button"])
109
97
  ], 512));
110
98
  }
111
- }), 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,dialog{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]]]);
112
- 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 }));
113
- const z = $(pe, {
114
- configureApp(n) {
115
- b.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(b);
99
+ }), ce = "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,dialog{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 .next-button{font-size:.875rem;font-weight:700;line-height:24px}", ue = /* @__PURE__ */ O(le, [["styles", [ce]]]);
100
+ _.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Y, "./locales/es-419.json": Z, "./locales/es.json": ee, "./locales/fr-BE.json": te, "./locales/fr.json": oe, "./locales/it.json": ne, "./locales/nl.json": ae }));
101
+ const z = $(ue, {
102
+ configureApp(o) {
103
+ _.changeLanguage(document?.documentElement?.lang || navigator.language), o.use(_);
116
104
  }
117
105
  });
118
- z.prototype.normalizeProps = (n) => {
119
- const m = n.steps.map((e) => {
106
+ z.prototype.normalizeProps = (o) => {
107
+ const f = o.steps.map((e) => {
120
108
  const t = {
121
109
  ...e,
122
110
  actions: w({
@@ -124,11 +112,11 @@ z.prototype.normalizeProps = (n) => {
124
112
  menuActions: w(e.actions?.menuActions)
125
113
  })
126
114
  };
127
- return t.mail.sender.avatarColor = W(t.mail.sender.avatarColor), t;
115
+ return t.mail.sender.avatarColor = U(t.mail.sender.avatarColor), t;
128
116
  });
129
117
  return {
130
- titleLevel: X(n.titleLevel),
131
- steps: m
118
+ titleLevel: W(o.titleLevel),
119
+ steps: f
132
120
  };
133
121
  };
134
122
  window.customElements.define("proteger-mail-spam", z);
@@ -1,10 +1,10 @@
1
- import { a as y, o, c as i, b as s, x as c, l as v, t as w, g as b, _, N as E, H as R, S as O, A as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, D as k, X as U, E as H, y as W, d as X } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { i as a, a as J, b as K } from "../i18n-C0iMUvqX.js";
3
- import { R as Y } from "../Retry-fzluiEoj.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, _, N as R, H as A, S as O, E as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, C as k, X as U, D as H, y as W, d as X } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { i as a, a as J, b as K } from "../i18n-C-1Ne5JG.js";
3
+ import { R as Y } from "../Retry-DLOo5neI.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." } }
7
- }, re = {}, se = {}, le = ["aria-hidden"], de = ["aria-level"], ce = ["src"], ue = {
7
+ }, re = {}, se = {}, le = ["aria-hidden"], ce = ["aria-level"], de = ["src"], ue = {
8
8
  key: 1,
9
9
  class: "description"
10
10
  }, pe = ["src"], ge = ["aria-level"], fe = /* @__PURE__ */ y({
@@ -28,13 +28,13 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
28
28
  class: "subtitle",
29
29
  role: "heading",
30
30
  "aria-level": e.titleLevel
31
- }, c(n.value), 9, de),
31
+ }, d(n.value), 9, ce),
32
32
  e.type === "search" ? (o(), i("img", {
33
33
  key: 0,
34
34
  src: e.image,
35
35
  alt: ""
36
- }, null, 8, ce)) : v("", !0),
37
- e.type === "success" || e.type === "fail" ? (o(), i("p", ue, c(e.title), 1)) : v("", !0),
36
+ }, null, 8, de)) : v("", !0),
37
+ e.type === "success" || e.type === "fail" ? (o(), i("p", ue, d(e.title), 1)) : v("", !0),
38
38
  e.type !== "search" ? (o(), i("img", {
39
39
  key: 2,
40
40
  src: e.image,
@@ -48,12 +48,12 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
48
48
  class: "answer-block__title",
49
49
  role: "heading",
50
50
  "aria-level": e.titleLevel + 1
51
- }, c(e.messageTitle), 9, ge),
52
- s("p", null, c(e.messageDescription), 1)
51
+ }, d(e.messageTitle), 9, ge),
52
+ s("p", null, d(e.messageDescription), 1)
53
53
  ], 2)) : v("", !0)
54
54
  ], 8, le));
55
55
  }
56
- }), me = ".right-container[data-v-2a82aa38]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-2a82aa38]{visibility:hidden}img[data-v-2a82aa38]{margin-block:.5rem}.subtitle[data-v-2a82aa38]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-2a82aa38]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-2a82aa38]{width:200px;height:auto}.answer-block[data-v-2a82aa38]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-2a82aa38]{margin-bottom:0}.answer-block.success[data-v-2a82aa38]{background:#e8f3ef}.answer-block.fail[data-v-2a82aa38]{border-radius:16px;background:#fbecec}", ve = /* @__PURE__ */ _(fe, [["styles", [me]], ["__scopeId", "data-v-2a82aa38"]]), be = ["aria-disabled"], he = /* @__PURE__ */ y({
56
+ }), me = ".right-container[data-v-0a30902c]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-0a30902c]{visibility:hidden}img[data-v-0a30902c]{margin-block:.5rem}.subtitle[data-v-0a30902c]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-0a30902c]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-0a30902c]{width:200px;height:auto}.answer-block[data-v-0a30902c]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-0a30902c]{margin-bottom:0}.answer-block.success[data-v-0a30902c]{background:#e8f3ef}.answer-block.fail[data-v-0a30902c]{border-radius:16px;background:#fbecec}", ve = /* @__PURE__ */ _(fe, [["styles", [me]], ["__scopeId", "data-v-0a30902c"]]), be = ["aria-disabled"], he = /* @__PURE__ */ y({
57
57
  __name: "Option.ce",
58
58
  props: /* @__PURE__ */ P({
59
59
  option: { type: String },
@@ -65,7 +65,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
65
65
  }),
66
66
  emits: ["update:modelValue"],
67
67
  setup(e, { expose: u }) {
68
- const n = E(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
68
+ const n = R(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
69
69
  function h(f) {
70
70
  if (t.value) {
71
71
  f.preventDefault();
@@ -78,19 +78,19 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
78
78
  }), (f, m) => (o(), i("label", {
79
79
  class: w({ selected: l.value, disabled: t.value })
80
80
  }, [
81
- R(s("input", {
81
+ A(s("input", {
82
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g),
82
83
  type: "checkbox",
83
84
  name: "options",
84
- onClick: h,
85
85
  "aria-disabled": t.value,
86
- "onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g)
86
+ onClick: h
87
87
  }, null, 8, be), [
88
88
  [O, l.value]
89
89
  ]),
90
- V(c(e.option), 1)
90
+ V(d(e.option), 1)
91
91
  ], 2));
92
92
  }
93
- }), ye = ".selected[data-v-a067b43a]{background:#f7f5ff}.disabled[data-v-a067b43a]{cursor:not-allowed;background:#efefef}.disabled.selected[data-v-a067b43a]{background:#d6d5dd}", _e = /* @__PURE__ */ _(he, [["styles", [ye]], ["__scopeId", "data-v-a067b43a"]]), ke = /* @__PURE__ */ y({
93
+ }), ye = ".selected[data-v-ce61a014]{background:#f7f5ff}.disabled[data-v-ce61a014]{cursor:not-allowed;background:#efefef}.disabled.selected[data-v-ce61a014]{background:#d6d5dd}", _e = /* @__PURE__ */ _(he, [["styles", [ye]], ["__scopeId", "data-v-ce61a014"]]), ke = /* @__PURE__ */ y({
94
94
  __name: "Button.ce",
95
95
  props: {
96
96
  label: { type: String },
@@ -101,7 +101,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
101
101
  class: w(["epreuve-button", e.state])
102
102
  }, [
103
103
  G(u.$slots, "icon"),
104
- V(" " + c(e.label), 1)
104
+ V(" " + d(e.label), 1)
105
105
  ], 2));
106
106
  }
107
107
  }), xe = ".epreuve-button{--pix-neutral-0: #fff;--pix-neutral-800: #253858;--pix-neutral-900: #122647;--pix-secondary-500: #ffcb33;--pix-secondary-700: #a16206}.epreuve-button.primary{--background-color: var(--pix-neutral-800);--background-color-hover: var(--pix-neutral-900);--color: var(--pix-neutral-0);--color-hover: var(--pix-neutral-0)}.epreuve-button.warning{--background-color: var(--pix-secondary-500);--background-color-hover: var(--pix-secondary-700);--color: var(--pix-neutral-900);--color-hover: var(--pix-neutral-0)}.epreuve-button.primary,.epreuve-button.warning{align-items:center;background-color:var(--background-color);border:2px solid transparent;border-radius:8px;color:var(--color);cursor:pointer;display:flex;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;justify-content:center;gap:8px;line-height:24px;margin:0 auto;outline:none;padding:8px 24px;transition:background-color ease .5s,color ease .5s;width:fit-content;white-space:nowrap}:is(.epreuve-button.primary,.epreuve-button.warning)[aria-disabled=true]{cursor:not-allowed;opacity:.5}:is(.epreuve-button.primary,.epreuve-button.warning):not([aria-disabled=true]):hover{background-color:var(--background-color-hover);color:var(--color-hover);transition:background-color ease .5s,color ease .5s}:is(.epreuve-button.primary,.epreuve-button.warning):not([aria-disabled=true]):hover svg{color:var(--color-hover);transition:color ease .5s}:is(.epreuve-button.primary,.epreuve-button.warning):focus,:is(.epreuve-button.primary,.epreuve-button.warning):focus-visible{background-color:var(--background-color-hover);color:var(--color-hover);outline:1px solid var(--pix-neutral-0);outline-offset:-5px}", we = /* @__PURE__ */ _(ke, [["styles", [xe]]]), Se = { class: "container" }, qe = { class: "left-side" }, Ie = ["aria-level"], $e = { class: "sr-only" }, Ce = { class: "left-side__action" }, Ve = {
@@ -123,7 +123,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
123
123
  searchDelay: { default: 3e3, type: Number }
124
124
  },
125
125
  setup(e, { expose: u }) {
126
- const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((d, r) => `${m[r]} ${d}`), D = g.filter((d, r) => l.includes(r + 1)), T = [
126
+ const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((c, r) => `${m[r]} ${c}`), D = g.filter((c, r) => l.includes(r + 1)), T = [
127
127
  {
128
128
  type: "info",
129
129
  image: e.infoImage
@@ -151,32 +151,32 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
151
151
  return S.value ? !1 : t.value === "info" ? L() : q();
152
152
  }
153
153
  function q() {
154
- h.value.forEach((d) => {
155
- d.isChecked = !1;
154
+ h.value.forEach((c) => {
155
+ c.isChecked = !1;
156
156
  }), n.value = [], t.value = "info";
157
157
  }
158
158
  async function L() {
159
- const d = n.value.every((r) => D.includes(r.trim()));
160
- t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), d ? t.value = "success" : t.value = "fail";
159
+ const c = n.value.every((r) => D.includes(r.trim()));
160
+ t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), c ? t.value = "success" : t.value = "fail";
161
161
  }
162
162
  return u({
163
163
  reset: q
164
- }), (d, r) => (o(), i("div", Se, [
164
+ }), (c, r) => (o(), i("div", Se, [
165
165
  s("form", qe, [
166
166
  s("div", {
167
167
  class: "left-side__subtitle",
168
168
  role: "heading",
169
169
  "aria-level": e.titleLevel
170
- }, c(d.$t("qcm-deepfake.in")), 9, Ie),
170
+ }, d(c.$t("qcm-deepfake.in")), 9, Ie),
171
171
  s("fieldset", null, [
172
- s("legend", $e, c(d.$t("qcm-deepfake.selectThreeElements")), 1),
172
+ s("legend", $e, d(c.$t("qcm-deepfake.selectThreeElements")), 1),
173
173
  (o(!0), i($, null, C(Q(g), (p, I) => (o(), F(_e, {
174
174
  ref_for: !0,
175
175
  ref_key: "optionsNode",
176
176
  ref: h,
177
- modelValue: n.value,
178
- "onUpdate:modelValue": r[0] || (r[0] = (A) => n.value = A),
179
177
  key: I,
178
+ modelValue: n.value,
179
+ "onUpdate:modelValue": r[0] || (r[0] = (E) => n.value = E),
180
180
  class: "left-side__options",
181
181
  option: p,
182
182
  value: I + 1,
@@ -185,11 +185,11 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
185
185
  ]),
186
186
  s("div", Ce, [
187
187
  k(we, {
188
- onClick: W(z, ["prevent"]),
189
188
  "aria-disabled": S.value,
190
189
  label: B.value,
191
190
  state: t.value === "info" ? "primary" : "warning",
192
- "aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo"
191
+ "aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo",
192
+ onClick: W(z, ["prevent"])
193
193
  }, U({ _: 2 }, [
194
194
  t.value === "success" || t.value === "fail" ? {
195
195
  name: "icon",
@@ -199,7 +199,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
199
199
  key: "0"
200
200
  } : void 0
201
201
  ]), 1032, ["aria-disabled", "label", "state", "aria-describedby"]),
202
- ["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", Ve, c(j.value), 1))
202
+ ["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", Ve, d(j.value), 1))
203
203
  ])
204
204
  ]),
205
205
  s("div", Ne, [
@@ -216,7 +216,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
216
216
  ])
217
217
  ]));
218
218
  }
219
- }), Te = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-da7e2b08]{display:flex;gap:.8rem}.title[data-v-da7e2b08]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-da7e2b08]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-da7e2b08]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-da7e2b08]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-da7e2b08]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-da7e2b08]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-da7e2b08]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-da7e2b08]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-da7e2b08]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-da7e2b08]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-da7e2b08]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-da7e2b08]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media(max-width:770px){.container[data-v-da7e2b08]{flex-wrap:wrap}.left-side[data-v-da7e2b08],.right-side[data-v-da7e2b08]{width:100%}}", je = /* @__PURE__ */ _(De, [["styles", [Te, Be]], ["__scopeId", "data-v-da7e2b08"]]);
219
+ }), Te = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-c5c2069c]{display:flex;gap:.8rem}.title[data-v-c5c2069c]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-c5c2069c]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-c5c2069c]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-c5c2069c]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-c5c2069c]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-c5c2069c]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-c5c2069c]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-c5c2069c]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-c5c2069c]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-c5c2069c]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-c5c2069c]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-c5c2069c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media(max-width:770px){.container[data-v-c5c2069c]{flex-wrap:wrap}.left-side[data-v-c5c2069c],.right-side[data-v-c5c2069c]{width:100%}}", je = /* @__PURE__ */ _(De, [["styles", [Te, Be]], ["__scopeId", "data-v-c5c2069c"]]);
220
220
  J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ee, "./locales/en.json": te, "./locales/es-419.json": ae, "./locales/es.json": ne, "./locales/fr-BE.json": oe, "./locales/fr.json": ie, "./locales/it.json": re, "./locales/nl.json": se })).catch((e) => console.error(e));
221
221
  const N = X(je, {
222
222
  configureApp(e) {