@1024pix/epreuves-components 2.4.7 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ButtonTooltip.ce-CZed5BUq.js → ButtonTooltip.ce-BbP5LLan.js} +1 -1
- package/dist/{LLMMessage.ce-FJCO_wvC.js → LLMMessage.ce-CpaRhrdt.js} +2 -2
- package/dist/{Loading.ce-EWTMcywS.js → Loading.ce-BlmwKTZV.js} +1 -1
- package/dist/{NavigationButton.ce-CMbVRJbG.js → NavigationButton.ce-BojZ7wJ8.js} +2 -2
- package/dist/{Retry-B27znRn6.js → Retry-P63weTYS.js} +1 -1
- package/dist/{_plugin-vue_export-helper-CJxDisp0.js → _plugin-vue_export-helper-otfINH_J.js} +5 -5
- package/dist/components/calcul-impact.ce.js.js +7 -7
- package/dist/components/capacity-calculation.ce.js.js +8 -8
- package/dist/components/clickable-image.ce.js.js +1 -1
- package/dist/components/complete-phrase.ce.js.js +3 -3
- package/dist/components/flip-cards.ce.js.js +45 -46
- package/dist/components/image-quiz.ce.js.js +2 -2
- package/dist/components/image-quizzes.ce.js.js +2 -2
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +1 -1
- package/dist/components/message-conversation.ce.js.js +2 -2
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +2 -2
- package/dist/components/phishing-notification.ce.js.js +3 -3
- package/dist/components/pix-anonymisation.ce.js.js +168 -0
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +4 -4
- package/dist/components/pix-cursor.ce.js.js +9 -9
- package/dist/components/qcm-deepfake.ce.js.js +6 -6
- package/dist/components/select-conversation.ce.js.js +2 -2
- package/dist/{i18n-Bs7vpvgi.js → i18n-CnbOwkea.js} +145 -137
- package/dist/{image-quiz.ce-Yh1nj0LD.js → image-quiz.ce-BzaGLrSu.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +28 -24
- package/dist/schema.js +32 -22
- package/dist/{shadow-dom-Bs_4iILW.js → shadow-dom-Dv9_7elf.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as h, r as b, g as f, c as v, o as u, a as n, n as w, h as s, t as g, m, i as x, j as y, _ as k } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { d as h, r as b, g as f, c as v, o as u, a as n, n as w, h as s, t as g, m, i as x, j as y, _ as k } from "./_plugin-vue_export-helper-otfINH_J.js";
|
|
2
2
|
const z = { class: "tooltip-container" }, B = ["id"], $ = ["aria-labelledby", "aria-disabled"], C = /* @__PURE__ */ h({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { L as p } from "./Loading.ce-
|
|
1
|
+
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { L as p } from "./Loading.ce-BlmwKTZV.js";
|
|
3
3
|
const f = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-otfINH_J.js";
|
|
2
2
|
const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media(prefers-reduced-motion:reduce){.loader{display:none}}", t = {}, d = {
|
|
3
3
|
class: "loader",
|
|
4
4
|
role: "alert"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as a } from "./ButtonTooltip.ce-
|
|
2
|
-
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { B as a } from "./ButtonTooltip.ce-BbP5LLan.js";
|
|
2
|
+
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-otfINH_J.js";
|
|
3
3
|
const C = {}, p = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
width: "16",
|
package/dist/{_plugin-vue_export-helper-CJxDisp0.js → _plugin-vue_export-helper-otfINH_J.js}
RENAMED
|
@@ -1849,7 +1849,7 @@ function Oc(e, t, n = {}, s, i) {
|
|
|
1849
1849
|
o || [],
|
|
1850
1850
|
o && e._ === 1 ? 64 : -2
|
|
1851
1851
|
);
|
|
1852
|
-
return c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), r && r._c && (r._d = !0), c;
|
|
1852
|
+
return !i && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), r && r._c && (r._d = !0), c;
|
|
1853
1853
|
}
|
|
1854
1854
|
function tr(e) {
|
|
1855
1855
|
return e.some((t) => jt(t) ? !(t.type === le || t.type === ye && !tr(t.children)) : !0) ? e : null;
|
|
@@ -4800,10 +4800,10 @@ export {
|
|
|
4800
4800
|
Kc as L,
|
|
4801
4801
|
mc as M,
|
|
4802
4802
|
Vn as N,
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4803
|
+
$c as O,
|
|
4804
|
+
jc as P,
|
|
4805
|
+
Mc as Q,
|
|
4806
|
+
Rc as R,
|
|
4807
4807
|
Pc as S,
|
|
4808
4808
|
Dc as T,
|
|
4809
4809
|
Wr as U,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as j, G as T, 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, h as N,
|
|
2
|
-
import { a as H, i as V, b as Q } from "../i18n-
|
|
1
|
+
import { d as j, G as T, 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, h as N, P as x, f as G } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { a as H, i as V, b as Q } from "../i18n-CnbOwkea.js";
|
|
3
3
|
import { u as J } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const X = {}, Z = {}, ee = {}, te = {
|
|
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é" }
|
|
@@ -123,20 +123,20 @@ const X = {}, Z = {}, ee = {}, te = {
|
|
|
123
123
|
text: { energy: 2.9, co2: 1.5 },
|
|
124
124
|
image: { energy: 32, co2: 20 }
|
|
125
125
|
}, u = l({}), m = l({}), k = l(0), F = l(0), g = l(0), A = l(0), L = l(0);
|
|
126
|
-
function
|
|
126
|
+
function O() {
|
|
127
127
|
k.value = b.value * h.text.energy + f.value * h.image.energy, F.value = b.value * h.text.co2 + f.value * h.image.co2, w.value = Number((k.value / 0.8).toFixed(1)), u.value.energyByWeek = k.value.toFixed(1), u.value.personalMicrowavesDuration = w.value, u.value.co2ByWeek = F.value.toFixed(1);
|
|
128
128
|
}
|
|
129
129
|
function M() {
|
|
130
130
|
g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, A.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), $.value = g.value / 0.8, B.value = A.value * 2410, m.value.collectiveMicrowavesDuration = $.value.toLocaleString(), m.value.kilometerByPlane = B.value.toLocaleString(), m.value.equivalentPopulationByCity = L.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
|
|
131
131
|
}
|
|
132
132
|
function S() {
|
|
133
|
-
|
|
133
|
+
O(), c.value = !0;
|
|
134
134
|
}
|
|
135
135
|
function R() {
|
|
136
136
|
M(), y.value = !0;
|
|
137
137
|
}
|
|
138
138
|
function W() {
|
|
139
|
-
c.value && y.value && (
|
|
139
|
+
c.value && y.value && (O(), M());
|
|
140
140
|
}
|
|
141
141
|
return o({
|
|
142
142
|
reset: q
|
|
@@ -152,7 +152,7 @@ const X = {}, Z = {}, ee = {}, te = {
|
|
|
152
152
|
onChange: W,
|
|
153
153
|
type: "number",
|
|
154
154
|
id: "numberOfConversation",
|
|
155
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
155
|
+
"onUpdate:modelValue": I[0] || (I[0] = (P) => b.value = P)
|
|
156
156
|
}, null, 544), [
|
|
157
157
|
[x, b.value]
|
|
158
158
|
]),
|
|
@@ -161,7 +161,7 @@ const X = {}, Z = {}, ee = {}, te = {
|
|
|
161
161
|
onChange: W,
|
|
162
162
|
type: "number",
|
|
163
163
|
id: "numberOfImage",
|
|
164
|
-
"onUpdate:modelValue": I[1] || (I[1] = (
|
|
164
|
+
"onUpdate:modelValue": I[1] || (I[1] = (P) => f.value = P)
|
|
165
165
|
}, null, 544), [
|
|
166
166
|
[x, f.value]
|
|
167
167
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as C, c as d, o, n as m, j as D, H as $, t as r, _ as v,
|
|
2
|
-
import { i as k, a as H, b as K } from "../i18n-
|
|
1
|
+
import { d as C, c as d, o, n as m, j as D, H as $, t as r, _ as v, Q as R, R as h, r as g, y as x, a as t, E as L, F as O, b as V, h as Z, i as z, S as F, K as T, e as f, B as N, f as P } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { i as k, a as H, b as K } from "../i18n-CnbOwkea.js";
|
|
3
3
|
import { u as W } from "../normalize-props-DtfVI0Xg.js";
|
|
4
|
-
import { R as G } from "../Retry-
|
|
4
|
+
import { R as G } from "../Retry-P63weTYS.js";
|
|
5
5
|
const J = {}, X = {}, Y = {}, aa = {
|
|
6
6
|
"capacity-calculation": { title: "Observer l'impact des demandes", in: { title: "Demandes à l'IA", 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: "Faible", normal_medium: "Moyenne", warning: "Très forte", error: "Très forte", initial: "À l'arrêt" }, capacity: { label: "État du supercalculateur :", normal_weak: "Normal", normal_medium: "Normal", warning: "Sollicitation maximale", error: "Ne peut pas répondre à la demande", initial: "À l'arrêt" } } }
|
|
7
7
|
}, ea = {}, ta = {}, ca = /* @__PURE__ */ C({
|
|
@@ -23,7 +23,7 @@ const J = {}, X = {}, Y = {}, aa = {
|
|
|
23
23
|
class: "capacity-calculation__range-label"
|
|
24
24
|
}, ma = /* @__PURE__ */ C({
|
|
25
25
|
__name: "Questions.ce",
|
|
26
|
-
props: /* @__PURE__ */
|
|
26
|
+
props: /* @__PURE__ */ R({
|
|
27
27
|
titleLevel: { type: Number }
|
|
28
28
|
}, {
|
|
29
29
|
selectedAiQuestion: {
|
|
@@ -118,7 +118,7 @@ const J = {}, X = {}, Y = {}, aa = {
|
|
|
118
118
|
}, r(i.$t("capacity-calculation.in.title")), 1),
|
|
119
119
|
t("fieldset", oa, [
|
|
120
120
|
t("legend", ra, r(i.$t("capacity-calculation.in.aiQuestion")), 1),
|
|
121
|
-
(o(!0), d(
|
|
121
|
+
(o(!0), d(O, null, V(i.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (E, b) => (o(), d("div", { key: b }, [
|
|
122
122
|
t("label", {
|
|
123
123
|
class: m(["capacity-calculation__ai-option", { "capacity-calculation__ai-option--active": n.value === b, disabled: s.value }])
|
|
124
124
|
}, [
|
|
@@ -213,7 +213,7 @@ function qa(a, c) {
|
|
|
213
213
|
}, null, -1)
|
|
214
214
|
])]);
|
|
215
215
|
}
|
|
216
|
-
const Qa = /* @__PURE__ */ v($a, [["render", qa]]), Sa = ["aria-level"], Ma = { class: "capacity-calculation__card" }, Ua = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Aa = { class: "capacity-calculation__img" }, Ia = ["src"], ja = { class: "capacity-calculation__text" }, Ba = { class: "capacity-calculation__answers" }, Ea = { class: "capacity-calculation__card" }, Da = { class: "capacity-calculation__text capacity-calculation__text--strong" },
|
|
216
|
+
const Qa = /* @__PURE__ */ v($a, [["render", qa]]), Sa = ["aria-level"], Ma = { class: "capacity-calculation__card" }, Ua = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Aa = { class: "capacity-calculation__img" }, Ia = ["src"], ja = { class: "capacity-calculation__text" }, Ba = { class: "capacity-calculation__answers" }, Ea = { class: "capacity-calculation__card" }, Da = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ra = { class: "capacity-calculation__text" }, Oa = /* @__PURE__ */ C({
|
|
217
217
|
__name: "Answers.ce",
|
|
218
218
|
props: {
|
|
219
219
|
currentLevel: { type: String },
|
|
@@ -256,12 +256,12 @@ const Qa = /* @__PURE__ */ v($a, [["render", qa]]), Sa = ["aria-level"], Ma = {
|
|
|
256
256
|
t("div", {
|
|
257
257
|
class: m(["capacity-calculation__progress-bar", a.currentLevel])
|
|
258
258
|
}, null, 2),
|
|
259
|
-
t("p",
|
|
259
|
+
t("p", Ra, r(c.$t(`capacity-calculation.out.consumption.${a.currentLevel}`)), 1)
|
|
260
260
|
])
|
|
261
261
|
])
|
|
262
262
|
], 2));
|
|
263
263
|
}
|
|
264
|
-
}), Va = ".capacity-calculation__column--answers[data-v-177ab412]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-177ab412],.capacity-calculation__column--answers--normal_medium[data-v-177ab412]{background:#e6f6ef}.capacity-calculation__column--answers--warning[data-v-177ab412]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-177ab412]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-177ab412]{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-177ab412]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-177ab412]{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-177ab412]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-177ab412]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-177ab412]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-177ab412]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-177ab412]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-177ab412]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-177ab412],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-177ab412]{background:linear-gradient(90deg,#1c825d 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-177ab412]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-177ab412]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-177ab412]{flex-direction:row;justify-content:center;gap:16px}}", Za = /* @__PURE__ */ v(
|
|
264
|
+
}), Va = ".capacity-calculation__column--answers[data-v-177ab412]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-177ab412],.capacity-calculation__column--answers--normal_medium[data-v-177ab412]{background:#e6f6ef}.capacity-calculation__column--answers--warning[data-v-177ab412]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-177ab412]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-177ab412]{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-177ab412]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-177ab412]{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-177ab412]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-177ab412]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-177ab412]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-177ab412]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-177ab412]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-177ab412]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-177ab412],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-177ab412]{background:linear-gradient(90deg,#1c825d 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-177ab412]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-177ab412]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-177ab412]{flex-direction:row;justify-content:center;gap:16px}}", Za = /* @__PURE__ */ v(Oa, [["styles", [Va]], ["__scopeId", "data-v-177ab412"]]), za = { class: "capacity-calculation" }, Fa = ["aria-level"], Ta = {
|
|
265
265
|
class: "capacity-calculation__grid",
|
|
266
266
|
"aria-live": "polite"
|
|
267
267
|
}, Pa = /* @__PURE__ */ C({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as R, q 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 D, F as L, b as V, i as j, A as b, B as q, h as T, n as U, C as X, t as Y, _ as G, f as H } from "../_plugin-vue_export-helper-
|
|
1
|
+
import { d as R, q 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 D, F as L, b as V, i as j, A as b, B as q, h as T, n as U, C as X, t as Y, _ as G, f as H } from "../_plugin-vue_export-helper-otfINH_J.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 S, _ as f, n as P, j as A, H as N, r as y, y as m, B as z, F as x, b as k, e as v, E as q, f as M } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { u as O, a as E, i as L, b as I } from "../i18n-
|
|
1
|
+
import { d as h, c as n, o, a, t as c, A as S, _ as f, n as P, j as A, H as N, r as y, y as m, B as z, F as x, b as k, e as v, E as q, f as M } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { u as O, a as E, i as L, b as I } from "../i18n-CnbOwkea.js";
|
|
3
3
|
import { u as R } from "../normalize-props-DtfVI0Xg.js";
|
|
4
|
-
import { L as B } from "../LLMMessage.ce-
|
|
4
|
+
import { L as B } from "../LLMMessage.ce-CpaRhrdt.js";
|
|
5
5
|
const T = {}, V = {}, D = {}, F = {
|
|
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 choisit par l’IA dans les propositions suivantes :", feedback: { sure: "En effet, c'est le mot le plus probable !", probably: "C’est possible ! Il peut aussi choisir le mot « {{word}} », qui est très probable...", notSure: "Pas sûr... Il choisira sans doute un mot plus probable : {{words, list(style: 'long'; type: 'disjunction';)}}." } }
|
|
7
7
|
}, H = {}, Q = {}, W = { class: "probability-bar" }, U = { "aria-hidden": "true" }, G = { class: "sr-only" }, J = /* @__PURE__ */ h({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as
|
|
3
|
-
const
|
|
1
|
+
import { d as g, c as n, o as d, F as m, a as i, n as p, 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-otfINH_J.js";
|
|
2
|
+
import { u as _ } from "../normalize-props-DtfVI0Xg.js";
|
|
3
|
+
const L = ["aria-hidden"], C = ["src"], z = ["title-level"], N = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, E = ["src"], j = /* @__PURE__ */ g({
|
|
4
4
|
__name: "FlipCard.ce",
|
|
5
5
|
props: {
|
|
6
6
|
titleLevel: { type: Number },
|
|
@@ -12,44 +12,43 @@ const C = ["aria-hidden"], z = ["src"], N = ["title-level"], S = ["aria-hidden"]
|
|
|
12
12
|
name: { type: String }
|
|
13
13
|
},
|
|
14
14
|
setup(e) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class: v(["card recto", `${e.color}`]),
|
|
15
|
+
return (s, f) => (d(), n(m, null, [
|
|
16
|
+
i("div", {
|
|
17
|
+
class: p(["card recto", `${e.color}`]),
|
|
19
18
|
"aria-hidden": e.isFlipped ? "true" : "false"
|
|
20
19
|
}, [
|
|
21
|
-
|
|
20
|
+
i("img", {
|
|
22
21
|
class: "icon",
|
|
23
|
-
src:
|
|
22
|
+
src: e.icon,
|
|
24
23
|
alt: ""
|
|
25
|
-
}, null, 8,
|
|
26
|
-
|
|
24
|
+
}, null, 8, C),
|
|
25
|
+
i("div", {
|
|
27
26
|
role: "heading",
|
|
28
27
|
"title-level": e.titleLevel,
|
|
29
28
|
class: "title"
|
|
30
|
-
},
|
|
31
|
-
], 10,
|
|
32
|
-
|
|
33
|
-
class:
|
|
29
|
+
}, l(e.name), 9, z)
|
|
30
|
+
], 10, L),
|
|
31
|
+
i("div", {
|
|
32
|
+
class: p(["card verso", { flipped: e.isFlipped, [e.color]: e.color }]),
|
|
34
33
|
"aria-hidden": e.isFlipped ? "false" : "true"
|
|
35
34
|
}, [
|
|
36
|
-
|
|
35
|
+
i("div", {
|
|
37
36
|
role: "heading",
|
|
38
37
|
"aria-level": e.titleLevel,
|
|
39
38
|
class: "title"
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
}, l(e.name), 9, S),
|
|
40
|
+
i("p", $, l(e.description), 1),
|
|
41
|
+
i("div", B, [
|
|
42
|
+
e.image ? (d(), n("img", {
|
|
44
43
|
key: 0,
|
|
45
|
-
src:
|
|
44
|
+
src: e.image,
|
|
46
45
|
alt: ""
|
|
47
|
-
}, null, 8,
|
|
46
|
+
}, null, 8, E)) : x("", !0)
|
|
48
47
|
])
|
|
49
|
-
], 10,
|
|
48
|
+
], 10, N)
|
|
50
49
|
], 64));
|
|
51
50
|
}
|
|
52
|
-
}), K = "[data-v-
|
|
51
|
+
}), K = "[data-v-0292a60e]{box-sizing:border-box}.card[data-v-0292a60e]{align-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff;border-radius:12px;color:#253858;display:flex;flex-direction:column;gap:1.2rem;inset:0;justify-content:center;padding:18px;position:absolute;transform:translateZ(0);transition:transform ease .5s}.card .title[data-v-0292a60e]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-0292a60e]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-0292a60e]{display:block;height:auto;width:40px}.card.verso[data-v-0292a60e]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-0292a60e]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-0292a60e]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-0292a60e]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-0292a60e]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-0292a60e]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-0292a60e]{border:2px solid #f041bf}.card.verso .description[data-v-0292a60e]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-0292a60e]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-0292a60e]{display:block;height:100%;object-fit:contain;width:100%}", V = /* @__PURE__ */ u(j, [["styles", [K]], ["__scopeId", "data-v-0292a60e"]]), D = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
|
|
53
52
|
__name: "FlipCards.ce",
|
|
54
53
|
props: {
|
|
55
54
|
titleLevel: { default: 2, type: Number },
|
|
@@ -57,35 +56,35 @@ const C = ["aria-hidden"], z = ["src"], N = ["title-level"], S = ["aria-hidden"]
|
|
|
57
56
|
cardList: { type: Array }
|
|
58
57
|
},
|
|
59
58
|
setup(e) {
|
|
60
|
-
const
|
|
61
|
-
e.cardList.map((
|
|
62
|
-
...
|
|
63
|
-
color: o
|
|
59
|
+
const s = ["red", "yellow", "blue", "purple", "green", "pink"], f = y(
|
|
60
|
+
e.cardList.map((t, o) => ({
|
|
61
|
+
...t,
|
|
62
|
+
color: s[o % s.length],
|
|
64
63
|
isFlipped: !1
|
|
65
64
|
}))
|
|
66
|
-
),
|
|
67
|
-
|
|
65
|
+
), c = (t, o) => {
|
|
66
|
+
o.preventDefault(), t.isFlipped = !t.isFlipped;
|
|
68
67
|
};
|
|
69
|
-
return (
|
|
70
|
-
|
|
68
|
+
return (t, o) => (d(), n("div", D, [
|
|
69
|
+
i("div", {
|
|
71
70
|
role: "heading",
|
|
72
71
|
"aria-level": e.titleLevel,
|
|
73
72
|
class: "sr-only"
|
|
74
|
-
},
|
|
75
|
-
(d(!0), n(
|
|
76
|
-
key:
|
|
77
|
-
class:
|
|
73
|
+
}, l(e.name), 9, I),
|
|
74
|
+
(d(!0), n(m, null, k(f.value, (a, b) => (d(), n("div", {
|
|
75
|
+
key: b,
|
|
76
|
+
class: p(["card-container", { flipped: a.isFlipped, [a.color]: a.color }]),
|
|
78
77
|
role: "button",
|
|
79
78
|
tabindex: "0",
|
|
80
79
|
"aria-expanded": a.isFlipped,
|
|
81
|
-
onClick: (r) =>
|
|
80
|
+
onClick: (r) => c(a, r),
|
|
82
81
|
onKeydown: [
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
v((r) => c(a, r), ["enter"]),
|
|
83
|
+
v((r) => c(a, r), ["space"])
|
|
85
84
|
]
|
|
86
85
|
}, [
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
i("div", Z, [
|
|
87
|
+
w(V, {
|
|
89
88
|
color: a.color,
|
|
90
89
|
description: a.description,
|
|
91
90
|
icon: a.icon,
|
|
@@ -95,12 +94,12 @@ const C = ["aria-hidden"], z = ["src"], N = ["title-level"], S = ["aria-hidden"]
|
|
|
95
94
|
"title-level": e.titleLevel + 1
|
|
96
95
|
}, null, 8, ["color", "description", "icon", "image", "is-flipped", "name", "title-level"])
|
|
97
96
|
])
|
|
98
|
-
], 42,
|
|
97
|
+
], 42, Y))), 128))
|
|
99
98
|
]));
|
|
100
99
|
}
|
|
101
|
-
}),
|
|
102
|
-
|
|
100
|
+
}), P = "[data-v-394f37d2]{box-sizing:border-box}.sr-only[data-v-394f37d2]{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.flip-cards[data-v-394f37d2]{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;max-width:100%;padding:0}.flip-cards .card-container[data-v-394f37d2]{cursor:pointer;flex:0 0 180px;height:250px;margin:0;perspective:1200px;outline:none;transform:scale(1);transition:transform ease .5s}.flip-cards .card-container[data-v-394f37d2]:hover,.flip-cards .card-container[data-v-394f37d2]:focus{transform:scale(1.05);transition:transform ease .5s;outline:none}.flip-cards .card-container .flip-container[data-v-394f37d2]{display:block;position:relative;width:100%;height:100%;padding:18px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform}.flip-cards .card-container.flipped .flip-container[data-v-394f37d2]{transform:rotateY(180deg)}", q = /* @__PURE__ */ u(A, [["styles", [P]], ["__scopeId", "data-v-394f37d2"]]), h = F(q);
|
|
101
|
+
h.prototype.normalizeProps = (e) => ({
|
|
103
102
|
...e,
|
|
104
|
-
titleLevel:
|
|
103
|
+
titleLevel: _(e.titleLevel)
|
|
105
104
|
});
|
|
106
|
-
window.customElements.define("flip-cards",
|
|
105
|
+
window.customElements.define("flip-cards", h);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../_plugin-vue_export-helper-
|
|
2
|
-
import { n as p } from "../image-quiz.ce-
|
|
1
|
+
import "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { n as p } from "../image-quiz.ce-BzaGLrSu.js";
|
|
3
3
|
import "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
export {
|
|
5
5
|
p as normalizeImageQuizProps
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as l, r as f, w, c as p, o, b as g, e as d, m as q, F as v, f as y } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { I as A, n as I } from "../image-quiz.ce-
|
|
1
|
+
import { d as l, r as f, w, c as p, o, b as g, e as d, m as q, F as v, f as y } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { I as A, n as I } from "../image-quiz.ce-BzaGLrSu.js";
|
|
3
3
|
const _ = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ImageQuizzes.ce",
|
|
5
5
|
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-
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
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-otfINH_J.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-CpaRhrdt.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-Dv9_7elf.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-
|
|
2
|
-
import { L as h } from "../LLMMessage.ce-
|
|
3
|
-
import { p as _ } from "../shadow-dom-
|
|
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-otfINH_J.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-CpaRhrdt.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-Dv9_7elf.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-
|
|
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-otfINH_J.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,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, q as T, e as V, f as F } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { L } from "../Loading.ce-
|
|
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, q as T, e as V, f as F } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { L } from "../Loading.ce-BlmwKTZV.js";
|
|
3
3
|
import { u as j, b as I, a as O } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const q = ["part"], H = {
|
|
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, j as n, A as d, n as b, _ as p, f as h } from "../_plugin-vue_export-helper-
|
|
1
|
+
import { d as i, c as a, o as l, D as s, a as r, j as n, A as d, n as b, _ as p, f as h } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
2
|
const m = {
|
|
3
3
|
class: "content",
|
|
4
4
|
part: "content"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as f, c, o, F as k, a as t, t as a, h as x, i as R, H as D, _ as m, B as C, b as Z, q as _, r as b, y as u, A, e as w, D as I, m as $, k as T, f as E } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { a as Q, i as M, b as q } from "../i18n-
|
|
1
|
+
import { d as f, c, o, F as k, a as t, t as a, h as x, i as R, H as D, _ as m, B as C, b as Z, q as _, r as b, y as u, A, e as w, D as I, m as $, k as T, f as E } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { a as Q, i as M, b as q } from "../i18n-CnbOwkea.js";
|
|
3
3
|
import { u as O } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const U = {}, G = {}, J = {}, W = {
|
|
5
5
|
"phishing-message": { title: "Message et émotions", description: "Pour chacun des cas ci-dessous : Ouvrez et lisez le message d’arnaque, puis répondez à la question.", messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}" }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as x, q as P, y as v, N as J, v as Q, k as R, c as a, B as k, o as r, a as t, j as U, d as W, g as X, u as e2, G as t2, E as H, K as F, t as n, H as B, A as o2, F as Z, b as N, n as S, i as i2, h as w, L as n2, _ as s2, f as a2 } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { u as r2, a as l2, i as T, b as c2 } from "../i18n-
|
|
1
|
+
import { r as x, q as P, y as v, N as J, v as Q, k as R, c as a, B as k, o as r, a as t, j as U, d as W, g as X, u as e2, G as t2, E as H, K as F, t as n, H as B, A as o2, F as Z, b as N, n as S, i as i2, h as w, L as n2, _ as s2, f as a2 } from "../_plugin-vue_export-helper-otfINH_J.js";
|
|
2
|
+
import { u as r2, a as l2, i as T, b as c2 } from "../i18n-CnbOwkea.js";
|
|
3
3
|
import { u as d2 } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
import "./mobile-shell.ce.js.js";
|
|
5
5
|
import { r as h2 } from "../temporal.utils-DBcWSjWy.js";
|
|
6
|
-
import { B as u2 } from "../ButtonTooltip.ce-
|
|
6
|
+
import { B as u2 } from "../ButtonTooltip.ce-BbP5LLan.js";
|
|
7
7
|
const g2 = {}, p2 = {}, f2 = {}, m2 = {
|
|
8
8
|
"phishing-notification": { titleCta: "Catégorisez les notifications", categorization: { titleCta: "Catégorisez cette notification", from: "De : {{sender}}", titleCategories: "L’expéditeur se fait passer pour :" }, correction: "La catégorie {{selectedCategory}} n'est pas la bonne. La bonne catégorisation est : {{category}}", validation: "La catégorie {{selectedCategory}} est la bonne.", progressBarA11Y_one: "{{count}} réponse sur {{total}}", progressBarA11Y_other: "{{count}} réponses sur {{total}}", titleResult: "Résultats", result_one: "{{count}} / {{total}} bonne réponse", result_other: "{{count}} / {{total}} bonnes réponses", close: "Fermer" }
|
|
9
9
|
}, _2 = {}, C2 = {}, w2 = ["tabindex"], v2 = ["tabindex"], k2 = {
|