@1024pix/epreuves-components 2.8.1 → 2.9.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 (43) hide show
  1. package/dist/{Button.ce-D1_fAhqr.js → Button.ce-CkwcReY5.js} +1 -1
  2. package/dist/{ButtonTooltip.ce-BjlMn9Ez.js → ButtonTooltip.ce-CIo_7tm0.js} +1 -1
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-D7kq2waU.js → Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js} +1 -1
  4. package/dist/{LLMMessage.ce-B4Tg1zsn.js → LLMMessage.ce-y0pOYUCI.js} +2 -2
  5. package/dist/{Loading.ce-S-dh_E78.js → Loading.ce-Cxcx64IX.js} +1 -1
  6. package/dist/{NavigationButton.ce-DRBC3gta.js → NavigationButton.ce-DpzmC2Dd.js} +2 -2
  7. package/dist/{Retry-CoaWKuPG.js → Retry-BYnFnneH.js} +1 -1
  8. package/dist/{_plugin-vue_export-helper-BPDEgOal.js → _plugin-vue_export-helper-BaC4eJh4.js} +266 -252
  9. package/dist/components/analyse-mails-phishing.ce.js.js +258 -0
  10. package/dist/components/calcul-impact.ce.js.js +2 -2
  11. package/dist/components/capacity-calculation.ce.js.js +27 -27
  12. package/dist/components/clickable-image.ce.js.js +1 -1
  13. package/dist/components/complete-phrase.ce.js.js +3 -3
  14. package/dist/components/flip-cards.ce.js.js +1 -1
  15. package/dist/components/image-quiz.ce.js.js +3 -3
  16. package/dist/components/image-quizzes.ce.js.js +3 -3
  17. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  18. package/dist/components/llm-messages.ce.js.js +3 -3
  19. package/dist/components/llm-prompt-select.ce.js.js +1 -1
  20. package/dist/components/mdp-classement.ce.js.js +5 -5
  21. package/dist/components/message-conversation.ce.js.js +2 -2
  22. package/dist/components/mobile-shell.ce.js.js +1 -1
  23. package/dist/components/phishing-message.ce.js.js +14 -14
  24. package/dist/components/phishing-notification.ce.js.js +11 -11
  25. package/dist/components/pix-anonymisation.ce.js.js +8 -8
  26. package/dist/components/pix-article.ce.js.js +2 -2
  27. package/dist/components/pix-carousel.ce.js.js +4 -4
  28. package/dist/components/pix-cursor.ce.js.js +16 -16
  29. package/dist/components/qcm-deepfake.ce.js.js +19 -19
  30. package/dist/components/quiz-stepper.ce.js.js +81 -88
  31. package/dist/components/select-conversation.ce.js.js +2 -2
  32. package/dist/components/template-mail.ce.js.js +2 -2
  33. package/dist/components/test-top-mdp.ce.js.js +2 -2
  34. package/dist/components/trouver-mdp-rs.ce.js.js +208 -208
  35. package/dist/{i18n-BuCPzaih.js → i18n-BJ6FRipD.js} +1 -1
  36. package/dist/{i18n-lite-DBVKHY8J.js → i18n-lite-Dn1Iqj1Y.js} +1 -1
  37. package/dist/{image-quiz.ce-CXOFcx1H.js → image-quiz.ce-DvpG9mbT.js} +2 -2
  38. package/dist/index-BCutQvmP.js +34 -0
  39. package/dist/index.js +2 -1
  40. package/dist/metadata.js +29 -25
  41. package/dist/schema.js +90 -60
  42. package/dist/{shadow-dom-By5w43W7.js → shadow-dom-Db7VMkC0.js} +1 -1
  43. package/package.json +2 -1
