@1024pix/epreuves-components 4.2.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/Button.ce-Dvxeebpx.js +31 -0
  2. package/dist/{ButtonTooltip.ce-BnJlaEqx.js → ButtonTooltip.ce-WwOarMJq.js} +1 -1
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js +53 -0
  4. package/dist/Feedback.ce-CnZRBGWf.js +26 -0
  5. package/dist/{FocusManager.ce-DHXwg6WZ.js → FocusManager.ce-Cv3wYF9s.js} +2 -2
  6. package/dist/{LLMMessage.ce-jLEqjxsl.js → LLMMessage.ce-B7EwoHy2.js} +4 -4
  7. package/dist/{Loading.ce-DDtlSLlu.js → Loading.ce-Dv2gEjXm.js} +1 -1
  8. package/dist/{NavigationButton.ce-BnnVUwGr.js → NavigationButton.ce-D8_YC96l.js} +2 -2
  9. package/dist/{PixMailMessage.ce-oCccQFGV.js → PixMailMessage.ce-TnjyOfiH.js} +141 -137
  10. package/dist/{Popin.ce-Co12R3C8.js → Popin.ce-BPnBZykQ.js} +3 -3
  11. package/dist/{Retry-C7C78Wpj.js → Retry-C3g7zhz8.js} +1 -1
  12. package/dist/{Stepper.ce-Dttf3Dsf.js → Stepper.ce-DEMN02yr.js} +1 -1
  13. package/dist/{_plugin-vue_export-helper-B-lVMTio.js → _plugin-vue_export-helper-Dz58mCLm.js} +4 -4
  14. package/dist/components/analyse-mails-phishing.ce.js.js +9 -8
  15. package/dist/components/button.ce.js.js +4 -0
  16. package/dist/components/calcul-impact.ce.js.js +8 -8
  17. package/dist/components/capacity-calculation.ce.js.js +124 -137
  18. package/dist/components/clickable-image.ce.js.js +1 -1
  19. package/dist/components/complete-phrase.ce.js.js +12 -12
  20. package/dist/components/feedback.ce.js.js +4 -0
  21. package/dist/components/flip-cards.ce.js.js +7 -7
  22. package/dist/components/image-quiz.ce.js.js +3 -3
  23. package/dist/components/image-quizzes.ce.js.js +3 -3
  24. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  25. package/dist/components/llm-messages.ce.js.js +3 -3
  26. package/dist/components/llm-prompt-select.ce.js.js +6 -6
  27. package/dist/components/mdp-classement.ce.js.js +20 -19
  28. package/dist/components/message-conversation.ce.js.js +10 -10
  29. package/dist/components/mobile-shell.ce.js.js +1 -1
  30. package/dist/components/notification-antivirus.ce.js.js +343 -0
  31. package/dist/components/phishing-message.ce.js.js +60 -61
  32. package/dist/components/phishing-notification.ce.js.js +4 -4
  33. package/dist/components/pix-anonymisation.ce.js.js +63 -64
  34. package/dist/components/pix-article.ce.js.js +2 -2
  35. package/dist/components/pix-carousel.ce.js.js +4 -4
  36. package/dist/components/pix-combinaisons.ce.js.js +96 -96
  37. package/dist/components/pix-cursor.ce.js.js +10 -10
  38. package/dist/components/pix-mail-message.ce.js.js +3 -3
  39. package/dist/components/proteger-mail-spam.ce.js.js +15 -14
  40. package/dist/components/qcm-deepfake.ce.js.js +41 -41
  41. package/dist/components/quiz-stepper.ce.js.js +30 -29
  42. package/dist/components/select-conversation.ce.js.js +6 -6
  43. package/dist/components/template-mail.ce.js.js +3 -3
  44. package/dist/components/test-top-mdp.ce.js.js +11 -12
  45. package/dist/components/trouver-mdp-rs.ce.js.js +97 -96
  46. package/dist/components/usages-donnees.ce.js.js +183 -0
  47. package/dist/{i18n-CsT7k7zW.js → i18n-H4HokXDX.js} +1 -1
  48. package/dist/{i18n-lite-BIJ2LVs6.js → i18n-lite-CzqISEWm.js} +1 -1
  49. package/dist/{image-quiz.ce-B4NDetit.js → image-quiz.ce-C-iI27gD.js} +2 -2
  50. package/dist/{index-BaI3Qosp.js → index-BUPiE5WR.js} +1 -1
  51. package/dist/index.js +3 -1
  52. package/dist/metadata.js +32 -24
  53. package/dist/props.examples.js +95 -90
  54. package/dist/schema.js +49 -38
  55. package/dist/{shadow-dom-Bouq869n.js → shadow-dom-D54WF-WZ.js} +1 -1
  56. package/package.json +1 -1
  57. package/dist/Button.ce-DZ8jDtW5.js +0 -27
  58. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js +0 -75
@@ -1,8 +1,8 @@
1
- import { u as B, i as A } from "./i18n-lite-BIJ2LVs6.js";
2
- import { r as D } from "./temporal.utils-DgmGPVba.js";
3
- import { p as T } from "./shadow-dom-Bouq869n.js";
4
- import { b as k, k as _, G as j, o, c as n, a as e, y, q as z, C as M, D as L, F as S, e as I, N, x as d, r as V, _ as $, h as Z, B as E, v as p, l as m, f as q, E as F, g as C } from "./_plugin-vue_export-helper-B-lVMTio.js";
5
- import { F as P } from "./FocusManager.ce-DHXwg6WZ.js";
1
+ import { u as A, i as D } from "./i18n-lite-CzqISEWm.js";
2
+ import { r as T } from "./temporal.utils-DgmGPVba.js";
3
+ import { p as j } from "./shadow-dom-D54WF-WZ.js";
4
+ import { b as k, k as _, G as z, o, c as s, a, y, q as M, D as L, E as $, F as E, e as S, N as I, x as d, r as N, _ as B, h as V, C as Z, v as m, l as f, f as q, B as F, g as C } from "./_plugin-vue_export-helper-Dz58mCLm.js";
5
+ import { F as P } from "./FocusManager.ce-Cv3wYF9s.js";
6
6
  const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%2010%202'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='1'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='5'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='9'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3c/svg%3e", U = "data:image/svg+xml,%3csvg%20width='18'%20height='16'%20viewBox='0%200%2018%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.75%206.28086H11.95C18.35%206.28086%2018.35%2014.9722%2011.95%2014.9722M0.75%206.28086L6.35%200.75M0.75%206.28086L6.35%2011.8117'%20stroke='%23122647'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.42885%202.85715L10.8574%206.28572L7.42885%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M0.571569%2013.1429V10.8571C0.571569%209.64473%201.0532%208.48197%201.91051%207.62466C2.76782%206.76735%203.93058%206.28572%205.143%206.28572H10.8573M12.0001%202.85715L15.4287%206.28572L12.0001%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", G = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", K = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.5%207.5H13.5C13.6326%207.5%2013.7598%207.55268%2013.8536%207.64645C13.9473%207.74021%2014%207.86739%2014%208C14%208.13261%2013.9473%208.25979%2013.8536%208.35355C13.7598%208.44732%2013.6326%208.5%2013.5%208.5H3.5C3.36739%208.5%203.24021%208.44732%203.14645%208.35355C3.05268%208.25979%203%208.13261%203%208C3%207.86739%203.05268%207.74021%203.14645%207.64645C3.24021%207.55268%203.36739%207.5%203.5%207.5Z'%20fill='black'/%3e%3cpath%20d='M3.70704%208.00002L7.85404%2012.146C7.94793%2012.2399%208.00067%2012.3672%208.00067%2012.5C8.00067%2012.6328%207.94793%2012.7601%207.85404%2012.854C7.76015%2012.9479%207.63281%2013.0007%207.50004%2013.0007C7.36726%2013.0007%207.23993%2012.9479%207.14604%2012.854L2.64604%208.35402C2.59948%208.30758%202.56253%208.2524%202.53733%208.19165C2.51212%208.13091%202.49915%208.06579%202.49915%208.00002C2.49915%207.93425%202.51212%207.86913%202.53733%207.80839C2.56253%207.74764%202.59948%207.69247%202.64604%207.64602L7.14604%203.14602C7.23993%203.05213%207.36726%202.99939%207.50004%202.99939C7.63281%202.99939%207.76015%203.05213%207.85404%203.14602C7.94793%203.23991%208.00067%203.36725%208.00067%203.50002C8.00067%203.6328%207.94793%203.76013%207.85404%203.85402L3.70704%208.00002Z'%20fill='black'/%3e%3c/svg%3e", X = { class: "popup-menu" }, J = ["aria-expanded", "aria-disabled"], Q = { class: "popup-menu__list" }, W = ["aria-disabled", "onClick"], Y = /* @__PURE__ */ k({
