@1024pix/epreuves-components 1.2.1 → 1.3.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/{ImageQuiz.ce-CfYpyofd.js → ImageQuiz.ce-DtarwFF1.js} +13 -13
- package/dist/{LLMMessage.ce-Bb2k233-.js → LLMMessage.ce-CnMf3mGa.js} +7 -7
- package/dist/{Loading.ce-DKXphIYa.js → Loading.ce-BLJllV22.js} +1 -1
- package/dist/{NavigationButton.ce-DWJMfoec.js → NavigationButton.ce-Cz9511sV.js} +11 -11
- package/dist/_plugin-vue_export-helper-DK91u00G.js +4756 -0
- package/dist/components/calcul-impact.ce.js.js +13 -13
- package/dist/components/clickable-image.ce.js.js +96 -0
- package/dist/components/complete-phrase.ce.js.js +11 -11
- package/dist/components/image-quiz.ce.js.js +2 -2
- package/dist/components/image-quizzes.ce.js.js +2 -2
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/message-conversation.ce.js.js +17 -17
- package/dist/components/pix-article.ce.js.js +7 -7
- package/dist/components/pix-carousel.ce.js.js +16 -16
- package/dist/components/pix-cursor.ce.js.js +26 -26
- package/dist/components/qcm-deepfake.ce.js.js +18 -18
- package/dist/{i18n-C63rdMbm.js → i18n-Gv3Ze5vF.js} +1 -1
- package/dist/index.js +8 -7
- package/dist/metadata.js +43 -26
- package/dist/schema.js +39 -21
- package/dist/{shadow-dom-DyOx0CmY.js → shadow-dom-DTRtrvgC.js} +1 -1
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-CWFVtOvN.js +0 -4717
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { a as
|
|
3
|
-
const
|
|
1
|
+
import { a as z, z as T, c as p, o as v, F as U, y as u, M as s, E as C, f as e, t, A as _, T as D, _ as Y, r as l, l as E, e as K, I as N, N as V, d as G } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { a as H, i as j, b as Q } from "../i18n-Gv3Ze5vF.js";
|
|
3
|
+
const x = {}, J = {}, X = {
|
|
4
4
|
"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 {{homes}} foyers français", collectiveDuration: "Équivalent à {{number}} minutes de micro-ondes", planeKilometers: "Et {{kilometers}} km parcourus en avion", yourCollectiveImpact: "Impact collectif simulé" }
|
|
5
5
|
}, Z = {}, ee = {}, ae = {
|
|
6
6
|
key: 0,
|
|
@@ -8,7 +8,7 @@ const J = {}, Q = {}, X = {
|
|
|
8
8
|
}, te = ["aria-level"], le = { class: "consumption" }, oe = { style: { "font-weight": "bold" } }, ne = { style: { "font-weight": "bold" } }, ie = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "result-calculation"
|
|
11
|
-
}, se = ["titleLevel"], re = { class: "consumption" }, ce = { style: { "font-weight": "bold" } }, ue = { style: { "font-weight": "bold" } }, ve = { style: { "font-weight": "bold" } }, de = { style: { "font-weight": "bold" } }, me = /* @__PURE__ */
|
|
11
|
+
}, se = ["titleLevel"], re = { class: "consumption" }, ce = { style: { "font-weight": "bold" } }, ue = { style: { "font-weight": "bold" } }, ve = { style: { "font-weight": "bold" } }, de = { style: { "font-weight": "bold" } }, me = /* @__PURE__ */ z({
|
|
12
12
|
__name: "ImpactsResults.ce",
|
|
13
13
|
props: {
|
|
14
14
|
titleLevel: { type: Number },
|
|
@@ -20,7 +20,7 @@ const J = {}, Q = {}, X = {
|
|
|
20
20
|
setup(d) {
|
|
21
21
|
return (a, o) => {
|
|
22
22
|
const n = T("i18next");
|
|
23
|
-
return v(), p(
|
|
23
|
+
return v(), p(U, null, [
|
|
24
24
|
u(D, { name: "fade-perso" }, {
|
|
25
25
|
default: s(() => [
|
|
26
26
|
a.isPersonal ? (v(), p("div", ae, [
|
|
@@ -108,14 +108,14 @@ const J = {}, Q = {}, X = {
|
|
|
108
108
|
], 64);
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
}), pe = ".result-calculation[data-v-350a9de7]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-350a9de7]{font-size:1.125rem;font-weight:700}.consumption[data-v-350a9de7]{font-style:italic}.fade-perso-enter-active[data-v-350a9de7],.fade-collectif-enter-active[data-v-350a9de7]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-350a9de7],.fade-collectif-leave-active[data-v-350a9de7]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-350a9de7],.fade-collectif-enter-from[data-v-350a9de7],.fade-perso-leave-to[data-v-350a9de7],.fade-collectif-leave-to[data-v-350a9de7]{transform:translate(20px);opacity:0}", be = /* @__PURE__ */
|
|
111
|
+
}), pe = ".result-calculation[data-v-350a9de7]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-350a9de7]{font-size:1.125rem;font-weight:700}.consumption[data-v-350a9de7]{font-style:italic}.fade-perso-enter-active[data-v-350a9de7],.fade-collectif-enter-active[data-v-350a9de7]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-350a9de7],.fade-collectif-leave-active[data-v-350a9de7]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-350a9de7],.fade-collectif-enter-from[data-v-350a9de7],.fade-perso-leave-to[data-v-350a9de7],.fade-collectif-leave-to[data-v-350a9de7]{transform:translate(20px);opacity:0}", be = /* @__PURE__ */ Y(me, [["styles", [pe]], ["__scopeId", "data-v-350a9de7"]]), fe = { class: "container" }, ye = ["arial-level"], ge = { for: "numberOfConversation" }, _e = { for: "numberOfImage" }, Ce = { class: "legals" }, he = /* @__PURE__ */ z({
|
|
112
112
|
__name: "CalculImpact.ce",
|
|
113
113
|
props: {
|
|
114
114
|
titleLevel: { type: Number }
|
|
115
115
|
},
|
|
116
116
|
setup(d, { expose: a }) {
|
|
117
117
|
const n = d.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), $ = l(0), B = l(0), r = l(!1), y = l(!1);
|
|
118
|
-
function
|
|
118
|
+
function q() {
|
|
119
119
|
b.value = 10, f.value = 2, c.value = {}, m.value = {}, w.value = 0, $.value = 0, B.value = 0, r.value = !1, y.value = !1, k.value = 0, F.value = 0, g.value = 0, A.value = 0, O.value = 0;
|
|
120
120
|
}
|
|
121
121
|
const h = {
|
|
@@ -138,7 +138,7 @@ const J = {}, Q = {}, X = {
|
|
|
138
138
|
r.value && y.value && (P(), M());
|
|
139
139
|
}
|
|
140
140
|
return a({
|
|
141
|
-
reset:
|
|
141
|
+
reset: q
|
|
142
142
|
}), (i, I) => (v(), p("div", fe, [
|
|
143
143
|
e("div", {
|
|
144
144
|
class: "title",
|
|
@@ -164,7 +164,7 @@ const J = {}, Q = {}, X = {
|
|
|
164
164
|
}, null, 544), [
|
|
165
165
|
[V, f.value]
|
|
166
166
|
]),
|
|
167
|
-
r.value ? (v(),
|
|
167
|
+
r.value ? (v(), K(be, {
|
|
168
168
|
key: 0,
|
|
169
169
|
"is-collective": y.value,
|
|
170
170
|
"is-personal": r.value,
|
|
@@ -183,11 +183,11 @@ const J = {}, Q = {}, X = {
|
|
|
183
183
|
e("p", Ce, "📝 " + t(i.$t("calcul-impact.legals")), 1)
|
|
184
184
|
]));
|
|
185
185
|
}
|
|
186
|
-
}), ke = "[data-v-9b2dbaaa]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-9b2dbaaa]{padding:0}.container[data-v-9b2dbaaa]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-9b2dbaaa]{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-9b2dbaaa]:hover{background:#225d93}.container input[data-v-9b2dbaaa]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-9b2dbaaa]{font-weight:700}.container .legals[data-v-9b2dbaaa]{font-size:.9rem;font-style:italic}.container .title[data-v-9b2dbaaa]{font-size:1.3rem;font-weight:700}@media only screen and (max-width: 768px){.container button[data-v-9b2dbaaa]{width:100%}.container input[data-v-9b2dbaaa]{width:80%}}", Ie = /* @__PURE__ */
|
|
187
|
-
|
|
188
|
-
window.customElements.define("calcul-impact",
|
|
186
|
+
}), ke = "[data-v-9b2dbaaa]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-9b2dbaaa]{padding:0}.container[data-v-9b2dbaaa]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-9b2dbaaa]{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-9b2dbaaa]:hover{background:#225d93}.container input[data-v-9b2dbaaa]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-9b2dbaaa]{font-weight:700}.container .legals[data-v-9b2dbaaa]{font-size:.9rem;font-style:italic}.container .title[data-v-9b2dbaaa]{font-size:1.3rem;font-weight:700}@media only screen and (max-width: 768px){.container button[data-v-9b2dbaaa]{width:100%}.container input[data-v-9b2dbaaa]{width:80%}}", Ie = /* @__PURE__ */ Y(he, [["styles", [ke]], ["__scopeId", "data-v-9b2dbaaa"]]);
|
|
187
|
+
H(/* @__PURE__ */ Object.assign({ "./locales/en.json": x, "./locales/es.json": J, "./locales/fr.json": X, "./locales/it.json": Z, "./locales/nl.json": ee })).catch((d) => console.error(d));
|
|
188
|
+
window.customElements.define("calcul-impact", G(Ie, {
|
|
189
189
|
configureApp(d) {
|
|
190
|
-
j.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(
|
|
190
|
+
j.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(Q, {
|
|
191
191
|
i18next: j,
|
|
192
192
|
slotStart: "{{",
|
|
193
193
|
slotEnd: "}}"
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { a as I, g as M, r as u, h as S, j as R, k as c, c as d, o as v, f as p, l as B, m as E, F as O, b as W, q as g, v as j, t as D, x as F, _ as L, d as N } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
const P = { name: "image-map" }, q = ["shape", "coords", "onMouseenter", "onClick"], T = /* @__PURE__ */ I({
|
|
3
|
+
__name: "ClickableImage.ce",
|
|
4
|
+
props: {
|
|
5
|
+
image: { type: Object },
|
|
6
|
+
areas: { type: Array }
|
|
7
|
+
},
|
|
8
|
+
setup(k, { expose: b }) {
|
|
9
|
+
const n = M("image"), a = u(1), m = new ResizeObserver(() => f());
|
|
10
|
+
function f() {
|
|
11
|
+
n.value.naturalWidth && (a.value = n.value.offsetWidth / n.value.naturalWidth);
|
|
12
|
+
}
|
|
13
|
+
S(() => {
|
|
14
|
+
m.observe(n.value);
|
|
15
|
+
}), R(() => {
|
|
16
|
+
m.disconnect();
|
|
17
|
+
});
|
|
18
|
+
const x = c(() => k.areas.map((e) => ({
|
|
19
|
+
...e,
|
|
20
|
+
coords: $(e.coords)
|
|
21
|
+
})));
|
|
22
|
+
function $(e) {
|
|
23
|
+
return {
|
|
24
|
+
x1: e.x1 * a.value,
|
|
25
|
+
y1: e.y1 * a.value,
|
|
26
|
+
x2: e.x2 * a.value,
|
|
27
|
+
y2: e.y2 * a.value
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const l = u();
|
|
31
|
+
function h(e) {
|
|
32
|
+
l.value = e;
|
|
33
|
+
}
|
|
34
|
+
function w() {
|
|
35
|
+
l.value = void 0;
|
|
36
|
+
}
|
|
37
|
+
const r = u();
|
|
38
|
+
function C(e) {
|
|
39
|
+
r.value = e;
|
|
40
|
+
}
|
|
41
|
+
function _() {
|
|
42
|
+
r.value = void 0;
|
|
43
|
+
}
|
|
44
|
+
const o = c(() => {
|
|
45
|
+
const e = r.value ?? l.value;
|
|
46
|
+
if (e !== void 0)
|
|
47
|
+
return x.value[e];
|
|
48
|
+
}), z = c(() => {
|
|
49
|
+
if (!o.value) return {};
|
|
50
|
+
switch (o.value.tooltipPosition) {
|
|
51
|
+
case "bottom":
|
|
52
|
+
return {
|
|
53
|
+
left: `${o.value.coords.x1}px`,
|
|
54
|
+
top: `${o.value.coords.y2 + 10}px`
|
|
55
|
+
};
|
|
56
|
+
default:
|
|
57
|
+
return {
|
|
58
|
+
left: `${o.value.coords.x2 + 10}px`,
|
|
59
|
+
top: `${o.value.coords.y1}px`
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
function A() {
|
|
64
|
+
r.value = void 0;
|
|
65
|
+
}
|
|
66
|
+
return b({ reset: A }), (e, t) => (v(), d("div", {
|
|
67
|
+
class: "container",
|
|
68
|
+
onClick: t[3] || (t[3] = (s) => _())
|
|
69
|
+
}, [
|
|
70
|
+
p("img", E(e.image, {
|
|
71
|
+
ref: "image",
|
|
72
|
+
usemap: "#image-map",
|
|
73
|
+
onLoad: t[0] || (t[0] = (s) => f())
|
|
74
|
+
}), null, 16),
|
|
75
|
+
p("map", P, [
|
|
76
|
+
(v(!0), d(O, null, W(x.value, (s, i) => (v(), d("area", {
|
|
77
|
+
key: i,
|
|
78
|
+
shape: s.shape,
|
|
79
|
+
coords: `${s.coords.x1},${s.coords.y1},${s.coords.x2},${s.coords.y2}`,
|
|
80
|
+
onMouseenter: (y) => h(i),
|
|
81
|
+
onMouseleave: t[1] || (t[1] = (y) => w()),
|
|
82
|
+
onClick: g((y) => C(i), ["stop"])
|
|
83
|
+
}, null, 40, q))), 128))
|
|
84
|
+
]),
|
|
85
|
+
B(p("div", {
|
|
86
|
+
class: "tooltip",
|
|
87
|
+
style: F(z.value),
|
|
88
|
+
onClick: t[2] || (t[2] = g(() => {
|
|
89
|
+
}, ["stop"]))
|
|
90
|
+
}, D(o.value?.info), 5), [
|
|
91
|
+
[j, o.value]
|
|
92
|
+
])
|
|
93
|
+
]));
|
|
94
|
+
}
|
|
95
|
+
}), U = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}img{width:100%;height:auto;display:block}area{cursor:pointer}.tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", V = /* @__PURE__ */ L(T, [["styles", [U]]]);
|
|
96
|
+
window.customElements.define("clickable-image", N(V));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as w, c as n, o as t, f as e, t as r,
|
|
2
|
-
import { a as M, i as f, b as j } from "../i18n-
|
|
3
|
-
import { L as y } from "../LLMMessage.ce-
|
|
1
|
+
import { a as w, c as n, o as t, f as e, t as r, x as C, _ as x, r as p, y as g, F as v, b as h, D as P, e as B, d as A } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { a as M, i as f, b as j } from "../i18n-Gv3Ze5vF.js";
|
|
3
|
+
import { L as y } from "../LLMMessage.ce-CnMf3mGa.js";
|
|
4
4
|
const z = {}, N = {}, I = {
|
|
5
5
|
"complete-phrase": { iaSuggestions: "🧠 Suggestions de l'IA", explanation: "La barre indique la probabilité de chaque mot. Plus elle est longue, plus le mot est probable dans ce contexte.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Cliquez ici pour voir ce que l'IA va compléter", successfullyCompletedSentence: "🎉 Phrase complétée avec succès !" }
|
|
6
|
-
}, T = {}, q = {},
|
|
6
|
+
}, T = {}, q = {}, D = { class: "probability-bar" }, E = { "aria-hidden": "true" }, F = { class: "sr-only" }, O = /* @__PURE__ */ w({
|
|
7
7
|
__name: "ProbabilityBar.ce",
|
|
8
8
|
props: {
|
|
9
9
|
name: { type: String },
|
|
10
10
|
percent: { type: Number }
|
|
11
11
|
},
|
|
12
12
|
setup(i) {
|
|
13
|
-
return (o, s) => (t(), n("div",
|
|
14
|
-
e("p",
|
|
13
|
+
return (o, s) => (t(), n("div", D, [
|
|
14
|
+
e("p", E, r(o.name), 1),
|
|
15
15
|
e("p", F, r(o.$t("complete-phrase.ariaLabelDescription", { name: o.name, percent: o.percent })), 1),
|
|
16
16
|
e("div", {
|
|
17
17
|
style: C(`width: ${o.percent}%`),
|
|
@@ -41,7 +41,7 @@ const z = {}, N = {}, I = {
|
|
|
41
41
|
function k() {
|
|
42
42
|
u.value = !1, b.value = s.llmMessage, c.value = s.wordsToAdd, l.value = 0;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function S() {
|
|
45
45
|
c.value.length === 1 && (u.value = !0), l.value += 1;
|
|
46
46
|
const [a, ..._] = c.value;
|
|
47
47
|
c.value = _, b.value += `<span style="font-weight: bold;">${a} </span>`;
|
|
@@ -62,7 +62,7 @@ const z = {}, N = {}, I = {
|
|
|
62
62
|
]),
|
|
63
63
|
u.value ? (t(), n("p", K, r(a.$t("complete-phrase.successfullyCompletedSentence")), 1)) : (t(), n("button", {
|
|
64
64
|
key: 0,
|
|
65
|
-
onClick:
|
|
65
|
+
onClick: S,
|
|
66
66
|
class: "container__button",
|
|
67
67
|
"aria-describedby": `currentProbability${l.value}`
|
|
68
68
|
}, r(a.$t("complete-phrase.clickHereButton")), 9, J))
|
|
@@ -75,16 +75,16 @@ const z = {}, N = {}, I = {
|
|
|
75
75
|
}, r(a.$t("complete-phrase.iaSuggestions")), 9, U),
|
|
76
76
|
e("p", X, r(a.$t("complete-phrase.explanation")), 1),
|
|
77
77
|
e("div", Y, [
|
|
78
|
-
(t(!0), n(v, null, h(a.listOfProbabilityBarsLists, (
|
|
78
|
+
(t(!0), n(v, null, h(a.listOfProbabilityBarsLists, ($, d) => (t(), n("div", {
|
|
79
79
|
class: P(["probability", { hidden: d !== l.value }]),
|
|
80
80
|
key: d,
|
|
81
81
|
id: `currentProbability${d}`,
|
|
82
82
|
"aria-hidden": d !== l.value
|
|
83
83
|
}, [
|
|
84
|
-
(t(!0), n(v, null, h(
|
|
84
|
+
(t(!0), n(v, null, h($, (m, L) => (t(), B(H, {
|
|
85
85
|
name: m.name,
|
|
86
86
|
percent: m.percent,
|
|
87
|
-
key:
|
|
87
|
+
key: L
|
|
88
88
|
}, null, 8, ["name", "percent"]))), 128))
|
|
89
89
|
], 10, Z))), 128))
|
|
90
90
|
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { I as m } from "../ImageQuiz.ce-
|
|
1
|
+
import { d as e } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { I as m } from "../ImageQuiz.ce-DtarwFF1.js";
|
|
3
3
|
window.customElements.define("image-quiz", e(m));
|
|
4
4
|
window.customElements.define("qcu-image", e(m));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as l, r as f, w, c as z, o as t, b as p, e as d, m as g, F as v, d as _ } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { I as A } from "../ImageQuiz.ce-
|
|
1
|
+
import { a as l, r as f, w, c as z, o as t, b as p, e as d, m as g, F as v, d as _ } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { I as A } from "../ImageQuiz.ce-DtarwFF1.js";
|
|
3
3
|
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ImageQuizzes.ce",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as m, c as r, o as a, f as e, t as n, F as t, b as p,
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
1
|
+
import { a as m, c as r, o as a, f as e, t as n, F as t, b as p, y as i, _ as c, d as g } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-CnMf3mGa.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-DTRtrvgC.js";
|
|
4
4
|
const f = {
|
|
5
5
|
class: "header",
|
|
6
6
|
"aria-hidden": "true"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as m,
|
|
2
|
-
import { L as _ } from "../LLMMessage.ce-
|
|
3
|
-
import { p as x } from "../shadow-dom-
|
|
1
|
+
import { a as m, B as i, C as p, c as o, o as e, F as d, b as g, e as u, _ as f, d as h } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { L as _ } from "../LLMMessage.ce-CnMf3mGa.js";
|
|
3
|
+
import { p as x } from "../shadow-dom-DTRtrvgC.js";
|
|
4
4
|
const b = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as v, r as c,
|
|
1
|
+
import { a as v, r as c, z as y, c as i, o as d, y as h, f as l, A as w, F as f, b as k, t as S, _ as C, d as L } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
2
|
import "./llm-messages.ce.js.js";
|
|
3
|
-
const N = { class: "prompt-select" }, P = { class: "prompt-select__options" },
|
|
3
|
+
const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, A = ["disabled", "onClick"], B = /* @__PURE__ */ v({
|
|
4
4
|
__name: "LLMPromptSelect.ce",
|
|
5
5
|
props: {
|
|
6
6
|
messages: { type: Array },
|
|
@@ -44,9 +44,9 @@ const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B
|
|
|
44
44
|
r.value = !1;
|
|
45
45
|
}
|
|
46
46
|
return (e, t) => {
|
|
47
|
-
const a =
|
|
47
|
+
const a = y("llm-messages");
|
|
48
48
|
return d(), i(f, null, [
|
|
49
|
-
|
|
49
|
+
h(a, { messages: s.value }, null, 8, ["messages"]),
|
|
50
50
|
l("div", N, [
|
|
51
51
|
t[0] || (t[0] = l("p", { class: "prompt-select__label" }, [
|
|
52
52
|
w(" Sélectionner un des prompts "),
|
|
@@ -57,11 +57,11 @@ const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B
|
|
|
57
57
|
key: p,
|
|
58
58
|
disabled: n.disabled || r.value,
|
|
59
59
|
onClick: (u) => x(n)
|
|
60
|
-
}, S(n.prompt), 9,
|
|
60
|
+
}, S(n.prompt), 9, A))), 128))
|
|
61
61
|
])
|
|
62
62
|
])
|
|
63
63
|
], 64);
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
}),
|
|
67
|
-
window.customElements.define("llm-prompt-select", L(
|
|
66
|
+
}), E = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}llm-messages{display:block;height:400px}.prompt-select{font-family:Roboto,sans-serif;border-top:solid 1px #253858;padding:16px 24px 24px}.prompt-select__label{margin-top:0;font-weight:700;color:#253858}.prompt-select__options{display:flex;gap:1rem;justify-content:left;flex-wrap:wrap}.prompt-select__options>button{padding:1rem 1.5rem;border:none;background:#cec3f4;border-radius:16px;border:1px solid #ffffff;color:#130261;font-size:.875rem;box-shadow:0 4px 12px -4px #957ee833}.prompt-select__options>button:hover:not(:disabled){background:#9a8dc7;color:#fff;cursor:pointer}.prompt-select__options>button:disabled{cursor:not-allowed;color:#1010104d}", M = /* @__PURE__ */ C(B, [["styles", [E]]]);
|
|
67
|
+
window.customElements.define("llm-prompt-select", L(M));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as D, r as
|
|
2
|
-
import { L } from "../Loading.ce-
|
|
3
|
-
const P = ["part"],
|
|
1
|
+
import { a as D, r as k, k as M, h as $, c as t, o as s, D as w, E as m, f as h, A as x, t as v, y as E, K as B, m as T, F as b, b as N, _ as S, g as V, e as z, d as F } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { L } from "../Loading.ce-BLJllV22.js";
|
|
3
|
+
const P = ["part"], I = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "message__loader message__content",
|
|
6
6
|
"aria-hidden": "true"
|
|
7
|
-
},
|
|
7
|
+
}, j = ["part"], K = { key: 1 }, O = { key: 0 }, R = /* @__PURE__ */ D({
|
|
8
8
|
__name: "Message.ce",
|
|
9
9
|
props: {
|
|
10
10
|
displaySender: { type: Boolean, default: !0 },
|
|
@@ -14,7 +14,7 @@ const P = ["part"], j = {
|
|
|
14
14
|
loadingDuration: { type: Number }
|
|
15
15
|
},
|
|
16
16
|
setup(n, { expose: c }) {
|
|
17
|
-
const i =
|
|
17
|
+
const i = k("hidden"), g = k([]), p = M(() => n.message.content.split(`
|
|
18
18
|
`));
|
|
19
19
|
function d(e) {
|
|
20
20
|
return new Promise((a) => {
|
|
@@ -32,7 +32,7 @@ const P = ["part"], j = {
|
|
|
32
32
|
return c({
|
|
33
33
|
reset: f
|
|
34
34
|
}), (e, a) => (s(), t("div", {
|
|
35
|
-
class:
|
|
35
|
+
class: w(["message", [
|
|
36
36
|
`message--${e.message.direction}`,
|
|
37
37
|
{ "hidden-state": i.value === "hidden" }
|
|
38
38
|
]])
|
|
@@ -43,25 +43,25 @@ const P = ["part"], j = {
|
|
|
43
43
|
part: `sender ${e.message.direction}`
|
|
44
44
|
}, [
|
|
45
45
|
a[0] || (a[0] = h("span", { class: "sr-only" }, "Message de ", -1)),
|
|
46
|
-
|
|
46
|
+
x(v(e.message.userName), 1)
|
|
47
47
|
], 8, P)) : m("", !0),
|
|
48
|
-
i.value === "loading" ? (s(), t("div",
|
|
48
|
+
i.value === "loading" ? (s(), t("div", I, [
|
|
49
49
|
E(L)
|
|
50
50
|
])) : m("", !0),
|
|
51
51
|
h("p", {
|
|
52
|
-
class:
|
|
52
|
+
class: w(["message__content", { "hidden-state": i.value !== "visible" }]),
|
|
53
53
|
part: `message ${e.message.direction}`
|
|
54
54
|
}, [
|
|
55
55
|
e.message.image ? (s(), t("img", B(T({ key: 0 }, e.message.image)), null, 16)) : m("", !0),
|
|
56
|
-
e.message.image ? (s(), t("br",
|
|
56
|
+
e.message.image ? (s(), t("br", K)) : m("", !0),
|
|
57
57
|
(s(!0), t(b, null, N(p.value, (o, r) => (s(), t(b, { key: r }, [
|
|
58
|
-
r > 0 ? (s(), t("br",
|
|
59
|
-
|
|
58
|
+
r > 0 ? (s(), t("br", O)) : m("", !0),
|
|
59
|
+
x(" " + v(o), 1)
|
|
60
60
|
], 64))), 128))
|
|
61
|
-
], 10,
|
|
61
|
+
], 10, j)
|
|
62
62
|
], 2));
|
|
63
63
|
}
|
|
64
|
-
}),
|
|
64
|
+
}), q = ".message{max-width:80%;position:relative}.message--incoming{align-self:start}.message--incoming .message__sender{padding-left:10px}.message--incoming .message__loader{left:10px}.message--incoming .message__content{background-color:#e8e8e8}.message--outgoing{align-self:end}.message--outgoing .message__sender{padding-right:10px;text-align:right}.message--outgoing .message__loader{right:10px}.message--outgoing .message__content{background-color:#d1eaff}.message__sender{color:#444;font-size:.8rem;font-weight:700;margin:0}.message__loader{position:absolute;width:24px}.message__content{border-radius:16px;margin:0;padding:10px 14px}.message__content:not(.hidden-state){animation:fade .3s ease-in-out both}.message__content>img{max-width:100%}.hidden-state{visibility:hidden}@keyframes fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.message__content:not(.hidden-state){animation:none}.message__loader{display:none}.hidden-state{visibility:visible}}", G = /* @__PURE__ */ S(R, [["styles", [q]]]), H = { part: "conversation" }, J = { class: "sr-only" }, Q = /* @__PURE__ */ D({
|
|
65
65
|
__name: "MessageConversation.ce",
|
|
66
66
|
props: {
|
|
67
67
|
title: { default: "Conversation par messages", type: String },
|
|
@@ -94,9 +94,9 @@ const P = ["part"], j = {
|
|
|
94
94
|
}
|
|
95
95
|
return c({
|
|
96
96
|
reset: f
|
|
97
|
-
}), (e, a) => (s(), t("figure",
|
|
98
|
-
h("figcaption",
|
|
99
|
-
(s(!0), t(b, null, N(p.value, ({ message: o, displaySender: r, startAnimation: u, animationDuration: y }, _) => (s(), z(
|
|
97
|
+
}), (e, a) => (s(), t("figure", H, [
|
|
98
|
+
h("figcaption", J, v(e.title), 1),
|
|
99
|
+
(s(!0), t(b, null, N(p.value, ({ message: o, displaySender: r, startAnimation: u, animationDuration: y }, _) => (s(), z(G, {
|
|
100
100
|
ref_for: !0,
|
|
101
101
|
ref: "messages",
|
|
102
102
|
message: o,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as g, c as n, o as i, f as a, t as l, F as o, b as d,
|
|
2
|
-
import { a as m, i as r, b as f } from "../i18n-
|
|
1
|
+
import { a as g, c as n, o as i, f as a, t as l, F as o, b as d, I as h, _ as u, d as p } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { a as m, i as r, b as f } from "../i18n-Gv3Ze5vF.js";
|
|
3
3
|
const v = {}, y = {}, b = {
|
|
4
4
|
"pix-article": { byAuthor: "Par {{author}}" }
|
|
5
|
-
}, S = {}, L = {}, j = ["titleLevel"], x = { class: "article__metadata" }, A = { class: "article__author" },
|
|
5
|
+
}, S = {}, L = {}, j = ["titleLevel"], x = { class: "article__metadata" }, A = { class: "article__author" }, E = ["innerHTML"], H = /* @__PURE__ */ g({
|
|
6
6
|
__name: "PixArticle.ce",
|
|
7
7
|
props: {
|
|
8
8
|
titleLevel: { default: 2, type: Number },
|
|
@@ -17,7 +17,7 @@ const v = {}, y = {}, b = {
|
|
|
17
17
|
const s = e.paragraphs.join(`
|
|
18
18
|
`).replace("{{highlightedSentence}}", `<strong style="color: ${e.colorOfHighlightSentence};">${e.highlightedSentence}</strong>`).split(`
|
|
19
19
|
`);
|
|
20
|
-
return (t,
|
|
20
|
+
return (t, B) => (i(), n(o, null, [
|
|
21
21
|
a("div", {
|
|
22
22
|
class: "article__title",
|
|
23
23
|
role: "heading",
|
|
@@ -30,12 +30,12 @@ const v = {}, y = {}, b = {
|
|
|
30
30
|
(i(!0), n(o, null, d(h(s), (c, _) => (i(), n("p", {
|
|
31
31
|
innerHTML: c,
|
|
32
32
|
key: _
|
|
33
|
-
}, null, 8,
|
|
33
|
+
}, null, 8, E))), 128))
|
|
34
34
|
], 64));
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), k = "[data-v-30ea36f1]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.article__title[data-v-30ea36f1]{font-size:1.3rem;font-weight:700}.article__metadata[data-v-30ea36f1]{font-style:italic}.article__author[data-v-30ea36f1]{border-right:solid 1px var(--pix-neutral-800);padding-right:.7rem;margin-right:.5rem}", w = /* @__PURE__ */ u(H, [["styles", [k]], ["__scopeId", "data-v-30ea36f1"]]);
|
|
37
37
|
m(/* @__PURE__ */ Object.assign({ "./locales/en.json": v, "./locales/es.json": y, "./locales/fr.json": b, "./locales/it.json": S, "./locales/nl.json": L })).catch((e) => console.error(e));
|
|
38
|
-
window.customElements.define("pix-article", p(
|
|
38
|
+
window.customElements.define("pix-article", p(w, {
|
|
39
39
|
configureApp(e) {
|
|
40
40
|
r.changeLanguage(document?.documentElement?.lang ?? navigator.language), e.use(f, { i18next: r });
|
|
41
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as C,
|
|
2
|
-
import { a as V, i as N, b as P } from "../i18n-
|
|
3
|
-
import { B, N as
|
|
1
|
+
import { a as C, k as h, c as l, o, D as T, f as r, E, L as z, A as j, t as g, _ as b, r as w, J as H, I as u, y as m, x as $, G as D, M as _, F as S, b as k, e as A, d as I } from "../_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { a as V, i as N, b as P } from "../i18n-Gv3Ze5vF.js";
|
|
3
|
+
import { B, N as M } from "../NavigationButton.ce-Cz9511sV.js";
|
|
4
4
|
const F = {
|
|
5
5
|
"pix-carousel": { license: "Image license", next: "Next", of: "{{ currentSlide }} of {{ slideLength }}", previous: "Previous", slide: "Slide", title: "Carousel" }
|
|
6
6
|
}, G = {
|
|
@@ -9,9 +9,9 @@ const F = {
|
|
|
9
9
|
"pix-carousel": { license: "Licence de l’image", of: "{{ currentSlide }} sur {{ slideLength }}", next: "Suivant", previous: "Précédent", slide: "Diapositive", title: "Carrousel" }
|
|
10
10
|
}, Z = {
|
|
11
11
|
"pix-carousel": { license: "Licenza d'immagine", next: "Avanti", of: "{{ currentSlide }} di {{ slideLength }}", previous: "Precedente", slide: "Diapositiva", title: "Galleria" }
|
|
12
|
-
},
|
|
12
|
+
}, J = {
|
|
13
13
|
"pix-carousel": { license: "Afbeeldingslicentie", next: "Volgende", of: "{{ currentSlide }} van {{ slideLength }}", previous: "Vorige", slide: "Dia", title: "Carrousel" }
|
|
14
|
-
}, W = ["aria-level"],
|
|
14
|
+
}, W = ["aria-level"], q = ["innerHTML"], K = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "description"
|
|
17
17
|
}, Q = /* @__PURE__ */ C({
|
|
@@ -31,7 +31,7 @@ const F = {
|
|
|
31
31
|
return n.description.match(s);
|
|
32
32
|
});
|
|
33
33
|
return (t, s) => (o(), l("div", {
|
|
34
|
-
class:
|
|
34
|
+
class: T(["slide-info", { active: t.isActive }])
|
|
35
35
|
}, [
|
|
36
36
|
r("div", {
|
|
37
37
|
role: "heading",
|
|
@@ -39,13 +39,13 @@ const F = {
|
|
|
39
39
|
class: "title"
|
|
40
40
|
}, [
|
|
41
41
|
z(t.$slots, "pagination"),
|
|
42
|
-
|
|
42
|
+
j(" " + g(t.title), 1)
|
|
43
43
|
], 8, W),
|
|
44
44
|
i.value ? (o(), l("div", {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "description",
|
|
47
47
|
innerHTML: t.description
|
|
48
|
-
}, null, 8,
|
|
48
|
+
}, null, 8, q)) : t.description ? (o(), l("p", K, g(t.description), 1)) : E("", !0)
|
|
49
49
|
], 2));
|
|
50
50
|
}
|
|
51
51
|
}), U = ".slide-info{transform:translate(100vw);grid-column:1;grid-row:1;height:fit-content;border-left:1px solid transparent;padding-left:16px;padding-top:4px}.slide-info p{margin-top:8px;margin-bottom:0}.slide-info.active{border-left-color:gray;transform:translate(0)}.slide-info .title{display:flex;align-items:center;font-size:1.25rem;font-family:Nunito,sans-serif;font-style:normal;font-weight:700;line-height:1.75rem;gap:8px;min-height:24px}.slide-info .description{font-size:.875rem}.slide-info .description ul li,.slide-info .description ol li{margin-left:1rem}@media only screen and (max-width: 576px){.slide-info.active{border:none;padding-left:0}}", R = /* @__PURE__ */ b(Q, [["styles", [U]]]), X = ["aria-hidden", "aria-roledescription", "aria-label"], Y = ["alt", "src"], ee = {
|
|
@@ -78,7 +78,7 @@ const F = {
|
|
|
78
78
|
const d = h(() => n.direction === 1);
|
|
79
79
|
return (e, y) => (o(), l("div", {
|
|
80
80
|
role: "group",
|
|
81
|
-
class:
|
|
81
|
+
class: T(["slide", { active: e.isActive, [s.value]: s.value, "is-next": d.value, "disable-animation": u(t) }]),
|
|
82
82
|
"aria-hidden": !e.isActive,
|
|
83
83
|
"aria-roledescription": e.$t("pix-carousel.slide"),
|
|
84
84
|
"aria-label": e.label
|
|
@@ -94,12 +94,12 @@ const F = {
|
|
|
94
94
|
src: e.slide.image.src
|
|
95
95
|
}, null, 12, Y),
|
|
96
96
|
e.slide.license ? (o(), l("p", ee, [
|
|
97
|
-
|
|
97
|
+
j(g(e.slide.license.attribution) + " / ", 1),
|
|
98
98
|
r("a", {
|
|
99
99
|
href: e.slide.license.url,
|
|
100
100
|
target: "_blank"
|
|
101
101
|
}, g(e.slide.license.name), 9, ie)
|
|
102
|
-
])) :
|
|
102
|
+
])) : E("", !0)
|
|
103
103
|
], 4)) : e.type === "image-text" ? (o(), l("div", te, [
|
|
104
104
|
r("img", {
|
|
105
105
|
alt: e.slide.image.alt,
|
|
@@ -170,7 +170,7 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
|
|
|
170
170
|
function x(a) {
|
|
171
171
|
e.value = a, d.value = (d.value - a + i.slides.length) % i.slides.length;
|
|
172
172
|
}
|
|
173
|
-
const v =
|
|
173
|
+
const v = D();
|
|
174
174
|
return (a, c) => (o(), l("section", {
|
|
175
175
|
"aria-roledescription": a.$t("pix-carousel.title")
|
|
176
176
|
}, [
|
|
@@ -219,14 +219,14 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
|
|
|
219
219
|
], 8, be),
|
|
220
220
|
r("div", xe, [
|
|
221
221
|
r("div", ye, [
|
|
222
|
-
m(
|
|
222
|
+
m(M, {
|
|
223
223
|
onClick: c[2] || (c[2] = (p) => x(1)),
|
|
224
224
|
label: a.$t("pix-carousel.previous"),
|
|
225
225
|
"aria-controls": u(v),
|
|
226
226
|
direction: "previous",
|
|
227
227
|
disabled: y.value
|
|
228
228
|
}, null, 8, ["label", "aria-controls", "disabled"]),
|
|
229
|
-
m(
|
|
229
|
+
m(M, {
|
|
230
230
|
onClick: c[3] || (c[3] = (p) => x(-1)),
|
|
231
231
|
label: a.$t("pix-carousel.next"),
|
|
232
232
|
"aria-controls": u(v),
|
|
@@ -253,8 +253,8 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
|
|
|
253
253
|
], 8, he));
|
|
254
254
|
}
|
|
255
255
|
}), Le = "*{--pix-neutral-0: white;--pix-neutral-100: #cdd1d9;--pix-neutral-800: #253858;--pix-primary-100: #cec3f4;--pix-primary-300: #957ee8;--pix-primary-700: #452d9d;--pix-primary-900: #291a5d;font-family:Roboto,sans-serif;color:var(--pix-neutral-800)}section{display:flex;flex-direction:column;gap:12px;overflow:hidden;padding-top:12px}section .slides{display:grid;grid-template-columns:32px auto 32px;gap:16px;width:100%}section .slides .slide{grid-row:1;grid-column:2}section .slides .carousel__nav{height:80%;margin:auto 0;background:var(--pix-primary-100);fill:var(--pix-neutral-800);border:none;cursor:pointer;z-index:9;padding:0}section .slides .carousel__nav:hover{background:var(--pix-primary-300);fill:var(--pix-neutral-0)}section .slides .carousel__nav:active,section .slides .carousel__nav:focus,section .slides .carousel__nav:focus-visible{background:var(--pix-primary-700);fill:var(--pix-neutral-0)}section .slides .carousel__nav:focus,section .slides .carousel__nav:focus-visible{outline-offset:-4px;outline:1px solid var(--pix-neutral-0)}section .slides .carousel__nav.previous{border-top-right-radius:1rem;border-bottom-right-radius:1rem}section .slides .carousel__nav.next{border-top-left-radius:1rem;border-bottom-left-radius:1rem}section .slides .carousel__nav.disabled,section .slides .carousel__nav.disabled:hover{background:transparent;cursor:not-allowed;fill:var(--pix-neutral-100)}.footer{padding:16px 56px;display:flex;align-items:start;gap:16px}.footer .footer-separator{border-left:1px solid;width:1px}.footer .control{display:flex;gap:8px;align-items:center}.footer .tooltip-container button.disabled{fill:var(--pix-neutral-100)}.footer .slide-info-container{display:grid;grid-template-columns:1fr}.footer .slide-info-container .pagination{display:flex;align-items:center;font-size:.75rem;font-family:Roboto,sans-serif;font-weight:400;color:var(--pix-primary-900);border-radius:50px;padding:3px 12px;background-color:var(--pix-primary-100);height:18px;text-wrap:nowrap}.footer .info{display:grid;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media only screen and (max-width: 576px){section .slides{grid-template-columns:0 100% 0;gap:0}section .slides .carousel__nav{display:none}.footer{flex-direction:column;padding:16px}.footer .footer-separator{display:none}}", $e = /* @__PURE__ */ b(Ce, [["styles", [Le]]]);
|
|
256
|
-
V(/* @__PURE__ */ Object.assign({ "./locales/en.json": F, "./locales/es.json": G, "./locales/fr.json": O, "./locales/it.json": Z, "./locales/nl.json":
|
|
257
|
-
window.customElements.define("pix-carousel",
|
|
256
|
+
V(/* @__PURE__ */ Object.assign({ "./locales/en.json": F, "./locales/es.json": G, "./locales/fr.json": O, "./locales/it.json": Z, "./locales/nl.json": J })).catch((n) => console.error(n));
|
|
257
|
+
window.customElements.define("pix-carousel", I($e, {
|
|
258
258
|
configureApp(n) {
|
|
259
259
|
N.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(P, { i18next: N });
|
|
260
260
|
}
|