@@ -0,0 +1,258 @@
1
+ import { d as A, i as Q, j as Z, y as i, w as U, e as S, o as a, K as n, g as W, n as X, L as E, l as P, k as M, N as Y, _ as D, r as N, O as e2, G as t2, c, E as u, a as s, B as x, H as _, t as l, F as w, b as V, p as a2, f as n2 } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { u as s2, i as T } from "../i18n-lite-Dn1Iqj1Y.js";
3
+ import { u as l2 } from "../normalize-props-DtfVI0Xg.js";
4
+ import { _ as i2, a as o2, F as r2 } from "../Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js";
5
+ import { S as c2, l as d2 } from "../index-BCutQvmP.js";
6
+ const u2 = {
7
+ "analyse-mails-phishing": { continue: "Continuer", subject: "{{srOnly}}{{subject}}", subjectSrOnly: "Sujet : ", sender: "{{srOnly}}{{sender}}", senderSrOnly: "Expéditeur : ", recipient: "{{srOnly}}{{recipient}}", recipientSrOnly: "Destinataire : ", to: "À moi", feedbackTitle: { correct: "Bien joué", incorrect: "Ce n’est pas ça" }, feedbackSrOnly: "Vous pouvez cliquer sur Continuer pour afficher le prochain mail." }
8
+ }, p2 = "data:image/svg+xml,%3csvg%20width='41'%20height='41'%20viewBox='0%200%2041%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2033.5484C9.02496%2031.6445%209.79268%2029.8271%2011.1371%2028.4893C12.4815%2027.1515%2014.2944%2026.4009%2016.1837%2026.3999H24.8163C26.7056%2026.4009%2028.5185%2027.1515%2029.8629%2028.4893C31.2073%2029.8271%2031.975%2031.6445%2032%2033.5484C28.8446%2036.4141%2024.7476%2038%2020.5%2038C16.2524%2038%2012.1554%2036.4141%209%2033.5484ZM26.9744%2015.525C26.9744%2016.8155%2026.5947%2018.077%2025.8833%2019.1501C25.1719%2020.2231%2024.1607%2021.0594%2022.9776%2021.5533C21.7946%2022.0471%2020.4928%2022.1763%2019.2369%2021.9246C17.981%2021.6728%2016.8274%2021.0514%2015.9219%2020.1388C15.0164%2019.2263%2014.3998%2018.0637%2014.15%2016.7979C13.9002%2015.5322%2014.0284%2014.2203%2014.5184%2013.028C15.0085%2011.8357%2015.8383%2010.8166%2016.903%2010.0997C17.9677%209.38268%2019.2195%209%2020.5%209C22.2171%209%2023.8639%209.68745%2025.0781%2010.9111C26.2923%2012.1348%2026.9744%2013.7944%2026.9744%2015.525Z'%20fill='white'/%3e%3cpath%20d='M36.2655%2033.5758C38.3699%2031.0459%2039.8335%2028.0469%2040.5326%2024.8323C41.2316%2021.6177%2041.1455%2018.2822%2040.2815%2015.1079C39.4175%2011.9336%2037.8011%209.0139%2035.569%206.59581C33.3368%204.17772%2030.5547%202.33238%2027.4578%201.21587C24.3609%200.0993725%2021.0405%20-0.255438%2017.7774%200.181459C14.5142%200.618355%2011.4044%201.83411%208.71099%203.72586C6.01756%205.61762%203.81975%208.12973%202.30349%2011.0497C0.787232%2013.9696%20-0.00287585%2017.2115%207.86538e-06%2020.5011C0.00111445%2025.2832%201.6877%2029.9122%204.7638%2033.5758L4.7345%2033.6007C4.83707%2033.7237%204.9543%2033.8291%205.0598%2033.9506C5.19168%2034.1014%205.33382%2034.2435%205.47009%2034.3899C5.88039%2034.835%206.3024%2035.2625%206.74493%2035.6637C6.87974%2035.7866%207.01895%2035.9008%207.15522%2036.018C7.62413%2036.4221%208.10623%2036.8057%208.6059%2037.1629C8.67038%2037.2068%208.72899%2037.264%208.79347%2037.3093V37.2918C12.2254%2039.7049%2016.3196%2041%2020.5161%2041C24.7127%2041%2028.8068%2039.7049%2032.2388%2037.2918V37.3093C32.3033%2037.264%2032.3604%2037.2068%2032.4263%2037.1629C32.9246%2036.8042%2033.4081%2036.4221%2033.877%2036.018C34.0133%2035.9008%2034.1525%2035.7852%2034.2873%2035.6637C34.7298%2035.261%2035.1519%2034.835%2035.5622%2034.3899C35.6984%2034.2435%2035.8391%2034.1014%2035.9725%2033.9506C36.0765%2033.8291%2036.1952%2033.7237%2036.2978%2033.5992L36.2655%2033.5758ZM20.5147%208.78808C21.8188%208.78808%2023.0937%209.1745%2024.1781%209.89846C25.2625%2010.6224%2026.1076%2011.6514%2026.6067%2012.8553C27.1058%2014.0592%2027.2364%2015.384%2026.982%2016.662C26.7275%2017.9401%2026.0995%2019.1141%2025.1773%2020.0355C24.2551%2020.9569%2023.0802%2021.5844%2021.8011%2021.8387C20.522%2022.0929%2019.1961%2021.9624%2017.9912%2021.4637C16.7864%2020.9651%2015.7565%2020.1206%2015.032%2019.0371C14.3074%2017.9536%2013.9207%2016.6798%2013.9207%2015.3767C13.9207%2013.6293%2014.6154%2011.9534%2015.852%2010.7178C17.0886%209.48224%2018.7658%208.78808%2020.5147%208.78808ZM8.80226%2033.5758C8.82768%2031.6534%209.60958%2029.8182%2010.9788%2028.4674C12.348%2027.1165%2014.1945%2026.3586%2016.1187%2026.3576H24.9107C26.8349%2026.3586%2028.6813%2027.1165%2030.0505%2028.4674C31.4197%2029.8182%2032.2016%2031.6534%2032.2271%2033.5758C29.0134%2036.4694%2024.8407%2038.0708%2020.5147%2038.0708C16.1886%2038.0708%2012.016%2036.4694%208.80226%2033.5758Z'%20fill='%232F80ED'/%3e%3c/svg%3e", m2 = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", h2 = /* @__PURE__ */ A({
9
+ __name: "MailElement.ce",
10
+ props: {
11
+ block: { type: Boolean, default: !1 },
12
+ path: { type: String }
13
+ },
14
+ setup(t) {
15
+ const { selectedPath: f, correct: $, paths: b, pathToIndex: v } = Q("store"), p = Z("el"), m = i(() => f.value === t.path), g = i(() => v.value[t.path]), d = i(() => m.value || f.value === void 0 && g.value === 0);
16
+ function O() {
17
+ f.value = t.path;
18
+ }
19
+ function y() {
20
+ g.value !== 0 && (f.value = b.value[g.value - 1]);
21
+ }
22
+ function L() {
23
+ g.value !== b.value.length - 1 && (f.value = b.value[g.value + 1]);
24
+ }
25
+ return U(() => {
26
+ m.value && p.value.focus();
27
+ }), (z, o) => (a(), S(Y(t.block ? "div" : "span"), {
28
+ class: X(["mail-element", {
29
+ "mail-element--correct": m.value && M($),
30
+ "mail-element--incorrect": m.value && !M($)
31
+ }]),
32
+ role: "option",
33
+ "aria-selected": m.value,
34
+ tabindex: d.value ? 0 : -1,
35
+ onClick: o[0] || (o[0] = (C) => O()),
36
+ onKeydown: [
37
+ o[1] || (o[1] = E(P((C) => O(), ["stop", "prevent"]), ["space"])),
38
+ o[2] || (o[2] = E(P((C) => y(), ["stop", "prevent"]), ["up", "left"])),
39
+ o[3] || (o[3] = E(P((C) => L(), ["stop", "prevent"]), ["down", "right"]))
40
+ ],
41
+ ref_key: "el",
42
+ ref: p
43
+ }, {
44
+ default: n(() => [
45
+ W(z.$slots, "default")
46
+ ]),
47
+ _: 3
48
+ }, 40, ["class", "aria-selected", "tabindex"]));
49
+ }
50
+ }), f2 = ".mail-element{background-color:transparent;border:1px solid #cdd1d9;border-radius:4px;cursor:pointer;font-weight:inherit;padding:0 2px}.mail-element--correct{background-color:#54c590}.mail-element--incorrect{background-color:#e4766f}", j = /* @__PURE__ */ D(h2, [["styles", [f2]]]), v2 = {
51
+ class: "mail",
52
+ role: "listbox"
53
+ }, g2 = ["arial-level"], y2 = { class: "sr-only" }, _2 = { class: "mail-header" }, b2 = ["src"], C2 = { class: "mail-header__content" }, x2 = { class: "sr-only" }, k2 = { class: "mail-header__from-name" }, w2 = { class: "mail-header__from-address" }, j2 = { class: "mail-header__to" }, $2 = { class: "sr-only" }, O2 = ["src"], S2 = {
54
+ key: 0,
55
+ class: "mail__paragraph"
56
+ }, M2 = {
57
+ key: 1,
58
+ class: "mail__button"
59
+ }, L2 = {
60
+ key: 0,
61
+ class: "sr-only"
62
+ }, z2 = /* @__PURE__ */ A({
63
+ __name: "AnalyseMailsPhishing.ce",
64
+ props: {
65
+ titleLevel: { type: Number },
66
+ mails: { type: Array }
67
+ },
68
+ setup(t, { expose: f }) {
69
+ const $ = e2(t, ["mails"]), { t: b } = s2(), v = N(0), p = N(), m = Z("container"), g = i(() => $.titleLevel ?? 2), d = i(() => t.mails[v.value]), O = i(() => p.value !== void 0), y = i(() => d.value.answers.includes(p.value)), L = i(() => y.value ? b("analyse-mails-phishing.feedbackTitle.correct") : b("analyse-mails-phishing.feedbackTitle.incorrect")), z = i(() => y.value ? d.value.correctFeedback : d.value.incorrectFeedback), o = i(() => y.value && v.value < t.mails.length - 1), C = i(
70
+ () => d.value.body.map((e, r) => {
71
+ if (e.type === "paragraph")
72
+ return {
73
+ ...e,
74
+ content: e.content.map((k, h) => ({
75
+ text: k,
76
+ path: `body[${r}][${h}]`
77
+ }))
78
+ };
79
+ if (e.type === "button")
80
+ return {
81
+ ...e,
82
+ path: `body[${r}]`
83
+ };
84
+ })
85
+ ), B = i(() => [
86
+ "subject",
87
+ "from.name",
88
+ "from.address",
89
+ ...C.value.flatMap((e) => {
90
+ if (e.type === "paragraph")
91
+ return e.content.map(({ path: r }) => r);
92
+ if (e.type === "button") return [e.path];
93
+ })
94
+ ]), R = i(() => Object.fromEntries(
95
+ B.value.map((e, r) => [e, r])
96
+ ));
97
+ a2("store", {
98
+ selectedPath: p,
99
+ correct: y,
100
+ paths: B,
101
+ pathToIndex: R
102
+ });
103
+ function K() {
104
+ v.value++, p.value = void 0, m.value.focus();
105
+ }
106
+ function G() {
107
+ v.value = 0, p.value = void 0;
108
+ }
109
+ return f({
110
+ reset: G
111
+ }), (e, r) => {
112
+ const k = t2("i18next");
113
+ return a(), c("div", {
114
+ class: "analyse-mails-phishing",
115
+ tabindex: "-1",
116
+ ref_key: "container",
117
+ ref: m
118
+ }, [
119
+ u(c2, {
120
+ step: v.value,
121
+ "steps-count": t.mails.length
122
+ }, null, 8, ["step", "steps-count"]),
123
+ s("div", v2, [
124
+ u(j, {
125
+ path: "subject",
126
+ block: !0
127
+ }, {
128
+ default: n(() => [
129
+ s("div", {
130
+ class: "mail__subject",
131
+ role: "heading",
132
+ "arial-level": g.value
133
+ }, [
134
+ u(k, { name: "analyse-mails-phishing.subject" }, {
135
+ srOnly: n(() => [
136
+ s("span", y2, l(e.$t("analyse-mails-phishing.subjectSrOnly")), 1)
137
+ ]),
138
+ subject: n(() => [
139
+ _(l(d.value.subject), 1)
140
+ ]),
141
+ _: 1
142
+ })
143
+ ], 8, g2)
144
+ ]),
145
+ _: 1
146
+ }),
147
+ s("div", _2, [
148
+ s("img", {
149
+ src: M(p2),
150
+ alt: ""
151
+ }, null, 8, b2),
152
+ s("div", C2, [
153
+ s("div", null, [
154
+ u(k, { name: "analyse-mails-phishing.sender" }, {
155
+ srOnly: n(() => [
156
+ s("span", x2, l(e.$t("analyse-mails-phishing.senderSrOnly")), 1)
157
+ ]),
158
+ sender: n(() => [
159
+ u(j, { path: "from.name" }, {
160
+ default: n(() => [
161
+ s("span", k2, l(d.value.from.name), 1)
162
+ ]),
163
+ _: 1
164
+ }),
165
+ r[1] || (r[1] = _()),
166
+ u(j, { path: "from.address" }, {
167
+ default: n(() => [
168
+ s("span", w2, "<" + l(d.value.from.address) + ">", 1)
169
+ ]),
170
+ _: 1
171
+ })
172
+ ]),
173
+ _: 1
174
+ })
175
+ ]),
176
+ s("div", j2, [
177
+ u(k, { name: "analyse-mails-phishing.recipient" }, {
178
+ srOnly: n(() => [
179
+ s("span", $2, l(e.$t("analyse-mails-phishing.recipientSrOnly")), 1)
180
+ ]),
181
+ recipient: n(() => [
182
+ _(l(e.$t("analyse-mails-phishing.to")) + " ", 1),
183
+ s("img", {
184
+ src: M(m2),
185
+ alt: ""
186
+ }, null, 8, O2)
187
+ ]),
188
+ _: 1
189
+ })
190
+ ])
191
+ ])
192
+ ]),
193
+ (a(!0), c(w, null, V(C.value, (h, I) => (a(), c(w, { key: I }, [
194
+ h.type === "paragraph" ? (a(), c("p", S2, [
195
+ (a(!0), c(w, null, V(h.content, ({ path: q, text: J }, F) => (a(), c(w, { key: F }, [
196
+ F !== 0 ? (a(), c(w, { key: 0 }, [
197
+ _(l(" "))
198
+ ], 64)) : x("", !0),
199
+ u(j, { path: q }, {
200
+ default: n(() => [
201
+ _(l(J), 1)
202
+ ]),
203
+ _: 2
204
+ }, 1032, ["path"])
205
+ ], 64))), 128))
206
+ ])) : x("", !0),
207
+ h.type === "button" ? (a(), c("div", M2, [
208
+ u(j, {
209
+ path: h.path
210
+ }, {
211
+ default: n(() => [
212
+ _(l(h.name), 1)
213
+ ]),
214
+ _: 2
215
+ }, 1032, ["path"])
216
+ ])) : x("", !0)
217
+ ], 64))), 128))
218
+ ]),
219
+ O.value ? (a(), S(r2, {
220
+ key: 0,
221
+ title: L.value
222
+ }, {
223
+ icon: n(() => [
224
+ y.value ? (a(), S(i2, {
225
+ key: 0,
226
+ class: "feedback-icon"
227
+ })) : (a(), S(o2, {
228
+ key: 1,
229
+ class: "feedback-icon"
230
+ }))
231
+ ]),
232
+ content: n(() => [
233
+ _(l(z.value) + " ", 1),
234
+ o.value ? (a(), c("span", L2, l(e.$t("analyse-mails-phishing.feedbackSrOnly")), 1)) : x("", !0)
235
+ ]),
236
+ _: 1
237
+ }, 8, ["title"])) : x("", !0),
238
+ o.value ? (a(), c("button", {
239
+ key: 1,
240
+ class: "continue-button",
241
+ onClick: r[0] || (r[0] = (h) => K())
242
+ }, l(e.$t("analyse-mails-phishing.continue")), 1)) : x("", !0)
243
+ ], 512);
244
+ };
245
+ }
246
+ }), E2 = "*{font-family:Nunito,Roboto,sans-serif;color:#122647}p{margin:0}.analyse-mails-phishing{display:flex;flex-direction:column;gap:24px}.mail{display:flex;padding:16px;flex-direction:column;gap:12px;border-radius:8px;background:#f4f5f7;align-items:start}.mail__subject{font-size:18px}.mail-header{display:flex;gap:16px;align-items:center}.mail-header__content{display:flex;flex-direction:column;gap:4px}.mail-header__from-name{font-size:15px;font-weight:700}.mail-header__from-address{color:#757575;font-size:12px}.mail-header__to{color:#818488;font-size:12px;font-weight:500;display:flex;align-items:center;gap:6px}.mail__paragraph{font-size:14px;line-height:24px}.mail__button{padding:8px 24px;border-radius:8px;border:1px solid #cdd1d9;background-color:#fff;color:#253858;font-size:14px;font-weight:700;text-align:center}.mail-element--correct .mail-header__from-address,.mail-element--incorrect .mail-header__from-address{color:#122647}.feedback-icon{height:16px;width:16px}.continue-button{border-style:none;padding:8px 24px;border-radius:8px;background-color:#253858;color:#fff;font-size:14px;font-weight:700;cursor:pointer;align-self:center}@media only screen and (max-width:576px){.analyse-mails-phishing{gap:12px}.mail__subject{font-size:16px}.mail__button{padding:8px 12px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", P2 = /* @__PURE__ */ D(z2, [["styles", [E2]]]);
247
+ T.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/fr.json": u2 }));
248
+ d2();
249
+ const H = n2(P2, {
250
+ configureApp(t) {
251
+ T.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(T);
252
+ }
253
+ });
254
+ H.prototype.normalizeProps = (t) => ({
255
+ ...t,
256
+ titleLevel: l2(t.titleLevel)
257
+ });
258
+ window.customElements.define("analyse-mails-phishing", H);
@@ -1,5 +1,5 @@
1
- import { d as V, G as R, c as p, o as d, F as K, E as v, K as r, B as C, a as e, t as a, H as _, T as D, _ as z, r as l, z as E, e as U, k as j, O as N, f as G } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { a as H, i as x, b as Q } from "../i18n-BuCPzaih.js";
1
+ import { d as V, G as R, c as p, o as d, F as K, E as v, K as r, B as C, a as e, t as a, H as _, T as D, _ as z, r as l, z as E, e as U, k as j, Q as N, f as G } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { a as H, i as x, b as Q } from "../i18n-BJ6FRipD.js";
3
3
  import { u as J } from "../normalize-props-DtfVI0Xg.js";