7
7
  __name: "PopupMenu.ce",
8
8
  props: {
@@ -10,47 +10,47 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
10
10
  disabled: { type: Boolean }
11
11
  },
12
12
  emits: ["select"],
13
- setup(a, { emit: f }) {
14
- const r = f, l = V(!1);
15
- function h() {
16
- a.disabled || (l.value = !l.value);
13
+ setup(e, { emit: g }) {
14
+ const c = g, l = N(!1);
15
+ function b() {
16
+ e.disabled || (l.value = !l.value);
17
17
  }
18
- function v() {
18
+ function u() {
19
19
  l.value = !1;
20
20
  }
21
- function x(c, g) {
22
- g || (v(), r("select", c));
21
+ function x(r, h) {
22
+ h || (u(), c("select", r));
23
23
  }
24
- function u() {
25
- v();
24
+ function p() {
25
+ u();
26
26
  }
27
27
  return _(() => {
28
- document.addEventListener("click", u);
29
- }), j(() => {
30
- document.removeEventListener("click", u);
31
- }), (c, g) => (o(), n("div", X, [
32
- e("button", {
28
+ document.addEventListener("click", p);
29
+ }), z(() => {
30
+ document.removeEventListener("click", p);
31
+ }), (r, h) => (o(), s("div", X, [
32
+ a("button", {
33
33
  class: "popup-menu__button",
34
34
  "aria-expanded": l.value,
35
35
  "aria-haspopup": "menu",
36
- "aria-disabled": !!a.disabled,
37
- onClick: y(h, ["stop"])
36
+ "aria-disabled": !!e.disabled,
37
+ onClick: y(b, ["stop"])
38
38
  }, [
39
- z(c.$slots, "default", {}, void 0, !0)
39
+ M(r.$slots, "default", {}, void 0, !0)
40
40
  ], 8, J),
41
- M(P, { "is-visible": l.value }, {
42
- default: L(() => [
43
- e("ul", Q, [
44
- (o(!0), n(S, null, I(a.actions, (s) => (o(), n("li", {
41
+ L(P, { "is-visible": l.value }, {
42
+ default: $(() => [
43
+ a("ul", Q, [
44
+ (o(!0), s(E, null, S(e.actions, (n) => (o(), s("li", {
45
45
  class: "list-item",
46
- key: s.name
46
+ key: n.name
47
47
  }, [
48
- e("button", {
48
+ a("button", {
49
49
  class: "list-item__button",
50
- "aria-disabled": s.disabled,
51
- onClick: y((w) => x(s.name, s.disabled), ["stop"]),
52
- onKeyup: N(v, ["esc"])
53
- }, d(s.label), 41, W)
50
+ "aria-disabled": n.disabled,
51
+ onClick: y((w) => x(n.name, n.disabled), ["stop"]),
52
+ onKeyup: I(u, ["esc"])
53
+ }, d(n.label), 41, W)
54
54
  ]))), 128))
55
55
  ])
56
56
  ]),
@@ -58,12 +58,12 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
58
58
  }, 8, ["is-visible"])
59
59
  ]));
60
60
  }
61
- }), aa = ".popup-menu[data-v-af96d1f1]{position:relative}.popup-menu__button[data-v-af96d1f1]{display:flex;align-items:center;cursor:pointer;height:100%;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px}.popup-menu__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}.popup-menu__list[data-v-af96d1f1]{position:absolute;top:calc(100% + 8px);right:0;padding:0;margin:0;border-radius:8px;border:1px solid #cdd1d9}.popup-menu .list-item[data-v-af96d1f1]{list-style-type:none}.popup-menu .list-item:first-child .list-item__button[data-v-af96d1f1]{border-radius:8px 8px 0 0;padding-top:8px}.popup-menu .list-item:last-child .list-item__button[data-v-af96d1f1]{border-radius:0 0 8px 8px;padding-bottom:8px}.popup-menu .list-item__button[data-v-af96d1f1]{display:block;padding:4px 8px;color:#122647;width:100%;border:none;background-color:#fff;cursor:pointer;text-wrap:nowrap;text-align:left;font-family:Roboto,sans-serif;font-size:.875rem}.popup-menu .list-item__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu .list-item__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}", ea = /* @__PURE__ */ $(Y, [["styles", [aa]], ["__scopeId", "data-v-af96d1f1"]]), ta = {
61
+ }), ee = ".popup-menu[data-v-af96d1f1]{position:relative}.popup-menu__button[data-v-af96d1f1]{display:flex;align-items:center;cursor:pointer;height:100%;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px}.popup-menu__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}.popup-menu__list[data-v-af96d1f1]{position:absolute;top:calc(100% + 8px);right:0;padding:0;margin:0;border-radius:8px;border:1px solid #cdd1d9}.popup-menu .list-item[data-v-af96d1f1]{list-style-type:none}.popup-menu .list-item:first-child .list-item__button[data-v-af96d1f1]{border-radius:8px 8px 0 0;padding-top:8px}.popup-menu .list-item:last-child .list-item__button[data-v-af96d1f1]{border-radius:0 0 8px 8px;padding-bottom:8px}.popup-menu .list-item__button[data-v-af96d1f1]{display:block;padding:4px 8px;color:#122647;width:100%;border:none;background-color:#fff;cursor:pointer;text-wrap:nowrap;text-align:left;font-family:Roboto,sans-serif;font-size:.875rem}.popup-menu .list-item__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu .list-item__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}", ae = /* @__PURE__ */ B(Y, [["styles", [ee]], ["__scopeId", "data-v-af96d1f1"]]), te = {
62
62
  width: "41",
63
63
  height: "41",
64
64
  viewBox: "0 0 41 41",
65
65
  xmlns: "http://www.w3.org/2000/svg"
66
- }, ia = ["fill"], da = {
66
+ }, ie = ["fill"], de = {
67
67
  __name: "UserSVG.ce",
68
68
  props: {
69
69
  color: {
@@ -71,33 +71,34 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
71
71
  default: "#2F80ED"
72
72
  }
73
73
  },
74
- setup(a) {
75
- return (f, r) => (o(), n("svg", ta, [
76
- r[0] || (r[0] = e("path", {
74
+ setup(e) {
75
+ return (g, c) => (o(), s("svg", te, [
76
+ c[0] || (c[0] = a("path", {
77
77
  d: "M9 33.5484C9.02496 31.6445 9.79268 29.8271 11.1371 28.4893C12.4815 27.1515 14.2944 26.4009 16.1837 26.3999H24.8163C26.7056 26.4009 28.5185 27.1515 29.8629 28.4893C31.2073 29.8271 31.975 31.6445 32 33.5484C28.8446 36.4141 24.7476 38 20.5 38C16.2524 38 12.1554 36.4141 9 33.5484ZM26.9744 15.525C26.9744 16.8155 26.5947 18.077 25.8833 19.1501C25.1719 20.2231 24.1607 21.0594 22.9776 21.5533C21.7946 22.0471 20.4928 22.1763 19.2369 21.9246C17.981 21.6728 16.8274 21.0514 15.9219 20.1388C15.0164 19.2263 14.3998 18.0637 14.15 16.7979C13.9002 15.5322 14.0284 14.2203 14.5184 13.028C15.0085 11.8357 15.8383 10.8166 16.903 10.0997C17.9677 9.38268 19.2195 9 20.5 9C22.2171 9 23.8639 9.68745 25.0781 10.9111C26.2923 12.1348 26.9744 13.7944 26.9744 15.525Z",
78
78
  fill: "white"
79
79
  }, null, -1)),
80
- e("path", {
80
+ a("path", {
81
81
  d: "M36.2655 33.5758C38.3699 31.0459 39.8335 28.0469 40.5326 24.8323C41.2316 21.6177 41.1455 18.2822 40.2815 15.1079C39.4175 11.9336 37.8011 9.0139 35.569 6.59581C33.3368 4.17772 30.5547 2.33238 27.4578 1.21587C24.3609 0.0993725 21.0405 -0.255438 17.7774 0.181459C14.5142 0.618355 11.4044 1.83411 8.71099 3.72586C6.01756 5.61762 3.81975 8.12973 2.30349 11.0497C0.787232 13.9696 -0.00287585 17.2115 7.86538e-06 20.5011C0.00111445 25.2832 1.6877 29.9122 4.7638 33.5758L4.7345 33.6007C4.83707 33.7237 4.9543 33.8291 5.0598 33.9506C5.19168 34.1014 5.33382 34.2435 5.47009 34.3899C5.88039 34.835 6.3024 35.2625 6.74493 35.6637C6.87974 35.7866 7.01895 35.9008 7.15522 36.018C7.62413 36.4221 8.10623 36.8057 8.6059 37.1629C8.67038 37.2068 8.72899 37.264 8.79347 37.3093V37.2918C12.2254 39.7049 16.3196 41 20.5161 41C24.7127 41 28.8068 39.7049 32.2388 37.2918V37.3093C32.3033 37.264 32.3604 37.2068 32.4263 37.1629C32.9246 36.8042 33.4081 36.4221 33.877 36.018C34.0133 35.9008 34.1525 35.7852 34.2873 35.6637C34.7298 35.261 35.1519 34.835 35.5622 34.3899C35.6984 34.2435 35.8391 34.1014 35.9725 33.9506C36.0765 33.8291 36.1952 33.7237 36.2978 33.5992L36.2655 33.5758ZM20.5147 8.78808C21.8188 8.78808 23.0937 9.1745 24.1781 9.89846C25.2625 10.6224 26.1076 11.6514 26.6067 12.8553C27.1058 14.0592 27.2364 15.384 26.982 16.662C26.7275 17.9401 26.0995 19.1141 25.1773 20.0355C24.2551 20.9569 23.0802 21.5844 21.8011 21.8387C20.522 22.0929 19.1961 21.9624 17.9912 21.4637C16.7864 20.9651 15.7565 20.1206 15.032 19.0371C14.3074 17.9536 13.9207 16.6798 13.9207 15.3767C13.9207 13.6293 14.6154 11.9534 15.852 10.7178C17.0886 9.48224 18.7658 8.78808 20.5147 8.78808ZM8.80226 33.5758C8.82768 31.6534 9.60958 29.8182 10.9788 28.4674C12.348 27.1165 14.1945 26.3586 16.1187 26.3576H24.9107C26.8349 26.3586 28.6813 27.1165 30.0505 28.4674C31.4197 29.8182 32.2016 31.6534 32.2271 33.5758C29.0134 36.4694 24.8407 38.0708 20.5147 38.0708C16.1886 38.0708 12.016 36.4694 8.80226 33.5758Z",
82
- fill: a.color
83
- }, null, 8, ia)
82
+ fill: e.color
83
+ }, null, 8, ie)
84
84
  ]));
85
85
  }
86
- }, oa = { class: "container" }, sa = { class: "nav" }, na = ["aria-disabled"], la = ["src"], ra = { class: "sr-only" }, ca = ["aria-disabled"], ba = ["src"], va = { class: "sr-only-mobile" }, ua = ["aria-disabled"], pa = ["src"], ma = { class: "sr-only-mobile" }, fa = ["src"], ga = { class: "sr-only" }, ha = { class: "header" }, xa = ["aria-level"], Ca = { class: "date" }, wa = { class: "expeditor" }, ya = ["aria-level"], ka = { class: "expeditor-mail" }, _a = { class: "recipient" }, Ma = ["aria-label"], La = ["src"], $a = ["innerHTML"], Ha = {
86
+ }, oe = { class: "container" }, ne = { class: "nav" }, se = ["aria-disabled"], ce = ["src"], le = { class: "sr-only" }, re = ["aria-disabled"], ve = ["src"], ue = { class: "sr-only-mobile" }, pe = ["aria-disabled"], me = ["src"], fe = { class: "sr-only-mobile" }, ge = ["src"], be = { class: "sr-only" }, he = { class: "header" }, xe = ["aria-level"], Ce = { class: "date" }, we = { class: "expeditor" }, ye = ["aria-level"], ke = { class: "expeditor-mail" }, _e = { class: "recipient" }, Me = ["aria-label"], Le = ["src"], $e = ["innerHTML"], Be = {
87
87
  key: 0,
88
88
  class: "previous-message"
89
- }, Ba = { class: "previous-message__header" }, Aa = ["innerHTML"], Da = /* @__PURE__ */ k({
89
+ }, He = { class: "previous-message__header" }, Ae = ["innerHTML"], De = /* @__PURE__ */ k({
90
90
  __name: "PixMailMessage.ce",
91
91
  props: {
92
92
  titleLevel: { default: 2, type: Number },
93
93
  actions: { type: Object },
94
- mail: { type: Object }
94
+ mail: { type: Object },
95
+ linkEnabled: { type: Boolean, default: !1 }
95
96
  },
96
- emits: ["action"],
97
- setup(a, { emit: f }) {
98
- const r = f;
99
- T();
100
- const { t: l } = B(), h = Z("content"), v = [
97
+ emits: ["action", "clickLink"],
98
+ setup(e, { emit: g }) {
99
+ const c = g;
100
+ j();
101
+ const { t: l } = A(), b = V("content"), u = [
101
102
  "reply",
102
103
  "forward",
103
104
  "delete",
@@ -105,35 +106,36 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
105
106
  "markAsUnread",
106
107
  "reportSpam"
107
108
  ], x = C(
108
- () => v.filter((t) => (a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "hidden").map((t) => ({
109
+ () => u.filter((t) => (e.actions?.menuActions?.[t] ?? e.actions?.[t]) !== "hidden").map((t) => ({
109
110
  name: t,
110
111
  label: l(`pix-mail-message.actions.${t}`),
111
- disabled: (a.actions?.menuActions?.[t] ?? a.actions?.[t]) === "disabled"
112
+ disabled: (e.actions?.menuActions?.[t] ?? e.actions?.[t]) === "disabled"
112
113
  }))
113
114
  );
114
- function u() {
115
- h.value.querySelectorAll("a").forEach((i) => {
116
- i.addEventListener("click", (b) => {
117
- b.preventDefault();
115
+ function p() {
116
+ if (!b.value) return;
117
+ b.value.querySelectorAll("a").forEach((i) => {
118
+ i.addEventListener("click", (v) => {
119
+ v.preventDefault(), e.linkEnabled && c("clickLink", i.href);
118
120
  });
119
121
  });
120
122
  }
121
123
  _(() => {
122
- u();
123
- }), E(() => {
124
- u();
124
+ p();
125
+ }), Z(() => {
126
+ p();
125
127
  });
126
- function c(t) {
127
- a.actions?.[t] !== "disabled" && r("action", t);
128
+ function r(t) {
129
+ e.actions?.[t] !== "disabled" && c("action", t);
128
130
  }
129
- function g(t) {
130
- (a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "disabled" && r("action", t);
131
+ function h(t) {
132
+ (e.actions?.menuActions?.[t] ?? e.actions?.[t]) !== "disabled" && c("action", t);
131
133
  }
132
- function s(t, i) {
133
- const b = D(t);
134
- return new Intl.DateTimeFormat(A.language, i).format(b);
134
+ function n(t, i) {
135
+ const v = T(t);
136
+ return new Intl.DateTimeFormat(D.language, i).format(v);
135
137
  }
136
- const w = C(() => s(a.mail.time, {
138
+ const w = C(() => n(e.mail.time, {
137
139
  weekday: "short",
138
140
  day: "numeric",
139
141
  month: "numeric",
@@ -141,121 +143,123 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
141
143
  hour: "2-digit",
142
144
  minute: "2-digit"
143
145
  })), H = C(() => {
144
- const t = s(a.mail.previousMail.time, {
146
+ const t = n(e.mail.previousMail.time, {
145
147
  weekday: "short",
146
148
  day: "numeric",
147
149
  month: "numeric",
148
150
  year: "2-digit"
149
- }), i = s(a.mail.previousMail.time, {
151
+ }), i = n(e.mail.previousMail.time, {
150
152
  hour: "2-digit",
151
153
  minute: "2-digit"
152
154
  });
153
155
  return l("pix-mail-message.previousHeader", {
154
- name: a.mail.previousMail.sender.name,
156
+ name: e.mail.previousMail.sender.name,
155
157
  time: i,
156
158
  date: t
157
159
  });
158
160
  });
159
- return (t, i) => (o(), n("div", oa, [
160
- e("div", sa, [
161
- a.actions?.return !== "hidden" ? (o(), n("button", {
161
+ return (t, i) => (o(), s("div", oe, [
162
+ a("div", ne, [
163
+ e.actions?.return !== "hidden" ? (o(), s("button", {
162
164
  key: 0,
163
- "aria-disabled": a.actions?.return === "disabled",
165
+ "aria-disabled": e.actions?.return === "disabled",
164
166
  class: "back-button",
165
- onClick: i[0] || (i[0] = (b) => c("return"))
167
+ onClick: i[0] || (i[0] = (v) => r("return"))
166
168
  }, [
167
- e("img", {
168
- src: p(K),
169
+ a("img", {
170
+ src: m(K),
169
171
  alt: ""
170
- }, null, 8, la),
171
- e("span", ra, d(t.$t("pix-mail-message.actions.return")), 1)
172
- ], 8, na)) : m("", !0),
173
- i[3] || (i[3] = e("div", { class: "nav__spacer" }, null, -1)),
174
- a.actions?.reply !== "hidden" ? (o(), n("button", {
172
+ }, null, 8, ce),
173
+ a("span", le, d(t.$t("pix-mail-message.actions.return")), 1)
174
+ ], 8, se)) : f("", !0),
175
+ i[3] || (i[3] = a("div", { class: "nav__spacer" }, null, -1)),
176
+ e.actions?.reply !== "hidden" ? (o(), s("button", {
175
177
  key: 1,
176
- "aria-disabled": a.actions?.reply === "disabled",
177
- onClick: i[1] || (i[1] = (b) => c("reply"))
178
+ "aria-disabled": e.actions?.reply === "disabled",
179
+ onClick: i[1] || (i[1] = (v) => r("reply"))
178
180
  }, [
179
- e("img", {
180
- src: p(U),
181
+ a("img", {
182
+ src: m(U),
181
183
  alt: ""
182
- }, null, 8, ba),
183
- e("span", va, d(t.$t("pix-mail-message.actions.reply")), 1)
184
- ], 8, ca)) : m("", !0),
185
- a.actions?.forward !== "hidden" ? (o(), n("button", {
184
+ }, null, 8, ve),
185
+ a("span", ue, d(t.$t("pix-mail-message.actions.reply")), 1)
186
+ ], 8, re)) : f("", !0),
187
+ e.actions?.forward !== "hidden" ? (o(), s("button", {
186
188
  key: 2,
187
- "aria-disabled": a.actions?.forward === "disabled",
188
- onClick: i[2] || (i[2] = (b) => c("forward"))
189
+ "aria-disabled": e.actions?.forward === "disabled",
190
+ onClick: i[2] || (i[2] = (v) => r("forward"))
189
191
  }, [
190
- e("img", {
191
- src: p(O),
192
+ a("img", {
193
+ src: m(O),
192
194
  alt: "",
193
195
  class: "flip"
194
- }, null, 8, pa),
195
- e("span", ma, d(t.$t("pix-mail-message.actions.forward")), 1)
196
- ], 8, ua)) : m("", !0),
197
- a.actions?.menu !== "hidden" ? (o(), q(ea, {
196
+ }, null, 8, me),
197
+ a("span", fe, d(t.$t("pix-mail-message.actions.forward")), 1)
198
+ ], 8, pe)) : f("", !0),
199
+ e.actions?.menu !== "hidden" ? (o(), q(ae, {
198
200
  key: 3,
199
201
  actions: x.value,
200
- disabled: a.actions?.menu === "disabled",
201
- onSelect: g
202
+ disabled: e.actions?.menu === "disabled",
203
+ onSelect: h
202
204
  }, {
203
- default: L(() => [
204
- e("img", {
205
- src: p(R),
205
+ default: $(() => [
206
+ a("img", {
207
+ src: m(R),
206
208
  alt: ""
207
- }, null, 8, fa),
208
- e("span", ga, d(t.$t("pix-mail-message.actions.menu")), 1)
209
+ }, null, 8, ge),
210
+ a("span", be, d(t.$t("pix-mail-message.actions.menu")), 1)
209
211
  ]),
210
212
  _: 1
211
- }, 8, ["actions", "disabled"])) : m("", !0)
213
+ }, 8, ["actions", "disabled"])) : f("", !0)
212
214
  ]),
213
- e("div", ha, [
214
- e("div", {
215
- "aria-level": a.titleLevel,
215
+ a("div", he, [
216
+ a("div", {
217
+ "aria-level": e.titleLevel,
216
218
  role: "heading"
217
- }, d(a.mail.subject), 9, xa),
218
- e("p", Ca, d(w.value), 1)
219
+ }, d(e.mail.subject), 9, xe),
220
+ a("p", Ce, d(w.value), 1)
219
221
  ]),
220
- e("div", wa, [
221
- M(da, {
222
- color: a.mail.sender.avatarColor,
222
+ a("div", we, [
223
+ L(de, {
224
+ color: e.mail.sender.avatarColor,
223
225
  class: "avatar"
224
226
  }, null, 8, ["color"]),
225
- e("div", {
226
- "aria-level": a.titleLevel + 1,
227
+ a("div", {
228
+ "aria-level": e.titleLevel + 1,
227
229
  role: "heading"
228
230
  }, [
229
- F(d(a.mail.sender.name) + " ", 1),
230
- e("span", ka, " <" + d(a.mail.sender.address) + ">", 1)
231
- ], 8, ya),
232
- e("div", _a, [
233
- e("p", null, d(t.$t("pix-mail-message.toMe")), 1),
234
- e("button", {
231
+ F(d(e.mail.sender.name) + " ", 1),
232
+ a("span", ke, " <" + d(e.mail.sender.address) + ">", 1)
233
+ ], 8, ye),
234
+ a("div", _e, [
235
+ a("p", null, d(t.$t("pix-mail-message.toMe")), 1),
236
+ a("button", {
235
237
  "aria-label": t.$t("pix-mail-message.details"),
236
238
  "aria-disabled": "true"
237
239
  }, [
238
- e("img", {
239
- src: p(G),
240
+ a("img", {
241
+ src: m(G),
240
242
  alt: ""
241
- }, null, 8, La)
242
- ], 8, Ma)
243
+ }, null, 8, Le)
244
+ ], 8, Me)
243
245
  ])
244
246
  ]),
245
- e("p", {
246
- ref: "content",
247
- class: "content",
248
- innerHTML: a.mail.body
249
- }, null, 8, $a),
250
- a.mail.previousMail ? (o(), n("div", Ha, [
251
- e("p", Ba, d(H.value), 1),
252
- e("blockquote", {
253
- innerHTML: a.mail.previousMail.body
254
- }, null, 8, Aa)
255
- ])) : m("", !0)
247
+ M(t.$slots, "content", {}, () => [
248
+ a("p", {
249
+ ref: "content",
250
+ class: "content",
251
+ innerHTML: e.mail.body
252
+ }, null, 8, $e)
253
+ ], !0),
254
+ e.mail.previousMail ? (o(), s("div", Be, [
255
+ a("p", He, d(H.value), 1),
256
+ a("blockquote", {
257
+ innerHTML: e.mail.previousMail.body
258
+ }, null, 8, Ae)
259
+ ])) : f("", !0)
256
260
  ]));
257
261
  }
258
- }), Ta = "html[data-v-a303ea8b],body[data-v-a303ea8b],div[data-v-a303ea8b],span[data-v-a303ea8b],applet[data-v-a303ea8b],object[data-v-a303ea8b],iframe[data-v-a303ea8b],h1[data-v-a303ea8b],h2[data-v-a303ea8b],h3[data-v-a303ea8b],h4[data-v-a303ea8b],h5[data-v-a303ea8b],h6[data-v-a303ea8b],p[data-v-a303ea8b],blockquote[data-v-a303ea8b],pre[data-v-a303ea8b],a[data-v-a303ea8b],abbr[data-v-a303ea8b],acronym[data-v-a303ea8b],address[data-v-a303ea8b],big[data-v-a303ea8b],cite[data-v-a303ea8b],code[data-v-a303ea8b],del[data-v-a303ea8b],dfn[data-v-a303ea8b],em[data-v-a303ea8b],img[data-v-a303ea8b],ins[data-v-a303ea8b],kbd[data-v-a303ea8b],q[data-v-a303ea8b],s[data-v-a303ea8b],samp[data-v-a303ea8b],small[data-v-a303ea8b],strike[data-v-a303ea8b],strong[data-v-a303ea8b],sub[data-v-a303ea8b],sup[data-v-a303ea8b],tt[data-v-a303ea8b],var[data-v-a303ea8b],b[data-v-a303ea8b],u[data-v-a303ea8b],i[data-v-a303ea8b],center[data-v-a303ea8b],dl[data-v-a303ea8b],dt[data-v-a303ea8b],dd[data-v-a303ea8b],ol[data-v-a303ea8b],ul[data-v-a303ea8b],li[data-v-a303ea8b],fieldset[data-v-a303ea8b],form[data-v-a303ea8b],label[data-v-a303ea8b],legend[data-v-a303ea8b],table[data-v-a303ea8b],caption[data-v-a303ea8b],tbody[data-v-a303ea8b],tfoot[data-v-a303ea8b],thead[data-v-a303ea8b],tr[data-v-a303ea8b],th[data-v-a303ea8b],td[data-v-a303ea8b],article[data-v-a303ea8b],aside[data-v-a303ea8b],canvas[data-v-a303ea8b],details[data-v-a303ea8b],embed[data-v-a303ea8b],figure[data-v-a303ea8b],figcaption[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],output[data-v-a303ea8b],ruby[data-v-a303ea8b],section[data-v-a303ea8b],summary[data-v-a303ea8b],time[data-v-a303ea8b],mark[data-v-a303ea8b],audio[data-v-a303ea8b],video[data-v-a303ea8b]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-a303ea8b],aside[data-v-a303ea8b],details[data-v-a303ea8b],figcaption[data-v-a303ea8b],figure[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],section[data-v-a303ea8b]{display:block}body[data-v-a303ea8b]{line-height:1}ol[data-v-a303ea8b],ul[data-v-a303ea8b]{list-style:none}table[data-v-a303ea8b]{border-collapse:collapse;border-spacing:0}button[data-v-a303ea8b],p[data-v-a303ea8b],div[role=heading][data-v-a303ea8b]{font-family:Roboto,sans-serif;color:#253858}.container[data-v-a303ea8b]{background-color:#f4f5f7;border-radius:8px;border:1px solid #cdd1d9;display:flex;flex-direction:column;gap:12px;padding:16px}.nav[data-v-a303ea8b]{display:flex;gap:8px;justify-content:end;align-items:stretch}.nav button[data-v-a303ea8b]{display:flex;gap:8px;align-items:center;cursor:pointer;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px;color:#122647;font-size:.875rem;font-weight:700}.nav button[aria-disabled=true][data-v-a303ea8b]{cursor:not-allowed;background:#eae9e9}.nav button[aria-disabled=false][data-v-a303ea8b]:hover{background-color:#cdd1d9}.nav .back-button[data-v-a303ea8b]{border:none;background:transparent}.nav__spacer[data-v-a303ea8b]{flex:1}.flip-h[data-v-a303ea8b]{transform:scaleX(-1)}.header[data-v-a303ea8b]{display:flex;justify-content:space-between}.header div[role][data-v-a303ea8b]{font-family:open-sans,sans-serif;font-size:1.125rem}.header .date[data-v-a303ea8b]{color:#5e6c84;font-size:.75rem}.expeditor[data-v-a303ea8b]{display:grid;column-gap:4px;width:fit-content;grid-template-columns:repeat(2,auto);grid-template-rows:repeat(2,auto)}.expeditor div[role][data-v-a303ea8b]{font-weight:700}.expeditor-mail[data-v-a303ea8b],.expeditor .recipient p[data-v-a303ea8b]{align-self:end;font-size:.75rem;color:#5e6c84;font-weight:400;word-break:break-word}.expeditor .recipient[data-v-a303ea8b]{display:flex}.expeditor .recipient button[data-v-a303ea8b]{border:none;background:transparent;display:flex;align-items:center;cursor:not-allowed}.expeditor .avatar[data-v-a303ea8b]{grid-row:1/span 2;margin-right:12px}.content[data-v-a303ea8b]{color:#122647;font-size:.875rem}.previous-message[data-v-a303ea8b]{font-size:.875rem;margin-top:12px}.previous-message__header[data-v-a303ea8b]{font-style:italic;font-size:.875rem;color:#5e6c84;margin-bottom:8px}.previous-message blockquote[data-v-a303ea8b]{border-left:1px solid #cdd1d9;margin-left:8px;padding-left:8px}.sr-only[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:576px){.sr-only-mobile[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.date[data-v-a303ea8b]{display:none}}", Va = /* @__PURE__ */ $(Da, [["styles", [Ta]], ["__scopeId", "data-v-a303ea8b"]]);
262
+ }), Te = "html[data-v-449e261c],body[data-v-449e261c],div[data-v-449e261c],span[data-v-449e261c],applet[data-v-449e261c],object[data-v-449e261c],iframe[data-v-449e261c],h1[data-v-449e261c],h2[data-v-449e261c],h3[data-v-449e261c],h4[data-v-449e261c],h5[data-v-449e261c],h6[data-v-449e261c],p[data-v-449e261c],blockquote[data-v-449e261c],pre[data-v-449e261c],a[data-v-449e261c],abbr[data-v-449e261c],acronym[data-v-449e261c],address[data-v-449e261c],big[data-v-449e261c],cite[data-v-449e261c],code[data-v-449e261c],del[data-v-449e261c],dfn[data-v-449e261c],em[data-v-449e261c],img[data-v-449e261c],ins[data-v-449e261c],kbd[data-v-449e261c],q[data-v-449e261c],s[data-v-449e261c],samp[data-v-449e261c],small[data-v-449e261c],strike[data-v-449e261c],strong[data-v-449e261c],sub[data-v-449e261c],sup[data-v-449e261c],tt[data-v-449e261c],var[data-v-449e261c],b[data-v-449e261c],u[data-v-449e261c],i[data-v-449e261c],center[data-v-449e261c],dl[data-v-449e261c],dt[data-v-449e261c],dd[data-v-449e261c],ol[data-v-449e261c],ul[data-v-449e261c],li[data-v-449e261c],fieldset[data-v-449e261c],form[data-v-449e261c],label[data-v-449e261c],legend[data-v-449e261c],table[data-v-449e261c],caption[data-v-449e261c],tbody[data-v-449e261c],tfoot[data-v-449e261c],thead[data-v-449e261c],tr[data-v-449e261c],th[data-v-449e261c],td[data-v-449e261c],article[data-v-449e261c],aside[data-v-449e261c],canvas[data-v-449e261c],details[data-v-449e261c],embed[data-v-449e261c],figure[data-v-449e261c],figcaption[data-v-449e261c],footer[data-v-449e261c],header[data-v-449e261c],hgroup[data-v-449e261c],menu[data-v-449e261c],nav[data-v-449e261c],output[data-v-449e261c],ruby[data-v-449e261c],section[data-v-449e261c],summary[data-v-449e261c],time[data-v-449e261c],mark[data-v-449e261c],audio[data-v-449e261c],video[data-v-449e261c]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-449e261c],aside[data-v-449e261c],details[data-v-449e261c],figcaption[data-v-449e261c],figure[data-v-449e261c],footer[data-v-449e261c],header[data-v-449e261c],hgroup[data-v-449e261c],menu[data-v-449e261c],nav[data-v-449e261c],section[data-v-449e261c]{display:block}body[data-v-449e261c]{line-height:1}ol[data-v-449e261c],ul[data-v-449e261c]{list-style:none}table[data-v-449e261c]{border-collapse:collapse;border-spacing:0}button[data-v-449e261c],p[data-v-449e261c],div[role=heading][data-v-449e261c]{font-family:Roboto,sans-serif;color:#253858}.container[data-v-449e261c]{background-color:#f4f5f7;border-radius:8px;border:1px solid #cdd1d9;display:flex;flex-direction:column;gap:12px;padding:16px}.nav[data-v-449e261c]{display:flex;gap:8px;justify-content:end;align-items:stretch}.nav button[data-v-449e261c]{display:flex;gap:8px;align-items:center;cursor:pointer;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px;color:#122647;font-size:.875rem;font-weight:700}.nav button[aria-disabled=true][data-v-449e261c]{cursor:not-allowed;background:#eae9e9}.nav button[aria-disabled=false][data-v-449e261c]:hover{background-color:#cdd1d9}.nav .back-button[data-v-449e261c]{border:none;background:transparent}.nav__spacer[data-v-449e261c]{flex:1}.flip-h[data-v-449e261c]{transform:scaleX(-1)}.header[data-v-449e261c]{display:flex;justify-content:space-between}.header div[role][data-v-449e261c]{font-family:open-sans,sans-serif;font-size:1.125rem}.header .date[data-v-449e261c]{color:#5e6c84;font-size:.75rem}.expeditor[data-v-449e261c]{display:grid;column-gap:4px;width:fit-content;grid-template-columns:repeat(2,auto);grid-template-rows:repeat(2,auto)}.expeditor div[role][data-v-449e261c]{font-weight:700}.expeditor-mail[data-v-449e261c],.expeditor .recipient p[data-v-449e261c]{align-self:end;font-size:.75rem;color:#5e6c84;font-weight:400;word-break:break-word}.expeditor .recipient[data-v-449e261c]{display:flex}.expeditor .recipient button[data-v-449e261c]{border:none;background:transparent;display:flex;align-items:center;cursor:not-allowed}.expeditor .avatar[data-v-449e261c]{grid-row:1/span 2;margin-right:12px}.content[data-v-449e261c]{color:#122647;font-size:.875rem}.previous-message[data-v-449e261c]{font-size:.875rem;margin-top:12px}.previous-message__header[data-v-449e261c]{font-style:italic;font-size:.875rem;color:#5e6c84;margin-bottom:8px}.previous-message blockquote[data-v-449e261c]{border-left:1px solid #cdd1d9;margin-left:8px;padding-left:8px}.sr-only[data-v-449e261c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:576px){.sr-only-mobile[data-v-449e261c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.date[data-v-449e261c]{display:none}}", Ne = /* @__PURE__ */ B(De, [["styles", [Te]], ["__scopeId", "data-v-449e261c"]]);
259
263
  export {
260
- Va as P
264
+ Ne as P
261
265
  };
@@ -1,6 +1,6 @@
1
- import { B as u } from "./Button.ce-DZ8jDtW5.js";
2
- import { F as x } from "./FocusManager.ce-DHXwg6WZ.js";
3
- import { b as m, h as b, B as g, o as n, c as r, F as y, l, C as h, D as p, a as e, q as d, E as i, x as a, f as B, z as _, _ as v } from "./_plugin-vue_export-helper-B-lVMTio.js";
1
+ import { B as u } from "./Button.ce-Dvxeebpx.js";
2
+ import { F as x } from "./FocusManager.ce-Cv3wYF9s.js";
3
+ import { b as m, h as b, C as g, o as n, c as r, F as y, l, D as h, E as p, a as e, q as d, B as i, x as a, f as B, z as _, _ as v } from "./_plugin-vue_export-helper-Dz58mCLm.js";
4
4
  const k = {
5
5
  key: 0,
6
6
  class: "overlay"
@@ -1,4 +1,4 @@
1
- import { _ as e, o as t, c as r, a as o } from "./_plugin-vue_export-helper-B-lVMTio.js";
1
+ import { _ as e, o as t, c as r, a as o } from "./_plugin-vue_export-helper-Dz58mCLm.js";
2
2
  const s = {}, n = {
3
3
  width: "20",
4
4
  height: "20",
@@ -1,4 +1,4 @@
1
- import { b as i, o as d, c, a as e, z as l, x as p, g as o, _ as u } from "./_plugin-vue_export-helper-B-lVMTio.js";
1
+ import { b as i, o as d, c, a as e, z as l, x as p, g as o, _ as u } from "./_plugin-vue_export-helper-Dz58mCLm.js";
2
2
  const h = { class: "steps-wrapper" }, _ = { class: "steps-wrapper__stepper" }, f = { "aria-hidden": "true" }, w = {
3
3
  class: "sr-only",
4
4
  "aria-live": "polite"
@@ -4953,10 +4953,10 @@ const lf = (e, t) => {
4953
4953
  export {
4954
4954
  Fc as $,
4955
4955
  Eo as A,
4956
- sr as B,
4957
- re as C,
4958
- jo as D,
4959
- Il as E,
4956
+ Il as B,
4957
+ sr as C,
4958
+ re as D,
4959
+ jo as E,
4960
4960
  ve as F,
4961
4961
  rr as G,
4962
4962
  Lc as H,
@@ -1,9 +1,10 @@
1
- import { b as V, i as Q, h as D, w as U, o as a, f as S, D as s, q as W, N as z, y as L, t as X, v as M, R as Y, g as o, _ as Z, K as ee, c, C as u, a as n, E as y, x as l, F as w, e as N, l as x, S as te, r as A, p as ae, d as se } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
- import { u as ne, i as P } from "../i18n-lite-BIJ2LVs6.js";
1
+ import { b as V, i as Q, h as D, w as U, o as a, f as S, E as s, q as W, N as z, y as L, t as X, v as M, R as Y, g as o, _ as Z, K as ee, c, D as u, a as n, B as y, x as l, F as w, e as N, l as x, S as te, r as A, p as ae, d as se } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { u as ne, i as P } from "../i18n-lite-CzqISEWm.js";
3
3
  import { b as le } from "../normalize-props-DH0oPBss.js";
4
- import { _ as oe, a as ie, F as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js";
5
- import { S as ce } from "../Stepper.ce-Dttf3Dsf.js";
6
- import { l as de } from "../index-BaI3Qosp.js";
4
+ import { F as oe } from "../Feedback.ce-CnZRBGWf.js";
5
+ import { _ as ie, a as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js";
6
+ import { S as ce } from "../Stepper.ce-DEMN02yr.js";
7
+ import { l as de } from "../index-BUPiE5WR.js";
7
8
  const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
8
9
  "analyse-mails-phishing": { continue: "Continuer", subject: "{{srOnly}}{{subject}}", subjectSrOnly: "Sujet : ", sender: "{{srOnly}}{{sender}}", senderSrOnly: "Expéditeur : ", recipient: "{{srOnly}}{{recipient}}", recipientSrOnly: "Destinataire : ", to: "À moi", feedbackTitle: { correct: "Bien joué", incorrect: "Ce n’est pas ça" }, feedbackSrOnly: "Vous pouvez cliquer sur Continuer pour afficher le prochain mail." }
9
10
  }, ve = {}, ge = {}, ye = "data:image/svg+xml,%3csvg%20width='41'%20height='41'%20viewBox='0%200%2041%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2033.5484C9.02496%2031.6445%209.79268%2029.8271%2011.1371%2028.4893C12.4815%2027.1515%2014.2944%2026.4009%2016.1837%2026.3999H24.8163C26.7056%2026.4009%2028.5185%2027.1515%2029.8629%2028.4893C31.2073%2029.8271%2031.975%2031.6445%2032%2033.5484C28.8446%2036.4141%2024.7476%2038%2020.5%2038C16.2524%2038%2012.1554%2036.4141%209%2033.5484ZM26.9744%2015.525C26.9744%2016.8155%2026.5947%2018.077%2025.8833%2019.1501C25.1719%2020.2231%2024.1607%2021.0594%2022.9776%2021.5533C21.7946%2022.0471%2020.4928%2022.1763%2019.2369%2021.9246C17.981%2021.6728%2016.8274%2021.0514%2015.9219%2020.1388C15.0164%2019.2263%2014.3998%2018.0637%2014.15%2016.7979C13.9002%2015.5322%2014.0284%2014.2203%2014.5184%2013.028C15.0085%2011.8357%2015.8383%2010.8166%2016.903%2010.0997C17.9677%209.38268%2019.2195%209%2020.5%209C22.2171%209%2023.8639%209.68745%2025.0781%2010.9111C26.2923%2012.1348%2026.9744%2013.7944%2026.9744%2015.525Z'%20fill='white'/%3e%3cpath%20d='M36.2655%2033.5758C38.3699%2031.0459%2039.8335%2028.0469%2040.5326%2024.8323C41.2316%2021.6177%2041.1455%2018.2822%2040.2815%2015.1079C39.4175%2011.9336%2037.8011%209.0139%2035.569%206.59581C33.3368%204.17772%2030.5547%202.33238%2027.4578%201.21587C24.3609%200.0993725%2021.0405%20-0.255438%2017.7774%200.181459C14.5142%200.618355%2011.4044%201.83411%208.71099%203.72586C6.01756%205.61762%203.81975%208.12973%202.30349%2011.0497C0.787232%2013.9696%20-0.00287585%2017.2115%207.86538e-06%2020.5011C0.00111445%2025.2832%201.6877%2029.9122%204.7638%2033.5758L4.7345%2033.6007C4.83707%2033.7237%204.9543%2033.8291%205.0598%2033.9506C5.19168%2034.1014%205.33382%2034.2435%205.47009%2034.3899C5.88039%2034.835%206.3024%2035.2625%206.74493%2035.6637C6.87974%2035.7866%207.01895%2035.9008%207.15522%2036.018C7.62413%2036.4221%208.10623%2036.8057%208.6059%2037.1629C8.67038%2037.2068%208.72899%2037.264%208.79347%2037.3093V37.2918C12.2254%2039.7049%2016.3196%2041%2020.5161%2041C24.7127%2041%2028.8068%2039.7049%2032.2388%2037.2918V37.3093C32.3033%2037.264%2032.3604%2037.2068%2032.4263%2037.1629C32.9246%2036.8042%2033.4081%2036.4221%2033.877%2036.018C34.0133%2035.9008%2034.1525%2035.7852%2034.2873%2035.6637C34.7298%2035.261%2035.1519%2034.835%2035.5622%2034.3899C35.6984%2034.2435%2035.8391%2034.1014%2035.9725%2033.9506C36.0765%2033.8291%2036.1952%2033.7237%2036.2978%2033.5992L36.2655%2033.5758ZM20.5147%208.78808C21.8188%208.78808%2023.0937%209.1745%2024.1781%209.89846C25.2625%2010.6224%2026.1076%2011.6514%2026.6067%2012.8553C27.1058%2014.0592%2027.2364%2015.384%2026.982%2016.662C26.7275%2017.9401%2026.0995%2019.1141%2025.1773%2020.0355C24.2551%2020.9569%2023.0802%2021.5844%2021.8011%2021.8387C20.522%2022.0929%2019.1961%2021.9624%2017.9912%2021.4637C16.7864%2020.9651%2015.7565%2020.1206%2015.032%2019.0371C14.3074%2017.9536%2013.9207%2016.6798%2013.9207%2015.3767C13.9207%2013.6293%2014.6154%2011.9534%2015.852%2010.7178C17.0886%209.48224%2018.7658%208.78808%2020.5147%208.78808ZM8.80226%2033.5758C8.82768%2031.6534%209.60958%2029.8182%2010.9788%2028.4674C12.348%2027.1165%2014.1945%2026.3586%2016.1187%2026.3576H24.9107C26.8349%2026.3586%2028.6813%2027.1165%2030.0505%2028.4674C31.4197%2029.8182%2032.2016%2031.6534%2032.2271%2033.5758C29.0134%2036.4694%2024.8407%2038.0708%2020.5147%2038.0708C16.1886%2038.0708%2012.016%2036.4694%208.80226%2033.5758Z'%20fill='%232F80ED'/%3e%3c/svg%3e", be = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", Ce = /* @__PURE__ */ V({
@@ -217,15 +218,15 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
217
218
  ])) : x("", !0)
218
219
  ], 64))), 128))
219
220
  ]),
220
- O.value ? (a(), S(re, {
221
+ O.value ? (a(), S(oe, {
221
222
  key: 0,
222
223
  title: E.value
223
224
  }, {
224
225
  icon: s(() => [
225
- g.value ? (a(), S(oe, {
226
+ g.value ? (a(), S(ie, {
226
227
  key: 0,
227
228
  class: "feedback-icon"
228
- })) : (a(), S(ie, {
229
+ })) : (a(), S(re, {
229
230
  key: 1,
230
231
  class: "feedback-icon"
231
232
  }))
@@ -0,0 +1,4 @@
1
+ import { d as t } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { B as o } from "../Button.ce-Dvxeebpx.js";
3
+ const e = t(o);
4
+ window.customElements.define("pix-button", e);
@@ -1,5 +1,5 @@
1
- import { b as V, K as R, o as d, c as p, F as K, C as v, D as r, a as e, x as a, E as _, l as C, T as D, _ as z, v as E, H as j, Q as x, f as U, r as l, d as H } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
- import { a as Q, i as N, b as G } from "../i18n-CsT7k7zW.js";
1
+ import { b as V, K as R, o as d, c as p, F as K, D as v, E as r, a as e, x as a, B as _, l as C, T as D, _ as z, v as E, H as j, Q as x, f as U, r as l, d as H } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { a as Q, i as N, b as G } from "../i18n-H4HokXDX.js";
3
3
  import { b as J } from "../normalize-props-DH0oPBss.js";
4
4
  const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
5
5
  "calcul-impact": { title: "Calculez votre impact IA", subtitle: "Quels ont été vos usages de l'IA la semaine dernière ?", numberOfConversationLabel: "Nombre de conversations courtes :", numberOfImagesLabel: "Nombre de créations d’images :", seePersonalImpact: "Voir votre impact personnel sur une semaine", seeCollectiveImpact: "Si 1 million de personnes faisaient comme vous toutes les semaines pendant un an", legals: "Estimations basées sur l'étude Hugging Face, Carnegie Mellon University, Allen Institute for AI, Oct 2024", yourPersonalImpact: "Votre impact personnel", consumptionForAWeek: "Votre consommation sur une semaine", consumptionForAYear: "1 million de personnes toutes les semaines pendant un an", personalConsumption: "Vous avez consommé environ {{energy}} Wh", personalDuration: "Cela équivaut à {{number}} minutes de micro-ondes", collectiveConsumption: "Cela représenterait {{energy}} kWh, soit l'équivalent de la consommation en électricité de {{homes}} foyers français", collectiveDuration: "Équivalent à {{number}} minutes de micro-ondes", planeKilometers: "Et {{kilometers}} km parcourus en avion", yourCollectiveImpact: "Impact collectif simulé" }
@@ -109,15 +109,15 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
109
109
  ], 64);
110
110
  };
111
111
  }
112
- }), _e = ".result-calculation[data-v-b69dd4ff]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-b69dd4ff]{font-size:1.125rem;font-weight:700}.consumption[data-v-b69dd4ff]{font-style:italic}.fade-perso-enter-active[data-v-b69dd4ff],.fade-collectif-enter-active[data-v-b69dd4ff]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-b69dd4ff],.fade-collectif-leave-active[data-v-b69dd4ff]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-b69dd4ff],.fade-collectif-enter-from[data-v-b69dd4ff],.fade-perso-leave-to[data-v-b69dd4ff],.fade-collectif-leave-to[data-v-b69dd4ff]{transform:translate(20px);opacity:0}", Ce = /* @__PURE__ */ z(ge, [["styles", [_e]], ["__scopeId", "data-v-b69dd4ff"]]), he = { class: "container" }, ke = ["arial-level"], Ie = { for: "numberOfConversation" }, we = { for: "numberOfImage" }, $e = { class: "legals" }, Be = /* @__PURE__ */ V({
112
+ }), _e = ".result-calculation[data-v-b69dd4ff]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-b69dd4ff]{font-size:1.125rem;font-weight:700}.consumption[data-v-b69dd4ff]{font-style:italic}.fade-perso-enter-active[data-v-b69dd4ff],.fade-collectif-enter-active[data-v-b69dd4ff]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-b69dd4ff],.fade-collectif-leave-active[data-v-b69dd4ff]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-b69dd4ff],.fade-collectif-enter-from[data-v-b69dd4ff],.fade-perso-leave-to[data-v-b69dd4ff],.fade-collectif-leave-to[data-v-b69dd4ff]{transform:translate(20px);opacity:0}", Ce = /* @__PURE__ */ z(ge, [["styles", [_e]], ["__scopeId", "data-v-b69dd4ff"]]), he = { class: "container" }, ke = ["arial-level"], Ie = { for: "numberOfConversation" }, we = { for: "numberOfImage" }, Be = { class: "legals" }, $e = /* @__PURE__ */ V({
113
113
  __name: "CalculImpact.ce",
114
114
  props: {
115
115
  titleLevel: { type: Number }
116
116
  },
117
117
  setup(t, { expose: o }) {
118
- const i = t.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), $ = l(0), B = l(0), c = l(!1), y = l(!1);
118
+ const i = t.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), B = l(0), $ = l(0), c = l(!1), y = l(!1);
119
119
  function q() {
120
- b.value = 10, f.value = 2, u.value = {}, m.value = {}, w.value = 0, $.value = 0, B.value = 0, c.value = !1, y.value = !1, k.value = 0, F.value = 0, g.value = 0, A.value = 0, L.value = 0;
120
+ b.value = 10, f.value = 2, u.value = {}, m.value = {}, w.value = 0, B.value = 0, $.value = 0, c.value = !1, y.value = !1, k.value = 0, F.value = 0, g.value = 0, A.value = 0, L.value = 0;
121
121
  }
122
122
  const h = {
123
123
  text: { energy: 2.9, co2: 1.5 },
@@ -127,7 +127,7 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
127
127
  k.value = b.value * h.text.energy + f.value * h.image.energy, F.value = b.value * h.text.co2 + f.value * h.image.co2, w.value = Number((k.value / 0.8).toFixed(1)), u.value.energyByWeek = k.value.toFixed(1), u.value.personalMicrowavesDuration = w.value, u.value.co2ByWeek = F.value.toFixed(1);
128
128
  }
129
129
  function M() {
130
- g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, A.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), $.value = g.value / 0.8, B.value = A.value * 2410, m.value.collectiveMicrowavesDuration = $.value.toLocaleString(), m.value.kilometerByPlane = B.value.toLocaleString(), m.value.equivalentPopulationByCity = L.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
130
+ g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, A.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), B.value = g.value / 0.8, $.value = A.value * 2410, m.value.collectiveMicrowavesDuration = B.value.toLocaleString(), m.value.kilometerByPlane = $.value.toLocaleString(), m.value.equivalentPopulationByCity = L.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
131
131
  }
132
132
  function S() {
133
133
  P(), c.value = !0;
@@ -181,10 +181,10 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
181
181
  key: 2,
182
182
  onClick: T
183
183
  }, "🌍 " + a(s.$t("calcul-impact.seeCollectiveImpact")), 1)) : C("", !0),
184
- e("p", $e, "📝 " + a(s.$t("calcul-impact.legals")), 1)
184
+ e("p", Be, "📝 " + a(s.$t("calcul-impact.legals")), 1)
185
185
  ]));
186
186
  }
187
- }), Fe = "[data-v-7fbb31b5]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-7fbb31b5]{padding:0}.container[data-v-7fbb31b5]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-7fbb31b5]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-7fbb31b5]:hover{background:#225d93}.container input[data-v-7fbb31b5]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-7fbb31b5]{font-weight:700}.container .legals[data-v-7fbb31b5]{font-size:.9rem;font-style:italic}.container .title[data-v-7fbb31b5]{font-size:1.3rem;font-weight:700}@media only screen and (max-width:768px){.container button[data-v-7fbb31b5]{width:100%}.container input[data-v-7fbb31b5]{width:80%}}", Ae = /* @__PURE__ */ z(Be, [["styles", [Fe]], ["__scopeId", "data-v-7fbb31b5"]]);
187
+ }), Fe = "[data-v-7fbb31b5]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-7fbb31b5]{padding:0}.container[data-v-7fbb31b5]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-7fbb31b5]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-7fbb31b5]:hover{background:#225d93}.container input[data-v-7fbb31b5]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-7fbb31b5]{font-weight:700}.container .legals[data-v-7fbb31b5]{font-size:.9rem;font-style:italic}.container .title[data-v-7fbb31b5]{font-size:1.3rem;font-weight:700}@media only screen and (max-width:768px){.container button[data-v-7fbb31b5]{width:100%}.container input[data-v-7fbb31b5]{width:80%}}", Ae = /* @__PURE__ */ z($e, [["styles", [Fe]], ["__scopeId", "data-v-7fbb31b5"]]);
188
188
  Q(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ae, "./locales/fr.json": le, "./locales/it.json": oe, "./locales/nl.json": ne })).catch((t) => console.error(t));
189
189
  const Y = H(Ae, {
190
190
  configureApp(t) {