@1024pix/epreuves-components 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button.ce-Dvxeebpx.js → Button.ce-DNrjLa1r.js} +1 -1
- package/dist/{ButtonTooltip.ce-WwOarMJq.js → ButtonTooltip.ce-DQ8QAvUM.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js → Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js} +1 -1
- package/dist/{Feedback.ce-CnZRBGWf.js → Feedback.ce-MqHV98f3.js} +1 -1
- package/dist/{FocusManager.ce-Cv3wYF9s.js → FocusManager.ce-CwF5pnqR.js} +6 -6
- package/dist/Icon.ce-O_y_jvjK.js +50 -0
- package/dist/{LLMMessage.ce-B7EwoHy2.js → LLMMessage.ce-Duki08xd.js} +2 -2
- package/dist/{Loading.ce-Dv2gEjXm.js → Loading.ce-D7CUjrcI.js} +1 -1
- package/dist/{NavigationButton.ce-D8_YC96l.js → NavigationButton.ce-17UL0Mwu.js} +2 -2
- package/dist/{PixMailMessage.ce-TnjyOfiH.js → PixMailMessage.ce-CNULZecQ.js} +13 -13
- package/dist/{Popin.ce-BPnBZykQ.js → Popin.ce-VvQiVxjk.js} +8 -8
- package/dist/{Retry-C3g7zhz8.js → Retry-CGkQcck5.js} +1 -1
- package/dist/{Stepper.ce-DEMN02yr.js → Stepper.ce-gx2YaVCo.js} +1 -1
- package/dist/{_plugin-vue_export-helper-Dz58mCLm.js → _plugin-vue_export-helper-DROOAHrz.js} +1635 -1540
- package/dist/components/analyse-mails-phishing.ce.js.js +11 -11
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +16 -16
- package/dist/components/capacity-calculation.ce.js.js +18 -18
- package/dist/components/clickable-image.ce.js.js +12 -12
- package/dist/components/complete-phrase.ce.js.js +8 -8
- package/dist/components/feedback.ce.js.js +2 -2
- package/dist/components/flip-cards.ce.js.js +1 -1
- package/dist/components/generate-mdp.ce.js.js +228 -0
- package/dist/components/image-quiz.ce.js.js +3 -3
- package/dist/components/image-quizzes.ce.js.js +3 -3
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +6 -6
- package/dist/components/mdp-classement.ce.js.js +17 -17
- package/dist/components/message-conversation.ce.js.js +9 -9
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +137 -175
- package/dist/components/phishing-message.ce.js.js +9 -9
- package/dist/components/phishing-notification.ce.js.js +4 -4
- package/dist/components/pix-anonymisation.ce.js.js +21 -21
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +6 -6
- package/dist/components/pix-cursor.ce.js.js +3 -3
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +14 -14
- package/dist/components/qcm-deepfake.ce.js.js +17 -17
- package/dist/components/quiz-stepper.ce.js.js +6 -6
- package/dist/components/select-conversation.ce.js.js +7 -7
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +5 -5
- package/dist/components/trouver-mdp-rs.ce.js.js +15 -15
- package/dist/components/usages-donnees.ce.js.js +27 -27
- package/dist/{i18n-H4HokXDX.js → i18n-BVfGnSnP.js} +13 -13
- package/dist/{i18n-lite-CzqISEWm.js → i18n-lite-V7Z5qwB2.js} +1 -1
- package/dist/{image-quiz.ce-C-iI27gD.js → image-quiz.ce-DLpB-rde.js} +2 -2
- package/dist/{index-BUPiE5WR.js → index-BgVc_wZ5.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +24 -20
- package/dist/props.examples.js +101 -99
- package/dist/schema.js +53 -51
- package/dist/{shadow-dom-D54WF-WZ.js → shadow-dom-4LHwwhYa.js} +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as V, i as
|
|
2
|
-
import { u as ne, i as P } from "../i18n-lite-
|
|
1
|
+
import { b as V, i as J, h as D, w as Q, o as a, f as S, E as s, q as U, N as z, y as L, t as X, v as M, V as Y, g as o, _ as Z, K as ee, c, D as u, a as n, A as y, x as l, F as w, e as N, l as x, W as te, r as A, p as ae, d as se } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { u as ne, i as P } from "../i18n-lite-V7Z5qwB2.js";
|
|
3
3
|
import { b as le } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { F as oe } from "../Feedback.ce-
|
|
5
|
-
import { _ as ie, a as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as ce } from "../Stepper.ce-
|
|
7
|
-
import { l as de } from "../index-
|
|
4
|
+
import { F as oe } from "../Feedback.ce-MqHV98f3.js";
|
|
5
|
+
import { _ as ie, a as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js";
|
|
6
|
+
import { S as ce } from "../Stepper.ce-gx2YaVCo.js";
|
|
7
|
+
import { l as de } from "../index-BgVc_wZ5.js";
|
|
8
8
|
const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
9
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." }
|
|
10
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({
|
|
@@ -14,7 +14,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
14
14
|
path: { type: String }
|
|
15
15
|
},
|
|
16
16
|
setup(t) {
|
|
17
|
-
const { selectedPath: f, correct: $, paths: b, pathToIndex: _ } =
|
|
17
|
+
const { selectedPath: f, correct: $, paths: b, pathToIndex: _ } = J("store"), p = D("el"), m = o(() => f.value === t.path), v = o(() => _.value[t.path]), d = o(() => m.value || f.value === void 0 && v.value === 0);
|
|
18
18
|
function O() {
|
|
19
19
|
f.value = t.path;
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
24
24
|
function E() {
|
|
25
25
|
v.value !== b.value.length - 1 && (f.value = b.value[v.value + 1]);
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return Q(() => {
|
|
28
28
|
m.value && p.value.focus();
|
|
29
29
|
}), (T, i) => (a(), S(Y(t.block ? "div" : "span"), {
|
|
30
30
|
class: X(["mail-element", {
|
|
@@ -44,7 +44,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
44
44
|
ref: p
|
|
45
45
|
}, {
|
|
46
46
|
default: s(() => [
|
|
47
|
-
|
|
47
|
+
U(T.$slots, "default")
|
|
48
48
|
]),
|
|
49
49
|
_: 3
|
|
50
50
|
}, 40, ["class", "aria-selected", "tabindex"]));
|
|
@@ -194,13 +194,13 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
194
194
|
]),
|
|
195
195
|
(a(!0), c(w, null, N(C.value, (h, I) => (a(), c(w, { key: I }, [
|
|
196
196
|
h.type === "paragraph" ? (a(), c("p", Be, [
|
|
197
|
-
(a(!0), c(w, null, N(h.content, ({ path: G, text:
|
|
197
|
+
(a(!0), c(w, null, N(h.content, ({ path: G, text: W }, F) => (a(), c(w, { key: F }, [
|
|
198
198
|
F !== 0 ? (a(), c(w, { key: 0 }, [
|
|
199
199
|
y(l(" "))
|
|
200
200
|
], 64)) : x("", !0),
|
|
201
201
|
u(j, { path: G }, {
|
|
202
202
|
default: s(() => [
|
|
203
|
-
y(l(
|
|
203
|
+
y(l(W), 1)
|
|
204
204
|
]),
|
|
205
205
|
_: 2
|
|
206
206
|
}, 1032, ["path"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as t } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { B as o } from "../Button.ce-
|
|
1
|
+
import { d as t } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { B as o } from "../Button.ce-DNrjLa1r.js";
|
|
3
3
|
const e = t(o);
|
|
4
4
|
window.customElements.define("pix-button", e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as V, K as
|
|
2
|
-
import { a as Q, i as N, b as G } from "../i18n-
|
|
1
|
+
import { b as V, K as T, o as d, c as p, F as U, D as v, E as r, a as e, x as a, A as _, l as C, U as D, _ as z, v as E, H as j, Q as x, f as K, r as l, d as H } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { a as Q, i as N, b as G } from "../i18n-BVfGnSnP.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é" }
|
|
@@ -20,8 +20,8 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
|
|
|
20
20
|
},
|
|
21
21
|
setup(t) {
|
|
22
22
|
return (o, n) => {
|
|
23
|
-
const i =
|
|
24
|
-
return d(), p(
|
|
23
|
+
const i = T("i18next");
|
|
24
|
+
return d(), p(U, null, [
|
|
25
25
|
v(D, { name: "fade-perso" }, {
|
|
26
26
|
default: r(() => [
|
|
27
27
|
t.isPersonal ? (d(), p("div", ie, [
|
|
@@ -109,30 +109,30 @@ 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" },
|
|
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({
|
|
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),
|
|
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);
|
|
119
119
|
function q() {
|
|
120
|
-
b.value = 10, f.value = 2, u.value = {}, m.value = {}, w.value = 0,
|
|
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, A.value = 0, g.value = 0, F.value = 0, L.value = 0;
|
|
121
121
|
}
|
|
122
122
|
const h = {
|
|
123
123
|
text: { energy: 2.9, co2: 1.5 },
|
|
124
124
|
image: { energy: 32, co2: 20 }
|
|
125
|
-
}, u = l({}), m = l({}), k = l(0),
|
|
125
|
+
}, u = l({}), m = l({}), k = l(0), A = l(0), g = l(0), F = l(0), L = l(0);
|
|
126
126
|
function P() {
|
|
127
|
-
k.value = b.value * h.text.energy + f.value * h.image.energy,
|
|
127
|
+
k.value = b.value * h.text.energy + f.value * h.image.energy, A.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 = A.value.toFixed(1);
|
|
128
128
|
}
|
|
129
129
|
function M() {
|
|
130
|
-
g.value = u.value.energyByWeek * 52 * 1e6 / 1e3,
|
|
130
|
+
g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, F.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), $.value = g.value / 0.8, B.value = F.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();
|
|
131
131
|
}
|
|
132
132
|
function S() {
|
|
133
133
|
P(), c.value = !0;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function R() {
|
|
136
136
|
M(), y.value = !0;
|
|
137
137
|
}
|
|
138
138
|
function W() {
|
|
@@ -165,7 +165,7 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
|
|
|
165
165
|
}, null, 544), [
|
|
166
166
|
[x, f.value]
|
|
167
167
|
]),
|
|
168
|
-
c.value ? (d(),
|
|
168
|
+
c.value ? (d(), K(Ce, {
|
|
169
169
|
key: 0,
|
|
170
170
|
"is-collective": y.value,
|
|
171
171
|
"is-personal": c.value,
|
|
@@ -179,14 +179,14 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
|
|
|
179
179
|
}, "📌 " + a(s.$t("calcul-impact.seePersonalImpact")), 1)),
|
|
180
180
|
c.value && !y.value ? (d(), p("button", {
|
|
181
181
|
key: 2,
|
|
182
|
-
onClick:
|
|
182
|
+
onClick: R
|
|
183
183
|
}, "🌍 " + a(s.$t("calcul-impact.seeCollectiveImpact")), 1)) : C("", !0),
|
|
184
|
-
e("p",
|
|
184
|
+
e("p", $e, "📝 " + a(s.$t("calcul-impact.legals")), 1)
|
|
185
185
|
]));
|
|
186
186
|
}
|
|
187
|
-
}),
|
|
187
|
+
}), Ae = "[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%}}", Fe = /* @__PURE__ */ z(Be, [["styles", [Ae]], ["__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
|
-
const Y = H(
|
|
189
|
+
const Y = H(Fe, {
|
|
190
190
|
configureApp(t) {
|
|
191
191
|
N.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(G, {
|
|
192
192
|
i18next: N,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as g, o as r, c as u, t as p, q as E,
|
|
2
|
-
import { u as F, a as P, i as k, b as W } from "../i18n-
|
|
1
|
+
import { b as g, o as r, c as u, t as p, q as E, A as L, x as s, _, R as C, a as t, F as R, e as D, v as T, D as x, y as V, X as Z, E as O, r as y, g as w, f, l as $, d as z } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { u as F, a as P, i as k, b as W } from "../i18n-BVfGnSnP.js";
|
|
3
3
|
import { b as G } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { R as H } from "../Retry-
|
|
5
|
-
const K = {},
|
|
4
|
+
import { R as H } from "../Retry-CGkQcck5.js";
|
|
5
|
+
const K = {}, X = {}, J = {}, Y = {}, aa = {}, ea = {
|
|
6
6
|
"capacity-calculation": { in: { aiQuestion: "Quelle est la demande à l’IA ?", aiOptions: ["Fais une vidéo d’une durée d’une minute.", "Écris un texte de 10 lignes.", "Fais un dessin de haute qualité."], userQuestion: "Combien d’utilisateurs font la demande en même temps ?", buttonLabel: { primary: "Observer l’effet", warning: "Recommencer" } }, out: { title: "Impact des demandes", consumption: { label: "Consommation d’électricité :", normal_weak: "Moyenne", normal_medium: "Moyenne", warning: "Très forte", error: "Très forte", initial: "À l’arrêt" }, capacity: { label: "État du centre de données :", normal_weak: "Normal", normal_medium: "Normal", warning: "Sollicitation maximale", error: "Ne peut pas répondre à la demande", initial: "À l’arrêt" } } }
|
|
7
7
|
}, ta = {}, ca = {}, la = /* @__PURE__ */ g({
|
|
8
8
|
__name: "Button.ce",
|
|
@@ -45,7 +45,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
45
45
|
const { t: c } = F(), n = C(a, "selectedAiQuestion"), e = C(a, "selectedNbUser"), l = C(a, "currentLevel"), i = y(!1), d = w(() => ({
|
|
46
46
|
state: l.value === "initial" ? "primary" : "warning",
|
|
47
47
|
label: c(`capacity-calculation.in.buttonLabel.${l.value === "initial" ? "primary" : "warning"}`)
|
|
48
|
-
})), h = w(() => Number.isInteger(n.value)), q = [800, 8e3, 14e3, 25e3, 9e4, 15e4],
|
|
48
|
+
})), h = w(() => Number.isInteger(n.value)), q = [800, 8e3, 14e3, 25e3, 9e4, 15e4], A = /* @__PURE__ */ new Set([
|
|
49
49
|
// Valeurs de base
|
|
50
50
|
10,
|
|
51
51
|
20,
|
|
@@ -78,7 +78,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
78
78
|
75e3,
|
|
79
79
|
1e5,
|
|
80
80
|
125e3
|
|
81
|
-
]), b = Array.from(
|
|
81
|
+
]), b = Array.from(A).sort((o, v) => o - v), M = w(() => {
|
|
82
82
|
const o = b.indexOf(e.value);
|
|
83
83
|
return Math.max(0, o);
|
|
84
84
|
}), Q = (o) => {
|
|
@@ -89,7 +89,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
89
89
|
o.preventDefault();
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, U = () => {
|
|
93
93
|
if (h.value) {
|
|
94
94
|
if (l.value !== "initial") {
|
|
95
95
|
I();
|
|
@@ -98,7 +98,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
98
98
|
n.value === 0 ? e.value >= 10 && e.value <= 400 ? l.value = "normal_weak" : e.value >= 401 && e.value <= 700 ? l.value = "normal_medium" : e.value >= 701 && e.value <= 1e3 ? l.value = "warning" : l.value = "error" : n.value === 1 ? e.value >= 10 && e.value <= 4e4 ? l.value = "normal_weak" : e.value >= 40001 && e.value <= 7e4 ? l.value = "normal_medium" : e.value >= 70001 && e.value <= 1e5 ? l.value = "warning" : l.value = "error" : n.value === 2 && (e.value >= 10 && e.value <= 8e3 ? l.value = "normal_weak" : e.value >= 8001 && e.value <= 14e3 ? l.value = "normal_medium" : e.value >= 14001 && e.value <= 2e4 ? l.value = "warning" : l.value = "error"), i.value = !0;
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
function
|
|
101
|
+
function j(o) {
|
|
102
102
|
if (i.value) {
|
|
103
103
|
o.preventDefault();
|
|
104
104
|
return;
|
|
@@ -111,7 +111,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
111
111
|
return (o, v) => (r(), u("div", oa, [
|
|
112
112
|
t("fieldset", ra, [
|
|
113
113
|
t("legend", sa, s(o.$t("capacity-calculation.in.aiQuestion")), 1),
|
|
114
|
-
(r(!0), u(
|
|
114
|
+
(r(!0), u(R, null, D(o.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (B, m) => (r(), u("div", { key: m }, [
|
|
115
115
|
t("label", {
|
|
116
116
|
class: p(["capacity-calculation__ai-option", { "capacity-calculation__ai-option--active": n.value === m, disabled: i.value }])
|
|
117
117
|
}, [
|
|
@@ -120,7 +120,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
120
120
|
"aria-disabled": i.value,
|
|
121
121
|
name: "ai-answer",
|
|
122
122
|
value: m,
|
|
123
|
-
onClick:
|
|
123
|
+
onClick: j,
|
|
124
124
|
checked: n.value === m
|
|
125
125
|
}, null, 8, ua),
|
|
126
126
|
L(" " + s(B), 1)
|
|
@@ -146,7 +146,7 @@ const K = {}, J = {}, X = {}, Y = {}, aa = {}, ea = {
|
|
|
146
146
|
])
|
|
147
147
|
]),
|
|
148
148
|
x(ia, {
|
|
149
|
-
onClick: V(
|
|
149
|
+
onClick: V(U, ["prevent"]),
|
|
150
150
|
"aria-disabled": !h.value,
|
|
151
151
|
label: d.value.label,
|
|
152
152
|
state: d.value.state
|
|
@@ -198,7 +198,7 @@ const $a = /* @__PURE__ */ _(ha, [["render", La]]), Na = {}, qa = {
|
|
|
198
198
|
fill: "none",
|
|
199
199
|
xmlns: "http://www.w3.org/2000/svg"
|
|
200
200
|
};
|
|
201
|
-
function
|
|
201
|
+
function Aa(a, c) {
|
|
202
202
|
return r(), u("svg", qa, [...c[0] || (c[0] = [
|
|
203
203
|
t("path", {
|
|
204
204
|
d: "M5.00009 37.8074C4.62175 37.8074 4.27999 37.7135 3.9748 37.5257C3.66962 37.3379 3.43238 37.0903 3.26307 36.783C3.09226 36.4785 2.99939 36.1476 2.98446 35.7905C2.96953 35.4333 3.0624 35.0848 3.26307 34.745L19.7182 6.27096C19.9186 5.92965 20.1806 5.67538 20.5043 5.50816C20.828 5.34093 21.1602 5.25732 21.5009 5.25732C21.8416 5.25732 22.1735 5.34093 22.4966 5.50816C22.8197 5.67538 23.0814 5.92965 23.2818 6.27096L39.7369 34.745C39.9376 35.0848 40.0305 35.4333 40.0155 35.7905C40.0006 36.1476 39.9077 36.4785 39.7369 36.783C39.5661 37.0873 39.3286 37.3341 39.0243 37.5234C38.7197 37.7128 38.3782 37.8074 37.9999 37.8074H5.00009ZM21.5 32.2179C22.0148 32.2179 22.4511 32.039 22.8088 31.6813C23.1665 31.3238 23.3454 30.8877 23.3454 30.3729C23.3454 29.8581 23.1665 29.4236 22.8088 29.0695C22.4511 28.7153 22.0148 28.5382 21.5 28.5382C20.9852 28.5382 20.5489 28.7153 20.1912 29.0695C19.8334 29.4236 19.6546 29.8581 19.6546 30.3729C19.6546 30.8877 19.8334 31.3238 20.1912 31.6813C20.5489 32.039 20.9852 32.2179 21.5 32.2179ZM21.5 26.8751C22.0076 26.8751 22.4332 26.7034 22.7766 26.36C23.12 26.0166 23.2917 25.5911 23.2917 25.0835V19.8263C23.2917 19.3186 23.12 18.8931 22.7766 18.5497C22.4332 18.2063 22.0076 18.0346 21.5 18.0346C20.9924 18.0346 20.5668 18.2063 20.2234 18.5497C19.88 18.8931 19.7083 19.3186 19.7083 19.8263V25.0835C19.7083 25.5911 19.88 26.0166 20.2234 26.36C20.5668 26.7034 20.9924 26.8751 21.5 26.8751Z",
|
|
@@ -206,7 +206,7 @@ function Ua(a, c) {
|
|
|
206
206
|
}, null, -1)
|
|
207
207
|
])]);
|
|
208
208
|
}
|
|
209
|
-
const Ma = /* @__PURE__ */ _(Na, [["render",
|
|
209
|
+
const Ma = /* @__PURE__ */ _(Na, [["render", Aa]]), Qa = ["aria-level"], Sa = { class: "capacity-calculation__card" }, Ua = { class: "capacity-calculation__text capacity-calculation__text--strong" }, ja = { class: "capacity-calculation__img" }, Ia = ["src"], Ba = { class: "capacity-calculation__text" }, Ea = { class: "capacity-calculation__answers" }, Ra = { class: "capacity-calculation__card" }, Da = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ta = { class: "capacity-calculation__text" }, Va = /* @__PURE__ */ g({
|
|
210
210
|
__name: "Answers.ce",
|
|
211
211
|
props: {
|
|
212
212
|
currentLevel: { type: String },
|
|
@@ -224,8 +224,8 @@ const Ma = /* @__PURE__ */ _(Na, [["render", Ua]]), Qa = ["aria-level"], Sa = {
|
|
|
224
224
|
class: "capacity-calculation__title"
|
|
225
225
|
}, s(c.$t("capacity-calculation.out.title")), 9, Qa),
|
|
226
226
|
t("div", Sa, [
|
|
227
|
-
t("p",
|
|
228
|
-
t("div",
|
|
227
|
+
t("p", Ua, s(c.$t("capacity-calculation.out.capacity.label")), 1),
|
|
228
|
+
t("div", ja, [
|
|
229
229
|
t("img", {
|
|
230
230
|
src: a.capacityImage,
|
|
231
231
|
alt: ""
|
|
@@ -244,8 +244,8 @@ const Ma = /* @__PURE__ */ _(Na, [["render", Ua]]), Qa = ["aria-level"], Sa = {
|
|
|
244
244
|
t("p", Ba, s(c.$t(`capacity-calculation.out.capacity.${a.currentLevel}`)), 1)
|
|
245
245
|
]),
|
|
246
246
|
t("div", Ea, [
|
|
247
|
-
t("div",
|
|
248
|
-
t("p",
|
|
247
|
+
t("div", Ra, [
|
|
248
|
+
t("p", Da, s(c.$t("capacity-calculation.out.consumption.label")), 1),
|
|
249
249
|
t("div", {
|
|
250
250
|
class: p(["capacity-calculation__progress-bar", a.currentLevel])
|
|
251
251
|
}, null, 2),
|
|
@@ -287,7 +287,7 @@ const Ma = /* @__PURE__ */ _(Na, [["render", Ua]]), Qa = ["aria-level"], Sa = {
|
|
|
287
287
|
]));
|
|
288
288
|
}
|
|
289
289
|
}), Wa = ".capacity-calculation__title{color:#122647;font-family:Nunito,serif;font-weight:700;text-align:center;font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}.capacity-calculation__grid{display:grid;gap:1rem;grid-template-columns:5fr 2.6fr}.capacity-calculation__grid .initial-state{grid-column:1/span 2}.capacity-calculation__column{display:flex;border-radius:8px;flex-direction:column;padding:16px}@media screen and (max-width:720px){.capacity-calculation__grid{display:flex;flex-direction:column}}", Ga = /* @__PURE__ */ _(Pa, [["styles", [Wa]]]);
|
|
290
|
-
P(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": K, "./locales/en.json":
|
|
290
|
+
P(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": K, "./locales/en.json": X, "./locales/es-419.json": J, "./locales/es.json": Y, "./locales/fr-BE.json": aa, "./locales/fr.json": ea, "./locales/it.json": ta, "./locales/nl.json": ca })).catch((a) => console.error(a));
|
|
291
291
|
const N = z(Ga, {
|
|
292
292
|
configureApp(a) {
|
|
293
293
|
k.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(W, { i18next: k });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { a as J, b as
|
|
3
|
-
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */
|
|
1
|
+
import { b as R, h as E, k as O, G as W, o as d, c as p, a as C, m as _, F as D, e as L, y as V, B as y, v as j, t as G, l as H, H as T, I as U, x as X, r as b, g as v, _ as Y, d as q } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { a as J, b as S } from "../normalize-props-DH0oPBss.js";
|
|
3
|
+
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */ R({
|
|
4
4
|
__name: "ClickableImage.ce",
|
|
5
5
|
props: {
|
|
6
6
|
image: { type: Object },
|
|
@@ -52,7 +52,7 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
52
52
|
const x = v(() => u.value ?? f.value), c = v(() => {
|
|
53
53
|
if (x.value !== void 0)
|
|
54
54
|
return $.value[x.value];
|
|
55
|
-
}),
|
|
55
|
+
}), B = v(() => {
|
|
56
56
|
if (!c.value) return {};
|
|
57
57
|
const { tooltipPosition: e, coords: { x1: t, y1: o, x2: n, y2: s } } = c.value;
|
|
58
58
|
switch (e) {
|
|
@@ -82,10 +82,10 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
function
|
|
85
|
+
function N() {
|
|
86
86
|
u.value = void 0;
|
|
87
87
|
}
|
|
88
|
-
return i({ reset:
|
|
88
|
+
return i({ reset: N }), (e, t) => (d(), p("div", K, [
|
|
89
89
|
C("img", _(a.image, {
|
|
90
90
|
ref: "image",
|
|
91
91
|
onLoad: t[0] || (t[0] = (o) => h()),
|
|
@@ -120,23 +120,23 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
120
120
|
T(C("p", {
|
|
121
121
|
class: "tooltip",
|
|
122
122
|
"aria-hidden": "true",
|
|
123
|
-
style: y(
|
|
123
|
+
style: y(B.value)
|
|
124
124
|
}, X(c.value?.info), 5), [
|
|
125
125
|
[U, c.value]
|
|
126
126
|
])
|
|
127
127
|
]));
|
|
128
128
|
}
|
|
129
|
-
}), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ Y(Z, [["styles", [ee]]]),
|
|
130
|
-
|
|
129
|
+
}), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ Y(Z, [["styles", [ee]]]), z = q(te);
|
|
130
|
+
z.prototype.normalizeProps = (a) => ({
|
|
131
131
|
...a,
|
|
132
132
|
image: {
|
|
133
133
|
...a.image,
|
|
134
|
-
height:
|
|
135
|
-
width:
|
|
134
|
+
height: S(a.height),
|
|
135
|
+
width: S(a.width),
|
|
136
136
|
areas: a.areas.map((i) => ({
|
|
137
137
|
...i,
|
|
138
138
|
tooltipPosition: J(i.tooltipPosition)
|
|
139
139
|
}))
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
window.customElements.define("clickable-image",
|
|
142
|
+
window.customElements.define("clickable-image", z);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as h, o, c as n, a, x as c,
|
|
2
|
-
import { u as O, a as T, i as q, b as E } from "../i18n-
|
|
1
|
+
import { b as h, o, c as n, a, x as c, B as j, _ as f, t as P, q as S, A as N, F as y, e as x, l as z, r as k, g as m, D as L, f as v, d as M } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { u as O, a as T, i as q, b as E } from "../i18n-BVfGnSnP.js";
|
|
3
3
|
import { b as I } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { L as B } from "../LLMMessage.ce-
|
|
4
|
+
import { L as B } from "../LLMMessage.ce-Duki08xd.js";
|
|
5
5
|
const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
6
6
|
"complete-phrase": { title: "Probabilité du mot suivant", description: "Quand la barre est longue, le mot a une plus forte probabilité de convenir pour continuer cette phrase.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Révéler le mot", successfullyCompletedSentence: "Cliquez sur le mot choisi par l’IA dans les propositions suivantes :", feedback: { sure: "En effet, c'est le mot le plus probable !", probably: "C’est possible ! L’IA peut aussi choisir le mot « {{word}} », qui est très probable...", notSure: "Pas sûr... L’IA choisira sans doute un mot plus probable : {{words, list(style: 'long'; type: 'disjunction';)}}." } }
|
|
7
7
|
}, H = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
|
|
@@ -15,7 +15,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
15
15
|
a("p", J, c(e.name), 1),
|
|
16
16
|
a("p", K, c(d.$t("complete-phrase.ariaLabelDescription", { name: e.name, percent: e.percent })), 1),
|
|
17
17
|
a("div", {
|
|
18
|
-
style:
|
|
18
|
+
style: j(`width: ${e.percent}%`),
|
|
19
19
|
class: "probability-bar__percent",
|
|
20
20
|
"aria-hidden": "true"
|
|
21
21
|
}, null, 4),
|
|
@@ -36,7 +36,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
36
36
|
class: P(["complete-phrase_button", e.state])
|
|
37
37
|
}, [
|
|
38
38
|
S(d.$slots, "icon"),
|
|
39
|
-
|
|
39
|
+
N(" " + c(e.label), 1)
|
|
40
40
|
], 2));
|
|
41
41
|
}
|
|
42
42
|
}), te = ".complete-phrase_button.primary{--background-color: #253858;--background-color-hover: #122647;--color: #fff;--color-hover: #fff}.complete-phrase_button.warning{--background-color: #ffcb33;--background-color-hover: #a16206;--color: #122647;--color-hover: #fff}.complete-phrase_button.primary,.complete-phrase_button.warning{align-items:center;background-color:var(--background-color);border:2px solid transparent;border-radius:8px;color:var(--color);cursor:pointer;display:flex;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;justify-content:center;gap:8px;line-height:24px;margin:0 auto;outline:none;padding:8px 24px;transition:background-color ease .5s,color ease .5s;width:fit-content;white-space:nowrap}:is(.complete-phrase_button.primary,.complete-phrase_button.warning)[aria-disabled=true]{cursor:not-allowed;opacity:.5}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover{background-color:var(--background-color-hover);color:var(--color-hover);transition:background-color ease .5s,color ease .5s}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover svg{color:var(--color-hover);transition:color ease .5s}", oe = /* @__PURE__ */ f(ee, [["styles", [te]]]), ae = { class: "qcu" }, se = { class: "qcu__list" }, ie = ["id", "onClick", "aria-label", "checked", "disabled"], re = { for: "`choice${index}`" }, ne = {
|
|
@@ -73,7 +73,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
73
73
|
a("label", re, c(r.name), 1)
|
|
74
74
|
]))), 128))
|
|
75
75
|
]),
|
|
76
|
-
s.value ? (o(), n("section", ne, c(_.value), 1)) :
|
|
76
|
+
s.value ? (o(), n("section", ne, c(_.value), 1)) : z("", !0)
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
79
|
}), ce = "[data-v-74566fe6]{font-family:Roboto,sans-serif;color:#122647}.qcu[data-v-74566fe6]{align-items:center;display:flex;flex-direction:column;gap:16px}.qcu p[data-v-74566fe6]{margin:0}.qcu__list[data-v-74566fe6]{display:flex;gap:16px}.qcu__list-choice[data-v-74566fe6]{position:relative}.qcu__list-choice input[data-v-74566fe6]{appearance:none;height:100%;outline:none;position:absolute;width:100%}.qcu__list-choice input:checked+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff}.qcu__list-choice input[data-v-74566fe6]:hover{cursor:pointer}.qcu__list-choice input:hover+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff;transition:background-color .5s ease,color .5s ease}.qcu__list-choice input:disabled+label[data-v-74566fe6],.qcu__list-choice input[data-v-74566fe6]:disabled:hover{cursor:not-allowed}.qcu__list-choice input:disabled:not(:checked)+label[data-v-74566fe6],.qcu__list-choice input:disabled:hover:not(:checked)+label[data-v-74566fe6]{background:#e6f2fe;color:#122647;cursor:not-allowed;opacity:.5;transition:none}.qcu__list-choice label[data-v-74566fe6]{align-items:center;background:#e6f2fe;border-radius:4px;color:inherit;display:flex;font-weight:700;gap:10px;justify-content:center;padding:4px 8px;transition:background-color .5s ease,color .5s ease}.qcu .feedback[data-v-74566fe6]{display:flex;padding:8px 16px;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch;border-radius:8px;background:#e6f2fe}", de = /* @__PURE__ */ f(le, [["styles", [ce]], ["__scopeId", "data-v-74566fe6"]]), pe = { class: "complete-phrase" }, ue = ["aria-level"], be = { class: "complete-phrase__description" }, me = { class: "complete-phrase__container" }, he = { class: "complete-phrase-container__conversation" }, fe = { class: "complete-phrase-container__probabilities" }, _e = ["id", "aria-hidden"], ge = /* @__PURE__ */ h({
|
|
@@ -127,10 +127,10 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
|
|
|
127
127
|
id: `currentProbability${b}`,
|
|
128
128
|
"aria-hidden": b !== t.value
|
|
129
129
|
}, [
|
|
130
|
-
(o(!0), n(y, null, x(u, ($,
|
|
130
|
+
(o(!0), n(y, null, x(u, ($, A) => (o(), v(Z, {
|
|
131
131
|
name: $.name,
|
|
132
132
|
percent: $.percent,
|
|
133
|
-
key:
|
|
133
|
+
key: A
|
|
134
134
|
}, null, 8, ["name", "percent"]))), 128))
|
|
135
135
|
], 10, _e))), 128))
|
|
136
136
|
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { F as m } from "../Feedback.ce-
|
|
1
|
+
import { d as e } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { F as m } from "../Feedback.ce-MqHV98f3.js";
|
|
3
3
|
const o = e(m);
|
|
4
4
|
window.customElements.define("pix-feedback", o);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as g, o as r, c as n, F as m, a as i, t as f, x as l, l as x, _ as u, r as y, e as k, N as v, D as w, d as F } from "../_plugin-vue_export-helper-
|
|
1
|
+
import { b as g, o as r, c as n, F as m, a as i, t as f, x as l, l as x, _ as u, r as y, e as k, N as v, D as w, d as F } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
2
|
import { b as _ } from "../normalize-props-DH0oPBss.js";
|
|
3
3
|
const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, j = ["src"], D = /* @__PURE__ */ g({
|
|
4
4
|
__name: "FlipCard.ce",
|