@1024pix/epreuves-components 4.4.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button.ce-Dvxeebpx.js → Button.ce-C-lBihdF.js} +1 -1
- package/dist/{ButtonTooltip.ce-WwOarMJq.js → ButtonTooltip.ce-B071jWM0.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js → Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js} +1 -1
- package/dist/{Feedback.ce-CnZRBGWf.js → Feedback.ce-CeyQhenY.js} +1 -1
- package/dist/{FocusManager.ce-Cv3wYF9s.js → FocusManager.ce-Cb8fkfeb.js} +6 -6
- package/dist/Icon.ce-AUDpzQic.js +50 -0
- package/dist/{LLMMessage.ce-B7EwoHy2.js → LLMMessage.ce-DBorHEa1.js} +2 -2
- package/dist/{Loading.ce-Dv2gEjXm.js → Loading.ce-D7EpPBBD.js} +1 -1
- package/dist/Modal.ce-CRJ7RcAX.js +86 -0
- package/dist/{NavigationButton.ce-D8_YC96l.js → NavigationButton.ce-DqFqWt9V.js} +2 -2
- package/dist/{PixMailMessage.ce-TnjyOfiH.js → PixMailMessage.ce-Cqrs9R3i.js} +20 -20
- package/dist/{Popin.ce-BPnBZykQ.js → Popin.ce-D1V8wzxE.js} +8 -8
- package/dist/{Retry-C3g7zhz8.js → Retry-fzluiEoj.js} +3 -3
- package/dist/{Stepper.ce-DEMN02yr.js → Stepper.ce-cG0al2pY.js} +1 -1
- package/dist/{_plugin-vue_export-helper-Dz58mCLm.js → _plugin-vue_export-helper-DJlRxzRH.js} +1635 -1540
- package/dist/components/analyse-mails-phishing.ce.js.js +17 -17
- package/dist/components/autocompletion-mdp.ce.js.js +256 -0
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +15 -15
- package/dist/components/capacity-calculation.ce.js.js +15 -15
- package/dist/components/clickable-image.ce.js.js +12 -12
- package/dist/components/complete-phrase.ce.js.js +8 -8
- package/dist/components/feedback.ce.js.js +2 -2
- package/dist/components/flip-cards.ce.js.js +5 -5
- package/dist/components/generate-mdp.ce.js.js +159 -0
- package/dist/components/image-quiz.ce.js.js +3 -3
- 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 +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +6 -6
- package/dist/components/mdp-classement.ce.js.js +17 -17
- package/dist/components/message-conversation.ce.js.js +13 -13
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +137 -175
- package/dist/components/phishing-message.ce.js.js +9 -9
- package/dist/components/phishing-notification.ce.js.js +19 -19
- package/dist/components/pix-anonymisation.ce.js.js +23 -23
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +6 -6
- package/dist/components/pix-cursor.ce.js.js +6 -6
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +14 -14
- package/dist/components/qcm-deepfake.ce.js.js +29 -29
- package/dist/components/quiz-stepper.ce.js.js +6 -6
- package/dist/components/select-conversation.ce.js.js +7 -7
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +5 -5
- package/dist/components/trouver-mdp-rs.ce.js.js +6 -6
- package/dist/components/usages-donnees.ce.js.js +27 -27
- package/dist/{i18n-H4HokXDX.js → i18n-C0iMUvqX.js} +13 -13
- package/dist/{i18n-lite-CzqISEWm.js → i18n-lite-X2ADNonj.js} +1 -1
- package/dist/{image-quiz.ce-C-iI27gD.js → image-quiz.ce-BaKLPvSS.js} +8 -8
- package/dist/{index-BUPiE5WR.js → index-Ck6CFpiq.js} +1 -1
- package/dist/index.js +3 -1
- package/dist/metadata.js +29 -21
- package/dist/props.examples.js +121 -117
- package/dist/schema.js +58 -54
- package/dist/{shadow-dom-D54WF-WZ.js → shadow-dom-Dh5hLXcx.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as J, b as
|
|
3
|
-
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */
|
|
1
|
+
import { a as R, h as E, k as O, G as W, o as d, c as p, b as C, m as _, F as D, e as L, y as V, B as y, v as j, t as G, l as H, H as T, I as U, x as X, r as b, g as v, _ as Y, d as q } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { a as J, b as S } 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 },
|
|
@@ -52,7 +52,7 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
52
52
|
const x = v(() => u.value ?? f.value), c = v(() => {
|
|
53
53
|
if (x.value !== void 0)
|
|
54
54
|
return $.value[x.value];
|
|
55
|
-
}),
|
|
55
|
+
}), B = v(() => {
|
|
56
56
|
if (!c.value) return {};
|
|
57
57
|
const { tooltipPosition: e, coords: { x1: t, y1: o, x2: n, y2: s } } = c.value;
|
|
58
58
|
switch (e) {
|
|
@@ -82,10 +82,10 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
function
|
|
85
|
+
function N() {
|
|
86
86
|
u.value = void 0;
|
|
87
87
|
}
|
|
88
|
-
return i({ reset:
|
|
88
|
+
return i({ reset: N }), (e, t) => (d(), p("div", K, [
|
|
89
89
|
C("img", _(a.image, {
|
|
90
90
|
ref: "image",
|
|
91
91
|
onLoad: t[0] || (t[0] = (o) => h()),
|
|
@@ -120,23 +120,23 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
120
120
|
T(C("p", {
|
|
121
121
|
class: "tooltip",
|
|
122
122
|
"aria-hidden": "true",
|
|
123
|
-
style: y(
|
|
123
|
+
style: y(B.value)
|
|
124
124
|
}, X(c.value?.info), 5), [
|
|
125
125
|
[U, c.value]
|
|
126
126
|
])
|
|
127
127
|
]));
|
|
128
128
|
}
|
|
129
|
-
}), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ Y(Z, [["styles", [ee]]]),
|
|
130
|
-
|
|
129
|
+
}), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ Y(Z, [["styles", [ee]]]), z = q(te);
|
|
130
|
+
z.prototype.normalizeProps = (a) => ({
|
|
131
131
|
...a,
|
|
132
132
|
image: {
|
|
133
133
|
...a.image,
|
|
134
|
-
height:
|
|
135
|
-
width:
|
|
134
|
+
height: S(a.height),
|
|
135
|
+
width: S(a.width),
|
|
136
136
|
areas: a.areas.map((i) => ({
|
|
137
137
|
...i,
|
|
138
138
|
tooltipPosition: J(i.tooltipPosition)
|
|
139
139
|
}))
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
window.customElements.define("clickable-image",
|
|
142
|
+
window.customElements.define("clickable-image", z);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as O, a as T, i as q, b as E } from "../i18n-
|
|
1
|
+
import { a as h, o, c as n, b as a, x as c, B as j, _ as f, t as P, q as S, A as N, F as y, e as x, l as z, r as k, g as m, D as L, f as v, d as M } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as O, a as T, i as q, b as E } from "../i18n-C0iMUvqX.js";
|
|
3
3
|
import { b as I } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { L as B } from "../LLMMessage.ce-
|
|
4
|
+
import { L as B } from "../LLMMessage.ce-DBorHEa1.js";
|
|
5
5
|
const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
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
|
}, H = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
|
|
@@ -15,7 +15,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
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: j(`width: ${e.percent}%`),
|
|
19
19
|
class: "probability-bar__percent",
|
|
20
20
|
"aria-hidden": "true"
|
|
21
21
|
}, null, 4),
|
|
@@ -36,7 +36,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
36
36
|
class: P(["complete-phrase_button", e.state])
|
|
37
37
|
}, [
|
|
38
38
|
S(d.$slots, "icon"),
|
|
39
|
-
|
|
39
|
+
N(" " + c(e.label), 1)
|
|
40
40
|
], 2));
|
|
41
41
|
}
|
|
42
42
|
}), te = ".complete-phrase_button.primary{--background-color: #253858;--background-color-hover: #122647;--color: #fff;--color-hover: #fff}.complete-phrase_button.warning{--background-color: #ffcb33;--background-color-hover: #a16206;--color: #122647;--color-hover: #fff}.complete-phrase_button.primary,.complete-phrase_button.warning{align-items:center;background-color:var(--background-color);border:2px solid transparent;border-radius:8px;color:var(--color);cursor:pointer;display:flex;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;justify-content:center;gap:8px;line-height:24px;margin:0 auto;outline:none;padding:8px 24px;transition:background-color ease .5s,color ease .5s;width:fit-content;white-space:nowrap}:is(.complete-phrase_button.primary,.complete-phrase_button.warning)[aria-disabled=true]{cursor:not-allowed;opacity:.5}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover{background-color:var(--background-color-hover);color:var(--color-hover);transition:background-color ease .5s,color ease .5s}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover svg{color:var(--color-hover);transition:color ease .5s}", oe = /* @__PURE__ */ f(ee, [["styles", [te]]]), ae = { class: "qcu" }, se = { class: "qcu__list" }, ie = ["id", "onClick", "aria-label", "checked", "disabled"], re = { for: "`choice${index}`" }, ne = {
|
|
@@ -73,7 +73,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
73
73
|
a("label", re, c(r.name), 1)
|
|
74
74
|
]))), 128))
|
|
75
75
|
]),
|
|
76
|
-
s.value ? (o(), n("section", ne, c(_.value), 1)) :
|
|
76
|
+
s.value ? (o(), n("section", ne, c(_.value), 1)) : z("", !0)
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
79
|
}), ce = "[data-v-74566fe6]{font-family:Roboto,sans-serif;color:#122647}.qcu[data-v-74566fe6]{align-items:center;display:flex;flex-direction:column;gap:16px}.qcu p[data-v-74566fe6]{margin:0}.qcu__list[data-v-74566fe6]{display:flex;gap:16px}.qcu__list-choice[data-v-74566fe6]{position:relative}.qcu__list-choice input[data-v-74566fe6]{appearance:none;height:100%;outline:none;position:absolute;width:100%}.qcu__list-choice input:checked+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff}.qcu__list-choice input[data-v-74566fe6]:hover{cursor:pointer}.qcu__list-choice input:hover+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff;transition:background-color .5s ease,color .5s ease}.qcu__list-choice input:disabled+label[data-v-74566fe6],.qcu__list-choice input[data-v-74566fe6]:disabled:hover{cursor:not-allowed}.qcu__list-choice input:disabled:not(:checked)+label[data-v-74566fe6],.qcu__list-choice input:disabled:hover:not(:checked)+label[data-v-74566fe6]{background:#e6f2fe;color:#122647;cursor:not-allowed;opacity:.5;transition:none}.qcu__list-choice label[data-v-74566fe6]{align-items:center;background:#e6f2fe;border-radius:4px;color:inherit;display:flex;font-weight:700;gap:10px;justify-content:center;padding:4px 8px;transition:background-color .5s ease,color .5s ease}.qcu .feedback[data-v-74566fe6]{display:flex;padding:8px 16px;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch;border-radius:8px;background:#e6f2fe}", de = /* @__PURE__ */ f(le, [["styles", [ce]], ["__scopeId", "data-v-74566fe6"]]), pe = { class: "complete-phrase" }, ue = ["aria-level"], be = { class: "complete-phrase__description" }, me = { class: "complete-phrase__container" }, he = { class: "complete-phrase-container__conversation" }, fe = { class: "complete-phrase-container__probabilities" }, _e = ["id", "aria-hidden"], ge = /* @__PURE__ */ h({
|
|
@@ -127,10 +127,10 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
127
127
|
id: `currentProbability${b}`,
|
|
128
128
|
"aria-hidden": b !== t.value
|
|
129
129
|
}, [
|
|
130
|
-
(o(!0), n(y, null, x(u, ($,
|
|
130
|
+
(o(!0), n(y, null, x(u, ($, A) => (o(), v(Z, {
|
|
131
131
|
name: $.name,
|
|
132
132
|
percent: $.percent,
|
|
133
|
-
key:
|
|
133
|
+
key: A
|
|
134
134
|
}, null, 8, ["name", "percent"]))), 128))
|
|
135
135
|
], 10, _e))), 128))
|
|
136
136
|
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { F as m } from "../Feedback.ce-
|
|
1
|
+
import { d as e } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { F as m } from "../Feedback.ce-CeyQhenY.js";
|
|
3
3
|
const o = e(m);
|
|
4
4
|
window.customElements.define("pix-feedback", o);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as g, o as r, c as n, F as m, b as i, t as f, x as l, l as x, _ as u, r as y, e as k, Q as v, D as w, d as F } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
2
|
import { b as _ } from "../normalize-props-DH0oPBss.js";
|
|
3
|
-
const L = ["aria-hidden"], C = ["src"],
|
|
3
|
+
const L = ["aria-hidden"], C = ["src"], z = ["aria-level"], N = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, j = ["src"], D = /* @__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"], N = ["aria-level"], z = ["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, z)
|
|
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"], N = ["aria-level"], z = ["aria-hidden"],
|
|
|
45
45
|
alt: ""
|
|
46
46
|
}, null, 8, j)) : x("", !0)
|
|
47
47
|
])
|
|
48
|
-
], 10,
|
|
48
|
+
], 10, N)
|
|
49
49
|
], 64));
|
|
50
50
|
}
|
|
51
51
|
}), E = "[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%}", K = /* @__PURE__ */ u(D, [["styles", [E]], ["__scopeId", "data-v-c0da3f12"]]), V = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
|
|
@@ -97,7 +97,7 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
|
|
|
97
97
|
], 42, Y))), 128))
|
|
98
98
|
]));
|
|
99
99
|
}
|
|
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)}",
|
|
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
101
|
h.prototype.normalizeProps = (e) => ({
|
|
102
102
|
...e,
|
|
103
103
|
titleLevel: _(e.titleLevel)
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { a as B, h as G, o as E, c as I, b as t, D as s, E as u, v as w, A as c, x as n, t as f, r as d, g as L, n as R, _ as z, d as N } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as P, i as m } from "../i18n-lite-X2ADNonj.js";
|
|
3
|
+
import { p as $ } from "../shadow-dom-Dh5hLXcx.js";
|
|
4
|
+
import { I as H, B as x } from "../Icon.ce-AUDpzQic.js";
|
|
5
|
+
import { I as g, M as F } from "../Modal.ce-CRJ7RcAX.js";
|
|
6
|
+
import { b as q } from "../normalize-props-DH0oPBss.js";
|
|
7
|
+
const D = {}, T = {}, A = {
|
|
8
|
+
"generate-mdp": { addPassword: "Ajouter un mot de passe", title: "Titre", email: "Adresse e-mail", password: "Mot de passe", save: "Enregistrer", strength: "Fort", weak: "Faible", generatePassword: "Générer un mot de passe fort", feedback: { title: "Bravo !", content: "Grâce au gestionnaire de mots de passe, vous pouvez générer automatiquement des mots de passe forts." } }
|
|
9
|
+
}, J = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.99976%2011.25V12.75M4.49976%2015.75H13.4998C13.8976%2015.75%2014.2791%2015.592%2014.5604%2015.3107C14.8417%2015.0294%2014.9998%2014.6478%2014.9998%2014.25V9.75C14.9998%209.35218%2014.8417%208.97064%2014.5604%208.68934C14.2791%208.40804%2013.8976%208.25%2013.4998%208.25H4.49976C4.10193%208.25%203.7204%208.40804%203.4391%208.68934C3.15779%208.97064%202.99976%209.35218%202.99976%209.75V14.25C2.99976%2014.6478%203.15779%2015.0294%203.4391%2015.3107C3.7204%2015.592%204.10193%2015.75%204.49976%2015.75ZM11.9998%208.25V5.25C11.9998%204.45435%2011.6837%203.69129%2011.1211%203.12868C10.5585%202.56607%209.79541%202.25%208.99976%202.25C8.20411%202.25%207.44104%202.56607%206.87844%203.12868C6.31583%203.69129%205.99976%204.45435%205.99976%205.25V8.25H11.9998Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", S = "data:image/svg+xml,%3csvg%20width='33'%20height='33'%20viewBox='0%200%2033%2033'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.562%2016.5C29.562%2019.0835%2028.7959%2021.609%2027.3606%2023.7571C25.9253%2025.9053%2023.8852%2027.5795%2021.4983%2028.5682C19.1115%2029.5568%2016.485%2029.8155%2013.9512%2029.3115C11.4173%2028.8075%209.08976%2027.5634%207.26294%2025.7366C5.43611%2023.9098%204.19203%2021.5822%203.68801%2019.0484C3.18399%2016.5145%203.44267%2013.8881%204.43134%2011.5012C5.42001%209.11434%207.09426%207.07425%209.24238%205.63893C11.3905%204.2036%2013.916%203.4375%2016.4995%203.4375C19.0419%203.43667%2021.5293%204.17778%2023.6566%205.56996C25.784%206.96214%2027.4588%208.94486%2028.4758%2011.275M29.562%207.5625L28.9089%2011.9281L24.7495%2011'%20stroke='white'%20stroke-width='3.09375'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7495%2015.125V13.0625C13.7495%2012.3332%2014.0392%2011.6337%2014.555%2011.118C15.0707%2010.6022%2015.7702%2010.3125%2016.4995%2010.3125C17.2289%2010.3125%2017.9283%2010.6022%2018.4441%2011.118C18.9598%2011.6337%2019.2495%2012.3332%2019.2495%2013.0625V15.125M15.4683%2022.6875H17.5308C19.1436%2022.6875%2019.9508%2022.6875%2020.5049%2022.2613C20.6479%2022.1515%2020.776%2022.0234%2020.8858%2021.8804C21.312%2021.3249%2021.312%2020.5191%2021.312%2018.9062C21.312%2017.2934%2021.312%2016.4862%2020.8858%2015.9321C20.776%2015.7891%2020.6479%2015.661%2020.5049%2015.5513C19.9494%2015.125%2019.1436%2015.125%2017.5308%2015.125H15.4683C13.8554%2015.125%2013.0483%2015.125%2012.4941%2015.5513C12.3511%2015.661%2012.223%2015.7891%2012.1133%2015.9321C11.687%2016.4876%2011.687%2017.2934%2011.687%2018.9062C11.687%2020.5191%2011.687%2021.3263%2012.1133%2021.8804C12.223%2022.0234%2012.3511%2022.1515%2012.4941%2022.2613C13.0496%2022.6875%2013.8554%2022.6875%2015.4683%2022.6875Z'%20stroke='white'%20stroke-width='3.09375'%20stroke-linejoin='round'/%3e%3c/svg%3e", U = { class: "wrapper" }, Q = ["aria-level"], Z = ["src"], K = { class: "password-field" }, Y = { class: "password-strength" }, O = {
|
|
10
|
+
"aria-live": "polite",
|
|
11
|
+
class: "password-strength__strengthness"
|
|
12
|
+
}, W = { class: "sr-only" }, X = ["src"], ee = /* @__PURE__ */ B({
|
|
13
|
+
__name: "GenerateMdp.ce",
|
|
14
|
+
props: {
|
|
15
|
+
titleLevel: { default: 2, type: Number }
|
|
16
|
+
},
|
|
17
|
+
setup(r, { expose: C }) {
|
|
18
|
+
const { t: b } = P(), k = G("success-modal"), h = d("La belle fripe"), v = d("elio@pixmail.org"), a = d(""), i = d(!1);
|
|
19
|
+
async function y() {
|
|
20
|
+
i.value = !0, await R(), k.value.dialogElement.focus();
|
|
21
|
+
}
|
|
22
|
+
$();
|
|
23
|
+
function V() {
|
|
24
|
+
i.value = !1, a.value = "";
|
|
25
|
+
}
|
|
26
|
+
const p = [
|
|
27
|
+
"39m%,Yqp4brJ",
|
|
28
|
+
"aqN1^!T`:GID",
|
|
29
|
+
"4_nakXe59Hi5",
|
|
30
|
+
"l]`G&nP:U3b7",
|
|
31
|
+
"2Hkl!Qr%8oBf",
|
|
32
|
+
"@[3LE.t%fqNa",
|
|
33
|
+
"RU:ttJ~fCi1R",
|
|
34
|
+
"-(1JRS[bxe4e",
|
|
35
|
+
"<AXKB)1c=H{I",
|
|
36
|
+
"]hFo+`(Pb4H6",
|
|
37
|
+
"JeQSL1Gdo9[%",
|
|
38
|
+
"R()BD|m0OYcv",
|
|
39
|
+
"m<E)0lA5f-QR",
|
|
40
|
+
"nh4j_GsB9@p+",
|
|
41
|
+
"I+W+>2Y%VCDe",
|
|
42
|
+
"6h,kMeN|_K>3",
|
|
43
|
+
":rK!Fy`^3c&i",
|
|
44
|
+
"1^E|Zlgc1+nq",
|
|
45
|
+
"QJ09r]Bxdb#E",
|
|
46
|
+
",2G+Gj<pk:fD",
|
|
47
|
+
"*D4W0asv+$:("
|
|
48
|
+
];
|
|
49
|
+
function M() {
|
|
50
|
+
const e = Math.floor(p.length * Math.random());
|
|
51
|
+
a.value = p[e];
|
|
52
|
+
}
|
|
53
|
+
const j = L(() => p.includes(a.value) ? b("generate-mdp.strength") : b("generate-mdp.weak"));
|
|
54
|
+
return C({
|
|
55
|
+
reset: V
|
|
56
|
+
}), (e, o) => (E(), I("div", U, [
|
|
57
|
+
t("div", {
|
|
58
|
+
"aria-level": r.titleLevel,
|
|
59
|
+
class: "title",
|
|
60
|
+
role: "heading"
|
|
61
|
+
}, [
|
|
62
|
+
s(H, { "background-color": "#2c75ff" }, {
|
|
63
|
+
default: u(() => [
|
|
64
|
+
t("img", {
|
|
65
|
+
src: w(J),
|
|
66
|
+
alt: ""
|
|
67
|
+
}, null, 8, Z)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
71
|
+
c(" " + n(e.$t("generate-mdp.addPassword")), 1)
|
|
72
|
+
], 8, Q),
|
|
73
|
+
t("form", null, [
|
|
74
|
+
s(g, {
|
|
75
|
+
modelValue: h.value,
|
|
76
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => h.value = l),
|
|
77
|
+
label: e.$t("generate-mdp.title"),
|
|
78
|
+
readonly: !0,
|
|
79
|
+
type: "text"
|
|
80
|
+
}, null, 8, ["modelValue", "label"]),
|
|
81
|
+
s(g, {
|
|
82
|
+
modelValue: v.value,
|
|
83
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => v.value = l),
|
|
84
|
+
label: e.$t("generate-mdp.email"),
|
|
85
|
+
readonly: !0,
|
|
86
|
+
type: "text"
|
|
87
|
+
}, null, 8, ["modelValue", "label"]),
|
|
88
|
+
t("div", K, [
|
|
89
|
+
s(g, {
|
|
90
|
+
modelValue: a.value,
|
|
91
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => a.value = l),
|
|
92
|
+
label: e.$t("generate-mdp.password"),
|
|
93
|
+
readonly: !0,
|
|
94
|
+
class: "password",
|
|
95
|
+
type: "text"
|
|
96
|
+
}, null, 8, ["modelValue", "label"]),
|
|
97
|
+
t("div", Y, [
|
|
98
|
+
t("p", O, [
|
|
99
|
+
t("span", W, n(e.$t("generate-mdp.password")) + " ", 1),
|
|
100
|
+
c(n(j.value), 1)
|
|
101
|
+
]),
|
|
102
|
+
t("div", {
|
|
103
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
104
|
+
"aria-hidden": "true"
|
|
105
|
+
}, null, 2),
|
|
106
|
+
t("div", {
|
|
107
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
108
|
+
"aria-hidden": "true"
|
|
109
|
+
}, null, 2),
|
|
110
|
+
t("div", {
|
|
111
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
112
|
+
"aria-hidden": "true"
|
|
113
|
+
}, null, 2)
|
|
114
|
+
]),
|
|
115
|
+
s(x, {
|
|
116
|
+
title: e.$t("generate-mdp.generatePassword"),
|
|
117
|
+
variant: "primary-bis",
|
|
118
|
+
onClick: M
|
|
119
|
+
}, {
|
|
120
|
+
default: u(() => [
|
|
121
|
+
t("img", {
|
|
122
|
+
src: w(S),
|
|
123
|
+
alt: ""
|
|
124
|
+
}, null, 8, X)
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["title"])
|
|
128
|
+
]),
|
|
129
|
+
s(x, {
|
|
130
|
+
class: "send",
|
|
131
|
+
onClick: y,
|
|
132
|
+
"is-disabled": !a.value
|
|
133
|
+
}, {
|
|
134
|
+
default: u(() => [
|
|
135
|
+
c(n(e.$t("generate-mdp.save")), 1)
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["is-disabled"]),
|
|
139
|
+
s(F, {
|
|
140
|
+
ref: "success-modal",
|
|
141
|
+
content: e.$t("generate-mdp.feedback.content"),
|
|
142
|
+
show: i.value,
|
|
143
|
+
loop: !1,
|
|
144
|
+
title: e.$t("generate-mdp.feedback.title")
|
|
145
|
+
}, null, 8, ["content", "show", "title"])
|
|
146
|
+
])
|
|
147
|
+
]));
|
|
148
|
+
}
|
|
149
|
+
}), te = "*{--text-blue: #122647;--background-blue: #253858;font-family:Nunito,Roboto,sans-serif;font-size:14px;box-sizing:border-box}h1,h2,h3,h4,h5,h6{color:var(--text-blue);font-family:Nunito,sans-serif}h2{color:var(--text-blue);font-size:20px}p,a,span,li{color:var(--text-blue);font-family:Roboto,sans-serif}button{border-radius:8px;background:var(--background-blue);font-weight:700;font-size:16px}button:disabled{background:#c8cfd9}input{border-radius:10px;border:#cdd1d9;background:#f4f5f7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,dialog{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{color:#253858}", ae = ".wrapper[data-v-a25e45eb]{padding:25px;border-radius:14px;position:relative;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}[data-v-a25e45eb] label{margin-top:16px}.title[data-v-a25e45eb]{display:flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:700}.password-field[data-v-a25e45eb]{display:grid;grid-template-columns:1fr 1fr 45px;gap:0 16px}.password-field .password-strength[data-v-a25e45eb]{grid-column:2/span 2;justify-self:end;display:flex;align-items:center;gap:8px}.password-field .password-strength__step[data-v-a25e45eb]{width:40px;height:5px;border-radius:5px;background:#c8cfd9}.password-field .password-strength__strengthness[data-v-a25e45eb]{color:#5e6c84;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400}.password-field .password-strength .filled-strength[data-v-a25e45eb]{background:#54c590}.password-field[data-v-a25e45eb] input{grid-column:1/span 2;grid-row:2}.password-field button[data-v-a25e45eb]{height:45px;width:45px;justify-content:center;display:flex}.send[data-v-a25e45eb]{display:block;margin:16px auto 0}@media screen and (max-width:576px){.password-field[data-v-a25e45eb]{display:grid;grid-template-columns:1fr 1fr 45px;grid-column:unset}.password-field[data-v-a25e45eb] .password{grid-row:unset}.password-field .password-strength[data-v-a25e45eb]{grid-column:unset;grid-row:3/span 2;justify-self:start;margin-top:8px}}", se = /* @__PURE__ */ z(ee, [["styles", [te, ae]], ["__scopeId", "data-v-a25e45eb"]]);
|
|
150
|
+
m.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/en.json": D, "./locales/es.json": T, "./locales/fr.json": A }));
|
|
151
|
+
const _ = N(se, {
|
|
152
|
+
configureApp(r) {
|
|
153
|
+
m.changeLanguage(document?.documentElement?.lang || navigator.language), r.use(m);
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
_.prototype.normalizeProps = (r) => ({
|
|
157
|
+
titleLevel: q(r.titleLevel)
|
|
158
|
+
});
|
|
159
|
+
window.customElements.define("generate-mdp", _);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as t } from "../image-quiz.ce-
|
|
2
|
-
import "../_plugin-vue_export-helper-
|
|
1
|
+
import { n as t } from "../image-quiz.ce-BaKLPvSS.js";
|
|
2
|
+
import "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
3
3
|
import "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import "../i18n-lite-
|
|
4
|
+
import "../i18n-lite-X2ADNonj.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-BaKLPvSS.js";
|
|
2
|
+
import { a as q, r as E, w as h, o as l, c as y, e as I, f as k, m as B, F as Q, d as C } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
3
|
+
import { i as n } from "../i18n-lite-X2ADNonj.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 { a as c, o as t, c as s, b as e, x as n, F as r, e as m, D as i, _ as p, d as g } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-DBorHEa1.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-Dh5hLXcx.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 { a as c, L as m, M as i, o as e, c as t, F as p, e as d, f, _ as g, d as u } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-DBorHEa1.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-Dh5hLXcx.js";
|
|
4
4
|
const x = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -18,12 +18,12 @@ const x = {
|
|
|
18
18
|
}
|
|
19
19
|
return i(async () => {
|
|
20
20
|
a.messages, r();
|
|
21
|
-
}), (
|
|
21
|
+
}), (b, w) => (e(), t("div", x, [
|
|
22
22
|
(e(!0), t(p, null, d(s.messages, (l, n) => (e(), f(h, {
|
|
23
23
|
key: n,
|
|
24
24
|
message: l
|
|
25
25
|
}, null, 8, ["message"]))), 128))
|
|
26
26
|
]));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
window.customElements.define("llm-messages", u(
|
|
28
|
+
}), v = "*{box-sizing:border-box}:host{height:100%;overflow:auto;scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){:host{scroll-behavior:auto}}.llm-messages{display:flex;flex-direction:column;gap:29px;padding:24px}", y = /* @__PURE__ */ g(L, [["styles", [v]]]);
|
|
29
|
+
window.customElements.define("llm-messages", u(y));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as h, r as c, K as y, o as d, c as m, D as w, b as a, A as k, F as b, e as L, x as S, _ as C, d as P } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
2
|
import { b as N } from "../normalize-props-DH0oPBss.js";
|
|
3
3
|
import "./llm-messages.ce.js.js";
|
|
4
|
-
const
|
|
4
|
+
const M = { class: "prompt-select" }, A = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ h({
|
|
5
5
|
__name: "LLMPromptSelect.ce",
|
|
6
6
|
props: {
|
|
7
7
|
messages: { type: Array },
|
|
@@ -48,23 +48,23 @@ const B = { class: "prompt-select" }, M = { class: "prompt-select__options" }, E
|
|
|
48
48
|
const p = y("llm-messages");
|
|
49
49
|
return d(), m(b, null, [
|
|
50
50
|
w(p, { messages: s.value }, null, 8, ["messages"]),
|
|
51
|
-
a("div",
|
|
51
|
+
a("div", M, [
|
|
52
52
|
t[0] || (t[0] = a("p", { class: "prompt-select__label" }, [
|
|
53
53
|
k(" Sélectionner un des prompts "),
|
|
54
54
|
a("span", { class: "sr-only" }, " une fois sélectionnés, les prompts ne sont plus disponibles. ")
|
|
55
55
|
], -1)),
|
|
56
|
-
a("div",
|
|
56
|
+
a("div", A, [
|
|
57
57
|
(d(!0), m(b, null, L(u.value, (n, i) => (d(), m("button", {
|
|
58
58
|
key: i,
|
|
59
59
|
disabled: n.disabled || l.value,
|
|
60
60
|
onClick: (f) => v(n)
|
|
61
|
-
}, S(n.prompt), 9,
|
|
61
|
+
}, S(n.prompt), 9, B))), 128))
|
|
62
62
|
])
|
|
63
63
|
])
|
|
64
64
|
], 64);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}),
|
|
67
|
+
}), V = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}llm-messages{display:block;height:400px}.prompt-select{font-family:Roboto,sans-serif;border-top:solid 1px #253858;padding:16px 24px 24px}.prompt-select__label{margin-top:0;font-weight:700;color:#253858}.prompt-select__options{display:flex;gap:1rem;justify-content:left;flex-wrap:wrap}.prompt-select__options>button{padding:1rem 1.5rem;border:none;background:#cec3f4;border-radius:16px;border:1px solid #ffffff;color:#130261;font-size:.875rem;box-shadow:0 4px 12px -4px #957ee833}.prompt-select__options>button:hover:not(:disabled){background:#9a8dc7;color:#fff;cursor:pointer}.prompt-select__options>button:disabled{cursor:not-allowed;color:#1010104d}", z = /* @__PURE__ */ C(E, [["styles", [V]]]), _ = P(z);
|
|
68
68
|
_.prototype.normalizeProps = (r) => ({
|
|
69
69
|
...r,
|
|
70
70
|
speed: N(r.speed)
|
|
@@ -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 { F as X } from "../Feedback.ce-
|
|
5
|
-
import { _ as
|
|
1
|
+
import { a as j, h as L, o as n, c as d, t as G, b as s, y as h, f, x as g, D as b, E as v, l as _, n as N, _ as A, r as D, K as O, F as M, e as q, A as K, g as T, d as H } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { a as J, i as U, b as Q } from "../i18n-C0iMUvqX.js";
|
|
3
|
+
import { B as W } from "../Button.ce-C-lBihdF.js";
|
|
4
|
+
import { F as X } from "../Feedback.ce-CeyQhenY.js";
|
|
5
|
+
import { _ as S, a as Z } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
6
6
|
import { s as F } from "../shuffled-B8VGTceh.js";
|
|
7
|
-
import { B as I } from "../ButtonTooltip.ce-
|
|
7
|
+
import { B as I } from "../ButtonTooltip.ce-B071jWM0.js";
|
|
8
8
|
const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
9
|
-
"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: "
|
|
9
|
+
"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: "Votre 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." } }
|
|
10
10
|
}, 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 = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "card-right"
|
|
@@ -25,10 +25,10 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
25
25
|
o.dataTransfer.setDragImage(u.value, 30, 30), c("dragstart", o);
|
|
26
26
|
}
|
|
27
27
|
async function m() {
|
|
28
|
-
c("move-up"), await
|
|
28
|
+
c("move-up"), await N(), r.value.button.focus();
|
|
29
29
|
}
|
|
30
30
|
return (o, i) => (n(), d("div", {
|
|
31
|
-
class:
|
|
31
|
+
class: G(["card", { [t.state]: !0 }]),
|
|
32
32
|
ref: "card"
|
|
33
33
|
}, [
|
|
34
34
|
s("div", C0, [
|
|
@@ -44,12 +44,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
44
44
|
}, ["prevent"])),
|
|
45
45
|
onDragover: i[2] || (i[2] = h(() => {
|
|
46
46
|
}, ["prevent"]))
|
|
47
|
-
}, null, 40, g0)) : t.state === "correct" ? (n(), f(
|
|
47
|
+
}, null, 40, g0)) : t.state === "correct" ? (n(), f(S, {
|
|
48
48
|
key: 1,
|
|
49
49
|
alt: o.$t("mdp-classement.correct"),
|
|
50
50
|
color: "#007740",
|
|
51
51
|
class: "icon"
|
|
52
|
-
}, null, 8, ["alt"])) : (n(), f(
|
|
52
|
+
}, null, 8, ["alt"])) : (n(), f(Z, {
|
|
53
53
|
key: 2,
|
|
54
54
|
alt: o.$t("mdp-classement.incorrect"),
|
|
55
55
|
color: "#a94b0c",
|
|
@@ -94,7 +94,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
94
94
|
])) : _("", !0)
|
|
95
95
|
], 2));
|
|
96
96
|
}
|
|
97
|
-
}), 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__ */
|
|
97
|
+
}), 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__ */ A(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]), h0 = { class: "wrapper" }, x0 = { class: "sr-only" }, y0 = { class: "ranking-container" }, D0 = { class: "strongness-bar__container" }, k0 = ["onDrop"], $0 = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "validate-container"
|
|
100
100
|
}, B0 = {
|
|
@@ -145,12 +145,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
145
145
|
s("p", null, g(e.$t("mdp-classement.weak")), 1)
|
|
146
146
|
]),
|
|
147
147
|
s("ul", null, [
|
|
148
|
-
(n(!0), d(M, null, q(m.value, ({ password: B, isFirst: P, isLast: R, state:
|
|
148
|
+
(n(!0), d(M, null, q(m.value, ({ password: B, isFirst: P, isLast: R, state: V }, C) => (n(), d("li", { key: B }, [
|
|
149
149
|
b(_0, {
|
|
150
150
|
password: B,
|
|
151
151
|
"is-up-disabled": P,
|
|
152
152
|
"is-down-disabled": R,
|
|
153
|
-
state:
|
|
153
|
+
state: V,
|
|
154
154
|
onMoveUp: (l) => k(C, C - 1),
|
|
155
155
|
onMoveDown: (l) => k(C, C + 1),
|
|
156
156
|
onDragstart: (l) => z(l, C),
|
|
@@ -187,10 +187,10 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
187
187
|
title: o.value ? e.$t("mdp-classement.feedback.positiveTitle") : e.$t("mdp-classement.feedback.negativeTitle")
|
|
188
188
|
}, {
|
|
189
189
|
icon: v(() => [
|
|
190
|
-
o.value ? (n(), f(
|
|
190
|
+
o.value ? (n(), f(S, {
|
|
191
191
|
key: 0,
|
|
192
192
|
class: "icon-size"
|
|
193
|
-
})) : (n(), f(
|
|
193
|
+
})) : (n(), f(Z, {
|
|
194
194
|
key: 1,
|
|
195
195
|
class: "icon-size"
|
|
196
196
|
}))
|
|
@@ -211,7 +211,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
211
211
|
], 64);
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
}), M0 = "[data-v-65c2c799]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.sr-only[data-v-65c2c799]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.strongness-bar__container[data-v-65c2c799]{display:flex;flex-direction:column;align-items:center;gap:8px}.strongness-bar__container p[data-v-65c2c799]{font-family:Roboto,sans-serif;font-size:14px;font-weight:700}.strongness-bar__container .strongness-bar[data-v-65c2c799]{width:10px;height:calc(100% - 48px);border-radius:16px;background:linear-gradient(180deg,#2b7fff,#00b8db)}.wrapper[data-v-65c2c799]{background:#eaf1ff;border-radius:8px;padding:24px}.wrapper .draggable-card[data-v-65c2c799]{border:solid 2px #f0f}.icon-size[data-v-65c2c799]{width:16px;height:16px}.ranking-container[data-v-65c2c799]{display:flex}.ranking-container ul[data-v-65c2c799]{width:100%;display:flex;flex-direction:column;gap:12px}.ranking-container li[data-v-65c2c799]{position:relative;list-style-type:none}.ranking-container .drop-down[data-v-65c2c799]{border:dashed 1px #2b7fff;top:0;height:calc(100% + 10px);position:absolute;width:100%;opacity:.5;z-index:90}.validate-container[data-v-65c2c799]{width:100%;display:flex;justify-content:center;margin:24px 0 8px}.validate-container .validate[data-v-65c2c799]{font-size:14px;font-weight:700}.feedback div[data-v-65c2c799]{margin:24px 0 8px}@media screen and (max-width:768px){.wrapper[data-v-65c2c799]{padding:12px}ul[data-v-65c2c799]{padding-left:8px}}", T0 = /* @__PURE__ */
|
|
214
|
+
}), M0 = "[data-v-65c2c799]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.sr-only[data-v-65c2c799]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.strongness-bar__container[data-v-65c2c799]{display:flex;flex-direction:column;align-items:center;gap:8px}.strongness-bar__container p[data-v-65c2c799]{font-family:Roboto,sans-serif;font-size:14px;font-weight:700}.strongness-bar__container .strongness-bar[data-v-65c2c799]{width:10px;height:calc(100% - 48px);border-radius:16px;background:linear-gradient(180deg,#2b7fff,#00b8db)}.wrapper[data-v-65c2c799]{background:#eaf1ff;border-radius:8px;padding:24px}.wrapper .draggable-card[data-v-65c2c799]{border:solid 2px #f0f}.icon-size[data-v-65c2c799]{width:16px;height:16px}.ranking-container[data-v-65c2c799]{display:flex}.ranking-container ul[data-v-65c2c799]{width:100%;display:flex;flex-direction:column;gap:12px}.ranking-container li[data-v-65c2c799]{position:relative;list-style-type:none}.ranking-container .drop-down[data-v-65c2c799]{border:dashed 1px #2b7fff;top:0;height:calc(100% + 10px);position:absolute;width:100%;opacity:.5;z-index:90}.validate-container[data-v-65c2c799]{width:100%;display:flex;justify-content:center;margin:24px 0 8px}.validate-container .validate[data-v-65c2c799]{font-size:14px;font-weight:700}.feedback div[data-v-65c2c799]{margin:24px 0 8px}@media screen and (max-width:768px){.wrapper[data-v-65c2c799]{padding:12px}ul[data-v-65c2c799]{padding-left:8px}}", T0 = /* @__PURE__ */ A(L0, [["styles", [M0]], ["__scopeId", "data-v-65c2c799"]]);
|
|
215
215
|
J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": e0, "./locales/es-419.json": a0, "./locales/es.json": t0, "./locales/fr-BE.json": s0, "./locales/fr.json": n0, "./locales/it.json": o0, "./locales/nl.json": r0 })).catch((t) => console.error(t));
|
|
216
216
|
window.customElements.define("mdp-classement", H(T0, {
|
|
217
217
|
configureApp(t) {
|