@1024pix/epreuves-components 2.9.0 → 4.0.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/Button.ce-CTKrSDrC.js +27 -0
- package/dist/{ButtonTooltip.ce-CIo_7tm0.js → ButtonTooltip.ce-CtHo2Dwx.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js → Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js} +5 -5
- package/dist/{LLMMessage.ce-y0pOYUCI.js → LLMMessage.ce-Bdmf0R1g.js} +7 -7
- package/dist/{Loading.ce-Cxcx64IX.js → Loading.ce-Bh7-h48F.js} +1 -1
- package/dist/{NavigationButton.ce-DpzmC2Dd.js → NavigationButton.ce-CA1M8sgV.js} +2 -2
- package/dist/PixMailMessage.ce-XPDbJiyC.js +219 -0
- package/dist/Popin.ce-DUQ7-GMT.js +197 -0
- package/dist/{Retry-BYnFnneH.js → Retry-BZf7NJz9.js} +1 -1
- package/dist/Stepper.ce-B1yDelzC.js +27 -0
- package/dist/{_plugin-vue_export-helper-BaC4eJh4.js → _plugin-vue_export-helper-D0N_62VD.js} +29 -28
- package/dist/components/analyse-mails-phishing.ce.js.js +99 -98
- package/dist/components/calcul-impact.ce.js.js +9 -9
- package/dist/components/capacity-calculation.ce.js.js +28 -28
- package/dist/components/clickable-image.ce.js.js +11 -11
- package/dist/components/complete-phrase.ce.js.js +7 -7
- package/dist/components/flip-cards.ce.js.js +5 -5
- package/dist/components/image-quiz.ce.js.js +4 -4
- package/dist/components/image-quizzes.ce.js.js +3 -3
- 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 +2 -2
- package/dist/components/mdp-classement.ce.js.js +29 -29
- package/dist/components/message-conversation.ce.js.js +18 -18
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +27 -27
- package/dist/components/phishing-notification.ce.js.js +23 -23
- package/dist/components/pix-anonymisation.ce.js.js +83 -87
- package/dist/components/pix-article.ce.js.js +19 -19
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +238 -0
- package/dist/components/pix-cursor.ce.js.js +19 -19
- package/dist/components/pix-mail-message.ce.js.js +11 -0
- package/dist/components/proteger-mail-spam.ce.js.js +131 -0
- package/dist/components/qcm-deepfake.ce.js.js +21 -21
- package/dist/components/quiz-stepper.ce.js.js +8 -7
- package/dist/components/select-conversation.ce.js.js +15 -15
- package/dist/components/template-mail.ce.js.js +49 -151
- package/dist/components/test-top-mdp.ce.js.js +14 -14
- package/dist/components/trouver-mdp-rs.ce.js.js +201 -239
- package/dist/{i18n-BJ6FRipD.js → i18n-ekiZvzf6.js} +9 -9
- package/dist/{i18n-lite-Dn1Iqj1Y.js → i18n-lite-t2jNOu0C.js} +8 -8
- package/dist/{image-quiz.ce-DvpG9mbT.js → image-quiz.ce-DqalWHKw.js} +11 -11
- package/dist/index-BpqxFmwz.js +10 -0
- package/dist/index.js +4 -1
- package/dist/metadata.js +31 -19
- package/dist/nl-Bonww6Q2.js +13 -0
- package/dist/{normalize-props-DtfVI0Xg.js → normalize-props-DH0oPBss.js} +2 -2
- package/dist/props.examples.js +130 -0
- package/dist/schema.js +108 -72
- package/dist/{shadow-dom-Db7VMkC0.js → shadow-dom-C3AZuSZe.js} +1 -1
- package/dist/temporal.utils-7Uvm62ss.js +10926 -0
- package/package.json +3 -2
- package/dist/Button.ce-CkwcReY5.js +0 -18
- package/dist/index-BCutQvmP.js +0 -34
- package/dist/temporal.utils-CotrC6ao.js +0 -14456
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import { R as X } from "../Retry-
|
|
1
|
+
import { b, c as s, o as n, n as v, q as V, H as N, t as o, _ as p, U as R, V as w, r as g, g as h, a as t, E as x, F as T, e as Z, k as D, l as O, W as F, K as P, f, B as q, d as W } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { u as H, a as K, i as $, b as G } from "../i18n-ekiZvzf6.js";
|
|
3
|
+
import { b as J } from "../normalize-props-DH0oPBss.js";
|
|
4
|
+
import { R as X } from "../Retry-BZf7NJz9.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
|
-
|
|
17
|
+
V(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__ */
|
|
26
|
+
props: /* @__PURE__ */ R({
|
|
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 } =
|
|
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(() => ({
|
|
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)),
|
|
50
|
+
})), k = h(() => Number.isInteger(r.value)), U = [800, 8e3, 14e3, 25e3, 9e4, 15e4], A = /* @__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
|
-
...
|
|
75
|
+
...U,
|
|
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(
|
|
83
|
+
]), C = Array.from(A).sort((i, m) => i - m), Q = h(() => {
|
|
84
84
|
const i = C.indexOf(e.value);
|
|
85
85
|
return Math.max(0, i);
|
|
86
|
-
}),
|
|
86
|
+
}), S = (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(
|
|
121
|
+
(n(!0), s(T, 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:
|
|
147
|
-
onChange:
|
|
146
|
+
value: Q.value,
|
|
147
|
+
onChange: S,
|
|
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]]),
|
|
201
|
+
const Ma = /* @__PURE__ */ p($a, [["render", qa]]), Ua = {}, Aa = {
|
|
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
|
|
209
|
-
return n(), s("svg",
|
|
208
|
+
function Qa(a, l) {
|
|
209
|
+
return n(), s("svg", Aa, [...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
|
|
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({
|
|
217
217
|
__name: "Answers.ce",
|
|
218
218
|
props: {
|
|
219
219
|
currentLevel: { type: String },
|
|
@@ -240,7 +240,7 @@ const Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), 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(
|
|
243
|
+
})) : a.currentLevel === "warning" ? (n(), f(Sa, {
|
|
244
244
|
key: 1,
|
|
245
245
|
class: "capacity-calculation__img--status"
|
|
246
246
|
})) : a.currentLevel === "error" ? (n(), f(ka, {
|
|
@@ -248,10 +248,10 @@ const Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), ja = ["aria-level"], Ia = {
|
|
|
248
248
|
class: "capacity-calculation__img--status"
|
|
249
249
|
})) : q("", !0)
|
|
250
250
|
]),
|
|
251
|
-
t("p",
|
|
251
|
+
t("p", Va, o(l.$t(`capacity-calculation.out.capacity.${a.currentLevel}`)), 1)
|
|
252
252
|
]),
|
|
253
|
-
t("div",
|
|
254
|
-
t("div",
|
|
253
|
+
t("div", Ra, [
|
|
254
|
+
t("div", Ta, [
|
|
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 Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), 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"]]),
|
|
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 = {
|
|
265
265
|
class: "capacity-calculation__grid",
|
|
266
266
|
"aria-live": "polite"
|
|
267
267
|
}, Ga = /* @__PURE__ */ b({
|
|
@@ -272,13 +272,13 @@ const Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), 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",
|
|
275
|
+
return (r, e) => (n(), s("div", Wa, [
|
|
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,
|
|
281
|
-
t("div",
|
|
280
|
+
}, o(r.$t("capacity-calculation.title")), 9, Ha),
|
|
281
|
+
t("div", Ka, [
|
|
282
282
|
x(wa, {
|
|
283
283
|
"title-level": a.titleLevel,
|
|
284
284
|
"selected-ai-question": l.value,
|
|
@@ -300,8 +300,8 @@ const Qa = /* @__PURE__ */ p(Sa, [["render", Aa]]), 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
|
-
|
|
304
|
-
const M =
|
|
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, {
|
|
305
305
|
configureApp(a) {
|
|
306
306
|
$.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(G, { i18next: $ });
|
|
307
307
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"],
|
|
1
|
+
import { b as R, j as E, r as y, y as O, z as W, g as d, c as p, o as v, a as C, A as _, m as j, F as D, e as L, l as V, s as b, B as T, k as U, n as X, C as Y, t as q, _ as G, d as H } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { b as z, a as J } from "../normalize-props-DH0oPBss.js";
|
|
3
|
+
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */ R({
|
|
4
4
|
__name: "ClickableImage.ce",
|
|
5
5
|
props: {
|
|
6
6
|
image: { type: Object },
|
|
@@ -35,12 +35,12 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
35
35
|
y: t * r.value
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const f = y();
|
|
39
39
|
function k(e) {
|
|
40
|
-
|
|
40
|
+
f.value = e;
|
|
41
41
|
}
|
|
42
42
|
function w() {
|
|
43
|
-
|
|
43
|
+
f.value = void 0;
|
|
44
44
|
}
|
|
45
45
|
const u = y();
|
|
46
46
|
function F(e) {
|
|
@@ -49,7 +49,7 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
49
49
|
function P() {
|
|
50
50
|
u.value = void 0;
|
|
51
51
|
}
|
|
52
|
-
const x = d(() => u.value ??
|
|
52
|
+
const x = d(() => u.value ?? f.value), c = d(() => {
|
|
53
53
|
if (x.value !== void 0)
|
|
54
54
|
return h.value[x.value];
|
|
55
55
|
}), B = d(() => {
|
|
@@ -60,23 +60,23 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
60
60
|
return {
|
|
61
61
|
left: `${t + (n - t) / 2}px`,
|
|
62
62
|
transform: "translate(-50%, -100%)",
|
|
63
|
-
top: `${o -
|
|
63
|
+
top: `${o - m}px`
|
|
64
64
|
};
|
|
65
65
|
case "bottom":
|
|
66
66
|
return {
|
|
67
67
|
left: `${t + (n - t) / 2}px`,
|
|
68
68
|
transform: "translateX(-50%)",
|
|
69
|
-
top: `${s +
|
|
69
|
+
top: `${s + m}px`
|
|
70
70
|
};
|
|
71
71
|
case "left":
|
|
72
72
|
return {
|
|
73
|
-
left: `${t -
|
|
73
|
+
left: `${t - m}px`,
|
|
74
74
|
top: `${o + (s - o) / 2}px`,
|
|
75
75
|
transform: "translate(-100%, -50%)"
|
|
76
76
|
};
|
|
77
77
|
default:
|
|
78
78
|
return {
|
|
79
|
-
left: `${n +
|
|
79
|
+
left: `${n + m}px`,
|
|
80
80
|
top: `${o + (s - o) / 2}px`,
|
|
81
81
|
transform: "translateY(-50%)"
|
|
82
82
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as M, a as O, i as q, b as T } from "../i18n-
|
|
3
|
-
import {
|
|
4
|
-
import { L as B } from "../LLMMessage.ce-
|
|
1
|
+
import { b as h, c as n, o, a, t as c, s as A, _ as f, n as P, q as S, H as N, r as y, g as m, B as z, F as x, e as k, f as v, E as L, d as E } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { u as M, a as O, i as q, b as T } from "../i18n-ekiZvzf6.js";
|
|
3
|
+
import { b as I } from "../normalize-props-DH0oPBss.js";
|
|
4
|
+
import { L as B } from "../LLMMessage.ce-Bdmf0R1g.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({
|
|
@@ -15,7 +15,7 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
|
|
|
15
15
|
a("p", J, c(e.name), 1),
|
|
16
16
|
a("p", K, c(d.$t("complete-phrase.ariaLabelDescription", { name: e.name, percent: e.percent })), 1),
|
|
17
17
|
a("div", {
|
|
18
|
-
style:
|
|
18
|
+
style: A(`width: ${e.percent}%`),
|
|
19
19
|
class: "probability-bar__percent",
|
|
20
20
|
"aria-hidden": "true"
|
|
21
21
|
}, null, 4),
|
|
@@ -127,10 +127,10 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
|
|
|
127
127
|
id: `currentProbability${b}`,
|
|
128
128
|
"aria-hidden": b !== t.value
|
|
129
129
|
}, [
|
|
130
|
-
(o(!0), n(x, null, k(u, ($,
|
|
130
|
+
(o(!0), n(x, null, k(u, ($, j) => (o(), v(Z, {
|
|
131
131
|
name: $.name,
|
|
132
132
|
percent: $.percent,
|
|
133
|
-
key:
|
|
133
|
+
key: j
|
|
134
134
|
}, null, 8, ["name", "percent"]))), 128))
|
|
135
135
|
], 10, _e))), 128))
|
|
136
136
|
])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
const L = ["aria-hidden"], C = ["src"],
|
|
1
|
+
import { b 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, e as k, N as v, E as w, d as F } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { b as _ } from "../normalize-props-DH0oPBss.js";
|
|
3
|
+
const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["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 },
|
|
@@ -26,7 +26,7 @@ const L = ["aria-hidden"], C = ["src"], z = ["aria-level"], N = ["aria-hidden"],
|
|
|
26
26
|
role: "heading",
|
|
27
27
|
"aria-level": e.titleLevel,
|
|
28
28
|
class: "title"
|
|
29
|
-
}, l(e.name), 9,
|
|
29
|
+
}, l(e.name), 9, N)
|
|
30
30
|
], 10, L),
|
|
31
31
|
i("div", {
|
|
32
32
|
class: f(["card verso", { flipped: e.isFlipped, [e.color]: e.color }]),
|
|
@@ -45,7 +45,7 @@ const L = ["aria-hidden"], C = ["src"], z = ["aria-level"], N = ["aria-hidden"],
|
|
|
45
45
|
alt: ""
|
|
46
46
|
}, null, 8, E)) : x("", !0)
|
|
47
47
|
])
|
|
48
|
-
], 10,
|
|
48
|
+
], 10, z)
|
|
49
49
|
], 64));
|
|
50
50
|
}
|
|
51
51
|
}), K = "[data-v-c0da3f12]{box-sizing:border-box}.card[data-v-c0da3f12]{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-c0da3f12]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-c0da3f12]{display:block;height:auto;width:40px}.card.verso[data-v-c0da3f12]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-c0da3f12]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-c0da3f12]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-c0da3f12]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-c0da3f12]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-c0da3f12]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-c0da3f12]{border:2px solid #f041bf}.card.verso .description[data-v-c0da3f12]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-c0da3f12]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-c0da3f12]{display:block;height:100%;object-fit:contain;width:100%}", V = /* @__PURE__ */ u(j, [["styles", [K]], ["__scopeId", "data-v-c0da3f12"]]), D = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as t } from "../image-quiz.ce-
|
|
2
|
-
import "../_plugin-vue_export-helper-
|
|
3
|
-
import "../normalize-props-
|
|
4
|
-
import "../i18n-lite-
|
|
1
|
+
import { n as t } from "../image-quiz.ce-DqalWHKw.js";
|
|
2
|
+
import "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
3
|
+
import "../normalize-props-DH0oPBss.js";
|
|
4
|
+
import "../i18n-lite-t2jNOu0C.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-
|
|
2
|
-
import {
|
|
3
|
-
import { i as n } from "../i18n-lite-
|
|
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-DqalWHKw.js";
|
|
2
|
+
import { b as q, r as E, w as h, c as y, o as l, e as I, f as k, m as B, F as Q, d as C } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
3
|
+
import { i as n } from "../i18n-lite-t2jNOu0C.js";
|
|
4
4
|
const F = /* @__PURE__ */ q({
|
|
5
5
|
__name: "ImageQuizzes.ce",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
1
|
+
import { b as c, c as t, o as s, a as e, t as n, F as r, e as m, E as i, _ as p, d as g } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-Bdmf0R1g.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-C3AZuSZe.js";
|
|
4
4
|
const f = {
|
|
5
5
|
class: "header",
|
|
6
6
|
"aria-hidden": "true"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as h } from "../LLMMessage.ce-
|
|
3
|
-
import { p as _ } from "../shadow-dom-
|
|
1
|
+
import { b as c, I as m, J as i, c as t, o as e, F as p, e as d, f, _ as g, d as u } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-Bdmf0R1g.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-C3AZuSZe.js";
|
|
4
4
|
const x = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { b as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, e as L, t as S, _ as C, d as P } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { b as N } from "../normalize-props-DH0oPBss.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({
|
|
5
5
|
__name: "LLMPromptSelect.ce",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as J, i as U, b as Q } from "../i18n-
|
|
3
|
-
import { B as W } from "../Button.ce-
|
|
4
|
-
import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { b as I, j as L, c as d, o as n, n as N, a as s, B as _, f as m, l as x, t as g, E as b, K as v, x as V, _ as S, r as D, g as M, G as O, F as T, e as q, H, d as K } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { a as J, i as U, b as Q } from "../i18n-ekiZvzf6.js";
|
|
3
|
+
import { B as W } from "../Button.ce-CTKrSDrC.js";
|
|
4
|
+
import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js";
|
|
5
5
|
import { s as F } from "../shuffled-B8VGTceh.js";
|
|
6
|
-
import { B as j } from "../ButtonTooltip.ce-
|
|
6
|
+
import { B as j } from "../ButtonTooltip.ce-CtHo2Dwx.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
|
-
}, 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" },
|
|
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" }, g0 = ["src"], v0 = ["id"], u0 = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "card-right"
|
|
12
12
|
}, f0 = ["src"], m0 = ["src"], b0 = /* @__PURE__ */ I({
|
|
@@ -18,8 +18,8 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
18
18
|
state: { type: String }
|
|
19
19
|
},
|
|
20
20
|
emits: ["move-up", "move-down", "dragstart", "drop"],
|
|
21
|
-
setup(t, { emit:
|
|
22
|
-
const u = L("card"), r = L("button-up"), c =
|
|
21
|
+
setup(t, { emit: h }) {
|
|
22
|
+
const u = L("card"), r = L("button-up"), c = h;
|
|
23
23
|
function p(o) {
|
|
24
24
|
o.dataTransfer.setDragImage(u.value, 30, 30), c("dragstart", o);
|
|
25
25
|
}
|
|
@@ -39,11 +39,11 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
39
39
|
draggable: "",
|
|
40
40
|
onDragstart: p,
|
|
41
41
|
onDrop: i[0] || (i[0] = (w) => c("drop", w)),
|
|
42
|
-
onDragenter: i[1] || (i[1] =
|
|
42
|
+
onDragenter: i[1] || (i[1] = x(() => {
|
|
43
43
|
}, ["prevent"])),
|
|
44
|
-
onDragover: i[2] || (i[2] =
|
|
44
|
+
onDragover: i[2] || (i[2] = x(() => {
|
|
45
45
|
}, ["prevent"]))
|
|
46
|
-
}, null, 40,
|
|
46
|
+
}, null, 40, g0)) : t.state === "correct" ? (n(), m(Z, {
|
|
47
47
|
key: 1,
|
|
48
48
|
alt: o.$t("mdp-classement.correct"),
|
|
49
49
|
color: "#007740",
|
|
@@ -56,7 +56,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
56
56
|
}, null, 8, ["alt"])),
|
|
57
57
|
s("p", {
|
|
58
58
|
id: `password-${t.password}`
|
|
59
|
-
},
|
|
59
|
+
}, g(t.password), 9, v0)
|
|
60
60
|
]),
|
|
61
61
|
t.state === "active" ? (n(), d("div", u0, [
|
|
62
62
|
b(j, {
|
|
@@ -67,7 +67,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
67
67
|
disabled: t.isUpDisabled,
|
|
68
68
|
"aria-describedby": `password-${t.password}`
|
|
69
69
|
}, {
|
|
70
|
-
default:
|
|
70
|
+
default: v(() => [
|
|
71
71
|
s("img", {
|
|
72
72
|
src: t.isUpDisabled ? c0 : l0,
|
|
73
73
|
alt: ""
|
|
@@ -82,7 +82,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
82
82
|
disabled: t.isDownDisabled,
|
|
83
83
|
"aria-describedby": `password-${t.password}`
|
|
84
84
|
}, {
|
|
85
|
-
default:
|
|
85
|
+
default: v(() => [
|
|
86
86
|
s("img", {
|
|
87
87
|
src: t.isDownDisabled ? d0 : i0,
|
|
88
88
|
alt: ""
|
|
@@ -93,7 +93,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
93
93
|
])) : _("", !0)
|
|
94
94
|
], 2));
|
|
95
95
|
}
|
|
96
|
-
}), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */ S(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]),
|
|
96
|
+
}), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */ S(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]), x0 = { class: "wrapper" }, h0 = { class: "sr-only" }, y0 = { class: "ranking-container" }, D0 = { class: "strongness-bar__container" }, k0 = ["onDrop"], $0 = {
|
|
97
97
|
key: 0,
|
|
98
98
|
class: "validate-container"
|
|
99
99
|
}, B0 = {
|
|
@@ -104,7 +104,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
104
104
|
props: {
|
|
105
105
|
passwords: { type: Array }
|
|
106
106
|
},
|
|
107
|
-
setup(t, { expose:
|
|
107
|
+
setup(t, { expose: h }) {
|
|
108
108
|
const u = t, r = D(F(u.passwords, { ensureIsShuffled: !0 })), c = D(!1), p = D(!0), f = M(() => r.value.map((e, a) => ({
|
|
109
109
|
password: e,
|
|
110
110
|
isFirst: a === 0,
|
|
@@ -130,18 +130,18 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
130
130
|
function E() {
|
|
131
131
|
p.value = !1;
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return h({
|
|
134
134
|
reset: w
|
|
135
135
|
}), (e, a) => {
|
|
136
136
|
const y = O("i18next");
|
|
137
137
|
return n(), d(T, null, [
|
|
138
|
-
s("div",
|
|
139
|
-
s("p",
|
|
138
|
+
s("div", x0, [
|
|
139
|
+
s("p", h0, g(e.$t("mdp-classement.altInformation")), 1),
|
|
140
140
|
s("div", y0, [
|
|
141
141
|
s("div", D0, [
|
|
142
|
-
s("p", null,
|
|
142
|
+
s("p", null, g(e.$t("mdp-classement.strong")), 1),
|
|
143
143
|
a[3] || (a[3] = s("div", { class: "strongness-bar" }, null, -1)),
|
|
144
|
-
s("p", null,
|
|
144
|
+
s("p", null, g(e.$t("mdp-classement.weak")), 1)
|
|
145
145
|
]),
|
|
146
146
|
s("ul", null, [
|
|
147
147
|
(n(!0), d(T, null, q(f.value, ({ password: B, isFirst: G, isLast: P, state: R }, C) => (n(), d("li", { key: B }, [
|
|
@@ -159,9 +159,9 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
159
159
|
c.value ? (n(), d("div", {
|
|
160
160
|
key: 0,
|
|
161
161
|
onDrop: (l) => $(l, C),
|
|
162
|
-
onDragenter: a[1] || (a[1] =
|
|
162
|
+
onDragenter: a[1] || (a[1] = x(() => {
|
|
163
163
|
}, ["prevent"])),
|
|
164
|
-
onDragover: a[2] || (a[2] =
|
|
164
|
+
onDragover: a[2] || (a[2] = x(() => {
|
|
165
165
|
}, ["prevent"])),
|
|
166
166
|
class: "drop-down"
|
|
167
167
|
}, null, 40, k0)) : _("", !0)
|
|
@@ -174,8 +174,8 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
174
174
|
class: "validate",
|
|
175
175
|
onClick: E
|
|
176
176
|
}, {
|
|
177
|
-
default:
|
|
178
|
-
H(
|
|
177
|
+
default: v(() => [
|
|
178
|
+
H(g(e.$t("mdp-classement.validate")), 1)
|
|
179
179
|
]),
|
|
180
180
|
_: 1
|
|
181
181
|
})
|
|
@@ -185,7 +185,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
185
185
|
key: 0,
|
|
186
186
|
title: o.value ? e.$t("mdp-classement.feedback.positiveTitle") : e.$t("mdp-classement.feedback.negativeTitle")
|
|
187
187
|
}, {
|
|
188
|
-
icon:
|
|
188
|
+
icon: v(() => [
|
|
189
189
|
o.value ? (n(), m(Z, {
|
|
190
190
|
key: 0,
|
|
191
191
|
class: "icon-size"
|
|
@@ -194,12 +194,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
194
194
|
class: "icon-size"
|
|
195
195
|
}))
|
|
196
196
|
]),
|
|
197
|
-
content:
|
|
197
|
+
content: v(() => [
|
|
198
198
|
b(y, {
|
|
199
199
|
translation: o.value ? e.$t("mdp-classement.feedback.positiveContent") : e.$t("mdp-classement.feedback.negativeContent")
|
|
200
200
|
}, {
|
|
201
|
-
strongestPassword:
|
|
202
|
-
s("strong", null,
|
|
201
|
+
strongestPassword: v(() => [
|
|
202
|
+
s("strong", null, g(f.value[0].password), 1)
|
|
203
203
|
]),
|
|
204
204
|
_: 1
|
|
205
205
|
}, 8, ["translation"])
|