@1024pix/epreuves-components 4.6.0 → 4.6.2
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-CsTDnAGh.js +31 -0
- package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-CUxXoH9n.js} +5 -5
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
- package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
- package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-DqVOTSTE.js} +7 -7
- package/dist/LLMMessage.ce-BM9ikl_y.js +98 -0
- package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
- package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
- package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-CIOKG2O0.js} +16 -14
- package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-DUSt6eGF.js} +59 -59
- package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-OnxaZNvT.js} +5 -5
- package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
- package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
- package/dist/components/analyse-mails-phishing.ce.js.js +110 -111
- package/dist/components/autocompletion-mdp.ce.js.js +92 -92
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +36 -36
- package/dist/components/capacity-calculation.ce.js.js +46 -43
- package/dist/components/clickable-image.ce.js.js +25 -25
- package/dist/components/complete-phrase.ce.js.js +50 -50
- package/dist/components/flip-cards.ce.js.js +21 -21
- package/dist/components/generate-mdp.ce.js.js +56 -56
- 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 +4 -4
- package/dist/components/llm-messages.ce.js.js +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/mdp-classement.ce.js.js +107 -115
- package/dist/components/message-conversation.ce.js.js +17 -17
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +136 -146
- package/dist/components/phishing-message.ce.js.js +89 -89
- package/dist/components/phishing-notification.ce.js.js +10 -10
- package/dist/components/pix-anonymisation.ce.js.js +75 -75
- package/dist/components/pix-article.ce.js.js +7 -7
- package/dist/components/pix-carousel.ce.js.js +24 -22
- package/dist/components/pix-combinaisons.ce.js.js +25 -25
- package/dist/components/pix-cursor.ce.js.js +33 -33
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +72 -84
- package/dist/components/qcm-deepfake.ce.js.js +31 -31
- package/dist/components/quiz-stepper.ce.js.js +66 -73
- 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 +7 -7
- package/dist/components/trouver-mdp-rs.ce.js.js +154 -168
- package/dist/components/usages-donnees.ce.js.js +34 -34
- package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
- package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
- package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-KliaBWpC.js} +7 -7
- package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
- package/package.json +1 -1
- package/dist/Button.ce-C-lBihdF.js +0 -31
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
- package/dist/Feedback.ce-CeyQhenY.js +0 -26
- package/dist/LLMMessage.ce-DBorHEa1.js +0 -96
- package/dist/components/feedback.ce.js.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as
|
|
1
|
+
import { b, K as z, o as a, c as d, F as k, a as t, x as o, v as j, y as N, C as S, X as F, e as y, D as T, l as m, 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
|
-
const X = {}, Y = {}, ee = {}, te = {},
|
|
5
|
-
"phishing-message": { messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’
|
|
6
|
-
Référence 125489
|
|
7
|
-
},
|
|
4
|
+
const X = {}, Y = {}, ee = {}, te = {}, se = {}, ne = {
|
|
5
|
+
"phishing-message": { messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’est-ce que vous ressentez 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 }} sur : {{ 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: "Toutes ces émotions sont possibles, mais 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 €.
|
|
6
|
+
Référence 125489 : accédez à votre formulaire de remboursement {{ linkContent }}`, linkContent: "impot.gouv-remboursement.nt", victory: "Effectivement, avec ce message, l’escroc veut que vous ressentiez de l’espoir : recevoir une somme d’argent inattendue.", loose: "Toutes ces émotions sont possibles, mais avec ce message, l’escroc veut que vous ressentiez de l’espoir : recevoir une somme d’argent inattendue." }, message3: { senderName: "+33639981542", content: "Salut, c'est ta cousine, j'ai besoin de ton aide, je suis coincée à l'étranger et j'ai perdu mes papiers. Pour pouvoir rentrer, j'ai besoin que tu m'envoies 300 € ici : {{ linkContent }} Il n'y a que toi qui peux m'aider !", linkContent: "http://dT23.bitly.com", victory: "Effectivement, avec ce message, l’escroc veut que vous ressentiez un sentiment d’urgence et de peur pour cette cousine bloquée à l’étranger.", loose: "Toutes ces émotions sont possibles, mais avec ce message, l’escroc veut que vous ressentiez un sentiment d’urgence et de peur pour cette cousine bloquée à l’étranger." } }
|
|
7
|
+
}, oe = {}, ae = {}, ie = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='34'%20height='34'%20rx='8'%20fill='%23E9F3EF'/%3e%3cpath%20d='M8%2025.3451V10.0551C8%209.52465%208.21071%209.01594%208.58579%208.64087C8.96086%208.2658%209.46957%208.05508%2010%208.05508H24C24.5304%208.05508%2025.0391%208.2658%2025.4142%208.64087C25.7893%209.01594%2026%209.52465%2026%2010.0551V20.0551C26%2020.5855%2025.7893%2021.0942%2025.4142%2021.4693C25.0391%2021.8444%2024.5304%2022.0551%2024%2022.0551H12.961C12.6612%2022.0551%2012.3653%2022.1225%2012.0951%2022.2524C11.8249%2022.3822%2011.5874%2022.5711%2011.4%2022.8051L9.069%2025.7191C8.99143%2025.8163%208.88556%2025.887%208.76604%2025.9214C8.64652%2025.9559%208.51926%2025.9523%208.40186%2025.9112C8.28446%2025.8701%208.18273%2025.7936%208.11073%2025.6922C8.03874%2025.5907%208.00005%2025.4695%208%2025.3451Z'%20stroke='%231C825D'%20stroke-width='2'/%3e%3c/svg%3e", re = ["aria-level"], le = { class: "message-page-preview" }, de = { class: "card-wrapper" }, ce = ["src"], pe = ["aria-level"], ge = { key: 0 }, ue = { key: 1 }, me = { class: "sr-only" }, he = { class: "card-wrapper__time" }, ve = /* @__PURE__ */ b({
|
|
8
8
|
__name: "MessagePreview.ce",
|
|
9
9
|
props: {
|
|
10
10
|
senderName: { type: String },
|
|
@@ -18,16 +18,16 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["open-message"],
|
|
20
20
|
setup(e) {
|
|
21
|
-
const { i18next: g } =
|
|
22
|
-
return (i,
|
|
21
|
+
const { i18next: g } = B(), r = u(() => new Intl.DateTimeFormat(g.language, { timeStyle: "short" }).format());
|
|
22
|
+
return (i, s) => {
|
|
23
23
|
const l = z("i18next");
|
|
24
|
-
return
|
|
24
|
+
return a(), d(k, null, [
|
|
25
25
|
t("header", null, [
|
|
26
26
|
t("div", {
|
|
27
27
|
role: "heading",
|
|
28
28
|
"aria-level": e.titleLevel ? e.titleLevel + 1 : 3,
|
|
29
29
|
class: "title-mobile h3"
|
|
30
|
-
},
|
|
30
|
+
}, o(i.$t("phishing-message.messagePreviewTitle")), 9, re)
|
|
31
31
|
]),
|
|
32
32
|
t("main", le, [
|
|
33
33
|
t("div", de, [
|
|
@@ -40,30 +40,30 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
40
40
|
role: "heading",
|
|
41
41
|
"aria-level": e.titleLevel ? e.titleLevel + 1 : 3,
|
|
42
42
|
class: "card-wrapper__sender h3"
|
|
43
|
-
},
|
|
43
|
+
}, o(e.senderName), 9, pe),
|
|
44
44
|
t("a", {
|
|
45
45
|
href: "#",
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
class: "card-wrapper__text-preview",
|
|
47
|
+
onClick: s[0] || (s[0] = N((c) => i.$emit("open-message"), ["prevent"]))
|
|
48
48
|
}, [
|
|
49
49
|
S(l, { translation: e.content }, F({ _: 2 }, [
|
|
50
50
|
y(e.contentParts, (c) => ({
|
|
51
51
|
name: c.name,
|
|
52
|
-
fn:
|
|
53
|
-
c.type === "bold" ? (
|
|
54
|
-
c.type === "link" ? (
|
|
52
|
+
fn: T(() => [
|
|
53
|
+
c.type === "bold" ? (a(), d("strong", ge, o(c.content), 1)) : m("", !0),
|
|
54
|
+
c.type === "link" ? (a(), d("span", ue, o(c.content), 1)) : m("", !0)
|
|
55
55
|
])
|
|
56
56
|
}))
|
|
57
57
|
]), 1032, ["translation"]),
|
|
58
|
-
t("span",
|
|
58
|
+
t("span", me, o(i.$t("phishing-message.readMore")), 1)
|
|
59
59
|
]),
|
|
60
|
-
t("p",
|
|
60
|
+
t("p", he, o(r.value), 1)
|
|
61
61
|
])
|
|
62
62
|
])
|
|
63
63
|
], 64);
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
}), fe = '.title-mobile[data-v-
|
|
66
|
+
}), fe = '.title-mobile[data-v-75847e6f]{font-size:1.125rem;line-height:24px;text-align:left}.card-wrapper[data-v-75847e6f]{position:relative;background-color:#fff;display:grid;padding:24px 16px;border-radius:16px;gap:4px 8px;margin:0 21px}.card-wrapper strong[data-v-75847e6f]{font-weight:bolder}.card-wrapper__logo-message[data-v-75847e6f]{align-self:center;grid-column:1;grid-row:1/span 2}.card-wrapper__text-preview[data-v-75847e6f]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;grid-column:2;grid-row:2;text-decoration:none;color:#122647;font-size:.875rem}.card-wrapper__text-preview[data-v-75847e6f]:after{content:"";position:absolute;inset:0}.card-wrapper__sender[data-v-75847e6f]{grid-column:2;grid-row:1}.card-wrapper__time[data-v-75847e6f]{color:#5e6c84;font-size:12px;font-weight:400;grid-column:3;grid-row:1/span 2}.card-wrapper p[data-v-75847e6f],.card-wrapper .h3[data-v-75847e6f]{text-align:left}header[data-v-75847e6f]{padding:40px 21px 16px}', be = /* @__PURE__ */ w(ve, [["styles", [fe]], ["__scopeId", "data-v-75847e6f"]]), we = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='30'%20height='30'%20rx='15'%20fill='%23CDD1D9'/%3e%3cpath%20d='M15%209.375C15.4167%2011.0417%2016.25%2012.3958%2017.5%2013.4375C18.75%2014.4792%2019.375%2015.625%2019.375%2016.875C19.375%2018.0353%2018.9141%2019.1481%2018.0936%2019.9686C17.2731%2020.7891%2016.1603%2021.25%2015%2021.25C13.8397%2021.25%2012.7269%2020.7891%2011.9064%2019.9686C11.0859%2019.1481%2010.625%2018.0353%2010.625%2016.875C10.625%2016.1988%2010.8443%2015.5409%2011.25%2015C11.25%2015.4144%2011.4146%2015.8118%2011.7076%2016.1049C12.0007%2016.3979%2012.3981%2016.5625%2012.8125%2016.5625C13.2269%2016.5625%2013.6243%2016.3979%2013.9174%2016.1049C14.2104%2015.8118%2014.375%2015.4144%2014.375%2015C14.375%2013.75%2013.4375%2013.125%2013.4375%2011.875C13.4375%2011.0417%2013.9583%2010.2083%2015%209.375Z'%20stroke='white'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ce = { class: "header" }, xe = ["src"], _e = ["aria-level"], ke = { class: "card-wrapper" }, ye = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "title"
|
|
69
69
|
}, $e = { key: 0 }, Le = /* @__PURE__ */ b({
|
|
@@ -81,7 +81,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
81
81
|
setup(e) {
|
|
82
82
|
return (g, r) => {
|
|
83
83
|
const i = z("i18next");
|
|
84
|
-
return
|
|
84
|
+
return a(), d(k, null, [
|
|
85
85
|
t("header", Ce, [
|
|
86
86
|
t("img", {
|
|
87
87
|
src: j(we),
|
|
@@ -91,23 +91,23 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
91
91
|
role: "heading",
|
|
92
92
|
"aria-level": e.titleLevel ? e.titleLevel + 1 : 3,
|
|
93
93
|
class: "header1__sender-name h3"
|
|
94
|
-
},
|
|
94
|
+
}, o(e.senderName), 9, _e)
|
|
95
95
|
]),
|
|
96
96
|
t("main", null, [
|
|
97
97
|
t("div", ke, [
|
|
98
|
-
e.title ? (
|
|
98
|
+
e.title ? (a(), d("p", ye, o(e.title), 1)) : m("", !0),
|
|
99
99
|
t("p", null, [
|
|
100
100
|
S(i, { translation: e.content }, F({ _: 2 }, [
|
|
101
|
-
y(e.contentParts, (
|
|
102
|
-
name:
|
|
103
|
-
fn:
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
y(e.contentParts, (s) => ({
|
|
102
|
+
name: s.name,
|
|
103
|
+
fn: T(() => [
|
|
104
|
+
s.type === "bold" ? (a(), d("strong", $e, o(s.content), 1)) : m("", !0),
|
|
105
|
+
s.type === "link" ? (a(), d("a", {
|
|
106
106
|
key: 1,
|
|
107
107
|
href: "#",
|
|
108
108
|
onClick: r[0] || (r[0] = N(() => {
|
|
109
109
|
}, ["prevent"]))
|
|
110
|
-
},
|
|
110
|
+
}, o(s.content), 1)) : m("", !0)
|
|
111
111
|
])
|
|
112
112
|
}))
|
|
113
113
|
]), 1032, ["translation"])
|
|
@@ -117,7 +117,7 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
117
117
|
], 64);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}), Me = ".header[data-v-
|
|
120
|
+
}), Me = ".header[data-v-4d52a3cd]{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-4d52a3cd]{color:#122647;font-size:14px;font-weight:700}.card-wrapper[data-v-4d52a3cd]{padding:16px;border-radius:8px;background:#fff;text-align:left}.card-wrapper strong[data-v-4d52a3cd]{font-weight:bolder}.card-wrapper p[data-v-4d52a3cd]{color:#122647;font-size:.875rem;line-height:1.25rem}.card-wrapper .title[data-v-4d52a3cd]{font-weight:700}main[data-v-4d52a3cd]{padding:16px 21px}", ze = /* @__PURE__ */ w(Le, [["styles", [Me]], ["__scopeId", "data-v-4d52a3cd"]]), 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", Te = "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"], Ae = /* @__PURE__ */ b({
|
|
121
121
|
__name: "FeedBackQuiz.ce",
|
|
122
122
|
props: {
|
|
123
123
|
goodFeelings: { type: Array },
|
|
@@ -148,36 +148,36 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
id: "empty",
|
|
151
|
-
icon: `${
|
|
151
|
+
icon: `${Te}`,
|
|
152
152
|
label: "Je ne sais pas"
|
|
153
153
|
}
|
|
154
154
|
];
|
|
155
|
-
function
|
|
155
|
+
function s(l) {
|
|
156
156
|
r("sendResult", e.goodFeelings.includes(l));
|
|
157
157
|
}
|
|
158
|
-
return (l, c) => (
|
|
158
|
+
return (l, c) => (a(), 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
|
-
},
|
|
163
|
+
}, o(l.$t("phishing-message.feedBackQuizTitle")), 9, He),
|
|
164
164
|
t("ul", null, [
|
|
165
|
-
(
|
|
165
|
+
(a(), d(k, null, y(i, ({ icon: p, label: n, id: h }) => t("li", { key: n }, [
|
|
166
166
|
t("button", {
|
|
167
167
|
type: "button",
|
|
168
|
-
onClick: (v) =>
|
|
168
|
+
onClick: (v) => s(h)
|
|
169
169
|
}, [
|
|
170
170
|
t("img", {
|
|
171
171
|
src: p,
|
|
172
172
|
alt: ""
|
|
173
173
|
}, null, 8, Re),
|
|
174
|
-
t("span", null,
|
|
175
|
-
], 8,
|
|
174
|
+
t("span", null, o(n), 1)
|
|
175
|
+
], 8, Ve)
|
|
176
176
|
])), 64))
|
|
177
177
|
])
|
|
178
178
|
]));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Ie = ".card-wrapper[data-v-4e1a2006]{padding:16px;border-radius:16px;background:#fff;box-shadow:0 25px 25px #00000040}.card-wrapper .title[data-v-4e1a2006]{text-align:left;font-weight:700;font-family:Nunito,sans-serif;color:#122647;font-size:.875rem;margin-bottom:16px}.card-wrapper ul[data-v-4e1a2006]{display:flex;justify-content:center;gap:8px}.card-wrapper li[data-v-4e1a2006]{font-family:Roboto;font-size:.875rem;line-height:1.25rem;width:100px}.card-wrapper button[data-v-4e1a2006]{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-4e1a2006]:hover{cursor:pointer}@media screen and (max-width:630px){.card-wrapper li[data-v-4e1a2006]{font-size:.6rem;line-height:1rem;width:90px}.card-wrapper button[data-v-4e1a2006]{padding:6px}.card-wrapper ul[data-v-4e1a2006]{flex-wrap:wrap}}", Pe = /* @__PURE__ */ w(Ae, [["styles", [Ie]], ["__scopeId", "data-v-4e1a2006"]]), qe = /* @__PURE__ */ b({
|
|
181
181
|
__name: "PopInResult.ce",
|
|
182
182
|
props: {
|
|
183
183
|
content: { type: String },
|
|
@@ -188,21 +188,21 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
188
188
|
const r = _("wrapper");
|
|
189
189
|
return g({
|
|
190
190
|
wrapper: r
|
|
191
|
-
}), (i,
|
|
191
|
+
}), (i, s) => (a(), d("div", {
|
|
192
192
|
ref_key: "wrapper",
|
|
193
193
|
ref: r,
|
|
194
194
|
class: "card-wrapper",
|
|
195
195
|
tabindex: "-1"
|
|
196
196
|
}, [
|
|
197
|
-
t("p", null,
|
|
198
|
-
e.isLastStep ?
|
|
197
|
+
t("p", null, o(e.content), 1),
|
|
198
|
+
e.isLastStep ? m("", !0) : (a(), d("button", {
|
|
199
199
|
key: 0,
|
|
200
200
|
type: "button",
|
|
201
|
-
onClick:
|
|
202
|
-
},
|
|
201
|
+
onClick: s[0] || (s[0] = (l) => i.$emit("next"))
|
|
202
|
+
}, o(i.$t("phishing-message.next")), 1))
|
|
203
203
|
], 512));
|
|
204
204
|
}
|
|
205
|
-
}), De = ".card-wrapper[data-v-
|
|
205
|
+
}), De = ".card-wrapper[data-v-b0cc7a4e]{padding:16px;width:100%;max-width:460px;border-radius:16px;background:#eaf1ff;box-shadow:0 25px 25px #00000040}.card-wrapper button[data-v-b0cc7a4e]{margin-top:24px;padding:8px 24px;border-radius:8px;background:#253858;color:#fff;border:none}.card-wrapper button[data-v-b0cc7a4e]:hover{cursor:pointer;background-color:#5e6c84}", Ee = /* @__PURE__ */ w(qe, [["styles", [De]], ["__scopeId", "data-v-b0cc7a4e"]]), 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,67 +211,67 @@ 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"),
|
|
214
|
+
const r = _("popInResult"), i = _("mobileShell"), s = x(!1), l = x(!1), c = x(!1), p = x(0), { t: n } = B(), h = u(() => [
|
|
215
215
|
{
|
|
216
|
-
senderName:
|
|
217
|
-
content:
|
|
216
|
+
senderName: n("phishing-message.message1.senderName"),
|
|
217
|
+
content: n("phishing-message.message1.content"),
|
|
218
218
|
contentParts: [
|
|
219
|
-
{ name: "boldContent1", type: "bold", content:
|
|
220
|
-
{ name: "boldContent2", type: "bold", content:
|
|
221
|
-
{ name: "linkContent", type: "link", content:
|
|
219
|
+
{ name: "boldContent1", type: "bold", content: n("phishing-message.message1.boldContent1") },
|
|
220
|
+
{ name: "boldContent2", type: "bold", content: n("phishing-message.message1.boldContent2") },
|
|
221
|
+
{ name: "linkContent", type: "link", content: n("phishing-message.message1.linkContent") }
|
|
222
222
|
],
|
|
223
223
|
goodFeelings: ["fear", "emergency"],
|
|
224
|
-
victory:
|
|
225
|
-
loose:
|
|
224
|
+
victory: n("phishing-message.message1.victory"),
|
|
225
|
+
loose: n("phishing-message.message1.loose")
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
senderName:
|
|
229
|
-
content:
|
|
228
|
+
senderName: n("phishing-message.message2.senderName"),
|
|
229
|
+
content: n("phishing-message.message2.content"),
|
|
230
230
|
contentParts: [
|
|
231
|
-
{ name: "linkContent", type: "link", content:
|
|
231
|
+
{ name: "linkContent", type: "link", content: n("phishing-message.message2.linkContent") }
|
|
232
232
|
],
|
|
233
233
|
goodFeelings: ["hope"],
|
|
234
|
-
victory:
|
|
235
|
-
loose:
|
|
234
|
+
victory: n("phishing-message.message2.victory"),
|
|
235
|
+
loose: n("phishing-message.message2.loose")
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
senderName:
|
|
239
|
-
content:
|
|
238
|
+
senderName: n("phishing-message.message3.senderName"),
|
|
239
|
+
content: n("phishing-message.message3.content"),
|
|
240
240
|
contentParts: [
|
|
241
|
-
{ name: "linkContent", type: "link", content:
|
|
241
|
+
{ name: "linkContent", type: "link", content: n("phishing-message.message3.linkContent") }
|
|
242
242
|
],
|
|
243
243
|
goodFeelings: ["fear", "emergency"],
|
|
244
|
-
victory:
|
|
245
|
-
loose:
|
|
244
|
+
victory: n("phishing-message.message3.victory"),
|
|
245
|
+
loose: n("phishing-message.message3.loose")
|
|
246
246
|
}
|
|
247
|
-
]), v = u(() =>
|
|
247
|
+
]), v = u(() => h.value[p.value]), V = u(() => s.value && !l.value), R = u(() => s.value && l.value), A = u(() => h.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) / h.value.length * 100));
|
|
251
|
+
async function q(f) {
|
|
252
252
|
c.value = f, l.value = !0, await J(), r.value.wrapper.focus();
|
|
253
253
|
}
|
|
254
254
|
function D() {
|
|
255
|
-
|
|
255
|
+
s.value = !0, i.value.focus();
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
|
|
257
|
+
function E() {
|
|
258
|
+
s.value = !1, l.value = !1, p.value++, i.value.focus();
|
|
259
259
|
}
|
|
260
260
|
function Z() {
|
|
261
|
-
|
|
261
|
+
s.value = !1, l.value = !1, c.value = !1, p.value = 0;
|
|
262
262
|
}
|
|
263
263
|
return g({
|
|
264
264
|
reset: Z
|
|
265
|
-
}), (f, $) => (
|
|
265
|
+
}), (f, $) => (a(), d("div", Ze, [
|
|
266
266
|
t("div", Qe, [
|
|
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
|
-
t("p", Je,
|
|
274
|
-
t("p", Ue,
|
|
273
|
+
t("p", Je, o(p.value + 1) + "/3 ", 1),
|
|
274
|
+
t("p", Ue, o(f.$t("phishing-message.step", { step: p.value + 1, totalStep: h.value.length })), 1)
|
|
275
275
|
]),
|
|
276
276
|
t("div", Ge, [
|
|
277
277
|
t("div", {
|
|
@@ -280,40 +280,40 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
280
280
|
class: "mobile-shell-content",
|
|
281
281
|
tabindex: "-1"
|
|
282
282
|
}, [
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
s.value ? (a(), C(ze, L({ key: 0 }, v.value, { "title-level": e.titleLevel }), null, 16, ["title-level"])) : (a(), C(be, L({ key: 1 }, v.value, {
|
|
284
|
+
"title-level": e.titleLevel,
|
|
285
285
|
onOpenMessage: D
|
|
286
|
-
}
|
|
286
|
+
}), null, 16, ["title-level"]))
|
|
287
287
|
], 512),
|
|
288
|
-
|
|
288
|
+
V.value ? (a(), C(Pe, {
|
|
289
289
|
key: 0,
|
|
290
|
-
onSendResult: P,
|
|
291
290
|
"good-feelings": v.value.goodFeelings,
|
|
292
291
|
class: "feedback",
|
|
293
|
-
"title-level": e.titleLevel
|
|
294
|
-
|
|
295
|
-
|
|
292
|
+
"title-level": e.titleLevel,
|
|
293
|
+
onSendResult: q
|
|
294
|
+
}, null, 8, ["good-feelings", "title-level"])) : m("", !0),
|
|
295
|
+
R.value ? (a(), C(Ee, {
|
|
296
296
|
key: 1,
|
|
297
297
|
ref_key: "popInResult",
|
|
298
298
|
ref: r,
|
|
299
299
|
class: "feedback",
|
|
300
|
-
content:
|
|
301
|
-
"is-last-step":
|
|
302
|
-
onNext:
|
|
303
|
-
}, null, 8, ["content", "is-last-step"])) :
|
|
300
|
+
content: I.value,
|
|
301
|
+
"is-last-step": A.value,
|
|
302
|
+
onNext: E
|
|
303
|
+
}, null, 8, ["content", "is-last-step"])) : m("", !0),
|
|
304
304
|
$[0] || ($[0] = O('<div class="mobile-shell"><div class="cache-top"><div class="camera"></div></div><div class="buttons"><div class="button small"></div><div class="button long"></div><div class="button long"></div></div></div>', 1))
|
|
305
305
|
])
|
|
306
306
|
]));
|
|
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
|
-
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":
|
|
310
|
-
const
|
|
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": se, "./locales/fr.json": ne, "./locales/it.json": oe, "./locales/nl.json": ae })).catch((e) => console.error(e));
|
|
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 Q, k as J, n as R, o as a, c as r, l as k,
|
|
2
|
-
import { u as r2, a as l2, i as N, b as c2 } from "../i18n-
|
|
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, Q as n2, v as w, _ 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-CUxXoH9n.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 = {
|
|
@@ -161,7 +161,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
161
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
|
-
}, 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 = ["
|
|
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 = ["id", "aria-level"], r0 = ["src"], l0 = ["id"], c0 = { class: "categorization__sender" }, d0 = { class: "categorization__content" }, h0 = ["aria-level"], u0 = ["onClick"], g0 = ["src"], p0 = { "aria-live": "polite" }, f0 = {
|
|
165
165
|
key: 0,
|
|
166
166
|
class: "information-message"
|
|
167
167
|
}, m0 = /* @__PURE__ */ W({
|
|
@@ -216,10 +216,10 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
216
216
|
t("ul", D2, [
|
|
217
217
|
(a(!0), r(Z, null, S(l.value, (o) => (a(), r("li", {
|
|
218
218
|
key: o.sender,
|
|
219
|
-
class: T(["notification", { "notification--categorized": o.selectedCategory }]),
|
|
220
219
|
ref_for: !0,
|
|
221
220
|
ref_key: "notificationsList",
|
|
222
221
|
ref: m,
|
|
222
|
+
class: T(["notification", { "notification--categorized": o.selectedCategory }]),
|
|
223
223
|
tabindex: "-1"
|
|
224
224
|
}, [
|
|
225
225
|
t("img", {
|
|
@@ -278,22 +278,22 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
278
278
|
t("div", {
|
|
279
279
|
class: "categorization",
|
|
280
280
|
role: "alertdialog",
|
|
281
|
-
onKeyup: g[1] || (g[1] = n2((o) => c.value = null, ["esc"])),
|
|
282
281
|
"aria-modal": "true",
|
|
283
282
|
"aria-labelledby": `${w(u)}-title`,
|
|
284
|
-
"aria-describedby": `${w(u)}-content
|
|
283
|
+
"aria-describedby": `${w(u)}-content`,
|
|
284
|
+
onKeyup: g[1] || (g[1] = n2((o) => c.value = null, ["esc"]))
|
|
285
285
|
}, [
|
|
286
286
|
t("div", s0, [
|
|
287
287
|
t("div", {
|
|
288
|
+
id: `${w(u)}-title`,
|
|
288
289
|
role: "heading",
|
|
289
290
|
"aria-level": s.titleLevel + 1,
|
|
290
|
-
id: `${w(u)}-title`,
|
|
291
291
|
class: "categorization__title"
|
|
292
292
|
}, n(i.$t("phishing-notification.categorization.titleCta")), 9, a0),
|
|
293
293
|
H(u2, {
|
|
294
294
|
class: "close-button",
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
label: i.$t("phishing-notification.close"),
|
|
296
|
+
onClick: g[0] || (g[0] = (o) => c.value = null)
|
|
297
297
|
}, {
|
|
298
298
|
default: F(() => [
|
|
299
299
|
t("img", {
|