@1024pix/epreuves-components 4.5.0 → 4.6.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-DNrjLa1r.js → Button.ce-Ccv3OLk2.js} +1 -1
- package/dist/{ButtonTooltip.ce-DQ8QAvUM.js → ButtonTooltip.ce-Bo42SFAP.js} +1 -1
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
- package/dist/{FocusManager.ce-CwF5pnqR.js → FocusManager.ce-BG_n76ZF.js} +2 -2
- package/dist/Icon.ce-Be0LymfA.js +50 -0
- package/dist/{LLMMessage.ce-Duki08xd.js → LLMMessage.ce-y0WmEj7m.js} +24 -22
- package/dist/{Loading.ce-D7CUjrcI.js → Loading.ce-CG-e7tdE.js} +1 -1
- package/dist/Modal.ce-DCTwYJKJ.js +86 -0
- package/dist/{NavigationButton.ce-17UL0Mwu.js → NavigationButton.ce-B-c0m9H8.js} +14 -12
- package/dist/{PixMailMessage.ce-CNULZecQ.js → PixMailMessage.ce-CH6CVQ3H.js} +20 -20
- package/dist/{Popin.ce-VvQiVxjk.js → Popin.ce-CQtpIOkM.js} +3 -3
- package/dist/{Retry-CGkQcck5.js → Retry-DLOo5neI.js} +1 -1
- package/dist/{Stepper.ce-gx2YaVCo.js → Stepper.ce-MmSadTrx.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DROOAHrz.js → _plugin-vue_export-helper-CD1RUA2y.js} +12 -12
- package/dist/components/analyse-mails-phishing.ce.js.js +104 -105
- 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 +13 -13
- package/dist/components/capacity-calculation.ce.js.js +38 -35
- package/dist/components/clickable-image.ce.js.js +10 -10
- package/dist/components/complete-phrase.ce.js.js +12 -12
- package/dist/components/flip-cards.ce.js.js +10 -10
- package/dist/components/generate-mdp.ce.js.js +82 -151
- 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 +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/mdp-classement.ce.js.js +100 -108
- package/dist/components/message-conversation.ce.js.js +19 -19
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +139 -149
- package/dist/components/phishing-message.ce.js.js +23 -23
- package/dist/components/phishing-notification.ce.js.js +18 -18
- package/dist/components/pix-anonymisation.ce.js.js +9 -9
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +10 -8
- package/dist/components/pix-combinaisons.ce.js.js +13 -13
- package/dist/components/pix-cursor.ce.js.js +13 -13
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +70 -82
- package/dist/components/qcm-deepfake.ce.js.js +23 -23
- package/dist/components/quiz-stepper.ce.js.js +61 -68
- package/dist/components/select-conversation.ce.js.js +4 -4
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +4 -4
- package/dist/components/trouver-mdp-rs.ce.js.js +52 -66
- package/dist/components/usages-donnees.ce.js.js +7 -7
- package/dist/{i18n-BVfGnSnP.js → i18n-C-1Ne5JG.js} +1 -1
- package/dist/{i18n-lite-V7Z5qwB2.js → i18n-lite-WQsHAHqG.js} +1 -1
- package/dist/{image-quiz.ce-DLpB-rde.js → image-quiz.ce-DGVVVaQN.js} +8 -8
- package/dist/{index-BgVc_wZ5.js → index-C8-9QxHJ.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +29 -25
- package/dist/props.examples.js +115 -113
- package/dist/schema.js +55 -53
- package/dist/{shadow-dom-4LHwwhYa.js → shadow-dom-DSLDIcsa.js} +1 -1
- package/package.json +1 -1
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js +0 -53
- package/dist/Feedback.ce-MqHV98f3.js +0 -26
- package/dist/Icon.ce-O_y_jvjK.js +0 -50
- package/dist/components/feedback.ce.js.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b, K as z, o, c as d, F as k, a as t, x as a, v as j, y as N,
|
|
2
|
-
import { u as
|
|
1
|
+
import { b, K as z, o, c as d, F as k, a as t, x as a, v as j, y as N, C as S, X as F, e as y, D as A, l as h, g as u, _ as w, h as _, A as Q, f as C, m as L, J as O, r as x, n as J, d as U } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as B, a as G, i as M, b as K } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { b as W } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
5
5
|
"phishing-message": { messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}", readMore: "lire la suite", message1: { senderName: "Info ANTAI", content: "{{ boldContent1 }}: amende impayée de 35€. Consultez votre dossier ANTAI avant {{ boldContent2 }} via : {{ linkContent }}", boldContent1: "Retard de paiement", boldContent2: "majoration", linkContent: "dossier-amende-gouv.antai", victory: "Effectivement, avec ce message, l’escroc veut que le lecteur ressente de la peur et un sentiment d’urgence.", loose: "Eh non ! Avec ce message, l’escroc veut que vous ressentiez de la peur et un sentiment d’urgence." }, message2: { senderName: "IMPOT", content: `IMPORTANT : Vous avez un remboursement disponible de 826€.
|
|
@@ -18,7 +18,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["open-message"],
|
|
20
20
|
setup(e) {
|
|
21
|
-
const { i18next: g } =
|
|
21
|
+
const { i18next: g } = B(), r = u(() => new Intl.DateTimeFormat(g.language, { timeStyle: "short" }).format());
|
|
22
22
|
return (i, n) => {
|
|
23
23
|
const l = z("i18next");
|
|
24
24
|
return o(), d(k, null, [
|
|
@@ -49,7 +49,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
49
49
|
S(l, { translation: e.content }, F({ _: 2 }, [
|
|
50
50
|
y(e.contentParts, (c) => ({
|
|
51
51
|
name: c.name,
|
|
52
|
-
fn:
|
|
52
|
+
fn: A(() => [
|
|
53
53
|
c.type === "bold" ? (o(), d("strong", ge, a(c.content), 1)) : h("", !0),
|
|
54
54
|
c.type === "link" ? (o(), d("span", ue, a(c.content), 1)) : h("", !0)
|
|
55
55
|
])
|
|
@@ -100,7 +100,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
100
100
|
S(i, { translation: e.content }, F({ _: 2 }, [
|
|
101
101
|
y(e.contentParts, (n) => ({
|
|
102
102
|
name: n.name,
|
|
103
|
-
fn:
|
|
103
|
+
fn: A(() => [
|
|
104
104
|
n.type === "bold" ? (o(), d("strong", $e, a(n.content), 1)) : h("", !0),
|
|
105
105
|
n.type === "link" ? (o(), d("a", {
|
|
106
106
|
key: 1,
|
|
@@ -117,7 +117,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
117
117
|
], 64);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}), Me = ".header[data-v-ab3c2b54]{display:flex;align-items:center;padding:24px 16px 16px;border-radius:32px 32px 0 0;gap:8px;background:#fff;margin:10px 10px 0}.header__sender-name[data-v-ab3c2b54]{color:#122647;font-size:14px;font-weight:700}.card-wrapper[data-v-ab3c2b54]{padding:16px;border-radius:8px;background:#fff;text-align:left}.card-wrapper strong[data-v-ab3c2b54]{font-weight:bolder}.card-wrapper p[data-v-ab3c2b54]{color:#122647;font-size:.875rem;line-height:1.25rem}.card-wrapper .title[data-v-ab3c2b54]{font-weight:700}main[data-v-ab3c2b54]{padding:16px 21px}", ze = /* @__PURE__ */ w(Le, [["styles", [Me]], ["__scopeId", "data-v-ab3c2b54"]]), je = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23613FDD'/%3e%3cpath%20d='M28.1083%2025L21.4416%2013.3333C21.2962%2013.0768%2021.0854%2012.8635%2020.8307%2012.715C20.576%2012.5666%2020.2864%2012.4884%2019.9916%2012.4884C19.6968%2012.4884%2019.4072%2012.5666%2019.1525%2012.715C18.8978%2012.8635%2018.687%2013.0768%2018.5416%2013.3333L11.8749%2025C11.728%2025.2544%2011.651%2025.5432%2011.6516%2025.8371C11.6523%2026.1309%2011.7306%2026.4194%2011.8786%2026.6732C12.0267%2026.927%2012.2392%2027.1371%2012.4947%2027.2823C12.7501%2027.4275%2013.0394%2027.5026%2013.3333%2027.5H26.6666C26.959%2027.4997%2027.2462%2027.4225%2027.4993%2027.2761C27.7525%2027.1297%2027.9626%2026.9192%2028.1087%2026.6659C28.2548%2026.4126%2028.3316%2026.1253%2028.3316%2025.8329C28.3315%2025.5405%2028.2545%2025.2532%2028.1083%2025Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20%2017.5V20.8333'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20%2024.1667H20.0083'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ne = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23FFCB33'/%3e%3cpath%20d='M13.3334%2021.6667C13.1757%2021.6672%2013.0211%2021.623%2012.8875%2021.5391C12.7539%2021.4553%2012.6469%2021.3353%2012.5788%2021.193C12.5108%2021.0508%2012.4844%2020.8921%2012.503%2020.7355C12.5215%2020.5789%2012.584%2020.4308%2012.6834%2020.3083L20.9334%2011.8083C20.9953%2011.7369%2021.0796%2011.6886%2021.1725%2011.6714C21.2655%2011.6543%2021.3615%2011.6692%2021.4448%2011.7137C21.5281%2011.7583%2021.5939%2011.8299%2021.6311%2011.9168C21.6684%2012.0036%2021.6751%2012.1005%2021.65%2012.1917L20.05%2017.2083C20.0029%2017.3346%2019.987%2017.4704%2020.0039%2017.6042C20.0207%2017.7379%2020.0698%2017.8656%2020.1468%2017.9762C20.2238%2018.0868%2020.3265%2018.1771%2020.4461%2018.2393C20.5657%2018.3015%2020.6986%2018.3338%2020.8334%2018.3333H26.6667C26.8244%2018.3328%2026.979%2018.377%2027.1126%2018.4608C27.2461%2018.5447%2027.3532%2018.6647%2027.4212%2018.8069C27.4893%2018.9492%2027.5156%2019.1078%2027.4971%2019.2644C27.4786%2019.4211%2027.4161%2019.5692%2027.3167%2019.6917L19.0667%2028.1917C19.0048%2028.2631%2018.9205%2028.3114%2018.8275%2028.3285C18.7346%2028.3457%2018.6386%2028.3308%2018.5553%2028.2862C18.4719%2028.2417%2018.4062%2028.1701%2018.3689%2028.0832C18.3316%2027.9964%2018.325%2027.8995%2018.35%2027.8083L19.95%2022.7917C19.9972%2022.6654%2020.0131%2022.5296%2019.9962%2022.3958C19.9794%2022.2621%2019.9303%2022.1344%2019.8533%2022.0238C19.7763%2021.9132%2019.6736%2021.8229%2019.554%2021.7607C19.4344%2021.6985%2019.3015%2021.6662%2019.1667%2021.6667H13.3334Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Se = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23D73328'/%3e%3cpath%20d='M20%2012.5C20.5555%2014.7222%2021.6666%2016.5278%2023.3333%2017.9167C25%2019.3056%2025.8333%2020.8333%2025.8333%2022.5C25.8333%2024.0471%2025.2187%2025.5308%2024.1247%2026.6248C23.0308%2027.7188%2021.5471%2028.3333%2020%2028.3333C18.4529%2028.3333%2016.9691%2027.7188%2015.8752%2026.6248C14.7812%2025.5308%2014.1666%2024.0471%2014.1666%2022.5C14.1666%2021.5985%2014.459%2020.7212%2015%2020C15%2020.5525%2015.2195%2021.0824%2015.6102%2021.4731C16.0009%2021.8638%2016.5308%2022.0833%2017.0833%2022.0833C17.6358%2022.0833%2018.1657%2021.8638%2018.5564%2021.4731C18.9471%2021.0824%2019.1666%2020.5525%2019.1666%2020C19.1666%2018.3333%2017.9166%2017.5%2017.9166%2015.8333C17.9166%2014.7222%2018.6111%2013.6111%2020%2012.5Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Fe = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%2300A85A'/%3e%3cg%20clip-path='url(%23clip0_1162_2180)'%3e%3cpath%20d='M19.1808%2012.345C19.2165%2012.1538%2019.318%2011.9812%2019.4676%2011.8569C19.6172%2011.7327%2019.8055%2011.6647%2020%2011.6647C20.1945%2011.6647%2020.3828%2011.7327%2020.5324%2011.8569C20.682%2011.9812%2020.7835%2012.1538%2020.8192%2012.345L21.695%2016.9767C21.7572%2017.306%2021.9172%2017.6088%2022.1542%2017.8458C22.3912%2018.0828%2022.694%2018.2428%2023.0233%2018.305L27.655%2019.1808C27.8462%2019.2165%2028.0188%2019.318%2028.1431%2019.4676C28.2673%2019.6172%2028.3353%2019.8055%2028.3353%2020C28.3353%2020.1945%2028.2673%2020.3828%2028.1431%2020.5324C28.0188%2020.682%2027.8462%2020.7835%2027.655%2020.8192L23.0233%2021.695C22.694%2021.7572%2022.3912%2021.9172%2022.1542%2022.1542C21.9172%2022.3912%2021.7572%2022.694%2021.695%2023.0233L20.8192%2027.655C20.7835%2027.8462%2020.682%2028.0188%2020.5324%2028.1431C20.3828%2028.2673%2020.1945%2028.3353%2020%2028.3353C19.8055%2028.3353%2019.6172%2028.2673%2019.4676%2028.1431C19.318%2028.0188%2019.2165%2027.8462%2019.1808%2027.655L18.305%2023.0233C18.2428%2022.694%2018.0828%2022.3912%2017.8458%2022.1542C17.6088%2021.9172%2017.306%2021.7572%2016.9767%2021.695L12.345%2020.8192C12.1538%2020.7835%2011.9812%2020.682%2011.8569%2020.5324C11.7327%2020.3828%2011.6647%2020.1945%2011.6647%2020C11.6647%2019.8055%2011.7327%2019.6172%2011.8569%2019.4676C11.9812%2019.318%2012.1538%2019.2165%2012.345%2019.1808L16.9767%2018.305C17.306%2018.2428%2017.6088%2018.0828%2017.8458%2017.8458C18.0828%2017.6088%2018.2428%2017.306%2018.305%2016.9767L19.1808%2012.345Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.6666%2011.6667V15'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.3333%2013.3333H25'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.3333%2028.3333C14.2538%2028.3333%2015%2027.5871%2015%2026.6667C15%2025.7462%2014.2538%2025%2013.3333%2025C12.4128%2025%2011.6666%2025.7462%2011.6666%2026.6667C11.6666%2027.5871%2012.4128%2028.3333%2013.3333%2028.3333Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1162_2180'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(10%2010)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",
|
|
120
|
+
}), Me = ".header[data-v-ab3c2b54]{display:flex;align-items:center;padding:24px 16px 16px;border-radius:32px 32px 0 0;gap:8px;background:#fff;margin:10px 10px 0}.header__sender-name[data-v-ab3c2b54]{color:#122647;font-size:14px;font-weight:700}.card-wrapper[data-v-ab3c2b54]{padding:16px;border-radius:8px;background:#fff;text-align:left}.card-wrapper strong[data-v-ab3c2b54]{font-weight:bolder}.card-wrapper p[data-v-ab3c2b54]{color:#122647;font-size:.875rem;line-height:1.25rem}.card-wrapper .title[data-v-ab3c2b54]{font-weight:700}main[data-v-ab3c2b54]{padding:16px 21px}", ze = /* @__PURE__ */ w(Le, [["styles", [Me]], ["__scopeId", "data-v-ab3c2b54"]]), je = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23613FDD'/%3e%3cpath%20d='M28.1083%2025L21.4416%2013.3333C21.2962%2013.0768%2021.0854%2012.8635%2020.8307%2012.715C20.576%2012.5666%2020.2864%2012.4884%2019.9916%2012.4884C19.6968%2012.4884%2019.4072%2012.5666%2019.1525%2012.715C18.8978%2012.8635%2018.687%2013.0768%2018.5416%2013.3333L11.8749%2025C11.728%2025.2544%2011.651%2025.5432%2011.6516%2025.8371C11.6523%2026.1309%2011.7306%2026.4194%2011.8786%2026.6732C12.0267%2026.927%2012.2392%2027.1371%2012.4947%2027.2823C12.7501%2027.4275%2013.0394%2027.5026%2013.3333%2027.5H26.6666C26.959%2027.4997%2027.2462%2027.4225%2027.4993%2027.2761C27.7525%2027.1297%2027.9626%2026.9192%2028.1087%2026.6659C28.2548%2026.4126%2028.3316%2026.1253%2028.3316%2025.8329C28.3315%2025.5405%2028.2545%2025.2532%2028.1083%2025Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20%2017.5V20.8333'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20%2024.1667H20.0083'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ne = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23FFCB33'/%3e%3cpath%20d='M13.3334%2021.6667C13.1757%2021.6672%2013.0211%2021.623%2012.8875%2021.5391C12.7539%2021.4553%2012.6469%2021.3353%2012.5788%2021.193C12.5108%2021.0508%2012.4844%2020.8921%2012.503%2020.7355C12.5215%2020.5789%2012.584%2020.4308%2012.6834%2020.3083L20.9334%2011.8083C20.9953%2011.7369%2021.0796%2011.6886%2021.1725%2011.6714C21.2655%2011.6543%2021.3615%2011.6692%2021.4448%2011.7137C21.5281%2011.7583%2021.5939%2011.8299%2021.6311%2011.9168C21.6684%2012.0036%2021.6751%2012.1005%2021.65%2012.1917L20.05%2017.2083C20.0029%2017.3346%2019.987%2017.4704%2020.0039%2017.6042C20.0207%2017.7379%2020.0698%2017.8656%2020.1468%2017.9762C20.2238%2018.0868%2020.3265%2018.1771%2020.4461%2018.2393C20.5657%2018.3015%2020.6986%2018.3338%2020.8334%2018.3333H26.6667C26.8244%2018.3328%2026.979%2018.377%2027.1126%2018.4608C27.2461%2018.5447%2027.3532%2018.6647%2027.4212%2018.8069C27.4893%2018.9492%2027.5156%2019.1078%2027.4971%2019.2644C27.4786%2019.4211%2027.4161%2019.5692%2027.3167%2019.6917L19.0667%2028.1917C19.0048%2028.2631%2018.9205%2028.3114%2018.8275%2028.3285C18.7346%2028.3457%2018.6386%2028.3308%2018.5553%2028.2862C18.4719%2028.2417%2018.4062%2028.1701%2018.3689%2028.0832C18.3316%2027.9964%2018.325%2027.8995%2018.35%2027.8083L19.95%2022.7917C19.9972%2022.6654%2020.0131%2022.5296%2019.9962%2022.3958C19.9794%2022.2621%2019.9303%2022.1344%2019.8533%2022.0238C19.7763%2021.9132%2019.6736%2021.8229%2019.554%2021.7607C19.4344%2021.6985%2019.3015%2021.6662%2019.1667%2021.6667H13.3334Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Se = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%23D73328'/%3e%3cpath%20d='M20%2012.5C20.5555%2014.7222%2021.6666%2016.5278%2023.3333%2017.9167C25%2019.3056%2025.8333%2020.8333%2025.8333%2022.5C25.8333%2024.0471%2025.2187%2025.5308%2024.1247%2026.6248C23.0308%2027.7188%2021.5471%2028.3333%2020%2028.3333C18.4529%2028.3333%2016.9691%2027.7188%2015.8752%2026.6248C14.7812%2025.5308%2014.1666%2024.0471%2014.1666%2022.5C14.1666%2021.5985%2014.459%2020.7212%2015%2020C15%2020.5525%2015.2195%2021.0824%2015.6102%2021.4731C16.0009%2021.8638%2016.5308%2022.0833%2017.0833%2022.0833C17.6358%2022.0833%2018.1657%2021.8638%2018.5564%2021.4731C18.9471%2021.0824%2019.1666%2020.5525%2019.1666%2020C19.1666%2018.3333%2017.9166%2017.5%2017.9166%2015.8333C17.9166%2014.7222%2018.6111%2013.6111%2020%2012.5Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Fe = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%2300A85A'/%3e%3cg%20clip-path='url(%23clip0_1162_2180)'%3e%3cpath%20d='M19.1808%2012.345C19.2165%2012.1538%2019.318%2011.9812%2019.4676%2011.8569C19.6172%2011.7327%2019.8055%2011.6647%2020%2011.6647C20.1945%2011.6647%2020.3828%2011.7327%2020.5324%2011.8569C20.682%2011.9812%2020.7835%2012.1538%2020.8192%2012.345L21.695%2016.9767C21.7572%2017.306%2021.9172%2017.6088%2022.1542%2017.8458C22.3912%2018.0828%2022.694%2018.2428%2023.0233%2018.305L27.655%2019.1808C27.8462%2019.2165%2028.0188%2019.318%2028.1431%2019.4676C28.2673%2019.6172%2028.3353%2019.8055%2028.3353%2020C28.3353%2020.1945%2028.2673%2020.3828%2028.1431%2020.5324C28.0188%2020.682%2027.8462%2020.7835%2027.655%2020.8192L23.0233%2021.695C22.694%2021.7572%2022.3912%2021.9172%2022.1542%2022.1542C21.9172%2022.3912%2021.7572%2022.694%2021.695%2023.0233L20.8192%2027.655C20.7835%2027.8462%2020.682%2028.0188%2020.5324%2028.1431C20.3828%2028.2673%2020.1945%2028.3353%2020%2028.3353C19.8055%2028.3353%2019.6172%2028.2673%2019.4676%2028.1431C19.318%2028.0188%2019.2165%2027.8462%2019.1808%2027.655L18.305%2023.0233C18.2428%2022.694%2018.0828%2022.3912%2017.8458%2022.1542C17.6088%2021.9172%2017.306%2021.7572%2016.9767%2021.695L12.345%2020.8192C12.1538%2020.7835%2011.9812%2020.682%2011.8569%2020.5324C11.7327%2020.3828%2011.6647%2020.1945%2011.6647%2020C11.6647%2019.8055%2011.7327%2019.6172%2011.8569%2019.4676C11.9812%2019.318%2012.1538%2019.2165%2012.345%2019.1808L16.9767%2018.305C17.306%2018.2428%2017.6088%2018.0828%2017.8458%2017.8458C18.0828%2017.6088%2018.2428%2017.306%2018.305%2016.9767L19.1808%2012.345Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.6666%2011.6667V15'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.3333%2013.3333H25'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.3333%2028.3333C14.2538%2028.3333%2015%2027.5871%2015%2026.6667C15%2025.7462%2014.2538%2025%2013.3333%2025C12.4128%2025%2011.6666%2025.7462%2011.6666%2026.6667C11.6666%2027.5871%2012.4128%2028.3333%2013.3333%2028.3333Z'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1162_2180'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(10%2010)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ae = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2010C0%204.47715%204.47715%200%2010%200H30C35.5228%200%2040%204.47715%2040%2010V30C40%2035.5228%2035.5228%2040%2030%2040H10C4.47715%2040%200%2035.5228%200%2030V10Z'%20fill='%235E6C84'/%3e%3cpath%20d='M14.1667%2020H25.8334'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Be = { class: "card-wrapper" }, He = ["aria-level"], Ve = ["onClick"], Re = ["src"], Te = /* @__PURE__ */ b({
|
|
121
121
|
__name: "FeedBackQuiz.ce",
|
|
122
122
|
props: {
|
|
123
123
|
goodFeelings: { type: Array },
|
|
@@ -148,19 +148,19 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
id: "empty",
|
|
151
|
-
icon: `${
|
|
151
|
+
icon: `${Ae}`,
|
|
152
152
|
label: "Je ne sais pas"
|
|
153
153
|
}
|
|
154
154
|
];
|
|
155
155
|
function n(l) {
|
|
156
156
|
r("sendResult", e.goodFeelings.includes(l));
|
|
157
157
|
}
|
|
158
|
-
return (l, c) => (o(), d("div",
|
|
158
|
+
return (l, c) => (o(), d("div", Be, [
|
|
159
159
|
t("div", {
|
|
160
160
|
role: "heading",
|
|
161
161
|
"aria-level": e.titleLevel ? e.titleLevel + 1 : 3,
|
|
162
162
|
class: "title"
|
|
163
|
-
}, a(l.$t("phishing-message.feedBackQuizTitle")), 9,
|
|
163
|
+
}, a(l.$t("phishing-message.feedBackQuizTitle")), 9, He),
|
|
164
164
|
t("ul", null, [
|
|
165
165
|
(o(), d(k, null, y(i, ({ icon: p, label: s, id: m }) => t("li", { key: s }, [
|
|
166
166
|
t("button", {
|
|
@@ -172,12 +172,12 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
172
172
|
alt: ""
|
|
173
173
|
}, null, 8, Re),
|
|
174
174
|
t("span", null, a(s), 1)
|
|
175
|
-
], 8,
|
|
175
|
+
], 8, Ve)
|
|
176
176
|
])), 64))
|
|
177
177
|
])
|
|
178
178
|
]));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Ie = ".card-wrapper[data-v-aed5dcf2]{padding:16px;border-radius:16px;background:#fff;box-shadow:0 25px 25px #00000040}.card-wrapper .title[data-v-aed5dcf2]{text-align:left;font-weight:700;font-family:Nunito,sans-serif;color:#122647;font-size:.875rem;margin-bottom:16px}.card-wrapper ul[data-v-aed5dcf2]{display:flex;justify-content:center;gap:8px}.card-wrapper li[data-v-aed5dcf2]{font-family:Roboto;font-size:.875rem;line-height:1.25rem;width:100px}.card-wrapper button[data-v-aed5dcf2]{display:flex;padding:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-wrap:nowrap;border:none;border-radius:8px;background:#f4f5f7;width:100%}.card-wrapper button[data-v-aed5dcf2]:hover{cursor:pointer}@media screen and (max-width:630px){.card-wrapper li[data-v-aed5dcf2]{font-size:.6rem;line-height:1rem;width:90px}.card-wrapper button[data-v-aed5dcf2]{padding:6px}.card-wrapper ul[data-v-aed5dcf2]{flex-wrap:wrap}}", Pe = /* @__PURE__ */ w(Te, [["styles", [Ie]], ["__scopeId", "data-v-aed5dcf2"]]), Ee = /* @__PURE__ */ b({
|
|
181
181
|
__name: "PopInResult.ce",
|
|
182
182
|
props: {
|
|
183
183
|
content: { type: String },
|
|
@@ -202,7 +202,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
202
202
|
}, a(i.$t("phishing-message.next")), 1))
|
|
203
203
|
], 512));
|
|
204
204
|
}
|
|
205
|
-
}), De = ".card-wrapper[data-v-69441fb3]{padding:16px;width:100%;max-width:460px;border-radius:16px;background:#eaf1ff;box-shadow:0 25px 25px #00000040}.card-wrapper button[data-v-69441fb3]{margin-top:24px;padding:8px 24px;border-radius:8px;background:#253858;color:#fff;border:none}.card-wrapper button[data-v-69441fb3]:hover{cursor:pointer;background-color:#5e6c84}", qe = /* @__PURE__ */ w(
|
|
205
|
+
}), De = ".card-wrapper[data-v-69441fb3]{padding:16px;width:100%;max-width:460px;border-radius:16px;background:#eaf1ff;box-shadow:0 25px 25px #00000040}.card-wrapper button[data-v-69441fb3]{margin-top:24px;padding:8px 24px;border-radius:8px;background:#253858;color:#fff;border:none}.card-wrapper button[data-v-69441fb3]:hover{cursor:pointer;background-color:#5e6c84}", qe = /* @__PURE__ */ w(Ee, [["styles", [De]], ["__scopeId", "data-v-69441fb3"]]), Ze = { class: "container" }, Qe = { class: "steps-wrapper" }, Oe = { class: "steps-wrapper__stepper" }, Je = { "aria-hidden": "true" }, Ue = {
|
|
206
206
|
class: "sr-only",
|
|
207
207
|
"aria-live": "polite"
|
|
208
208
|
}, Ge = { class: "grid" }, Ke = /* @__PURE__ */ b({
|
|
@@ -211,7 +211,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
211
211
|
titleLevel: { default: 2, type: Number }
|
|
212
212
|
},
|
|
213
213
|
setup(e, { expose: g }) {
|
|
214
|
-
const r = _("popInResult"), i = _("mobileShell"), n = x(!1), l = x(!1), c = x(!1), p = x(0), { t: s } =
|
|
214
|
+
const r = _("popInResult"), i = _("mobileShell"), n = x(!1), l = x(!1), c = x(!1), p = x(0), { t: s } = B(), m = u(() => [
|
|
215
215
|
{
|
|
216
216
|
senderName: s("phishing-message.message1.senderName"),
|
|
217
217
|
content: s("phishing-message.message1.content"),
|
|
@@ -244,11 +244,11 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
244
244
|
victory: s("phishing-message.message3.victory"),
|
|
245
245
|
loose: s("phishing-message.message3.loose")
|
|
246
246
|
}
|
|
247
|
-
]), v = u(() => m.value[p.value]),
|
|
247
|
+
]), v = u(() => m.value[p.value]), V = u(() => n.value && !l.value), R = u(() => n.value && l.value), T = u(() => m.value.length === p.value + 1), I = u(() => {
|
|
248
248
|
const f = c.value ? "victory" : "loose";
|
|
249
249
|
return v.value[f];
|
|
250
|
-
}),
|
|
251
|
-
async function
|
|
250
|
+
}), P = u(() => Math.floor((p.value + 1) / m.value.length * 100));
|
|
251
|
+
async function E(f) {
|
|
252
252
|
c.value = f, l.value = !0, await J(), r.value.wrapper.focus();
|
|
253
253
|
}
|
|
254
254
|
function D() {
|
|
@@ -267,7 +267,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
267
267
|
t("div", Oe, [
|
|
268
268
|
t("div", {
|
|
269
269
|
class: "steps-wrapper__effective-steps",
|
|
270
|
-
style: Q({ "--step1": `${
|
|
270
|
+
style: Q({ "--step1": `${P.value}%` })
|
|
271
271
|
}, null, 4)
|
|
272
272
|
]),
|
|
273
273
|
t("p", Je, a(p.value + 1) + "/3", 1),
|
|
@@ -285,9 +285,9 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
285
285
|
onOpenMessage: D
|
|
286
286
|
}, v.value, { "title-level": e.titleLevel }), null, 16, ["title-level"]))
|
|
287
287
|
], 512),
|
|
288
|
-
|
|
288
|
+
V.value ? (o(), C(Pe, {
|
|
289
289
|
key: 0,
|
|
290
|
-
onSendResult:
|
|
290
|
+
onSendResult: E,
|
|
291
291
|
"good-feelings": v.value.goodFeelings,
|
|
292
292
|
class: "feedback",
|
|
293
293
|
"title-level": e.titleLevel
|
|
@@ -297,7 +297,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
297
297
|
ref_key: "popInResult",
|
|
298
298
|
ref: r,
|
|
299
299
|
class: "feedback",
|
|
300
|
-
content:
|
|
300
|
+
content: I.value,
|
|
301
301
|
"is-last-step": T.value,
|
|
302
302
|
onNext: q
|
|
303
303
|
}, null, 8, ["content", "is-last-step"])) : h("", !0),
|
|
@@ -307,13 +307,13 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
307
307
|
}
|
|
308
308
|
}), We = '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}*{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.container{position:relative;text-align:center}.container .grid{display:grid;grid-template-columns:1fr 330px 1fr;grid-template-rows:auto auto;margin-top:20px;min-height:380px;margin-bottom:5px}.container .mobile-shell{grid-column:2;grid-row:1/span 2;position:relative;box-sizing:content-box;border:10px solid black;border-bottom:none;border-radius:30px 30px 0 0;background:#f4f5f7;height:inherit}.container .mobile-shell:after{content:"";position:absolute;top:-7px;left:-5px;width:85%;height:30px;border-top-left-radius:25px;border-top:.1rem solid rgba(255,255,255,.8);border-right:2px solid transparent;filter:blur(1px)}.container .mobile-shell-content{position:relative;z-index:1;grid-column:2;grid-row:1}.container .feedback{grid-column:1/span 3;grid-row:2;justify-self:center;align-self:center;position:relative;z-index:3;margin-bottom:20px}.container .h2,.container .h3{font-family:Nunito,Roboto,sans-serif;color:#122647;font-weight:700}.container .h2.title-page,.container .h3.title-page{font-size:1.25rem;line-height:28px;margin-bottom:8px}.container .steps-wrapper{display:flex;align-items:center;justify-content:center;color:#613fdd;font-size:.875rem;gap:6px;font-weight:500}.container .steps-wrapper__stepper{background:#e8eaed;height:8px;width:100%;max-width:336px;border-radius:4px}.container .steps-wrapper__effective-steps{width:var(--step1);background:#613fdd;border-radius:4px;height:8px}.container .mobile-shell .cache-top{position:absolute;z-index:6;top:0;left:32.5%;width:35%;height:15px;background:#000;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.container .mobile-shell .cache-top .camera{position:absolute;top:40%;right:5%;width:9%;max-width:10px;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:#ffffff4d}.container .mobile-shell .cache-top .camera:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:25%;height:25%;border-radius:50%;background:#fff;filter:blur(1px)}.container .mobile-shell .buttons{position:absolute;top:10%;left:-12.5px;height:20%;width:5px}.container .mobile-shell .button{width:5px;background:#000;margin-bottom:10px;border-radius:30%}.container .mobile-shell .button.small{height:15px;margin-bottom:10px}.container .mobile-shell .button.long{height:30px}@media screen and (max-width:630px){.container .feedback{width:95%;margin-bottom:0}.container .grid{grid-template-columns:1fr 90% 1fr}}', Xe = /* @__PURE__ */ w(Ke, [["styles", [We]]]);
|
|
309
309
|
G(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Y, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ne, "./locales/fr.json": se, "./locales/it.json": ae, "./locales/nl.json": oe })).catch((e) => console.error(e));
|
|
310
|
-
const
|
|
310
|
+
const H = U(Xe, {
|
|
311
311
|
configureApp(e) {
|
|
312
312
|
M.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(K, { i18next: M, slotStart: "{{", slotEnd: "}}" });
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
|
-
|
|
315
|
+
H.prototype.normalizeProps = (e) => ({
|
|
316
316
|
...e,
|
|
317
317
|
titleLevel: W(e.titleLevel)
|
|
318
318
|
});
|
|
319
|
-
window.customElements.define("phishing-message",
|
|
319
|
+
window.customElements.define("phishing-message", H);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as P, j as
|
|
2
|
-
import { u as r2, a as l2, i as
|
|
1
|
+
import { h as P, j as Q, k as J, n as R, o as a, c as r, l as k, a as t, q as U, r as x, g as v, b as W, s as X, u as e2, K as t2, C as H, D as F, x as n, A as o2, E as B, F as Z, e as S, t as T, y as i2, v as w, Q as n2, _ as s2, d as a2 } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as r2, a as l2, i as N, b as c2 } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { b as d2 } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
import "./mobile-shell.ce.js.js";
|
|
5
5
|
import { a as h2 } from "../temporal.utils-DgmGPVba.js";
|
|
6
|
-
import { B as u2 } from "../ButtonTooltip.ce-
|
|
6
|
+
import { B as u2 } from "../ButtonTooltip.ce-Bo42SFAP.js";
|
|
7
7
|
const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
8
8
|
"phishing-notification": { titleCta: "Catégorisez les notifications", categorization: { titleCta: "Catégorisez cette notification", from: "De : {{sender}}", titleCategories: "L’expéditeur se fait passer pour :" }, correction: "La catégorie {{selectedCategory}} n'est pas la bonne. La bonne catégorisation est : {{category}}", validation: "La catégorie {{selectedCategory}} est la bonne.", progressBarA11Y_one: "{{count}} réponse sur {{total}}", progressBarA11Y_other: "{{count}} réponses sur {{total}}", titleResult: "Résultats", result_one: "{{count}} / {{total}} bonne réponse", result_other: "{{count}} / {{total}} bonnes réponses", close: "Fermer" }
|
|
9
9
|
}, w2 = {}, v2 = {}, k2 = ["tabindex"], b2 = ["tabindex"], x2 = {
|
|
@@ -37,9 +37,9 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
37
37
|
].join(",");
|
|
38
38
|
let u = [], l = [];
|
|
39
39
|
const c = x(!1), f = x(), p = P("vueFocusLoopContainer"), h = s, b = v(() => h.isVisible ? 0 : -1);
|
|
40
|
-
|
|
40
|
+
Q(() => h.isVisible, () => {
|
|
41
41
|
m();
|
|
42
|
-
}),
|
|
42
|
+
}), J(() => {
|
|
43
43
|
m();
|
|
44
44
|
});
|
|
45
45
|
function m() {
|
|
@@ -149,16 +149,16 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
149
149
|
}, Symbol.toStringTag, { value: "Module" })), F2 = { class: "mobile-container" }, B2 = { class: "content" }, A2 = { key: 0 }, $2 = ["aria-level"], Z2 = {
|
|
150
150
|
class: "progress",
|
|
151
151
|
"aria-hidden": "true"
|
|
152
|
-
},
|
|
152
|
+
}, S2 = { class: "sr-only" }, T2 = {
|
|
153
153
|
key: 1,
|
|
154
154
|
class: "result"
|
|
155
|
-
},
|
|
155
|
+
}, N2 = { class: "title" }, D2 = { class: "notifications" }, P2 = ["src"], R2 = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "notification__preview"
|
|
158
158
|
}, O2 = { class: "notification__top" }, q2 = { class: "notification__title" }, Y2 = { class: "notification__time" }, I2 = { key: 0 }, K2 = {
|
|
159
159
|
class: "notification__selected-category notification__selected-category--right",
|
|
160
160
|
"aria-hidden": "true"
|
|
161
|
-
}, G2 = { class: "sr-only" },
|
|
161
|
+
}, G2 = { class: "sr-only" }, Q2 = { key: 1 }, J2 = {
|
|
162
162
|
class: "notification__selected-category notification__selected-category--wrong",
|
|
163
163
|
"aria-hidden": "true"
|
|
164
164
|
}, U2 = { class: "sr-only" }, W2 = ["onClick"], X2 = { class: "notification__top" }, e0 = { class: "notification__title" }, t0 = { class: "notification__time" }, o0 = { class: "notification__description" }, i0 = ["src"], n0 = ["aria-labelledby", "aria-describedby"], s0 = { class: "title-close" }, a0 = ["aria-level", "id"], r0 = ["src"], l0 = ["id"], c0 = { class: "categorization__sender" }, d0 = { class: "categorization__content" }, h0 = ["aria-level"], u0 = ["onClick"], g0 = ["src"], p0 = { "aria-live": "polite" }, f0 = {
|
|
@@ -195,8 +195,8 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
195
195
|
H(C, { "persist-mobile-shell": !0 }, {
|
|
196
196
|
default: F(() => [
|
|
197
197
|
t("div", B2, [
|
|
198
|
-
f.value ? (a(), r("div",
|
|
199
|
-
t("h2",
|
|
198
|
+
f.value ? (a(), r("div", T2, [
|
|
199
|
+
t("h2", N2, n(i.$t("phishing-notification.titleResult")), 1),
|
|
200
200
|
t("p", null, n(i.$t("phishing-notification.result", { count: h.value, total: l.value.length })), 1)
|
|
201
201
|
])) : (a(), r("div", A2, [
|
|
202
202
|
t("div", {
|
|
@@ -211,12 +211,12 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
211
211
|
}, null, 4),
|
|
212
212
|
B(" " + n(p.value) + "/" + n(l.value.length), 1)
|
|
213
213
|
]),
|
|
214
|
-
t("p",
|
|
214
|
+
t("p", S2, n(i.$t("phishing-notification.progressBar.progressBarA11Y", { count: p.value, total: l.value.length })), 1)
|
|
215
215
|
])),
|
|
216
216
|
t("ul", D2, [
|
|
217
|
-
(a(!0), r(Z, null,
|
|
217
|
+
(a(!0), r(Z, null, S(l.value, (o) => (a(), r("li", {
|
|
218
218
|
key: o.sender,
|
|
219
|
-
class:
|
|
219
|
+
class: T(["notification", { "notification--categorized": o.selectedCategory }]),
|
|
220
220
|
ref_for: !0,
|
|
221
221
|
ref_key: "notificationsList",
|
|
222
222
|
ref: m,
|
|
@@ -235,8 +235,8 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
235
235
|
o.selectedCategory == o.category ? (a(), r("span", I2, [
|
|
236
236
|
t("span", K2, n(o.category), 1),
|
|
237
237
|
t("span", G2, n(i.$t("phishing-notification.validation", { selectedCategory: o.selectedCategory })), 1)
|
|
238
|
-
])) : (a(), r("span",
|
|
239
|
-
t("span",
|
|
238
|
+
])) : (a(), r("span", Q2, [
|
|
239
|
+
t("span", J2, [
|
|
240
240
|
t("s", null, n(o.selectedCategory), 1),
|
|
241
241
|
B(" → " + n(o.category), 1)
|
|
242
242
|
]),
|
|
@@ -256,7 +256,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
256
256
|
], 8, W2)),
|
|
257
257
|
o.selectedCategory ? (a(), r("div", {
|
|
258
258
|
key: 2,
|
|
259
|
-
class:
|
|
259
|
+
class: T(["notification__pill", { "notification__pill--right": o.selectedCategory === o.category }]),
|
|
260
260
|
"aria-hidden": "true"
|
|
261
261
|
}, [
|
|
262
262
|
t("img", {
|
|
@@ -317,7 +317,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
317
317
|
class: "categorization__categories-title"
|
|
318
318
|
}, n(i.$t("phishing-notification.categorization.titleCategories")), 9, h0),
|
|
319
319
|
t("ul", null, [
|
|
320
|
-
(a(!0), r(Z, null,
|
|
320
|
+
(a(!0), r(Z, null, S(s.categories, (o) => (a(), r("li", {
|
|
321
321
|
key: o.name
|
|
322
322
|
}, [
|
|
323
323
|
t("button", {
|
|
@@ -345,7 +345,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
345
345
|
l2(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": g2, "./locales/en.json": p2, "./locales/es-419.json": f2, "./locales/es.json": m2, "./locales/fr-BE.json": _2, "./locales/fr.json": C2, "./locales/it.json": w2, "./locales/nl.json": v2 })).catch((s) => console.error(s));
|
|
346
346
|
const I = a2(C0, {
|
|
347
347
|
configureApp(s) {
|
|
348
|
-
|
|
348
|
+
N.changeLanguage(document?.documentElement?.lang || navigator.language), s.use(c2, { i18next: N });
|
|
349
349
|
}
|
|
350
350
|
});
|
|
351
351
|
I.prototype.normalizeProps = (s) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as E, h as V, o, c as n, a, F as u, e as m,
|
|
2
|
-
import { a as H, i as $, b as M } from "../i18n-
|
|
1
|
+
import { b as E, h as V, o, c as n, a, F as u, e as m, A as k, t as h, x as d, H as F, S as T, C as q, D as w, E as S, l as _, f as D, r as x, g as p, _ as I, d as G } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { a as H, i as $, b as M } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { b as O } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { B as C } from "../Button.ce-
|
|
4
|
+
import { B as C } from "../Button.ce-Ccv3OLk2.js";
|
|
5
5
|
const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
|
|
6
6
|
"pix-anonymisation": { prompt: { title: "Prompt" }, rephrase: { title: "Reformulation" }, buttons: { checkNow: "Suivant", displayRephrasing: "Suivant", nextPrompt: "Suivant" }, correction: "élements qui doivent être anonymisés:" }
|
|
7
7
|
}, Y = {}, Z = {}, aa = {
|
|
@@ -20,11 +20,11 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
|
|
|
20
20
|
steps: { type: Array }
|
|
21
21
|
},
|
|
22
22
|
setup(e, { expose: z }) {
|
|
23
|
-
const i = x(0), b = x([]), l = x(1), N = V("prompt-container"), f = p(() => e.steps[i.value]), L = p(() => l.value === 3 && i.value + 1 === e.steps.length), v = p(() => l.value === 3), P = p(() => f.value.fullSentence.map(({ content: t }) => t)),
|
|
23
|
+
const i = x(0), b = x([]), l = x(1), N = V("prompt-container"), f = p(() => e.steps[i.value]), L = p(() => l.value === 3 && i.value + 1 === e.steps.length), v = p(() => l.value === 3), P = p(() => f.value.fullSentence.map(({ content: t }) => t)), R = p(() => f.value.fullSentence.map(({ content: t, isAnonymizable: c }) => c ? { content: t, color: "green" } : {
|
|
24
24
|
content: t,
|
|
25
25
|
color: b.value.includes(t) ? "red" : "neutral"
|
|
26
|
-
})),
|
|
27
|
-
function
|
|
26
|
+
})), A = p(() => f.value.fullSentence.filter(({ isAnonymizable: t }) => t).map(({ content: t }) => t));
|
|
27
|
+
function B() {
|
|
28
28
|
l.value = 1, i.value = 0, b.value = [];
|
|
29
29
|
}
|
|
30
30
|
function y() {
|
|
@@ -35,7 +35,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
|
|
|
35
35
|
l.value++, N.value.focus();
|
|
36
36
|
}
|
|
37
37
|
return z({
|
|
38
|
-
reset:
|
|
38
|
+
reset: B
|
|
39
39
|
}), (t, c) => (o(), n("div", aa, [
|
|
40
40
|
a("header", null, [
|
|
41
41
|
a("div", ta, [
|
|
@@ -98,7 +98,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
|
|
|
98
98
|
"aria-level": e.titleLevel
|
|
99
99
|
}, d(t.$t("pix-anonymisation.prompt.title")), 9, ba),
|
|
100
100
|
a("p", pa, [
|
|
101
|
-
(o(!0), n(u, null, m(
|
|
101
|
+
(o(!0), n(u, null, m(R.value, ({ content: r, color: s }, g) => (o(), n("span", { key: g }, [
|
|
102
102
|
a("span", {
|
|
103
103
|
class: h(["prompt-card-content-part", s])
|
|
104
104
|
}, d(r), 3)
|
|
@@ -106,7 +106,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
|
|
|
106
106
|
]),
|
|
107
107
|
a("p", fa, d(t.$t("pix-anonymisation.correction")), 1),
|
|
108
108
|
a("ul", va, [
|
|
109
|
-
(o(!0), n(u, null, m(
|
|
109
|
+
(o(!0), n(u, null, m(A.value, (r) => (o(), n("li", { key: r }, d(r), 1))), 128))
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
v.value ? (o(), n("div", ca, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as d, o as n, c as l, a as t, x as i, F as o, e as u, g as m, _ as f, d as v } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { a as p, i as r, b } from "../i18n-
|
|
1
|
+
import { b as d, o as n, c as l, a as t, x as i, F as o, e as u, g as m, _ as f, d as v } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { a as p, i as r, b } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { a as s, b as y } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const S = {}, x = {}, j = {}, A = {}, L = {}, H = {
|
|
5
5
|
"pix-article": { byAuthor: "Par {{author}}" }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as W, n as Y, Y as q, Z as J, $ as O, z as k, j as N, g as h, a0 as V, b as D, o, c as l, t as S, a as g, q as K,
|
|
2
|
-
import { a as ie, i as E, b as te } from "../i18n-
|
|
3
|
-
import { N as I } from "../NavigationButton.ce-
|
|
4
|
-
import { B as H } from "../ButtonTooltip.ce-
|
|
1
|
+
import { k as W, n as Y, Y as q, Z as J, $ as O, z as k, j as N, g as h, a0 as V, b as D, o, c as l, t as S, a as g, q as K, E as P, x as b, v as f, l as B, _ as C, r as T, h as Q, A as j, C as y, s as X, D as $, F as z, e as M, f as R, d as ee } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { a as ie, i as E, b as te } from "../i18n-C-1Ne5JG.js";
|
|
3
|
+
import { N as I } from "../NavigationButton.ce-B-c0m9H8.js";
|
|
4
|
+
import { B as H } from "../ButtonTooltip.ce-Bo42SFAP.js";
|
|
5
5
|
import { u as ne, b as A, a as ae } from "../normalize-props-DH0oPBss.js";
|
|
6
6
|
const se = {}, oe = {
|
|
7
7
|
"pix-carousel": { license: "Image license", next: "Next", of: "{{ currentSlide }} of {{ slideLength }}", previous: "Previous", slide: "Slide", title: "Carousel" }
|
|
@@ -236,7 +236,8 @@ const _e = ["aria-level"], Ce = ["innerHTML"], Se = {
|
|
|
236
236
|
height: "24",
|
|
237
237
|
viewBox: "0 0 25 24",
|
|
238
238
|
fill: "inherit",
|
|
239
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
239
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
240
|
+
"aria-hidden": "true"
|
|
240
241
|
};
|
|
241
242
|
function Ve(e, i) {
|
|
242
243
|
return o(), l("svg", Oe, [...i[0] || (i[0] = [
|
|
@@ -251,7 +252,8 @@ const Pe = /* @__PURE__ */ C(We, [["render", Ve]]), Ge = {}, Fe = {
|
|
|
251
252
|
height: "24",
|
|
252
253
|
viewBox: "0 0 25 24",
|
|
253
254
|
fill: "inherit",
|
|
254
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
255
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
256
|
+
"aria-hidden": "true"
|
|
255
257
|
};
|
|
256
258
|
function Ze(e, i) {
|
|
257
259
|
return o(), l("svg", Fe, [...i[0] || (i[0] = [
|
|
@@ -296,7 +298,7 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
|
|
|
296
298
|
"tooltip-position": "right"
|
|
297
299
|
}, {
|
|
298
300
|
default: $(() => [
|
|
299
|
-
y(Pe
|
|
301
|
+
y(Pe)
|
|
300
302
|
]),
|
|
301
303
|
_: 1
|
|
302
304
|
}, 8, ["disabled", "aria-controls", "label"]),
|
|
@@ -321,7 +323,7 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
|
|
|
321
323
|
"tooltip-position": "left"
|
|
322
324
|
}, {
|
|
323
325
|
default: $(() => [
|
|
324
|
-
y(Ue
|
|
326
|
+
y(Ue)
|
|
325
327
|
]),
|
|
326
328
|
_: 1
|
|
327
329
|
}, 8, ["disabled", "aria-controls", "label"])
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as X, h as S, K as Y, o as u, c as f, a as e,
|
|
2
|
-
import { u as ne, i as V } from "../i18n-lite-
|
|
3
|
-
import { B
|
|
4
|
-
import { P as le } from "../Popin.ce-
|
|
5
|
-
import { p as re } from "../shadow-dom-
|
|
1
|
+
import { b as X, h as S, K as Y, o as u, c as f, a as e, C as _, D as m, E as b, x as s, A, F as L, e as P, f as ee, l as te, m as ae, r as h, g as i, n as se, _ as oe, d as ie } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as ne, i as V } from "../i18n-lite-WQsHAHqG.js";
|
|
3
|
+
import { B } from "../Button.ce-Ccv3OLk2.js";
|
|
4
|
+
import { P as le } from "../Popin.ce-CQtpIOkM.js";
|
|
5
|
+
import { p as re } from "../shadow-dom-DSLDIcsa.js";
|
|
6
6
|
import { b as ce } from "../normalize-props-DH0oPBss.js";
|
|
7
7
|
const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
8
8
|
"pix-combinaisons": { findCombinations: "Trouvez les combinaisons", discoverCombinations: "Combinaisons découvertes", progression: "Progression", validate: "Valider", ariaValidate: "Valider la combinaison", displayAllCombinations: "Voir toutes les combinaisons", combinationAlreadyTried: "Vous avez déjà essayé cette combinaison", fourPasswords: "4 mots de passe sont possibles. C’est peu !", easilyTestable: "Une personne peut facilement tester toutes les combinaisons à la main.", next: "Suivant", soManyPasswords: "27 mots de passe sont possibles !", feedbackSoManyPasswords: "Environ 7 fois plus de combinaisons qu’avant. Ça augmente vite dis donc ! 😱\u2028Quand on ajoute des caractères et qu’on allonge le mot de passe, il faut beaucoup plus de temps pour tout tester à la main.", completed: "Terminé", backspace: "Retour en arrière", currentStep: "{{step}} {{number}}", step: "Étape", numberOfChars: "{{number}} caractères", completionState: "Vous avez trouvé {{percent}} des combinaisons possibles" }
|
|
9
|
-
}, ve = {}, ge = {}, E = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8333%209.16675H4.16667C3.24619%209.16675%202.5%209.91294%202.5%2010.8334V16.6667C2.5%2017.5872%203.24619%2018.3334%204.16667%2018.3334H15.8333C16.7538%2018.3334%2017.5%2017.5872%2017.5%2016.6667V10.8334C17.5%209.91294%2016.7538%209.16675%2015.8333%209.16675Z'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.83331%209.16675V5.83341C5.83331%204.72835%206.2723%203.66854%207.0537%202.88714C7.8351%202.10573%208.89491%201.66675%209.99998%201.66675C11.105%201.66675%2012.1649%202.10573%2012.9463%202.88714C13.7277%203.66854%2014.1666%204.72835%2014.1666%205.83341V9.16675'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", he = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.83713%207.37459C10.522%206.70686%2011.4406%206.33317%2012.3971%206.33325H26.1265C26.9238%206.33325%2027.8518%206.55459%2028.6105%207.02525C29.3825%207.50259%2030.0905%208.32392%2030.0905%209.49992V22.4999C30.0905%2023.6759%2029.3825%2024.4959%2028.6105%2024.9746C27.8597%2025.4244%2027.0016%2025.6635%2026.1265%2025.6666H12.3971C11.4406%2025.6667%2010.522%2025.293%209.83713%2024.6253L2.70379%2017.6706C2.48084%2017.4532%202.30365%2017.1934%202.18267%2016.9065C2.06169%2016.6195%201.99936%2016.3113%201.99936%2015.9999C1.99936%2015.6885%202.06169%2015.3803%202.18267%2015.0934C2.30365%2014.8064%202.48084%2014.5466%202.70379%2014.3293L9.83713%207.37459ZM18.7065%2012.6266C18.6149%2012.5283%2018.5045%2012.4495%2018.3818%2012.3949C18.2592%2012.3402%2018.1268%2012.3108%2017.9925%2012.3085C17.8582%2012.3061%2017.7248%2012.3308%2017.6003%2012.3811C17.4758%2012.4314%2017.3627%2012.5062%2017.2677%2012.6012C17.1728%2012.6962%2017.0979%2012.8093%2017.0476%2012.9338C16.9973%2013.0583%2016.9726%2013.1917%2016.975%2013.3259C16.9774%2013.4602%2017.0068%2013.5926%2017.0614%2013.7153C17.1161%2013.838%2017.1949%2013.9484%2017.2931%2014.0399L19.2531%2015.9999L17.2931%2017.9599C17.1949%2018.0515%2017.1161%2018.1619%2017.0614%2018.2845C17.0068%2018.4072%2016.9774%2018.5396%2016.975%2018.6739C16.9726%2018.8082%2016.9973%2018.9415%2017.0476%2019.066C17.0979%2019.1906%2017.1728%2019.3037%2017.2677%2019.3986C17.3627%2019.4936%2017.4758%2019.5685%2017.6003%2019.6187C17.7248%2019.669%2017.8582%2019.6937%2017.9925%2019.6914C18.1268%2019.689%2018.2592%2019.6596%2018.3818%2019.605C18.5045%2019.5503%2018.6149%2019.4715%2018.7065%2019.3733L20.6665%2017.4133L22.6265%2019.3733C22.718%2019.4715%2022.8284%2019.5503%2022.9511%2019.605C23.0737%2019.6596%2023.2062%2019.689%2023.3404%2019.6914C23.4747%2019.6937%2023.6081%2019.669%2023.7326%2019.6187C23.8571%2019.5685%2023.9702%2019.4936%2024.0652%2019.3986C24.1601%2019.3037%2024.235%2019.1906%2024.2853%2019.066C24.3356%2018.9415%2024.3603%2018.8082%2024.3579%2018.6739C24.3555%2018.5396%2024.3262%2018.4072%2024.2715%2018.2845C24.2168%2018.1619%2024.138%2018.0515%2024.0398%2017.9599L22.0798%2015.9999L24.0398%2014.0399C24.138%2013.9484%2024.2168%2013.838%2024.2715%2013.7153C24.3262%2013.5926%2024.3555%2013.4602%2024.3579%2013.3259C24.3603%2013.1917%2024.3356%2013.0583%2024.2853%2012.9338C24.235%2012.8093%2024.1601%2012.6962%2024.0652%2012.6012C23.9702%2012.5062%2023.8571%2012.4314%2023.7326%2012.3811C23.6081%2012.3308%2023.4747%2012.3061%2023.3404%2012.3085C23.2062%2012.3108%2023.0737%2012.3402%2022.9511%2012.3949C22.8284%2012.4495%2022.718%2012.5283%2022.6265%2012.6266L20.6665%2014.5866L18.7065%2012.6266Z'%20fill='%232C75FF'/%3e%3c/svg%3e", xe = { class: "stepper" }, Ce = ["aria-hidden"], _e = { class: "character-value" }, ye = { class: "sr-only" }, we = { class: "character-info" }, ke = ["aria-hidden"], je = { class: "character-value" }, Le = { class: "sr-only" },
|
|
9
|
+
}, ve = {}, ge = {}, E = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8333%209.16675H4.16667C3.24619%209.16675%202.5%209.91294%202.5%2010.8334V16.6667C2.5%2017.5872%203.24619%2018.3334%204.16667%2018.3334H15.8333C16.7538%2018.3334%2017.5%2017.5872%2017.5%2016.6667V10.8334C17.5%209.91294%2016.7538%209.16675%2015.8333%209.16675Z'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.83331%209.16675V5.83341C5.83331%204.72835%206.2723%203.66854%207.0537%202.88714C7.8351%202.10573%208.89491%201.66675%209.99998%201.66675C11.105%201.66675%2012.1649%202.10573%2012.9463%202.88714C13.7277%203.66854%2014.1666%204.72835%2014.1666%205.83341V9.16675'%20stroke='%235E6C84'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", he = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.83713%207.37459C10.522%206.70686%2011.4406%206.33317%2012.3971%206.33325H26.1265C26.9238%206.33325%2027.8518%206.55459%2028.6105%207.02525C29.3825%207.50259%2030.0905%208.32392%2030.0905%209.49992V22.4999C30.0905%2023.6759%2029.3825%2024.4959%2028.6105%2024.9746C27.8597%2025.4244%2027.0016%2025.6635%2026.1265%2025.6666H12.3971C11.4406%2025.6667%2010.522%2025.293%209.83713%2024.6253L2.70379%2017.6706C2.48084%2017.4532%202.30365%2017.1934%202.18267%2016.9065C2.06169%2016.6195%201.99936%2016.3113%201.99936%2015.9999C1.99936%2015.6885%202.06169%2015.3803%202.18267%2015.0934C2.30365%2014.8064%202.48084%2014.5466%202.70379%2014.3293L9.83713%207.37459ZM18.7065%2012.6266C18.6149%2012.5283%2018.5045%2012.4495%2018.3818%2012.3949C18.2592%2012.3402%2018.1268%2012.3108%2017.9925%2012.3085C17.8582%2012.3061%2017.7248%2012.3308%2017.6003%2012.3811C17.4758%2012.4314%2017.3627%2012.5062%2017.2677%2012.6012C17.1728%2012.6962%2017.0979%2012.8093%2017.0476%2012.9338C16.9973%2013.0583%2016.9726%2013.1917%2016.975%2013.3259C16.9774%2013.4602%2017.0068%2013.5926%2017.0614%2013.7153C17.1161%2013.838%2017.1949%2013.9484%2017.2931%2014.0399L19.2531%2015.9999L17.2931%2017.9599C17.1949%2018.0515%2017.1161%2018.1619%2017.0614%2018.2845C17.0068%2018.4072%2016.9774%2018.5396%2016.975%2018.6739C16.9726%2018.8082%2016.9973%2018.9415%2017.0476%2019.066C17.0979%2019.1906%2017.1728%2019.3037%2017.2677%2019.3986C17.3627%2019.4936%2017.4758%2019.5685%2017.6003%2019.6187C17.7248%2019.669%2017.8582%2019.6937%2017.9925%2019.6914C18.1268%2019.689%2018.2592%2019.6596%2018.3818%2019.605C18.5045%2019.5503%2018.6149%2019.4715%2018.7065%2019.3733L20.6665%2017.4133L22.6265%2019.3733C22.718%2019.4715%2022.8284%2019.5503%2022.9511%2019.605C23.0737%2019.6596%2023.2062%2019.689%2023.3404%2019.6914C23.4747%2019.6937%2023.6081%2019.669%2023.7326%2019.6187C23.8571%2019.5685%2023.9702%2019.4936%2024.0652%2019.3986C24.1601%2019.3037%2024.235%2019.1906%2024.2853%2019.066C24.3356%2018.9415%2024.3603%2018.8082%2024.3579%2018.6739C24.3555%2018.5396%2024.3262%2018.4072%2024.2715%2018.2845C24.2168%2018.1619%2024.138%2018.0515%2024.0398%2017.9599L22.0798%2015.9999L24.0398%2014.0399C24.138%2013.9484%2024.2168%2013.838%2024.2715%2013.7153C24.3262%2013.5926%2024.3555%2013.4602%2024.3579%2013.3259C24.3603%2013.1917%2024.3356%2013.0583%2024.2853%2012.9338C24.235%2012.8093%2024.1601%2012.6962%2024.0652%2012.6012C23.9702%2012.5062%2023.8571%2012.4314%2023.7326%2012.3811C23.6081%2012.3308%2023.4747%2012.3061%2023.3404%2012.3085C23.2062%2012.3108%2023.0737%2012.3402%2022.9511%2012.3949C22.8284%2012.4495%2022.718%2012.5283%2022.6265%2012.6266L20.6665%2014.5866L18.7065%2012.6266Z'%20fill='%232C75FF'/%3e%3c/svg%3e", xe = { class: "stepper" }, Ce = ["aria-hidden"], _e = { class: "character-value" }, ye = { class: "sr-only" }, we = { class: "character-info" }, ke = ["aria-hidden"], je = { class: "character-value" }, Le = { class: "sr-only" }, Pe = { class: "character-info" }, Be = { class: "cards" }, Ve = { class: "card card-left" }, $e = ["aria-level"], ze = ["src"], Te = {
|
|
10
10
|
class: "sr-only",
|
|
11
11
|
"aria-live": "polite"
|
|
12
12
|
}, Se = {
|
|
@@ -122,13 +122,13 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
|
122
122
|
_: 1
|
|
123
123
|
})
|
|
124
124
|
]),
|
|
125
|
-
e("p",
|
|
125
|
+
e("p", Pe, [
|
|
126
126
|
b(s(t.$t("pix-combinaisons.numberOfChars", { number: 3 })), 1),
|
|
127
127
|
e("span", null, "(" + s(k[1].join(",")) + ")", 1)
|
|
128
128
|
])
|
|
129
129
|
], 8, ke)
|
|
130
130
|
]),
|
|
131
|
-
e("div",
|
|
131
|
+
e("div", Be, [
|
|
132
132
|
e("section", Ve, [
|
|
133
133
|
e("div", {
|
|
134
134
|
id: "title",
|
|
@@ -148,13 +148,13 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
|
148
148
|
}, null, 4),
|
|
149
149
|
e("p", Te, s(t.$t("pix-combinaisons.completionState", { percent: z.value })), 1),
|
|
150
150
|
e("div", Se, [
|
|
151
|
-
(u(!0), f(L, null,
|
|
151
|
+
(u(!0), f(L, null, P(C.value.length, (a, g) => (u(), f("p", {
|
|
152
152
|
class: "placeholder",
|
|
153
153
|
key: a
|
|
154
154
|
}, s(n.value[g]), 1))), 128))
|
|
155
155
|
]),
|
|
156
156
|
e("div", Ae, [
|
|
157
|
-
(u(!0), f(L, null,
|
|
157
|
+
(u(!0), f(L, null, P(C.value, (a) => (u(), ee(B, {
|
|
158
158
|
"is-disabled": N.value,
|
|
159
159
|
class: "letter",
|
|
160
160
|
onClick: (g) => Q(a),
|
|
@@ -166,7 +166,7 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
|
166
166
|
]),
|
|
167
167
|
_: 2
|
|
168
168
|
}, 1032, ["is-disabled", "onClick"]))), 128)),
|
|
169
|
-
_(
|
|
169
|
+
_(B, {
|
|
170
170
|
"is-disabled": R.value,
|
|
171
171
|
class: "backspace",
|
|
172
172
|
onClick: o[0] || (o[0] = (a) => n.value.pop()),
|
|
@@ -181,7 +181,7 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
|
181
181
|
_: 1
|
|
182
182
|
}, 8, ["is-disabled", "aria-label"])
|
|
183
183
|
]),
|
|
184
|
-
_(
|
|
184
|
+
_(B, {
|
|
185
185
|
class: "validate",
|
|
186
186
|
"is-disabled": I.value,
|
|
187
187
|
onClick: U,
|
|
@@ -210,7 +210,7 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
|
|
|
210
210
|
class: "results",
|
|
211
211
|
"aria-live": y.value ? "polite" : "off"
|
|
212
212
|
}, [
|
|
213
|
-
(u(!0), f(L, null,
|
|
213
|
+
(u(!0), f(L, null, P(c.value, (a) => (u(), f("li", {
|
|
214
214
|
ref_for: !0,
|
|
215
215
|
ref: "combination",
|
|
216
216
|
key: a
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { a as K, i as w, b as
|
|
3
|
-
import { N as j } from "../NavigationButton.ce-
|
|
4
|
-
const
|
|
1
|
+
import { b as B, r as y, s as k, K as E, o as a, c as i, a as r, v as d, x as u, F as f, e as b, H, T as S, C as g, t as C, D as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { a as K, i as w, b as R } from "../i18n-C-1Ne5JG.js";
|
|
3
|
+
import { N as j } from "../NavigationButton.ce-B-c0m9H8.js";
|
|
4
|
+
const U = {}, q = {}, J = {}, Q = {}, W = {}, X = {
|
|
5
5
|
"pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
|
|
6
6
|
}, Y = {}, Z = {}, ee = ["for"], oe = {
|
|
7
7
|
class: "visible-options",
|
|
@@ -12,7 +12,7 @@ const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
|
|
|
12
12
|
}, ue = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "confirm"
|
|
15
|
-
}, pe = ["innerHTML", "aria-hidden"], ve = /* @__PURE__ */
|
|
15
|
+
}, pe = ["innerHTML", "aria-hidden"], ve = /* @__PURE__ */ B({
|
|
16
16
|
__name: "PixCursor.ce",
|
|
17
17
|
props: {
|
|
18
18
|
options: { type: Array }
|
|
@@ -31,13 +31,13 @@ const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
|
|
|
31
31
|
function x(l) {
|
|
32
32
|
o.value || (s.value = l);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function O() {
|
|
35
35
|
o.value = !1, s.value = Math.floor(p.options.length / 2);
|
|
36
36
|
}
|
|
37
37
|
return M({
|
|
38
|
-
reset:
|
|
38
|
+
reset: O
|
|
39
39
|
}), (l, h) => {
|
|
40
|
-
const
|
|
40
|
+
const V = E("i18next");
|
|
41
41
|
return a(), i("form", {
|
|
42
42
|
class: "pix-cursor",
|
|
43
43
|
onSubmit: F(T, ["prevent"])
|
|
@@ -49,13 +49,13 @@ const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
|
|
|
49
49
|
}, u(l.$t("pix-cursor.selectAnOption")), 9, ee),
|
|
50
50
|
r("ul", oe, [
|
|
51
51
|
(a(!0), i(f, null, b(n.options, (t, e) => (a(), i("li", {
|
|
52
|
-
onClick: (
|
|
52
|
+
onClick: (A) => x(e),
|
|
53
53
|
key: e
|
|
54
54
|
}, u(t.label), 9, te))), 128))
|
|
55
55
|
]),
|
|
56
56
|
r("datalist", { id: d(_) }, [
|
|
57
57
|
(a(!0), i(f, null, b(n.options, (t, e) => (a(), i("option", {
|
|
58
|
-
onClick: (
|
|
58
|
+
onClick: (A) => x(e),
|
|
59
59
|
key: e,
|
|
60
60
|
value: e,
|
|
61
61
|
label: t.label
|
|
@@ -91,7 +91,7 @@ const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
|
|
|
91
91
|
}),
|
|
92
92
|
"aria-hidden": e !== c.value
|
|
93
93
|
}, [
|
|
94
|
-
g(
|
|
94
|
+
g(V, {
|
|
95
95
|
translation: l.$t("pix-cursor.youHaveChosen")
|
|
96
96
|
}, {
|
|
97
97
|
choice: L(() => [
|
|
@@ -129,9 +129,9 @@ const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
|
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
}), fe = "[data-v-58e704c5]{--pix-neutral-800: #253858;font-family:Nunito,sans-serif;color:var(--pix-neutral-800)}.pix-cursor[data-v-58e704c5]{display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem;gap:1rem;overflow:hidden}.pix-cursor p[data-v-58e704c5]{text-align:center;font-size:1.1rem}.pix-cursor .chosen-option[data-v-58e704c5]{font-weight:700}.pix-cursor .visible-options[data-v-58e704c5]{display:flex;justify-content:space-between;margin:0;padding:0}.pix-cursor .visible-options li[data-v-58e704c5]{cursor:pointer;list-style:none}.pix-cursor input[data-v-58e704c5]{width:100%}.pix-cursor .confirm[data-v-58e704c5]{padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1.25rem;letter-spacing:1.1;width:fit-content;margin:auto;border:none;color:#fff;background:#4075ff;grid-row:1;grid-column:1}.pix-cursor .confirm[data-v-58e704c5]:hover{background:#355ac4;transition:background ease .1s}.pix-cursor .navigation-container[data-v-58e704c5]{display:flex;justify-content:center;align-items:center;gap:1rem}.pix-cursor .navigation-container .chosen-text-container[data-v-58e704c5]{display:grid}.pix-cursor .navigation-container .chosen-text-container p[data-v-58e704c5]{grid-row:1;grid-column:1}.pix-cursor .navigation-container .chosen-text-container p.hidden[data-v-58e704c5]{transform:translate(100vw)}.pix-cursor .footer[data-v-58e704c5]{display:grid;grid-template-columns:auto;align-items:center;justify-content:center}.pix-cursor .feedback[data-v-58e704c5]{padding:1rem 1.2rem;border-left:solid 4px;border-radius:8px;grid-column:1;grid-row:1;text-align:start;margin:0}.pix-cursor .feedback.hidden[data-v-58e704c5]{visibility:hidden;transform:translate(100vw)}.pix-cursor .feedback.good[data-v-58e704c5]{background:#e8f5e9;border-left-color:#4caf51}.pix-cursor .feedback.bad[data-v-58e704c5]{background:#ffebee;border-left-color:#f44337}.pix-cursor .feedback.neutral[data-v-58e704c5]{background:#e8f6ff;border-left-color:#464ee0}.pix-cursor .feedback.close[data-v-58e704c5]{background:#fff8e1;border-left-color:#ffc108}", be = /* @__PURE__ */ P(ve, [["styles", [fe]], ["__scopeId", "data-v-58e704c5"]]);
|
|
132
|
-
K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json":
|
|
132
|
+
K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": U, "./locales/en.json": q, "./locales/es-419.json": J, "./locales/es.json": Q, "./locales/fr-BE.json": W, "./locales/fr.json": X, "./locales/it.json": Y, "./locales/nl.json": Z })).catch((n) => console.error(n));
|
|
133
133
|
window.customElements.define("pix-cursor", G(be, {
|
|
134
134
|
configureApp(n) {
|
|
135
|
-
w.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(
|
|
135
|
+
w.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(R, { i18next: w });
|
|
136
136
|
}
|
|
137
137
|
}));
|