@1024pix/epreuves-components 4.0.1 → 4.0.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-CTKrSDrC.js → Button.ce-CIdOR7Ut.js} +2 -2
- package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-DcDedpxX.js} +8 -8
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js} +4 -4
- package/dist/FocusManager.ce-B9q14nBB.js +131 -0
- package/dist/{LLMMessage.ce-Bdmf0R1g.js → LLMMessage.ce-m7gAgj3M.js} +11 -11
- package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-Diq78Qvm.js} +2 -2
- package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-CgVczgG8.js} +2 -2
- package/dist/PixMailMessage.ce-CI8R0PnN.js +261 -0
- package/dist/Popin.ce-BczgRCZ5.js +67 -0
- package/dist/{Retry-BZf7NJz9.js → Retry-vIN7ZGdK.js} +2 -2
- package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-DwjG4jda.js} +4 -4
- package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-VRfPs3B6.js} +1643 -1611
- package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
- package/dist/components/calcul-impact.ce.js.js +20 -20
- package/dist/components/capacity-calculation.ce.js.js +22 -22
- package/dist/components/clickable-image.ce.js.js +30 -30
- package/dist/components/complete-phrase.ce.js.js +18 -18
- package/dist/components/flip-cards.ce.js.js +10 -10
- 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 +7 -7
- package/dist/components/llm-messages.ce.js.js +7 -7
- package/dist/components/llm-prompt-select.ce.js.js +5 -5
- package/dist/components/mdp-classement.ce.js.js +29 -29
- package/dist/components/message-conversation.ce.js.js +34 -34
- package/dist/components/mobile-shell.ce.js.js +8 -8
- package/dist/components/phishing-message.ce.js.js +128 -128
- package/dist/components/phishing-notification.ce.js.js +30 -30
- package/dist/components/pix-anonymisation.ce.js.js +27 -27
- package/dist/components/pix-article.ce.js.js +5 -5
- package/dist/components/pix-carousel.ce.js.js +38 -38
- package/dist/components/pix-combinaisons.ce.js.js +75 -74
- package/dist/components/pix-cursor.ce.js.js +26 -26
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +55 -53
- package/dist/components/qcm-deepfake.ce.js.js +16 -16
- package/dist/components/quiz-stepper.ce.js.js +21 -21
- package/dist/components/select-conversation.ce.js.js +11 -11
- package/dist/components/template-mail.ce.js.js +4 -4
- package/dist/components/test-top-mdp.ce.js.js +24 -24
- package/dist/components/trouver-mdp-rs.ce.js.js +311 -409
- package/dist/{i18n-ekiZvzf6.js → i18n-C-9bWDxP.js} +270 -268
- package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-CZIis7T7.js} +1 -1
- package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-COX8VOUE.js} +9 -9
- package/dist/{index-BpqxFmwz.js → index-DgWpXIzq.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/shadow-dom-5ECgVh4w.js +14 -0
- package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
- package/package.json +1 -1
- package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
- package/dist/Popin.ce-DUQ7-GMT.js +0 -197
- package/dist/shadow-dom-C3AZuSZe.js +0 -9
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { u as
|
|
1
|
+
import { b, K as M, o as a, c as d, F as k, a as t, x as o, v as j, y as N, C as S, W as F, e as y, D as B, l as h, g as u, _ as w, h as _, z as O, f as C, m as L, J as Q, r as x, n as J, d as U } from "../_plugin-vue_export-helper-VRfPs3B6.js";
|
|
2
|
+
import { u as H, a as W, i as z, b as G } from "../i18n-C-9bWDxP.js";
|
|
3
3
|
import { b as K } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
5
|
-
"phishing-message": { description: "Pour chacun des cas ci-dessous : Ouvrez et lisez le message d’arnaque, puis répondez à la question.", messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}", 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€.
|
|
5
|
+
"phishing-message": { description: "Pour chacun des cas ci-dessous : Ouvrez et lisez le message d’arnaque, puis répondez à la question.", messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}", 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€.
|
|
6
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: "Eh non ! 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 peut 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: " Eh non, 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 }, he = { class: "card-wrapper__time" },
|
|
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 }, he = { class: "sr-only" }, me = { class: "card-wrapper__time" }, ve = /* @__PURE__ */ b({
|
|
8
8
|
__name: "MessagePreview.ce",
|
|
9
9
|
props: {
|
|
10
10
|
senderName: { type: String },
|
|
@@ -18,21 +18,21 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["open-message"],
|
|
20
20
|
setup(e) {
|
|
21
|
-
const
|
|
22
|
-
return (
|
|
23
|
-
const
|
|
24
|
-
return a(), d(
|
|
21
|
+
const { i18next: g } = H(), r = u(() => new Intl.DateTimeFormat(g.language, { timeStyle: "short" }).format());
|
|
22
|
+
return (i, n) => {
|
|
23
|
+
const l = M("i18next");
|
|
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
|
-
}, i
|
|
30
|
+
}, o(i.$t("phishing-message.messagePreviewTitle")), 9, re)
|
|
31
31
|
]),
|
|
32
32
|
t("main", le, [
|
|
33
33
|
t("div", de, [
|
|
34
34
|
t("img", {
|
|
35
|
-
src:
|
|
35
|
+
src: j(ie),
|
|
36
36
|
class: "card-wrapper__logo-message",
|
|
37
37
|
alt: ""
|
|
38
38
|
}, null, 8, ce),
|
|
@@ -40,33 +40,33 @@ 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
|
-
onClick:
|
|
46
|
+
onClick: n[0] || (n[0] = N((c) => i.$emit("open-message"), ["prevent"])),
|
|
47
47
|
class: "card-wrapper__text-preview"
|
|
48
48
|
}, [
|
|
49
|
-
S(
|
|
50
|
-
|
|
51
|
-
name:
|
|
49
|
+
S(l, { translation: e.content }, F({ _: 2 }, [
|
|
50
|
+
y(e.contentParts, (c) => ({
|
|
51
|
+
name: c.name,
|
|
52
52
|
fn: B(() => [
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
c.type === "bold" ? (a(), d("strong", ge, o(c.content), 1)) : h("", !0),
|
|
54
|
+
c.type === "link" ? (a(), d("span", ue, o(c.content), 1)) : h("", !0)
|
|
55
55
|
])
|
|
56
56
|
}))
|
|
57
57
|
]), 1032, ["translation"]),
|
|
58
|
-
|
|
58
|
+
t("span", he, o(i.$t("phishing-message.readMore")), 1)
|
|
59
59
|
]),
|
|
60
|
-
t("p",
|
|
60
|
+
t("p", me, o(r.value), 1)
|
|
61
61
|
])
|
|
62
62
|
])
|
|
63
63
|
], 64);
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
}),
|
|
66
|
+
}), fe = '.title-mobile[data-v-65acd431]{font-size:1.125rem;line-height:24px;text-align:left}.card-wrapper[data-v-65acd431]{position:relative;background-color:#fff;display:grid;padding:24px 16px;border-radius:16px;gap:4px 8px;margin:0 21px}.card-wrapper strong[data-v-65acd431]{font-weight:bolder}.card-wrapper__logo-message[data-v-65acd431]{align-self:center;grid-column:1;grid-row:1/span 2}.card-wrapper__text-preview[data-v-65acd431]{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-65acd431]:after{content:"";position:absolute;inset:0}.card-wrapper__sender[data-v-65acd431]{grid-column:2;grid-row:1}.card-wrapper__time[data-v-65acd431]{color:#5e6c84;font-size:12px;font-weight:400;grid-column:3;grid-row:1/span 2}.card-wrapper p[data-v-65acd431],.card-wrapper .h3[data-v-65acd431]{text-align:left}header[data-v-65acd431]{padding:40px 21px 16px}', be = /* @__PURE__ */ w(ve, [["styles", [fe]], ["__scopeId", "data-v-65acd431"]]), 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({
|
|
70
70
|
__name: "MessageContent.ce",
|
|
71
71
|
props: {
|
|
72
72
|
senderName: { type: String },
|
|
@@ -79,35 +79,35 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
79
79
|
titleLevel: { type: Number }
|
|
80
80
|
},
|
|
81
81
|
setup(e) {
|
|
82
|
-
return (
|
|
83
|
-
const
|
|
84
|
-
return a(), d(
|
|
85
|
-
t("header",
|
|
82
|
+
return (g, r) => {
|
|
83
|
+
const i = M("i18next");
|
|
84
|
+
return a(), d(k, null, [
|
|
85
|
+
t("header", Ce, [
|
|
86
86
|
t("img", {
|
|
87
|
-
src:
|
|
87
|
+
src: j(we),
|
|
88
88
|
alt: ""
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, xe),
|
|
90
90
|
t("div", {
|
|
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
|
-
t("div",
|
|
98
|
-
e.title ? (a(), d("p",
|
|
97
|
+
t("div", ke, [
|
|
98
|
+
e.title ? (a(), d("p", ye, o(e.title), 1)) : h("", !0),
|
|
99
99
|
t("p", null, [
|
|
100
|
-
S(
|
|
101
|
-
|
|
102
|
-
name:
|
|
100
|
+
S(i, { translation: e.content }, F({ _: 2 }, [
|
|
101
|
+
y(e.contentParts, (n) => ({
|
|
102
|
+
name: n.name,
|
|
103
103
|
fn: B(() => [
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
n.type === "bold" ? (a(), d("strong", $e, o(n.content), 1)) : h("", !0),
|
|
105
|
+
n.type === "link" ? (a(), d("a", {
|
|
106
106
|
key: 1,
|
|
107
107
|
href: "#",
|
|
108
|
-
onClick:
|
|
108
|
+
onClick: r[0] || (r[0] = N(() => {
|
|
109
109
|
}, ["prevent"]))
|
|
110
|
-
},
|
|
110
|
+
}, o(n.content), 1)) : h("", !0)
|
|
111
111
|
])
|
|
112
112
|
}))
|
|
113
113
|
]), 1032, ["translation"])
|
|
@@ -117,204 +117,204 @@ const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
|
117
117
|
], 64);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}),
|
|
120
|
+
}), ze = ".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}", Me = /* @__PURE__ */ w(Le, [["styles", [ze]], ["__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", Be = "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", He = { class: "card-wrapper" }, Ve = ["aria-level"], Ae = ["onClick"], Re = ["src"], Pe = /* @__PURE__ */ b({
|
|
121
121
|
__name: "FeedBackQuiz.ce",
|
|
122
122
|
props: {
|
|
123
123
|
goodFeelings: { type: Array },
|
|
124
124
|
titleLevel: { type: Number }
|
|
125
125
|
},
|
|
126
126
|
emits: ["sendResult"],
|
|
127
|
-
setup(e, { emit:
|
|
128
|
-
const
|
|
127
|
+
setup(e, { emit: g }) {
|
|
128
|
+
const r = g, i = [
|
|
129
129
|
{
|
|
130
130
|
id: "fear",
|
|
131
|
-
icon: `${
|
|
131
|
+
icon: `${je}`,
|
|
132
132
|
label: "De la peur"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
id: "emergency",
|
|
136
|
-
icon: `${
|
|
136
|
+
icon: `${Ne}`,
|
|
137
137
|
label: "De l'urgence"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
id: "hope",
|
|
141
|
-
icon: `${
|
|
141
|
+
icon: `${Se}`,
|
|
142
142
|
label: "De l'espoir"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
id: "anger",
|
|
146
|
-
icon: `${
|
|
146
|
+
icon: `${Fe}`,
|
|
147
147
|
label: "De la colère"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
id: "empty",
|
|
151
|
-
icon: `${
|
|
151
|
+
icon: `${Be}`,
|
|
152
152
|
label: "Je ne sais pas"
|
|
153
153
|
}
|
|
154
154
|
];
|
|
155
|
-
function
|
|
156
|
-
|
|
155
|
+
function n(l) {
|
|
156
|
+
r("sendResult", e.goodFeelings.includes(l));
|
|
157
157
|
}
|
|
158
|
-
return (
|
|
158
|
+
return (l, c) => (a(), d("div", He, [
|
|
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, Ve),
|
|
164
164
|
t("ul", null, [
|
|
165
|
-
(a(), d(
|
|
165
|
+
(a(), d(k, null, y(i, ({ icon: p, label: s, id: m }) => t("li", { key: s }, [
|
|
166
166
|
t("button", {
|
|
167
167
|
type: "button",
|
|
168
|
-
onClick: (
|
|
168
|
+
onClick: (f) => n(m)
|
|
169
169
|
}, [
|
|
170
170
|
t("img", {
|
|
171
171
|
src: p,
|
|
172
172
|
alt: ""
|
|
173
|
-
}, null, 8,
|
|
174
|
-
t("span", null,
|
|
175
|
-
], 8,
|
|
173
|
+
}, null, 8, Re),
|
|
174
|
+
t("span", null, o(s), 1)
|
|
175
|
+
], 8, Ae)
|
|
176
176
|
])), 64))
|
|
177
177
|
])
|
|
178
178
|
]));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Te = ".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}}", Ie = /* @__PURE__ */ w(Pe, [["styles", [Te]], ["__scopeId", "data-v-aed5dcf2"]]), qe = /* @__PURE__ */ b({
|
|
181
181
|
__name: "PopInResult.ce",
|
|
182
182
|
props: {
|
|
183
183
|
content: { type: String },
|
|
184
184
|
isLastStep: { type: Boolean }
|
|
185
185
|
},
|
|
186
186
|
emits: ["next"],
|
|
187
|
-
setup(e, { expose:
|
|
188
|
-
const
|
|
189
|
-
return
|
|
190
|
-
wrapper:
|
|
191
|
-
}), (
|
|
187
|
+
setup(e, { expose: g }) {
|
|
188
|
+
const r = _("wrapper");
|
|
189
|
+
return g({
|
|
190
|
+
wrapper: r
|
|
191
|
+
}), (i, n) => (a(), d("div", {
|
|
192
192
|
ref_key: "wrapper",
|
|
193
|
-
ref:
|
|
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 ? h("", !0) : (a(), d("button", {
|
|
199
199
|
key: 0,
|
|
200
200
|
type: "button",
|
|
201
|
-
onClick:
|
|
202
|
-
}, i
|
|
201
|
+
onClick: n[0] || (n[0] = (l) => i.$emit("next"))
|
|
202
|
+
}, o(i.$t("phishing-message.next")), 1))
|
|
203
203
|
], 512));
|
|
204
204
|
}
|
|
205
|
-
}),
|
|
205
|
+
}), Ee = ".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}", De = /* @__PURE__ */ w(qe, [["styles", [Ee]], ["__scopeId", "data-v-69441fb3"]]), Ze = { class: "container" }, Oe = { class: "description" }, Qe = { class: "steps-wrapper" }, Je = { class: "steps-wrapper__stepper" }, Ue = { "aria-hidden": "true" }, We = {
|
|
206
206
|
class: "sr-only",
|
|
207
207
|
"aria-live": "polite"
|
|
208
|
-
},
|
|
208
|
+
}, Ge = { class: "grid" }, Ke = /* @__PURE__ */ b({
|
|
209
209
|
__name: "PhishingMessage.ce",
|
|
210
210
|
props: {
|
|
211
211
|
titleLevel: { default: 2, type: Number }
|
|
212
212
|
},
|
|
213
|
-
setup(e, { expose:
|
|
214
|
-
const
|
|
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 } = H(), m = u(() => [
|
|
215
215
|
{
|
|
216
|
-
senderName:
|
|
217
|
-
content:
|
|
216
|
+
senderName: s("phishing-message.message1.senderName"),
|
|
217
|
+
content: s("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: s("phishing-message.message1.boldContent1") },
|
|
220
|
+
{ name: "boldContent2", type: "bold", content: s("phishing-message.message1.boldContent2") },
|
|
221
|
+
{ name: "linkContent", type: "link", content: s("phishing-message.message1.linkContent") }
|
|
222
222
|
],
|
|
223
223
|
goodFeelings: ["fear", "emergency"],
|
|
224
|
-
victory:
|
|
225
|
-
loose:
|
|
224
|
+
victory: s("phishing-message.message1.victory"),
|
|
225
|
+
loose: s("phishing-message.message1.loose")
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
senderName:
|
|
229
|
-
content:
|
|
228
|
+
senderName: s("phishing-message.message2.senderName"),
|
|
229
|
+
content: s("phishing-message.message2.content"),
|
|
230
230
|
contentParts: [
|
|
231
|
-
{ name: "linkContent", type: "link", content:
|
|
231
|
+
{ name: "linkContent", type: "link", content: s("phishing-message.message2.linkContent") }
|
|
232
232
|
],
|
|
233
233
|
goodFeelings: ["hope"],
|
|
234
|
-
victory:
|
|
235
|
-
loose:
|
|
234
|
+
victory: s("phishing-message.message2.victory"),
|
|
235
|
+
loose: s("phishing-message.message2.loose")
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
senderName:
|
|
239
|
-
content:
|
|
238
|
+
senderName: s("phishing-message.message3.senderName"),
|
|
239
|
+
content: s("phishing-message.message3.content"),
|
|
240
240
|
contentParts: [
|
|
241
|
-
{ name: "linkContent", type: "link", content:
|
|
241
|
+
{ name: "linkContent", type: "link", content: s("phishing-message.message3.linkContent") }
|
|
242
242
|
],
|
|
243
243
|
goodFeelings: ["fear", "emergency"],
|
|
244
|
-
victory:
|
|
245
|
-
loose:
|
|
244
|
+
victory: s("phishing-message.message3.victory"),
|
|
245
|
+
loose: s("phishing-message.message3.loose")
|
|
246
246
|
}
|
|
247
|
-
],
|
|
248
|
-
const
|
|
249
|
-
return
|
|
250
|
-
}),
|
|
251
|
-
async function
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
function q() {
|
|
255
|
-
s.value = !0, r.value.focus();
|
|
247
|
+
]), f = u(() => m.value[p.value]), A = u(() => n.value && !l.value), R = u(() => n.value && l.value), P = u(() => m.value.length === p.value + 1), T = u(() => {
|
|
248
|
+
const v = c.value ? "victory" : "loose";
|
|
249
|
+
return f.value[v];
|
|
250
|
+
}), I = u(() => Math.floor((p.value + 1) / m.value.length * 100));
|
|
251
|
+
async function q(v) {
|
|
252
|
+
c.value = v, l.value = !0, await J(), r.value.wrapper.focus();
|
|
256
253
|
}
|
|
257
|
-
function
|
|
258
|
-
|
|
254
|
+
function E() {
|
|
255
|
+
n.value = !0, i.value.focus();
|
|
259
256
|
}
|
|
260
257
|
function D() {
|
|
261
|
-
|
|
258
|
+
n.value = !1, l.value = !1, p.value++, i.value.focus();
|
|
262
259
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
260
|
+
function Z() {
|
|
261
|
+
n.value = !1, l.value = !1, c.value = !1, p.value = 0;
|
|
262
|
+
}
|
|
263
|
+
return g({
|
|
264
|
+
reset: Z
|
|
265
|
+
}), (v, $) => (a(), d("div", Ze, [
|
|
266
|
+
t("p", Oe, o(v.$t("phishing-message.description")), 1),
|
|
267
|
+
t("div", Qe, [
|
|
268
|
+
t("div", Je, [
|
|
269
269
|
t("div", {
|
|
270
270
|
class: "steps-wrapper__effective-steps",
|
|
271
|
-
style:
|
|
271
|
+
style: O({ "--step1": `${I.value}%` })
|
|
272
272
|
}, null, 4)
|
|
273
273
|
]),
|
|
274
|
-
t("p",
|
|
275
|
-
t("p",
|
|
274
|
+
t("p", Ue, o(p.value + 1) + "/3", 1),
|
|
275
|
+
t("p", We, o(v.$t("phishing-message.step", { step: p.value + 1, totalStep: m.value.length })), 1)
|
|
276
276
|
]),
|
|
277
|
-
t("div",
|
|
277
|
+
t("div", Ge, [
|
|
278
278
|
t("div", {
|
|
279
279
|
ref_key: "mobileShell",
|
|
280
|
-
ref:
|
|
280
|
+
ref: i,
|
|
281
281
|
class: "mobile-shell-content",
|
|
282
282
|
tabindex: "-1"
|
|
283
283
|
}, [
|
|
284
|
-
|
|
284
|
+
n.value ? (a(), C(Me, L({ key: 0 }, f.value, { "title-level": e.titleLevel }), null, 16, ["title-level"])) : (a(), C(be, L({
|
|
285
285
|
key: 1,
|
|
286
|
-
onOpenMessage:
|
|
287
|
-
},
|
|
286
|
+
onOpenMessage: E
|
|
287
|
+
}, f.value, { "title-level": e.titleLevel }), null, 16, ["title-level"]))
|
|
288
288
|
], 512),
|
|
289
|
-
|
|
289
|
+
A.value ? (a(), C(Ie, {
|
|
290
290
|
key: 0,
|
|
291
|
-
onSendResult:
|
|
292
|
-
"good-feelings":
|
|
291
|
+
onSendResult: q,
|
|
292
|
+
"good-feelings": f.value.goodFeelings,
|
|
293
293
|
class: "feedback",
|
|
294
294
|
"title-level": e.titleLevel
|
|
295
|
-
}, null, 8, ["good-feelings", "title-level"])) :
|
|
296
|
-
|
|
295
|
+
}, null, 8, ["good-feelings", "title-level"])) : h("", !0),
|
|
296
|
+
R.value ? (a(), C(De, {
|
|
297
297
|
key: 1,
|
|
298
298
|
ref_key: "popInResult",
|
|
299
|
-
ref:
|
|
299
|
+
ref: r,
|
|
300
300
|
class: "feedback",
|
|
301
|
-
content:
|
|
302
|
-
"is-last-step":
|
|
303
|
-
onNext:
|
|
304
|
-
}, null, 8, ["content", "is-last-step"])) :
|
|
305
|
-
|
|
301
|
+
content: T.value,
|
|
302
|
+
"is-last-step": P.value,
|
|
303
|
+
onNext: D
|
|
304
|
+
}, null, 8, ["content", "is-last-step"])) : h("", !0),
|
|
305
|
+
$[0] || ($[0] = Q('<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))
|
|
306
306
|
])
|
|
307
307
|
]));
|
|
308
308
|
}
|
|
309
|
-
}),
|
|
309
|
+
}), Xe = '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{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 .description{margin-bottom:16px}.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}}', Ye = /* @__PURE__ */ w(Ke, [["styles", [Xe]]]);
|
|
310
310
|
W(/* @__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": oe, "./locales/nl.json": ae })).catch((e) => console.error(e));
|
|
311
|
-
const
|
|
311
|
+
const V = U(Ye, {
|
|
312
312
|
configureApp(e) {
|
|
313
|
-
|
|
313
|
+
z.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(G, { i18next: z, slotStart: "{{", slotEnd: "}}" });
|
|
314
314
|
}
|
|
315
315
|
});
|
|
316
|
-
|
|
316
|
+
V.prototype.normalizeProps = (e) => ({
|
|
317
317
|
...e,
|
|
318
318
|
titleLevel: K(e.titleLevel)
|
|
319
319
|
});
|
|
320
|
-
window.customElements.define("phishing-message",
|
|
320
|
+
window.customElements.define("phishing-message", V);
|