4
4
  const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
5
5
  "calcul-impact": { title: "Calculez votre impact IA", subtitle: "Quels ont été vos usages de l'IA la semaine dernière ?", numberOfConversationLabel: "Nombre de conversations courtes :", numberOfImagesLabel: "Nombre de créations d’images :", seePersonalImpact: "Voir votre impact personnel sur une semaine", seeCollectiveImpact: "Si 1 million de personnes faisaient comme vous toutes les semaines pendant un an", legals: "Estimations basées sur l'étude Hugging Face, Carnegie Mellon University, Allen Institute for AI, Oct 2024", yourPersonalImpact: "Votre impact personnel", consumptionForAWeek: "Votre consommation sur une semaine", consumptionForAYear: "1 million de personnes toutes les semaines pendant un an", personalConsumption: "Vous avez consommé environ {{energy}} Wh", personalDuration: "Cela équivaut à {{number}} minutes de micro-ondes", collectiveConsumption: "Cela représenterait {{energy}} kWh, soit l'équivalent de la consommation en électricité de {{homes}} foyers français", collectiveDuration: "Équivalent à {{number}} minutes de micro-ondes", planeKilometers: "Et {{kilometers}} km parcourus en avion", yourCollectiveImpact: "Impact collectif simulé" }
@@ -1,7 +1,7 @@
1
- import { d as b, c as s, o as n, n as v, g as V, H as N, t as o, _ as p, U as R, V as w, r as g, y as h, a as t, E as x, F as T, b as Z, k as D, l as O, W as F, K as P, e as f, B as q, f as W } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { u as H, a as K, i as $, b as G } from "../i18n-BuCPzaih.js";
1
+ import { d as b, c as s, o as n, n as v, g as R, H as N, t as o, _ as p, R as T, S as w, r as g, y as h, a as t, E as x, F as V, b as Z, k as D, l as O, U as F, K as P, e as f, B as q, f as H } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { u as K, a as W, i as $, b as G } from "../i18n-BJ6FRipD.js";
3
3
  import { u as J } from "../normalize-props-DtfVI0Xg.js";
4
- import { R as X } from "../Retry-CoaWKuPG.js";
4
+ import { R as X } from "../Retry-BYnFnneH.js";
5
5
  const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
6
6
  "capacity-calculation": { title: "L’impact des requêtes à l’IA générative", in: { title: "Choisissez le type et le nombre de requêtes, puis observez ce qui se passe.", aiQuestion: "Quelle est la demande à l’IA ?", aiOptions: ["Fais une vidéo d’une durée d’une minute.", "Écris un texte de 10 lignes.", "Fais un dessin de haute qualité."], userQuestion: "Combien d’utilisateurs font la demande en même temps ?", buttonLabel: { primary: "Observer l’effet", warning: "Recommencer" } }, out: { title: "Impact des demandes", consumption: { label: "Consommation d’électricité :", normal_weak: "Moyenne", normal_medium: "Moyenne", warning: "Très forte", error: "Très forte", initial: "À l’arrêt" }, capacity: { label: "État du centre de données :", normal_weak: "Normal", normal_medium: "Normal", warning: "Sollicitation maximale", error: "Ne peut pas répondre à la demande", initial: "À l’arrêt" } } }
7
7
  }, ia = {}, na = {}, oa = /* @__PURE__ */ b({
@@ -14,7 +14,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
14
14
  return (l, u) => (n(), s("button", {
15
15
  class: v(["epreuve-button", a.state])
16
16
  }, [
17
- V(l.$slots, "icon"),
17
+ R(l.$slots, "icon"),
18
18
  N(" " + o(a.label), 1)
19
19
  ], 2));
20
20
  }
@@ -23,7 +23,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
23
23
  class: "capacity-calculation__range-label"
24
24
  }, ba = /* @__PURE__ */ b({
25
25
  __name: "Questions.ce",
26
- props: /* @__PURE__ */ R({
26
+ props: /* @__PURE__ */ T({
27
27
  titleLevel: { type: Number }
28
28
  }, {
29
29
  selectedAiQuestion: {
@@ -44,10 +44,10 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
44
44
  }),
45
45
  emits: ["update:selectedAiQuestion", "update:selectedNbUser", "update:currentLevel"],
46
46
  setup(a) {
47
- const l = a, { t: u } = H(), d = l.titleLevel + 1, r = w(a, "selectedAiQuestion"), e = w(a, "selectedNbUser"), c = w(a, "currentLevel"), _ = g(!1), L = h(() => ({
47
+ const l = a, { t: u } = K(), d = l.titleLevel + 1, r = w(a, "selectedAiQuestion"), e = w(a, "selectedNbUser"), c = w(a, "currentLevel"), _ = g(!1), L = h(() => ({
48
48
  state: c.value === "initial" ? "primary" : "warning",
49
49
  label: u(`capacity-calculation.in.buttonLabel.${c.value === "initial" ? "primary" : "warning"}`)
50
- })), k = h(() => Number.isInteger(r.value)), U = [800, 8e3, 14e3, 25e3, 9e4, 15e4], A = /* @__PURE__ */ new Set([
50
+ })), k = h(() => Number.isInteger(r.value)), S = [800, 8e3, 14e3, 25e3, 9e4, 15e4], U = /* @__PURE__ */ new Set([
51
51
  // Valeurs de base
52
52
  10,
53
53
  20,
@@ -72,7 +72,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
72
72
  4e3,
73
73
  5e3,
74
74
  1e4,
75
- ...U,
75
+ ...S,
76
76
  2e4,
77
77
  3e4,
78
78
  4e4,
@@ -80,10 +80,10 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
80
80
  75e3,
81
81
  1e5,
82
82
  125e3
83
- ]), C = Array.from(A).sort((i, m) => i - m), Q = h(() => {
83
+ ]), C = Array.from(U).sort((i, m) => i - m), A = h(() => {
84
84
  const i = C.indexOf(e.value);
85
85
  return Math.max(0, i);
86
- }), S = (i) => {
86
+ }), Q = (i) => {
87
87
  const m = i.target;
88
88
  e.value = C[Number(m.value)];
89
89
  }, j = (i) => {
@@ -118,7 +118,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
118
118
  }, o(i.$t("capacity-calculation.in.title")), 1),
119
119
  t("fieldset", da, [
120
120
  t("legend", _a, o(i.$t("capacity-calculation.in.aiQuestion")), 1),
121
- (n(!0), s(T, null, Z(i.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (z, y) => (n(), s("div", { key: y }, [
121
+ (n(!0), s(V, null, Z(i.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (z, y) => (n(), s("div", { key: y }, [
122
122
  t("label", {
123
123
  class: v(["capacity-calculation__ai-option", { "capacity-calculation__ai-option--active": r.value === y, disabled: _.value }])
124
124
  }, [
@@ -143,8 +143,8 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
143
143
  name: "nbUser",
144
144
  min: 0,
145
145
  max: D(C).length - 1,
146
- value: Q.value,
147
- onChange: S,
146
+ value: A.value,
147
+ onChange: Q,
148
148
  onKeydown: j,
149
149
  "aria-disabled": _.value,
150
150
  class: "capacity-calculation__range"
@@ -198,22 +198,22 @@ function qa(a, l) {
198
198
  }, null, -1)
199
199
  ])]);
200
200
  }
201
- const Ma = /* @__PURE__ */ p($a, [["render", qa]]), Ua = {}, Aa = {
201
+ const Ma = /* @__PURE__ */ p($a, [["render", qa]]), Sa = {}, Ua = {
202
202
  width: "43",
203
203
  height: "43",
204
204
  viewBox: "0 0 43 43",
205
205
  fill: "none",
206
206
  xmlns: "http://www.w3.org/2000/svg"
207
207
  };
208
- function Qa(a, l) {
209
- return n(), s("svg", Aa, [...l[0] || (l[0] = [
208
+ function Aa(a, l) {
209
+ return n(), s("svg", Ua, [...l[0] || (l[0] = [
210
210
  t("path", {
211
211
  d: "M5.00009 37.8074C4.62175 37.8074 4.27999 37.7135 3.9748 37.5257C3.66962 37.3379 3.43238 37.0903 3.26307 36.783C3.09226 36.4785 2.99939 36.1476 2.98446 35.7905C2.96953 35.4333 3.0624 35.0848 3.26307 34.745L19.7182 6.27096C19.9186 5.92965 20.1806 5.67538 20.5043 5.50816C20.828 5.34093 21.1602 5.25732 21.5009 5.25732C21.8416 5.25732 22.1735 5.34093 22.4966 5.50816C22.8197 5.67538 23.0814 5.92965 23.2818 6.27096L39.7369 34.745C39.9376 35.0848 40.0305 35.4333 40.0155 35.7905C40.0006 36.1476 39.9077 36.4785 39.7369 36.783C39.5661 37.0873 39.3286 37.3341 39.0243 37.5234C38.7197 37.7128 38.3782 37.8074 37.9999 37.8074H5.00009ZM21.5 32.2179C22.0148 32.2179 22.4511 32.039 22.8088 31.6813C23.1665 31.3238 23.3454 30.8877 23.3454 30.3729C23.3454 29.8581 23.1665 29.4236 22.8088 29.0695C22.4511 28.7153 22.0148 28.5382 21.5 28.5382C20.9852 28.5382 20.5489 28.7153 20.1912 29.0695C19.8334 29.4236 19.6546 29.8581 19.6546 30.3729C19.6546 30.8877 19.8334 31.3238 20.1912 31.6813C20.5489 32.039 20.9852 32.2179 21.5 32.2179ZM21.5 26.8751C22.0076 26.8751 22.4332 26.7034 22.7766 26.36C23.12 26.0166 23.2917 25.5911 23.2917 25.0835V19.8263C23.2917 19.3186 23.12 18.8931 22.7766 18.5497C22.4332 18.2063 22.0076 18.0346 21.5 18.0346C20.9924 18.0346 20.5668 18.2063 20.2234 18.5497C19.88 18.8931 19.7083 19.3186 19.7083 19.8263V25.0835C19.7083 25.5911 19.88 26.0166 20.2234 26.36C20.5668 26.7034 20.9924 26.8751 21.5 26.8751Z",
212
212
  fill: "#EE6911"
213
213
  }, null, -1)
214
214
  ])]);
215
215
  }
216
- const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = { class: "capacity-calculation__card" }, Ba = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ea = { class: "capacity-calculation__img" }, za = ["src"], Va = { class: "capacity-calculation__text" }, Ra = { class: "capacity-calculation__answers" }, Ta = { class: "capacity-calculation__card" }, Za = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Da = { class: "capacity-calculation__text" }, Oa = /* @__PURE__ */ b({
216
+ const Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), ja = ["aria-level"], Ia = { class: "capacity-calculation__card" }, Ba = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ea = { class: "capacity-calculation__img" }, za = ["src"], Ra = { class: "capacity-calculation__text" }, Ta = { class: "capacity-calculation__answers" }, Va = { class: "capacity-calculation__card" }, Za = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Da = { class: "capacity-calculation__text" }, Oa = /* @__PURE__ */ b({
217
217
  __name: "Answers.ce",
218
218
  props: {
219
219
  currentLevel: { type: String },
@@ -240,7 +240,7 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
240
240
  a.currentLevel.startsWith("normal_") ? (n(), f(Ma, {
241
241
  key: 0,
242
242
  class: "capacity-calculation__img--status"
243
- })) : a.currentLevel === "warning" ? (n(), f(Sa, {
243
+ })) : a.currentLevel === "warning" ? (n(), f(Qa, {
244
244
  key: 1,
245
245
  class: "capacity-calculation__img--status"
246
246
  })) : a.currentLevel === "error" ? (n(), f(ka, {
@@ -248,10 +248,10 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
248
248
  class: "capacity-calculation__img--status"
249
249
  })) : q("", !0)
250
250
  ]),
251
- t("p", Va, o(l.$t(`capacity-calculation.out.capacity.${a.currentLevel}`)), 1)
251
+ t("p", Ra, o(l.$t(`capacity-calculation.out.capacity.${a.currentLevel}`)), 1)
252
252
  ]),
253
- t("div", Ra, [
254
- t("div", Ta, [
253
+ t("div", Ta, [
254
+ t("div", Va, [
255
255
  t("p", Za, o(l.$t("capacity-calculation.out.consumption.label")), 1),
256
256
  t("div", {
257
257
  class: v(["capacity-calculation__progress-bar", a.currentLevel])
@@ -261,7 +261,7 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
261
261
  ])
262
262
  ], 2));
263
263
  }
264
- }), Fa = ".capacity-calculation__column--answers[data-v-ea19b1c6]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers--normal_medium[data-v-ea19b1c6]{background:#eaf1ff}.capacity-calculation__column--answers--warning[data-v-ea19b1c6]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-ea19b1c6]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{display:flex;flex-direction:column;align-items:stretch;gap:8px;justify-content:center;margin-bottom:1rem}.capacity-calculation__column--answers .capacity-calculation__card[data-v-ea19b1c6]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-ea19b1c6]{font-size:.875rem;font-weight:400;line-height:1.5rem;text-align:center;margin:0}.capacity-calculation__column--answers .capacity-calculation__text--strong[data-v-ea19b1c6]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-ea19b1c6]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-ea19b1c6]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-ea19b1c6]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-ea19b1c6]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-ea19b1c6]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-ea19b1c6]{background:linear-gradient(90deg,#1f53b5 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-ea19b1c6]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-ea19b1c6]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{flex-direction:row;justify-content:center;gap:16px}}", Pa = /* @__PURE__ */ p(Oa, [["styles", [Fa]], ["__scopeId", "data-v-ea19b1c6"]]), Wa = { class: "capacity-calculation" }, Ha = ["aria-level"], Ka = {
264
+ }), Fa = ".capacity-calculation__column--answers[data-v-ea19b1c6]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers--normal_medium[data-v-ea19b1c6]{background:#eaf1ff}.capacity-calculation__column--answers--warning[data-v-ea19b1c6]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-ea19b1c6]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{display:flex;flex-direction:column;align-items:stretch;gap:8px;justify-content:center;margin-bottom:1rem}.capacity-calculation__column--answers .capacity-calculation__card[data-v-ea19b1c6]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-ea19b1c6]{font-size:.875rem;font-weight:400;line-height:1.5rem;text-align:center;margin:0}.capacity-calculation__column--answers .capacity-calculation__text--strong[data-v-ea19b1c6]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-ea19b1c6]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-ea19b1c6]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-ea19b1c6]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-ea19b1c6]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-ea19b1c6]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-ea19b1c6]{background:linear-gradient(90deg,#1f53b5 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-ea19b1c6]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-ea19b1c6]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{flex-direction:row;justify-content:center;gap:16px}}", Pa = /* @__PURE__ */ p(Oa, [["styles", [Fa]], ["__scopeId", "data-v-ea19b1c6"]]), Ha = { class: "capacity-calculation" }, Ka = ["aria-level"], Wa = {
265
265
  class: "capacity-calculation__grid",
266
266
  "aria-live": "polite"
267
267
  }, Ga = /* @__PURE__ */ b({
@@ -272,13 +272,13 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
272
272
  },
273
273
  setup(a) {
274
274
  const l = g(void 0), u = g(10), d = g("initial");
275
- return (r, e) => (n(), s("div", Wa, [
275
+ return (r, e) => (n(), s("div", Ha, [
276
276
  t("div", {
277
277
  role: "heading",
278
278
  "aria-level": a.titleLevel,
279
279
  class: "capacity-calculation__title"
280
- }, o(r.$t("capacity-calculation.title")), 9, Ha),
281
- t("div", Ka, [
280
+ }, o(r.$t("capacity-calculation.title")), 9, Ka),
281
+ t("div", Wa, [
282
282
  x(wa, {
283
283
  "title-level": a.titleLevel,
284
284
  "selected-ai-question": l.value,
@@ -300,8 +300,8 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
300
300
  ]));
301
301
  }
302
302
  }), Ja = ".capacity-calculation__title,.capacity-calculation__subtitle{color:#122647;font-family:Nunito,serif;font-weight:700;text-align:center}.capacity-calculation__title{font-size:1.75rem;line-height:2.25rem;margin-bottom:1rem}.capacity-calculation__subtitle{font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}.capacity-calculation__grid{display:grid;gap:1rem;grid-template-columns:5fr 2.6fr}.capacity-calculation__grid .initial-state{grid-column:1/span 2}.capacity-calculation__column{display:flex;border-radius:8px;flex-direction:column;padding:16px}@media screen and (max-width:720px){.capacity-calculation__grid{display:flex;flex-direction:column}}", Xa = /* @__PURE__ */ p(Ga, [["styles", [Ja]]]);
303
- K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": aa, "./locales/es-419.json": ea, "./locales/es.json": ta, "./locales/fr-BE.json": ca, "./locales/fr.json": la, "./locales/it.json": ia, "./locales/nl.json": na })).catch((a) => console.error(a));
304
- const M = W(Xa, {
303
+ W(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": aa, "./locales/es-419.json": ea, "./locales/es.json": ta, "./locales/fr-BE.json": ca, "./locales/fr.json": la, "./locales/it.json": ia, "./locales/nl.json": na })).catch((a) => console.error(a));
304
+ const M = H(Xa, {
305
305
  configureApp(a) {
306
306
  $.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(G, { i18next: $ });
307
307
  }
@@ -1,4 +1,4 @@
1
- import { d as R, j as E, r as y, v as O, x as W, y as d, c as p, o as v, a as C, z as _, m as j, F as D, b as L, l as V, A as b, B as T, k as U, n as X, C as Y, t as q, _ as G, f as H } from "../_plugin-vue_export-helper-BPDEgOal.js";
1
+ import { d as R, j as E, r as y, v as O, x as W, y as d, c as p, o as v, a as C, z as _, m as j, F as D, b as L, l as V, A as b, B as T, k as U, n as X, C as Y, t as q, _ as G, f as H } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
2
  import { u as z, a as J } from "../normalize-props-DtfVI0Xg.js";
3
3
  const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], f = 10, Z = /* @__PURE__ */ R({
4
4
  __name: "ClickableImage.ce",
@@ -1,7 +1,7 @@
1
- import { d as h, c as n, o, a, t as c, A as j, _ as f, n as P, g as S, H as N, r as y, y as m, B as z, F as x, b as k, e as v, E as L, f as E } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { u as M, a as O, i as q, b as T } from "../i18n-BuCPzaih.js";
1
+ import { d as h, c as n, o, a, t as c, A as j, _ as f, n as P, g as S, H as N, r as y, y as m, B as z, F as x, b as k, e as v, E as L, f as E } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { u as M, a as O, i as q, b as T } from "../i18n-BJ6FRipD.js";
3
3
  import { u as I } from "../normalize-props-DtfVI0Xg.js";
4
- import { L as B } from "../LLMMessage.ce-B4Tg1zsn.js";
4
+ import { L as B } from "../LLMMessage.ce-y0pOYUCI.js";
5
5
  const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
6
6
  "complete-phrase": { title: "Probabilité du mot suivant", description: "Quand la barre est longue, le mot a une plus forte probabilité de convenir pour continuer cette phrase.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Révéler le mot", successfullyCompletedSentence: "Cliquez sur le mot choisi par l’IA dans les propositions suivantes :", feedback: { sure: "En effet, c'est le mot le plus probable !", probably: "C’est possible ! L’IA peut aussi choisir le mot « {{word}} », qui est très probable...", notSure: "Pas sûr... L’IA choisira sans doute un mot plus probable : {{words, list(style: 'long'; type: 'disjunction';)}}." } }
7
7
  }, W = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
@@ -1,4 +1,4 @@
1
- import { d as g, c as r, o as n, F as m, a as i, n as f, t as l, B as x, _ as u, r as y, b as k, L as v, E as w, f as F } from "../_plugin-vue_export-helper-BPDEgOal.js";
1
+ import { d as g, c as r, o as n, F as m, a as i, n as f, t as l, B as x, _ as u, r as y, b as k, L as v, E as w, f as F } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
2
  import { u as _ } from "../normalize-props-DtfVI0Xg.js";
3
3
  const L = ["aria-hidden"], C = ["src"], z = ["aria-level"], N = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, E = ["src"], j = /* @__PURE__ */ g({
4
4
  __name: "FlipCard.ce",
@@ -1,7 +1,7 @@
1
- import { n as t } from "../image-quiz.ce-CXOFcx1H.js";
2
- import "../_plugin-vue_export-helper-BPDEgOal.js";
1
+ import { n as t } from "../image-quiz.ce-DvpG9mbT.js";
2
+ import "../_plugin-vue_export-helper-BaC4eJh4.js";
3
3
  import "../normalize-props-DtfVI0Xg.js";
4
- import "../i18n-lite-DBVKHY8J.js";
4
+ import "../i18n-lite-Dn1Iqj1Y.js";
5
5
  export {
6
6
  t as normalizeImageQuizProps
7
7
  };
@@ -1,6 +1,6 @@
1
- import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-CXOFcx1H.js";
2
- import { d as q, r as E, w as h, c as y, o as l, b as I, e as k, m as B, F as Q, f as C } from "../_plugin-vue_export-helper-BPDEgOal.js";
3
- import { i as n } from "../i18n-lite-DBVKHY8J.js";
1
+ import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-DvpG9mbT.js";
2
+ import { d as q, r as E, w as h, c as y, o as l, b as I, e as k, m as B, F as Q, f as C } from "../_plugin-vue_export-helper-BaC4eJh4.js";
3
+ import { i as n } from "../i18n-lite-Dn1Iqj1Y.js";
4
4
  const F = /* @__PURE__ */ q({
5
5
  __name: "ImageQuizzes.ce",
6
6
  props: {
@@ -1,6 +1,6 @@
1
- import { d as c, c as t, o as s, a as e, t as n, F as r, b as m, E as i, _ as p, f as g } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { L as l } from "../LLMMessage.ce-B4Tg1zsn.js";
3
- import { p as u } from "../shadow-dom-By5w43W7.js";
1
+ import { d as c, c as t, o as s, a as e, t as n, F as r, b as m, E as i, _ as p, f as g } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { L as l } from "../LLMMessage.ce-y0pOYUCI.js";
3
+ import { p as u } from "../shadow-dom-Db7VMkC0.js";
4
4
  const f = {
5
5
  class: "header",
6
6
  "aria-hidden": "true"
@@ -1,6 +1,6 @@
1
- import { d as c, I as m, J as i, c as t, o as e, F as p, b as d, e as f, _ as g, f as u } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { L as h } from "../LLMMessage.ce-B4Tg1zsn.js";
3
- import { p as _ } from "../shadow-dom-By5w43W7.js";
1
+ import { d as c, I as m, J as i, c as t, o as e, F as p, b as d, e as f, _ as g, f as u } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { L as h } from "../LLMMessage.ce-y0pOYUCI.js";
3
+ import { p as _ } from "../shadow-dom-Db7VMkC0.js";
4
4
  const x = {
5
5
  class: "llm-messages",
6
6
  "aria-live": "polite"
@@ -1,4 +1,4 @@
1
- import { d as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, b as L, t as S, _ as C, f as P } from "../_plugin-vue_export-helper-BPDEgOal.js";
1
+ import { d as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, b as L, t as S, _ as C, f as P } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
2
  import { u as N } from "../normalize-props-DtfVI0Xg.js";
3
3
  import "./llm-messages.ce.js.js";
4
4
  const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B = ["disabled", "onClick"], V = /* @__PURE__ */ h({
@@ -1,9 +1,9 @@
1
- import { d as I, j as L, c as d, o as n, n as N, a as s, B as _, e as m, l as h, t as v, E as b, K as g, q as V, _ as S, r as D, y as M, G as O, F as T, b as q, H, f as K } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { a as J, i as U, b as Q } from "../i18n-BuCPzaih.js";
3
- import { B as W } from "../Button.ce-D1_fAhqr.js";
4
- import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-D7kq2waU.js";
1
+ import { d as I, j as L, c as d, o as n, n as N, a as s, B as _, e as m, l as h, t as v, E as b, K as g, q as V, _ as S, r as D, y as M, G as O, F as T, b as q, H, f as K } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { a as J, i as U, b as Q } from "../i18n-BJ6FRipD.js";
3
+ import { B as W } from "../Button.ce-CkwcReY5.js";
4
+ import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js";
5
5
  import { s as F } from "../shuffled-B8VGTceh.js";
6
- import { B as j } from "../ButtonTooltip.ce-BjlMn9Ez.js";
6
+ import { B as j } from "../ButtonTooltip.ce-CIo_7tm0.js";
7
7
  const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
8
8
  "mdp-classement": { correct: "Correct", incorrect: "Incorrect", strong: "Fort", weak: "Faible", moveUp: "Classer l'élément comme étant plus fort", moveDown: "Classer l'élément comme étant plus faible", altInformation: "Une liste de mots de passe à ordonner du plus fort au plus faible", validate: "Valider", feedback: { positiveTitle: "Bien joué !", positiveContent: "Ton classement est correct !  Dans cette liste, seul le mot de passe {strongestPassword} est un mot de passe fort.", negativeTitle: "Pas tout à fait", negativeContent: "Plus un mot de passe est long, varié et imprévisible, plus il est fort. Il n'y a qu'un seul mot de passe fort dans cette liste." } }
9
9
  }, o0 = {}, r0 = {}, i0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='url(%23paint0_linear_3023_127)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_127'%20x1='0'%20y1='4.55'%20x2='15.2333'%20y2='4.55'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", l0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='url(%23paint0_linear_3023_130)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_130'%20x1='0'%20y1='4.56267'%20x2='15.2333'%20y2='4.56267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", d0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", c0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='%23cdd1d9'/%3e%3c/svg%3e", p0 = "data:image/svg+xml,%3csvg%20width='9'%20height='15'%20viewBox='0%200%209%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201.5C0%201.29%20-1.55065e-07%201.1865%200.0119998%201.0995C0.0501813%200.824562%200.177043%200.569595%200.373319%200.373319C0.569595%200.177043%200.824562%200.0501813%201.0995%200.0119998C1.185%20-1.55065e-07%201.29%200%201.5%200C1.71%200%201.8135%20-1.55065e-07%201.9005%200.0119998C2.17544%200.0501813%202.4304%200.177043%202.62668%200.373319C2.82296%200.569595%202.94982%200.824562%202.988%201.0995C3%201.185%203%201.29%203%201.5C3%201.71%203%201.8135%202.988%201.9005C2.94982%202.17544%202.82296%202.4304%202.62668%202.62668C2.4304%202.82296%202.17544%202.94982%201.9005%202.988C1.815%203%201.71%203%201.5%203C1.29%203%201.1865%203%201.0995%202.988C0.824562%202.94982%200.569595%202.82296%200.373319%202.62668C0.177043%202.4304%200.0501813%202.17544%200.0119998%201.9005C-1.55065e-07%201.815%200%201.71%200%201.5ZM0%207.5C0%207.29%20-1.55065e-07%207.1865%200.0119998%207.0995C0.0501813%206.82456%200.177043%206.5696%200.373319%206.37332C0.569595%206.17704%200.824562%206.05018%201.0995%206.012C1.185%206%201.29%206%201.5%206C1.71%206%201.8135%206%201.9005%206.012C2.17544%206.05018%202.4304%206.17704%202.62668%206.37332C2.82296%206.5696%202.94982%206.82456%202.988%207.0995C3%207.185%203%207.29%203%207.5C3%207.71%203%207.8135%202.988%207.9005C2.94982%208.17544%202.82296%208.4304%202.62668%208.62668C2.4304%208.82296%202.17544%208.94982%201.9005%208.988C1.815%209%201.71%209%201.5%209C1.29%209%201.1865%209%201.0995%208.988C0.824562%208.94982%200.569595%208.82296%200.373319%208.62668C0.177043%208.4304%200.0501813%208.17544%200.0119998%207.9005C-1.55065e-07%207.815%200%207.71%200%207.5ZM0%2013.5C0%2013.2915%20-1.55065e-07%2013.1865%200.0119998%2013.0995C0.0504049%2012.8251%200.177181%2012.5706%200.373135%2012.3746C0.56909%2012.1787%200.823553%2012.0519%201.098%2012.0135C1.1865%2012.0015%201.29%2012.0015%201.4985%2012.0015C1.707%2012.0015%201.8135%2012.0015%201.899%2012.0135C2.17345%2012.0519%202.42791%2012.1787%202.62386%2012.3746C2.81982%2012.5706%202.94659%2012.8251%202.985%2013.0995C2.997%2013.1865%202.997%2013.2915%202.997%2013.5C2.997%2013.7085%202.997%2013.8135%202.985%2013.9005C2.94659%2014.1749%202.81982%2014.4294%202.62386%2014.6254C2.42791%2014.8213%202.17345%2014.9481%201.899%2014.9865C1.812%2014.9985%201.707%2014.9985%201.4985%2014.9985C1.29%2014.9985%201.185%2014.9985%201.098%2014.9865C0.823553%2014.9481%200.56909%2014.8213%200.373135%2014.6254C0.177181%2014.4294%200.0504049%2014.1749%200.0119998%2013.9005C-1.55065e-07%2013.8135%200%2013.7085%200%2013.5ZM6%201.5C6%201.29%206%201.1865%206.012%201.0995C6.05018%200.824562%206.17704%200.569595%206.37332%200.373319C6.5696%200.177043%206.82456%200.0501813%207.0995%200.0119998C7.185%20-1.55065e-07%207.29%200%207.5%200C7.71%200%207.8135%20-1.55065e-07%207.9005%200.0119998C8.17544%200.0501813%208.4304%200.177043%208.62668%200.373319C8.82296%200.569595%208.94982%200.824562%208.988%201.0995C9%201.185%209%201.29%209%201.5C9%201.71%209%201.8135%208.988%201.9005C8.94982%202.17544%208.82296%202.4304%208.62668%202.62668C8.4304%202.82296%208.17544%202.94982%207.9005%202.988C7.815%203%207.71%203%207.5%203C7.29%203%207.1865%203%207.0995%202.988C6.82456%202.94982%206.5696%202.82296%206.37332%202.62668C6.17704%202.4304%206.05018%202.17544%206.012%201.9005C6%201.815%206%201.71%206%201.5ZM6%207.5C6%207.29%206%207.1865%206.012%207.0995C6.05018%206.82456%206.17704%206.5696%206.37332%206.37332C6.5696%206.17704%206.82456%206.05018%207.0995%206.012C7.185%206%207.29%206%207.5%206C7.71%206%207.8135%206%207.9005%206.012C8.17544%206.05018%208.4304%206.17704%208.62668%206.37332C8.82296%206.5696%208.94982%206.82456%208.988%207.0995C9%207.185%209%207.29%209%207.5C9%207.71%209%207.8135%208.988%207.9005C8.94982%208.17544%208.82296%208.4304%208.62668%208.62668C8.4304%208.82296%208.17544%208.94982%207.9005%208.988C7.815%209%207.71%209%207.5%209C7.29%209%207.1865%209%207.0995%208.988C6.82456%208.94982%206.5696%208.82296%206.37332%208.62668C6.17704%208.4304%206.05018%208.17544%206.012%207.9005C6%207.815%206%207.71%206%207.5ZM6%2013.5C6%2013.2915%206%2013.1865%206.012%2013.0995C6.05041%2012.8251%206.17718%2012.5706%206.37314%2012.3746C6.56909%2012.1787%206.82355%2012.0519%207.098%2012.0135C7.1865%2012.0015%207.29%2012.0015%207.4985%2012.0015C7.7085%2012.0015%207.8135%2012.0015%207.899%2012.0135C8.17345%2012.0519%208.42791%2012.1787%208.62386%2012.3746C8.81982%2012.5706%208.94659%2012.8251%208.985%2013.0995C8.997%2013.1865%208.997%2013.2915%208.997%2013.5C8.997%2013.7085%208.997%2013.8135%208.985%2013.9005C8.94659%2014.1749%208.81982%2014.4294%208.62386%2014.6254C8.42791%2014.8213%208.17345%2014.9481%207.899%2014.9865C7.812%2014.9985%207.707%2014.9985%207.4985%2014.9985C7.29%2014.9985%207.185%2014.9985%207.098%2014.9865C6.82355%2014.9481%206.56909%2014.8213%206.37314%2014.6254C6.17718%2014.4294%206.05041%2014.1749%206.012%2013.9005C6%2013.8135%206%2013.7085%206%2013.5Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", C0 = { class: "card-left" }, v0 = ["src"], g0 = ["id"], u0 = {
@@ -1,5 +1,5 @@
1
- import { d as S, r as x, y as M, v as B, c as i, o as n, n as w, B as l, a as h, H as k, t as v, E, M as z, m as P, F as b, b as N, _ as D, j as T, e as V, f as j } from "../_plugin-vue_export-helper-BPDEgOal.js";
2
- import { L as F } from "../Loading.ce-S-dh_E78.js";
1
+ import { d as S, r as x, y as M, v as B, c as i, o as n, n as w, B as l, a as h, H as k, t as v, E, M as z, m as P, F as b, b as N, _ as D, j as T, e as V, f as j } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
+ import { L as F } from "../Loading.ce-Cxcx64IX.js";
3
3
  import { u as L, b as I, a as O } from "../normalize-props-DtfVI0Xg.js";
4
4
  const H = ["part"], R = {
5
5
  key: 1,
@@ -1,4 +1,4 @@
1
- import { d as i, c as a, o as l, D as s, a as r, g as n, A as d, n as b, _ as p, f as h } from "../_plugin-vue_export-helper-BPDEgOal.js";
1
+ import { d as i, c as a, o as l, D as s, a as r, g as n, A as d, n as b, _ as p, f as h } from "../_plugin-vue_export-helper-BaC4eJh4.js";
2
2
  const m = {
3
3
  class: "content",
4
4
  part: "content"