ep-lib-ts 1.0.7 → 1.0.9
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/BgAudio-BlOciyyF.js +4 -0
- package/dist/DisplayBox--nQC58Wz.js +4 -0
- package/dist/EpAlert-QGrmQLQt.js +4 -0
- package/dist/EpAudio-Be6gEVdg.js +4 -0
- package/dist/EpBadge-DhXfn7fR.js +4 -0
- package/dist/EpBarChart-HpEteRLK.js +4 -0
- package/dist/EpBtn-DyBggdCv.js +4 -0
- package/dist/EpCard--19q8qYw.js +4 -0
- package/dist/EpChip-DiITptwm.js +4 -0
- package/dist/EpContentSlider-BXGQeVMO.js +4 -0
- package/dist/{EpDarkmode-D1jXUoSC.js → EpDarkmode-DWA0voFO.js} +1 -1
- package/dist/EpDivider-dxrA-dR_.js +4 -0
- package/dist/EpEdu-CpZ3i0qV.js +4 -0
- package/dist/EpFlex-DH-BVeZM.js +4 -0
- package/dist/EpFunnelChart-DfGxToS2.js +4 -0
- package/dist/EpHeader-CbMyaQGx.js +4 -0
- package/dist/{EpHover-nZS2pYFG.js → EpHover-DXdOPnDn.js} +1 -1
- package/dist/EpIcon-LsoGsku9.js +4 -0
- package/dist/EpIframe-Bxx1QSf-.js +4 -0
- package/dist/EpImg-C-0Z-znf.js +4 -0
- package/dist/{EpInput-B27QoOBx.js → EpInput-TeZRmmUX.js} +1 -1
- package/dist/EpLineChart-DRl8dezs.js +4 -0
- package/dist/EpLink-Cj-DpeQa.js +4 -0
- package/dist/EpLinkVersion-Cm4u6Xql.js +4 -0
- package/dist/{EpList-DIO_ZIFr.js → EpList-5mOPFQ9O.js} +1 -1
- package/dist/EpModal-CFbxbe6J.js +4 -0
- package/dist/{EpNothing-Cr3m7JTf.js → EpNothing-BoIDmqSI.js} +1 -1
- package/dist/EpPieChart-BTKGbAI7.js +4 -0
- package/dist/EpQuestion-Cin4-X_M.js +4 -0
- package/dist/EpQuote-D9JImqam.js +4 -0
- package/dist/EpRadio-C_cY0q2J.js +4 -0
- package/dist/EpRadioSummative-C8AbwfW2.js +4 -0
- package/dist/EpReading-SGqzw_0f.js +4 -0
- package/dist/EpResource-Dm0gFvtj.js +4 -0
- package/dist/EpScope-DYhlmbDU.js +4 -0
- package/dist/EpSection-DUxyMPRb.js +4 -0
- package/dist/{EpSelect-CTskxx5V.js → EpSelect-B-Z8a3Hs.js} +1 -1
- package/dist/EpSkeleton-DC5OUtB5.js +4 -0
- package/dist/EpSoftware-O5NE-VUC.js +4 -0
- package/dist/EpSpinner-lw-AU-df.js +4 -0
- package/dist/EpSummativeTable-DmlYRZlO.js +4 -0
- package/dist/EpSvg-BI2nItA_.js +4 -0
- package/dist/EpTable-Y_3g-9Vy.js +4 -0
- package/dist/EpTerm-Dep5q8eH.js +4 -0
- package/dist/EpText-CnEpRINM.js +4 -0
- package/dist/EpTimeLine-CVdYHgaO.js +4 -0
- package/dist/EpVideo-DGjvXSCJ.js +4 -0
- package/dist/EpVideoPanopto-BlVj2hYY.js +4 -0
- package/dist/EpWordDef-CfrzDlt2.js +4 -0
- package/dist/components/basics/EpImg.vue.d.ts +4 -0
- package/dist/components/medias/EpCarousel.vue.d.ts +4 -0
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +2 -2
- package/dist/{index-BZaMooWT.js → index-yJ38QWap.js} +580 -564
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/basics/EpImg.vue +177 -119
- package/src/components/medias/EpCarousel.vue +30 -8
- package/dist/BgAudio-D0BwVnii.js +0 -4
- package/dist/DisplayBox-B3jLORDu.js +0 -4
- package/dist/EpAlert-D5AOZDyu.js +0 -4
- package/dist/EpAudio-BAVn7Gy8.js +0 -4
- package/dist/EpBadge-CN9Fg8sD.js +0 -4
- package/dist/EpBarChart-C52e3Mbz.js +0 -4
- package/dist/EpBtn-DxrWf_6y.js +0 -4
- package/dist/EpCard-XTDLhqEF.js +0 -4
- package/dist/EpChip-BUrLsOFK.js +0 -4
- package/dist/EpContentSlider-FwYItAWJ.js +0 -4
- package/dist/EpDivider-o4AVzJRd.js +0 -4
- package/dist/EpEdu-BsEWOTfl.js +0 -4
- package/dist/EpFlex-D3XiP-Ra.js +0 -4
- package/dist/EpFunnelChart-kJQY8nsy.js +0 -4
- package/dist/EpHeader-CcVcrJVb.js +0 -4
- package/dist/EpIcon-DSM8BNpa.js +0 -4
- package/dist/EpIframe-cjC7BBGu.js +0 -4
- package/dist/EpImg-Ccjnd-bG.js +0 -4
- package/dist/EpLineChart-Di24eSaw.js +0 -4
- package/dist/EpLink-C5hN_hjD.js +0 -4
- package/dist/EpLinkVersion-CuI6JzA0.js +0 -4
- package/dist/EpModal-BM979tQ-.js +0 -4
- package/dist/EpPieChart-CV4A5nSn.js +0 -4
- package/dist/EpQuestion-FC0tDPMy.js +0 -4
- package/dist/EpQuote-Ce2SMrW3.js +0 -4
- package/dist/EpRadio-BIJU0eLQ.js +0 -4
- package/dist/EpRadioSummative-B04LRKD6.js +0 -4
- package/dist/EpReading-DWrILG_f.js +0 -4
- package/dist/EpResource-Bmkn_JKt.js +0 -4
- package/dist/EpScope-CGUMWNrb.js +0 -4
- package/dist/EpSection-DM9t-9CY.js +0 -4
- package/dist/EpSkeleton-DVyxuzQ8.js +0 -4
- package/dist/EpSoftware-BVu58Hnm.js +0 -4
- package/dist/EpSpinner-FS5o8YG9.js +0 -4
- package/dist/EpSummativeTable-ByMD9LrS.js +0 -4
- package/dist/EpSvg-DNGYQ1Pd.js +0 -4
- package/dist/EpTable-Bq2_17qt.js +0 -4
- package/dist/EpTerm-CubK5Of7.js +0 -4
- package/dist/EpText-2tBQKmQ-.js +0 -4
- package/dist/EpTimeLine-DPxKR6hE.js +0 -4
- package/dist/EpVideo-BdWZutia.js +0 -4
- package/dist/EpVideoPanopto-BZ4JWjbT.js +0 -4
- package/dist/EpWordDef-BhzmB00q.js +0 -4
|
@@ -41,16 +41,16 @@ function X0(t, e) {
|
|
|
41
41
|
if ((s & 240) === 224 && n + 6 < i) {
|
|
42
42
|
const o = parseInt(u.slice(n + 4, n + 6), 16), c = parseInt(u.slice(n + 7, n + 9), 16);
|
|
43
43
|
if ((o & 192) === 128 && (c & 192) === 128) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const h = s << 12 & 61440 | o << 6 & 4032 | c & 63;
|
|
45
|
+
h < 2048 || h >= 55296 && h <= 57343 ? a += "���" : a += String.fromCharCode(h), n += 6;
|
|
46
46
|
continue;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
if ((s & 248) === 240 && n + 9 < i) {
|
|
50
|
-
const o = parseInt(u.slice(n + 4, n + 6), 16), c = parseInt(u.slice(n + 7, n + 9), 16),
|
|
51
|
-
if ((o & 192) === 128 && (c & 192) === 128 && (
|
|
52
|
-
let
|
|
53
|
-
|
|
50
|
+
const o = parseInt(u.slice(n + 4, n + 6), 16), c = parseInt(u.slice(n + 7, n + 9), 16), h = parseInt(u.slice(n + 10, n + 12), 16);
|
|
51
|
+
if ((o & 192) === 128 && (c & 192) === 128 && (h & 192) === 128) {
|
|
52
|
+
let f = s << 18 & 1835008 | o << 12 & 258048 | c << 6 & 4032 | h & 63;
|
|
53
|
+
f < 65536 || f > 1114111 ? a += "����" : (f -= 65536, a += String.fromCharCode(55296 + (f >> 10), 56320 + (f & 1023))), n += 9;
|
|
54
54
|
continue;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -146,8 +146,8 @@ Pt.prototype.parse = function(t, e) {
|
|
|
146
146
|
let c = -1;
|
|
147
147
|
for (let x = 0; x < Uu.length; x++)
|
|
148
148
|
u = n.indexOf(Uu[x]), u !== -1 && (c === -1 || u < c) && (c = u);
|
|
149
|
-
let
|
|
150
|
-
c === -1 ?
|
|
149
|
+
let h, f;
|
|
150
|
+
c === -1 ? f = n.lastIndexOf("@") : f = n.lastIndexOf("@", c), f !== -1 && (h = n.slice(0, f), n = n.slice(f + 1), this.auth = h), c = -1;
|
|
151
151
|
for (let x = 0; x < Gu.length; x++)
|
|
152
152
|
u = n.indexOf(Gu[x]), u !== -1 && (c === -1 || u < c) && (c = u);
|
|
153
153
|
c === -1 && (c = n.length), n[c - 1] === ":" && c--;
|
|
@@ -776,18 +776,18 @@ n0.fence = function(t, e, r, u, a) {
|
|
|
776
776
|
const n = t[e], i = n.info ? Y0(n.info).trim() : "";
|
|
777
777
|
let s = "", o = "";
|
|
778
778
|
if (i) {
|
|
779
|
-
const
|
|
780
|
-
s =
|
|
779
|
+
const h = i.split(/(\s+)/g);
|
|
780
|
+
s = h[0], o = h.slice(2).join("");
|
|
781
781
|
}
|
|
782
782
|
let c;
|
|
783
783
|
if (r.highlight ? c = r.highlight(n.content, s, o) || M0(n.content) : c = M0(n.content), c.indexOf("<pre") === 0)
|
|
784
784
|
return c + `
|
|
785
785
|
`;
|
|
786
786
|
if (i) {
|
|
787
|
-
const
|
|
788
|
-
|
|
787
|
+
const h = n.attrIndex("class"), f = n.attrs ? n.attrs.slice() : [];
|
|
788
|
+
h < 0 ? f.push(["class", r.langPrefix + s]) : (f[h] = f[h].slice(), f[h][1] += " " + r.langPrefix + s);
|
|
789
789
|
const b = {
|
|
790
|
-
attrs:
|
|
790
|
+
attrs: f
|
|
791
791
|
};
|
|
792
792
|
return `<pre><code${a.renderAttrs(b)}>${c}</code></pre>
|
|
793
793
|
`;
|
|
@@ -1049,8 +1049,8 @@ function K1(t) {
|
|
|
1049
1049
|
if (s.type === "html_inline" && (X1(s.content) && n > 0 && n--, Y1(s.content) && n++), !(n > 0) && s.type === "text" && t.md.linkify.test(s.content)) {
|
|
1050
1050
|
const o = s.content;
|
|
1051
1051
|
let c = t.md.linkify.match(o);
|
|
1052
|
-
const
|
|
1053
|
-
let
|
|
1052
|
+
const h = [];
|
|
1053
|
+
let f = s.level, b = 0;
|
|
1054
1054
|
c.length > 0 && c[0].index === 0 && i > 0 && a[i - 1].type === "text_special" && (c = c.slice(1));
|
|
1055
1055
|
for (let g = 0; g < c.length; g++) {
|
|
1056
1056
|
const x = c[g].url, A = t.md.normalizeLink(x);
|
|
@@ -1061,20 +1061,20 @@ function K1(t) {
|
|
|
1061
1061
|
const T = c[g].index;
|
|
1062
1062
|
if (T > b) {
|
|
1063
1063
|
const I = new t.Token("text", "", 0);
|
|
1064
|
-
I.content = o.slice(b, T), I.level =
|
|
1064
|
+
I.content = o.slice(b, T), I.level = f, h.push(I);
|
|
1065
1065
|
}
|
|
1066
1066
|
const M = new t.Token("link_open", "a", 1);
|
|
1067
|
-
M.attrs = [["href", A]], M.level =
|
|
1067
|
+
M.attrs = [["href", A]], M.level = f++, M.markup = "linkify", M.info = "auto", h.push(M);
|
|
1068
1068
|
const z = new t.Token("text", "", 0);
|
|
1069
|
-
z.content = S, z.level =
|
|
1069
|
+
z.content = S, z.level = f, h.push(z);
|
|
1070
1070
|
const F = new t.Token("link_close", "a", -1);
|
|
1071
|
-
F.level = --
|
|
1071
|
+
F.level = --f, F.markup = "linkify", F.info = "auto", h.push(F), b = c[g].lastIndex;
|
|
1072
1072
|
}
|
|
1073
1073
|
if (b < o.length) {
|
|
1074
1074
|
const g = new t.Token("text", "", 0);
|
|
1075
|
-
g.content = o.slice(b), g.level =
|
|
1075
|
+
g.content = o.slice(b), g.level = f, h.push(g);
|
|
1076
1076
|
}
|
|
1077
|
-
e[r].children = a = cn(a, i,
|
|
1077
|
+
e[r].children = a = cn(a, i, h);
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
@@ -1124,15 +1124,15 @@ function is(t, e) {
|
|
|
1124
1124
|
e:
|
|
1125
1125
|
for (; o < c; ) {
|
|
1126
1126
|
Yu.lastIndex = o;
|
|
1127
|
-
const
|
|
1128
|
-
if (!
|
|
1127
|
+
const h = Yu.exec(s);
|
|
1128
|
+
if (!h)
|
|
1129
1129
|
break;
|
|
1130
|
-
let
|
|
1131
|
-
o =
|
|
1132
|
-
const g =
|
|
1130
|
+
let f = !0, b = !0;
|
|
1131
|
+
o = h.index + 1;
|
|
1132
|
+
const g = h[0] === "'";
|
|
1133
1133
|
let x = 32;
|
|
1134
|
-
if (
|
|
1135
|
-
x = s.charCodeAt(
|
|
1134
|
+
if (h.index - 1 >= 0)
|
|
1135
|
+
x = s.charCodeAt(h.index - 1);
|
|
1136
1136
|
else
|
|
1137
1137
|
for (r = a - 1; r >= 0 && !(t[r].type === "softbreak" || t[r].type === "hardbreak"); r--)
|
|
1138
1138
|
if (t[r].content) {
|
|
@@ -1149,8 +1149,8 @@ function is(t, e) {
|
|
|
1149
1149
|
break;
|
|
1150
1150
|
}
|
|
1151
1151
|
const S = ht(x) || dt(String.fromCharCode(x)), T = ht(A) || dt(String.fromCharCode(A)), M = ct(x), z = ct(A);
|
|
1152
|
-
if (z ?
|
|
1153
|
-
g && (n.content = Et(n.content,
|
|
1152
|
+
if (z ? f = !1 : T && (M || S || (f = !1)), M ? b = !1 : S && (z || T || (b = !1)), A === 34 && h[0] === '"' && x >= 48 && x <= 57 && (b = f = !1), f && b && (f = S, b = T), !f && !b) {
|
|
1153
|
+
g && (n.content = Et(n.content, h.index, Ku));
|
|
1154
1154
|
continue;
|
|
1155
1155
|
}
|
|
1156
1156
|
if (b)
|
|
@@ -1161,7 +1161,7 @@ function is(t, e) {
|
|
|
1161
1161
|
if (F.single === g && u[r].level === i) {
|
|
1162
1162
|
F = u[r];
|
|
1163
1163
|
let I, V;
|
|
1164
|
-
g ? (I = e.md.options.quotes[2], V = e.md.options.quotes[3]) : (I = e.md.options.quotes[0], V = e.md.options.quotes[1]), n.content = Et(n.content,
|
|
1164
|
+
g ? (I = e.md.options.quotes[2], V = e.md.options.quotes[3]) : (I = e.md.options.quotes[0], V = e.md.options.quotes[1]), n.content = Et(n.content, h.index, V), t[F.token].content = Et(
|
|
1165
1165
|
t[F.token].content,
|
|
1166
1166
|
F.pos,
|
|
1167
1167
|
I
|
|
@@ -1169,12 +1169,12 @@ function is(t, e) {
|
|
|
1169
1169
|
continue e;
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1172
|
+
f ? u.push({
|
|
1173
1173
|
token: a,
|
|
1174
|
-
pos:
|
|
1174
|
+
pos: h.index,
|
|
1175
1175
|
single: g,
|
|
1176
1176
|
level: i
|
|
1177
|
-
}) : b && g && (n.content = Et(n.content,
|
|
1177
|
+
}) : b && g && (n.content = Et(n.content, h.index, Ku));
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
@@ -1221,15 +1221,15 @@ su.prototype.State = hn;
|
|
|
1221
1221
|
function i0(t, e, r, u) {
|
|
1222
1222
|
this.src = t, this.md = e, this.env = r, this.tokens = u, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
|
|
1223
1223
|
const a = this.src;
|
|
1224
|
-
for (let n = 0, i = 0, s = 0, o = 0, c = a.length,
|
|
1225
|
-
const
|
|
1226
|
-
if (!
|
|
1227
|
-
if (he(
|
|
1228
|
-
s++,
|
|
1224
|
+
for (let n = 0, i = 0, s = 0, o = 0, c = a.length, h = !1; i < c; i++) {
|
|
1225
|
+
const f = a.charCodeAt(i);
|
|
1226
|
+
if (!h)
|
|
1227
|
+
if (he(f)) {
|
|
1228
|
+
s++, f === 9 ? o += 4 - o % 4 : o++;
|
|
1229
1229
|
continue;
|
|
1230
1230
|
} else
|
|
1231
|
-
|
|
1232
|
-
(
|
|
1231
|
+
h = !0;
|
|
1232
|
+
(f === 10 || i === c - 1) && (f !== 10 && i++, this.bMarks.push(n), this.eMarks.push(i), this.tShift.push(s), this.sCount.push(o), this.bsCount.push(0), h = !1, s = 0, o = 0, n = i + 1);
|
|
1233
1233
|
}
|
|
1234
1234
|
this.bMarks.push(a.length), this.eMarks.push(a.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1235
1235
|
}
|
|
@@ -1281,18 +1281,18 @@ i0.prototype.getLines = function(e, r, u, a) {
|
|
|
1281
1281
|
for (let i = 0, s = e; s < r; s++, i++) {
|
|
1282
1282
|
let o = 0;
|
|
1283
1283
|
const c = this.bMarks[s];
|
|
1284
|
-
let
|
|
1285
|
-
for (s + 1 < r || a ?
|
|
1286
|
-
const b = this.src.charCodeAt(
|
|
1284
|
+
let h = c, f;
|
|
1285
|
+
for (s + 1 < r || a ? f = this.eMarks[s] + 1 : f = this.eMarks[s]; h < f && o < u; ) {
|
|
1286
|
+
const b = this.src.charCodeAt(h);
|
|
1287
1287
|
if (he(b))
|
|
1288
1288
|
b === 9 ? o += 4 - (o + this.bsCount[s]) % 4 : o++;
|
|
1289
|
-
else if (
|
|
1289
|
+
else if (h - c < this.tShift[s])
|
|
1290
1290
|
o++;
|
|
1291
1291
|
else
|
|
1292
1292
|
break;
|
|
1293
|
-
|
|
1293
|
+
h++;
|
|
1294
1294
|
}
|
|
1295
|
-
o > u ? n[i] = new Array(o - u + 1).join(" ") + this.src.slice(
|
|
1295
|
+
o > u ? n[i] = new Array(o - u + 1).join(" ") + this.src.slice(h, f) : n[i] = this.src.slice(h, f);
|
|
1296
1296
|
}
|
|
1297
1297
|
return n.join("");
|
|
1298
1298
|
};
|
|
@@ -1331,7 +1331,7 @@ function cs(t, e, r, u) {
|
|
|
1331
1331
|
n++;
|
|
1332
1332
|
}
|
|
1333
1333
|
let o = gr(t, e + 1), c = o.split("|");
|
|
1334
|
-
const
|
|
1334
|
+
const h = [];
|
|
1335
1335
|
for (let F = 0; F < c.length; F++) {
|
|
1336
1336
|
const I = c[F].trim();
|
|
1337
1337
|
if (!I) {
|
|
@@ -1341,13 +1341,13 @@ function cs(t, e, r, u) {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
if (!/^:?-+:?$/.test(I))
|
|
1343
1343
|
return !1;
|
|
1344
|
-
I.charCodeAt(I.length - 1) === 58 ?
|
|
1344
|
+
I.charCodeAt(I.length - 1) === 58 ? h.push(I.charCodeAt(0) === 58 ? "center" : "right") : I.charCodeAt(0) === 58 ? h.push("left") : h.push("");
|
|
1345
1345
|
}
|
|
1346
1346
|
if (o = gr(t, e).trim(), o.indexOf("|") === -1 || t.sCount[e] - t.blkIndent >= 4)
|
|
1347
1347
|
return !1;
|
|
1348
1348
|
c = Qu(o), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop();
|
|
1349
|
-
const
|
|
1350
|
-
if (
|
|
1349
|
+
const f = c.length;
|
|
1350
|
+
if (f === 0 || f !== h.length)
|
|
1351
1351
|
return !1;
|
|
1352
1352
|
if (u)
|
|
1353
1353
|
return !0;
|
|
@@ -1361,7 +1361,7 @@ function cs(t, e, r, u) {
|
|
|
1361
1361
|
T.map = [e, e + 1];
|
|
1362
1362
|
for (let F = 0; F < c.length; F++) {
|
|
1363
1363
|
const I = t.push("th_open", "th", 1);
|
|
1364
|
-
|
|
1364
|
+
h[F] && (I.attrs = [["style", "text-align:" + h[F]]]);
|
|
1365
1365
|
const V = t.push("inline", "", 0);
|
|
1366
1366
|
V.content = c[F].trim(), V.children = [], t.push("th_close", "th", -1);
|
|
1367
1367
|
}
|
|
@@ -1374,7 +1374,7 @@ function cs(t, e, r, u) {
|
|
|
1374
1374
|
F = !0;
|
|
1375
1375
|
break;
|
|
1376
1376
|
}
|
|
1377
|
-
if (F || (o = gr(t, a).trim(), !o) || t.sCount[a] - t.blkIndent >= 4 || (c = Qu(o), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(), z +=
|
|
1377
|
+
if (F || (o = gr(t, a).trim(), !o) || t.sCount[a] - t.blkIndent >= 4 || (c = Qu(o), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(), z += f - c.length, z > ls))
|
|
1378
1378
|
break;
|
|
1379
1379
|
if (a === e + 2) {
|
|
1380
1380
|
const V = t.push("tbody_open", "tbody", 1);
|
|
@@ -1382,9 +1382,9 @@ function cs(t, e, r, u) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
const I = t.push("tr_open", "tr", 1);
|
|
1384
1384
|
I.map = [a, a + 1];
|
|
1385
|
-
for (let V = 0; V <
|
|
1385
|
+
for (let V = 0; V < f; V++) {
|
|
1386
1386
|
const U = t.push("td_open", "td", 1);
|
|
1387
|
-
|
|
1387
|
+
h[V] && (U.attrs = [["style", "text-align:" + h[V]]]);
|
|
1388
1388
|
const te = t.push("inline", "", 0);
|
|
1389
1389
|
te.content = c[V] ? c[V].trim() : "", te.children = [], t.push("td_close", "td", -1);
|
|
1390
1390
|
}
|
|
@@ -1424,20 +1424,20 @@ function hs(t, e, r, u) {
|
|
|
1424
1424
|
let o = a - s;
|
|
1425
1425
|
if (o < 3)
|
|
1426
1426
|
return !1;
|
|
1427
|
-
const c = t.src.slice(s, a),
|
|
1428
|
-
if (i === 96 &&
|
|
1427
|
+
const c = t.src.slice(s, a), h = t.src.slice(a, n);
|
|
1428
|
+
if (i === 96 && h.indexOf(String.fromCharCode(i)) >= 0)
|
|
1429
1429
|
return !1;
|
|
1430
1430
|
if (u)
|
|
1431
1431
|
return !0;
|
|
1432
|
-
let
|
|
1433
|
-
for (;
|
|
1434
|
-
if (t.src.charCodeAt(a) === i && !(t.sCount[
|
|
1432
|
+
let f = e, b = !1;
|
|
1433
|
+
for (; f++, !(f >= r || (a = s = t.bMarks[f] + t.tShift[f], n = t.eMarks[f], a < n && t.sCount[f] < t.blkIndent)); )
|
|
1434
|
+
if (t.src.charCodeAt(a) === i && !(t.sCount[f] - t.blkIndent >= 4) && (a = t.skipChars(a, i), !(a - s < o) && (a = t.skipSpaces(a), !(a < n)))) {
|
|
1435
1435
|
b = !0;
|
|
1436
1436
|
break;
|
|
1437
1437
|
}
|
|
1438
|
-
o = t.sCount[e], t.line =
|
|
1438
|
+
o = t.sCount[e], t.line = f + (b ? 1 : 0);
|
|
1439
1439
|
const g = t.push("fence", "code", 0);
|
|
1440
|
-
return g.info =
|
|
1440
|
+
return g.info = h, g.content = t.getLines(e + 1, f, o, !0), g.markup = c, g.map = [e, t.line], !0;
|
|
1441
1441
|
}
|
|
1442
1442
|
function fs(t, e, r, u) {
|
|
1443
1443
|
let a = t.bMarks[e] + t.tShift[e], n = t.eMarks[e];
|
|
@@ -1446,7 +1446,7 @@ function fs(t, e, r, u) {
|
|
|
1446
1446
|
return !1;
|
|
1447
1447
|
if (u)
|
|
1448
1448
|
return !0;
|
|
1449
|
-
const s = [], o = [], c = [],
|
|
1449
|
+
const s = [], o = [], c = [], h = [], f = t.md.block.ruler.getRules("blockquote"), b = t.parentType;
|
|
1450
1450
|
t.parentType = "blockquote";
|
|
1451
1451
|
let g = !1, x;
|
|
1452
1452
|
for (x = e; x < r; x++) {
|
|
@@ -1465,22 +1465,22 @@ function fs(t, e, r, u) {
|
|
|
1465
1465
|
break;
|
|
1466
1466
|
a++;
|
|
1467
1467
|
}
|
|
1468
|
-
g = a >= n, o.push(t.bsCount[x]), t.bsCount[x] = t.sCount[x] + 1 + (V ? 1 : 0), c.push(t.sCount[x]), t.sCount[x] = te - I,
|
|
1468
|
+
g = a >= n, o.push(t.bsCount[x]), t.bsCount[x] = t.sCount[x] + 1 + (V ? 1 : 0), c.push(t.sCount[x]), t.sCount[x] = te - I, h.push(t.tShift[x]), t.tShift[x] = a - t.bMarks[x];
|
|
1469
1469
|
continue;
|
|
1470
1470
|
}
|
|
1471
1471
|
if (g)
|
|
1472
1472
|
break;
|
|
1473
1473
|
let F = !1;
|
|
1474
|
-
for (let I = 0, V =
|
|
1475
|
-
if (
|
|
1474
|
+
for (let I = 0, V = f.length; I < V; I++)
|
|
1475
|
+
if (f[I](t, x, r, !0)) {
|
|
1476
1476
|
F = !0;
|
|
1477
1477
|
break;
|
|
1478
1478
|
}
|
|
1479
1479
|
if (F) {
|
|
1480
|
-
t.lineMax = x, t.blkIndent !== 0 && (s.push(t.bMarks[x]), o.push(t.bsCount[x]),
|
|
1480
|
+
t.lineMax = x, t.blkIndent !== 0 && (s.push(t.bMarks[x]), o.push(t.bsCount[x]), h.push(t.tShift[x]), c.push(t.sCount[x]), t.sCount[x] -= t.blkIndent);
|
|
1481
1481
|
break;
|
|
1482
1482
|
}
|
|
1483
|
-
s.push(t.bMarks[x]), o.push(t.bsCount[x]),
|
|
1483
|
+
s.push(t.bMarks[x]), o.push(t.bsCount[x]), h.push(t.tShift[x]), c.push(t.sCount[x]), t.sCount[x] = -1;
|
|
1484
1484
|
}
|
|
1485
1485
|
const A = t.blkIndent;
|
|
1486
1486
|
t.blkIndent = 0;
|
|
@@ -1490,8 +1490,8 @@ function fs(t, e, r, u) {
|
|
|
1490
1490
|
S.map = T, t.md.block.tokenize(t, e, x);
|
|
1491
1491
|
const M = t.push("blockquote_close", "blockquote", -1);
|
|
1492
1492
|
M.markup = ">", t.lineMax = i, t.parentType = b, T[1] = t.line;
|
|
1493
|
-
for (let z = 0; z <
|
|
1494
|
-
t.bMarks[z + e] = s[z], t.tShift[z + e] =
|
|
1493
|
+
for (let z = 0; z < h.length; z++)
|
|
1494
|
+
t.bMarks[z + e] = s[z], t.tShift[z + e] = h[z], t.sCount[z + e] = c[z], t.bsCount[z + e] = o[z];
|
|
1495
1495
|
return t.blkIndent = A, !0;
|
|
1496
1496
|
}
|
|
1497
1497
|
function ms(t, e, r, u) {
|
|
@@ -1561,21 +1561,21 @@ function bs(t, e, r, u) {
|
|
|
1561
1561
|
let a, n, i, s, o = e, c = !0;
|
|
1562
1562
|
if (t.sCount[o] - t.blkIndent >= 4 || t.listIndent >= 0 && t.sCount[o] - t.listIndent >= 4 && t.sCount[o] < t.blkIndent)
|
|
1563
1563
|
return !1;
|
|
1564
|
-
let
|
|
1565
|
-
u && t.parentType === "paragraph" && t.sCount[o] >= t.blkIndent && (
|
|
1566
|
-
let
|
|
1564
|
+
let h = !1;
|
|
1565
|
+
u && t.parentType === "paragraph" && t.sCount[o] >= t.blkIndent && (h = !0);
|
|
1566
|
+
let f, b, g;
|
|
1567
1567
|
if ((g = ea(t, o)) >= 0) {
|
|
1568
|
-
if (
|
|
1568
|
+
if (f = !0, i = t.bMarks[o] + t.tShift[o], b = Number(t.src.slice(i, g - 1)), h && b !== 1) return !1;
|
|
1569
1569
|
} else if ((g = Ju(t, o)) >= 0)
|
|
1570
|
-
|
|
1570
|
+
f = !1;
|
|
1571
1571
|
else
|
|
1572
1572
|
return !1;
|
|
1573
|
-
if (
|
|
1573
|
+
if (h && t.skipSpaces(g) >= t.eMarks[o])
|
|
1574
1574
|
return !1;
|
|
1575
1575
|
if (u)
|
|
1576
1576
|
return !0;
|
|
1577
1577
|
const x = t.src.charCodeAt(g - 1), A = t.tokens.length;
|
|
1578
|
-
|
|
1578
|
+
f ? (s = t.push("ordered_list_open", "ol", 1), b !== 1 && (s.attrs = [["start", b]])) : s = t.push("bullet_list_open", "ul", 1);
|
|
1579
1579
|
const S = [o, 0];
|
|
1580
1580
|
s.map = S, s.markup = String.fromCharCode(x);
|
|
1581
1581
|
let T = !1;
|
|
@@ -1600,7 +1600,7 @@ function bs(t, e, r, u) {
|
|
|
1600
1600
|
const te = F + U;
|
|
1601
1601
|
s = t.push("list_item_open", "li", 1), s.markup = String.fromCharCode(x);
|
|
1602
1602
|
const re = [o, 0];
|
|
1603
|
-
s.map = re,
|
|
1603
|
+
s.map = re, f && (s.info = t.src.slice(i, g - 1));
|
|
1604
1604
|
const Q = t.tight, ne = t.tShift[o], se = t.sCount[o], c0 = t.listIndent;
|
|
1605
1605
|
if (t.listIndent = t.blkIndent, t.blkIndent = te, t.tight = !0, t.tShift[o] = V - t.bMarks[o], t.sCount[o] = I, V >= a && t.isEmpty(o + 1) ? t.line = Math.min(t.line + 2, r) : t.md.block.tokenize(t, o, r, !0), (!t.tight || T) && (c = !1), T = t.line - o > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = c0, t.tShift[o] = ne, t.sCount[o] = se, t.tight = Q, s = t.push("list_item_close", "li", -1), s.markup = String.fromCharCode(x), o = t.line, re[1] = o, o >= r || t.sCount[o] < t.blkIndent || t.sCount[o] - t.blkIndent >= 4)
|
|
1606
1606
|
break;
|
|
@@ -1612,7 +1612,7 @@ function bs(t, e, r, u) {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
if (Se)
|
|
1614
1614
|
break;
|
|
1615
|
-
if (
|
|
1615
|
+
if (f) {
|
|
1616
1616
|
if (g = ea(t, o), g < 0)
|
|
1617
1617
|
break;
|
|
1618
1618
|
i = t.bMarks[o] + t.tShift[o];
|
|
@@ -1621,7 +1621,7 @@ function bs(t, e, r, u) {
|
|
|
1621
1621
|
if (x !== t.src.charCodeAt(g - 1))
|
|
1622
1622
|
break;
|
|
1623
1623
|
}
|
|
1624
|
-
return
|
|
1624
|
+
return f ? s = t.push("ordered_list_close", "ol", -1) : s = t.push("bullet_list_close", "ul", -1), s.markup = String.fromCharCode(x), S[1] = o, t.line = o, t.parentType = z, c && ps(t, A), !0;
|
|
1625
1625
|
}
|
|
1626
1626
|
function vs(t, e, r, u) {
|
|
1627
1627
|
let a = t.bMarks[e] + t.tShift[e], n = t.eMarks[e], i = e + 1;
|
|
@@ -1674,13 +1674,13 @@ function vs(t, e, r, u) {
|
|
|
1674
1674
|
z !== null && (o += z, n = o.length, i++);
|
|
1675
1675
|
} else if (!he(M)) break;
|
|
1676
1676
|
}
|
|
1677
|
-
const
|
|
1678
|
-
if (!
|
|
1677
|
+
const h = t.md.helpers.parseLinkDestination(o, a, n);
|
|
1678
|
+
if (!h.ok)
|
|
1679
1679
|
return !1;
|
|
1680
|
-
const
|
|
1681
|
-
if (!t.md.validateLink(
|
|
1680
|
+
const f = t.md.normalizeLink(h.str);
|
|
1681
|
+
if (!t.md.validateLink(f))
|
|
1682
1682
|
return !1;
|
|
1683
|
-
a =
|
|
1683
|
+
a = h.pos;
|
|
1684
1684
|
const b = a, g = i, x = a;
|
|
1685
1685
|
for (; a < n; a++) {
|
|
1686
1686
|
const M = o.charCodeAt(a);
|
|
@@ -1712,7 +1712,7 @@ function vs(t, e, r, u) {
|
|
|
1712
1712
|
if (a < n && o.charCodeAt(a) !== 10)
|
|
1713
1713
|
return !1;
|
|
1714
1714
|
const T = tr(o.slice(1, c));
|
|
1715
|
-
return T ? (u || (typeof t.env.references > "u" && (t.env.references = {}), typeof t.env.references[T] > "u" && (t.env.references[T] = { title: S, href:
|
|
1715
|
+
return T ? (u || (typeof t.env.references > "u" && (t.env.references = {}), typeof t.env.references[T] > "u" && (t.env.references[T] = { title: S, href: f }), t.line = i), !0) : !1;
|
|
1716
1716
|
}
|
|
1717
1717
|
const gs = [
|
|
1718
1718
|
"address",
|
|
@@ -1828,10 +1828,10 @@ function Fs(t, e, r, u) {
|
|
|
1828
1828
|
o > a && he(t.src.charCodeAt(o - 1)) && (n = o), t.line = e + 1;
|
|
1829
1829
|
const c = t.push("heading_open", "h" + String(s), 1);
|
|
1830
1830
|
c.markup = "########".slice(0, s), c.map = [e, t.line];
|
|
1831
|
-
const
|
|
1832
|
-
|
|
1833
|
-
const
|
|
1834
|
-
return
|
|
1831
|
+
const h = t.push("inline", "", 0);
|
|
1832
|
+
h.content = t.src.slice(a, n).trim(), h.map = [e, t.line], h.children = [];
|
|
1833
|
+
const f = t.push("heading_close", "h" + String(s), -1);
|
|
1834
|
+
return f.markup = "########".slice(0, s), !0;
|
|
1835
1835
|
}
|
|
1836
1836
|
function Ls(t, e, r) {
|
|
1837
1837
|
const u = t.md.block.ruler.getRules("paragraph");
|
|
@@ -1868,10 +1868,10 @@ function Ls(t, e, r) {
|
|
|
1868
1868
|
t.line = s + 1;
|
|
1869
1869
|
const c = t.push("heading_open", "h" + String(n), 1);
|
|
1870
1870
|
c.markup = String.fromCharCode(i), c.map = [e, t.line];
|
|
1871
|
-
const
|
|
1872
|
-
|
|
1873
|
-
const
|
|
1874
|
-
return
|
|
1871
|
+
const h = t.push("inline", "", 0);
|
|
1872
|
+
h.content = o, h.map = [e, t.line - 1], h.children = [];
|
|
1873
|
+
const f = t.push("heading_close", "h" + String(n), -1);
|
|
1874
|
+
return f.markup = String.fromCharCode(i), t.parentType = a, !0;
|
|
1875
1875
|
}
|
|
1876
1876
|
function Bs(t, e, r) {
|
|
1877
1877
|
const u = t.md.block.ruler.getRules("paragraph"), a = t.parentType;
|
|
@@ -1880,8 +1880,8 @@ function Bs(t, e, r) {
|
|
|
1880
1880
|
if (t.sCount[n] - t.blkIndent > 3 || t.sCount[n] < 0)
|
|
1881
1881
|
continue;
|
|
1882
1882
|
let c = !1;
|
|
1883
|
-
for (let
|
|
1884
|
-
if (u[
|
|
1883
|
+
for (let h = 0, f = u.length; h < f; h++)
|
|
1884
|
+
if (u[h](t, n, r, !0)) {
|
|
1885
1885
|
c = !0;
|
|
1886
1886
|
break;
|
|
1887
1887
|
}
|
|
@@ -1925,8 +1925,8 @@ rr.prototype.tokenize = function(t, e, r) {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
const o = t.line;
|
|
1927
1927
|
let c = !1;
|
|
1928
|
-
for (let
|
|
1929
|
-
if (c = u[
|
|
1928
|
+
for (let h = 0; h < a; h++)
|
|
1929
|
+
if (c = u[h](t, i, r, !1), c) {
|
|
1930
1930
|
if (o >= t.line)
|
|
1931
1931
|
throw new Error("block rule didn't increment state.line");
|
|
1932
1932
|
break;
|
|
@@ -1960,7 +1960,7 @@ gt.prototype.scanDelims = function(t, e) {
|
|
|
1960
1960
|
let n = t;
|
|
1961
1961
|
for (; n < r && this.src.charCodeAt(n) === u; )
|
|
1962
1962
|
n++;
|
|
1963
|
-
const i = n - t, s = n < r ? this.src.charCodeAt(n) : 32, o = ht(a) || dt(String.fromCharCode(a)), c = ht(s) || dt(String.fromCharCode(s)),
|
|
1963
|
+
const i = n - t, s = n < r ? this.src.charCodeAt(n) : 32, o = ht(a) || dt(String.fromCharCode(a)), c = ht(s) || dt(String.fromCharCode(s)), h = ct(a), f = ct(s), b = !f && (!c || h || o), g = !h && (!o || f || c);
|
|
1964
1964
|
return { can_open: b && (e || !g || o), can_close: g && (e || !b || c), length: i };
|
|
1965
1965
|
};
|
|
1966
1966
|
gt.prototype.Token = Ke;
|
|
@@ -2018,10 +2018,10 @@ function Hs(t, e) {
|
|
|
2018
2018
|
t.pending = t.pending.slice(0, -n.length);
|
|
2019
2019
|
const c = t.push("link_open", "a", 1);
|
|
2020
2020
|
c.attrs = [["href", o]], c.markup = "linkify", c.info = "auto";
|
|
2021
|
-
const
|
|
2022
|
-
|
|
2023
|
-
const
|
|
2024
|
-
|
|
2021
|
+
const h = t.push("text", "", 0);
|
|
2022
|
+
h.content = t.md.normalizeLinkText(s);
|
|
2023
|
+
const f = t.push("link_close", "a", -1);
|
|
2024
|
+
f.markup = "linkify", f.info = "auto";
|
|
2025
2025
|
}
|
|
2026
2026
|
return t.pos += s.length - n.length, !0;
|
|
2027
2027
|
}
|
|
@@ -2088,15 +2088,15 @@ function Vs(t, e) {
|
|
|
2088
2088
|
for (; (c = t.src.indexOf("`", o)) !== -1; ) {
|
|
2089
2089
|
for (o = c + 1; o < n && t.src.charCodeAt(o) === 96; )
|
|
2090
2090
|
o++;
|
|
2091
|
-
const
|
|
2092
|
-
if (
|
|
2091
|
+
const h = o - c;
|
|
2092
|
+
if (h === s) {
|
|
2093
2093
|
if (!e) {
|
|
2094
|
-
const
|
|
2095
|
-
|
|
2094
|
+
const f = t.push("code_inline", "code", 0);
|
|
2095
|
+
f.markup = i, f.content = t.src.slice(r, c).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
|
|
2096
2096
|
}
|
|
2097
2097
|
return t.pos = o, !0;
|
|
2098
2098
|
}
|
|
2099
|
-
t.backticks[
|
|
2099
|
+
t.backticks[h] = c;
|
|
2100
2100
|
}
|
|
2101
2101
|
return t.backticksScanned = !0, e || (t.pending += i), t.pos += s, !0;
|
|
2102
2102
|
}
|
|
@@ -2209,29 +2209,29 @@ function Us(t, e) {
|
|
|
2209
2209
|
let r, u, a, n, i = "", s = "", o = t.pos, c = !0;
|
|
2210
2210
|
if (t.src.charCodeAt(t.pos) !== 91)
|
|
2211
2211
|
return !1;
|
|
2212
|
-
const
|
|
2212
|
+
const h = t.pos, f = t.posMax, b = t.pos + 1, g = t.md.helpers.parseLinkLabel(t, t.pos, !0);
|
|
2213
2213
|
if (g < 0)
|
|
2214
2214
|
return !1;
|
|
2215
2215
|
let x = g + 1;
|
|
2216
|
-
if (x <
|
|
2217
|
-
for (c = !1, x++; x <
|
|
2216
|
+
if (x < f && t.src.charCodeAt(x) === 40) {
|
|
2217
|
+
for (c = !1, x++; x < f && (r = t.src.charCodeAt(x), !(!he(r) && r !== 10)); x++)
|
|
2218
2218
|
;
|
|
2219
|
-
if (x >=
|
|
2219
|
+
if (x >= f)
|
|
2220
2220
|
return !1;
|
|
2221
2221
|
if (o = x, a = t.md.helpers.parseLinkDestination(t.src, x, t.posMax), a.ok) {
|
|
2222
|
-
for (i = t.md.normalizeLink(a.str), t.md.validateLink(i) ? x = a.pos : i = "", o = x; x <
|
|
2222
|
+
for (i = t.md.normalizeLink(a.str), t.md.validateLink(i) ? x = a.pos : i = "", o = x; x < f && (r = t.src.charCodeAt(x), !(!he(r) && r !== 10)); x++)
|
|
2223
2223
|
;
|
|
2224
|
-
if (a = t.md.helpers.parseLinkTitle(t.src, x, t.posMax), x <
|
|
2225
|
-
for (s = a.str, x = a.pos; x <
|
|
2224
|
+
if (a = t.md.helpers.parseLinkTitle(t.src, x, t.posMax), x < f && o !== x && a.ok)
|
|
2225
|
+
for (s = a.str, x = a.pos; x < f && (r = t.src.charCodeAt(x), !(!he(r) && r !== 10)); x++)
|
|
2226
2226
|
;
|
|
2227
2227
|
}
|
|
2228
|
-
(x >=
|
|
2228
|
+
(x >= f || t.src.charCodeAt(x) !== 41) && (c = !0), x++;
|
|
2229
2229
|
}
|
|
2230
2230
|
if (c) {
|
|
2231
2231
|
if (typeof t.env.references > "u")
|
|
2232
2232
|
return !1;
|
|
2233
|
-
if (x <
|
|
2234
|
-
return t.pos =
|
|
2233
|
+
if (x < f && t.src.charCodeAt(x) === 91 ? (o = x + 1, x = t.md.helpers.parseLinkLabel(t, x), x >= 0 ? u = t.src.slice(o, x++) : x = g + 1) : x = g + 1, u || (u = t.src.slice(b, g)), n = t.env.references[tr(u)], !n)
|
|
2234
|
+
return t.pos = h, !1;
|
|
2235
2235
|
i = n.href, s = n.title;
|
|
2236
2236
|
}
|
|
2237
2237
|
if (!e) {
|
|
@@ -2239,11 +2239,11 @@ function Us(t, e) {
|
|
|
2239
2239
|
const A = t.push("link_open", "a", 1), S = [["href", i]];
|
|
2240
2240
|
A.attrs = S, s && S.push(["title", s]), t.linkLevel++, t.md.inline.tokenize(t), t.linkLevel--, t.push("link_close", "a", -1);
|
|
2241
2241
|
}
|
|
2242
|
-
return t.pos = x, t.posMax =
|
|
2242
|
+
return t.pos = x, t.posMax = f, !0;
|
|
2243
2243
|
}
|
|
2244
2244
|
function Zs(t, e) {
|
|
2245
|
-
let r, u, a, n, i, s, o, c,
|
|
2246
|
-
const
|
|
2245
|
+
let r, u, a, n, i, s, o, c, h = "";
|
|
2246
|
+
const f = t.pos, b = t.posMax;
|
|
2247
2247
|
if (t.src.charCodeAt(t.pos) !== 33 || t.src.charCodeAt(t.pos + 1) !== 91)
|
|
2248
2248
|
return !1;
|
|
2249
2249
|
const g = t.pos + 2, x = t.md.helpers.parseLinkLabel(t, t.pos + 1, !1);
|
|
@@ -2254,7 +2254,7 @@ function Zs(t, e) {
|
|
|
2254
2254
|
;
|
|
2255
2255
|
if (n >= b)
|
|
2256
2256
|
return !1;
|
|
2257
|
-
for (c = n, s = t.md.helpers.parseLinkDestination(t.src, n, t.posMax), s.ok && (
|
|
2257
|
+
for (c = n, s = t.md.helpers.parseLinkDestination(t.src, n, t.posMax), s.ok && (h = t.md.normalizeLink(s.str), t.md.validateLink(h) ? n = s.pos : h = ""), c = n; n < b && (r = t.src.charCodeAt(n), !(!he(r) && r !== 10)); n++)
|
|
2258
2258
|
;
|
|
2259
2259
|
if (s = t.md.helpers.parseLinkTitle(t.src, n, t.posMax), n < b && c !== n && s.ok)
|
|
2260
2260
|
for (o = s.str, n = s.pos; n < b && (r = t.src.charCodeAt(n), !(!he(r) && r !== 10)); n++)
|
|
@@ -2262,14 +2262,14 @@ function Zs(t, e) {
|
|
|
2262
2262
|
else
|
|
2263
2263
|
o = "";
|
|
2264
2264
|
if (n >= b || t.src.charCodeAt(n) !== 41)
|
|
2265
|
-
return t.pos =
|
|
2265
|
+
return t.pos = f, !1;
|
|
2266
2266
|
n++;
|
|
2267
2267
|
} else {
|
|
2268
2268
|
if (typeof t.env.references > "u")
|
|
2269
2269
|
return !1;
|
|
2270
2270
|
if (n < b && t.src.charCodeAt(n) === 91 ? (c = n + 1, n = t.md.helpers.parseLinkLabel(t, n), n >= 0 ? a = t.src.slice(c, n++) : n = x + 1) : n = x + 1, a || (a = t.src.slice(g, x)), i = t.env.references[tr(a)], !i)
|
|
2271
|
-
return t.pos =
|
|
2272
|
-
|
|
2271
|
+
return t.pos = f, !1;
|
|
2272
|
+
h = i.href, o = i.title;
|
|
2273
2273
|
}
|
|
2274
2274
|
if (!e) {
|
|
2275
2275
|
u = t.src.slice(g, x);
|
|
@@ -2280,7 +2280,7 @@ function Zs(t, e) {
|
|
|
2280
2280
|
t.env,
|
|
2281
2281
|
A
|
|
2282
2282
|
);
|
|
2283
|
-
const S = t.push("image", "img", 0), T = [["src",
|
|
2283
|
+
const S = t.push("image", "img", 0), T = [["src", h], ["alt", ""]];
|
|
2284
2284
|
S.attrs = T, S.children = A, S.content = u, o && T.push(["title", o]);
|
|
2285
2285
|
}
|
|
2286
2286
|
return t.pos = n, t.posMax = b, !0;
|
|
@@ -2394,19 +2394,19 @@ function ua(t) {
|
|
|
2394
2394
|
if (n.push(0), (t[u].marker !== s.marker || a !== s.token - 1) && (u = i), a = s.token, s.length = s.length || 0, !s.close) continue;
|
|
2395
2395
|
e.hasOwnProperty(s.marker) || (e[s.marker] = [-1, -1, -1, -1, -1, -1]);
|
|
2396
2396
|
const o = e[s.marker][(s.open ? 3 : 0) + s.length % 3];
|
|
2397
|
-
let c = u - n[u] - 1,
|
|
2397
|
+
let c = u - n[u] - 1, h = c;
|
|
2398
2398
|
for (; c > o; c -= n[c] + 1) {
|
|
2399
|
-
const
|
|
2400
|
-
if (
|
|
2399
|
+
const f = t[c];
|
|
2400
|
+
if (f.marker === s.marker && f.open && f.end < 0) {
|
|
2401
2401
|
let b = !1;
|
|
2402
|
-
if ((
|
|
2402
|
+
if ((f.close || s.open) && (f.length + s.length) % 3 === 0 && (f.length % 3 !== 0 || s.length % 3 !== 0) && (b = !0), !b) {
|
|
2403
2403
|
const g = c > 0 && !t[c - 1].open ? n[c - 1] + 1 : 0;
|
|
2404
|
-
n[i] = i - c + g, n[c] = g, s.open = !1,
|
|
2404
|
+
n[i] = i - c + g, n[c] = g, s.open = !1, f.end = i, f.close = !1, h = -1, a = -2;
|
|
2405
2405
|
break;
|
|
2406
2406
|
}
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
|
-
|
|
2409
|
+
h !== -1 && (e[s.marker][(s.open ? 3 : 0) + (s.length || 0) % 3] = h);
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
2412
|
function ao(t) {
|
|
@@ -2652,7 +2652,7 @@ Re.prototype.set = function(e) {
|
|
|
2652
2652
|
Re.prototype.test = function(e) {
|
|
2653
2653
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
2654
2654
|
return !1;
|
|
2655
|
-
let r, u, a, n, i, s, o, c,
|
|
2655
|
+
let r, u, a, n, i, s, o, c, h;
|
|
2656
2656
|
if (this.re.schema_test.test(e)) {
|
|
2657
2657
|
for (o = this.re.schema_search, o.lastIndex = 0; (r = o.exec(e)) !== null; )
|
|
2658
2658
|
if (n = this.testSchemaAt(e, r[2], o.lastIndex), n) {
|
|
@@ -2660,7 +2660,7 @@ Re.prototype.test = function(e) {
|
|
|
2660
2660
|
break;
|
|
2661
2661
|
}
|
|
2662
2662
|
}
|
|
2663
|
-
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (c = e.search(this.re.host_fuzzy_test), c >= 0 && (this.__index__ < 0 || c < this.__index__) && (u = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = u.index + u[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = u.index + u[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (
|
|
2663
|
+
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (c = e.search(this.re.host_fuzzy_test), c >= 0 && (this.__index__ < 0 || c < this.__index__) && (u = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = u.index + u[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = u.index + u[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (h = e.indexOf("@"), h >= 0 && (a = e.match(this.re.email_fuzzy)) !== null && (i = a.index + a[1].length, s = a.index + a[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && s > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = s))), this.__index__ >= 0;
|
|
2664
2664
|
};
|
|
2665
2665
|
Re.prototype.pretest = function(e) {
|
|
2666
2666
|
return this.re.pretest.test(e);
|
|
@@ -2747,15 +2747,15 @@ const So = (t) => String.fromCodePoint(...t), Eo = function(t) {
|
|
|
2747
2747
|
t.charCodeAt(s) >= 128 && _0("not-basic"), e.push(t.charCodeAt(s));
|
|
2748
2748
|
for (let s = i > 0 ? i + 1 : 0; s < r; ) {
|
|
2749
2749
|
const o = u;
|
|
2750
|
-
for (let
|
|
2750
|
+
for (let h = 1, f = t0; ; f += t0) {
|
|
2751
2751
|
s >= r && _0("invalid-input");
|
|
2752
2752
|
const b = Eo(t.charCodeAt(s++));
|
|
2753
|
-
b >= t0 && _0("invalid-input"), b > r0((U0 - u) /
|
|
2754
|
-
const g =
|
|
2753
|
+
b >= t0 && _0("invalid-input"), b > r0((U0 - u) / h) && _0("overflow"), u += b * h;
|
|
2754
|
+
const g = f <= n ? lu : f >= n + ft ? ft : f - n;
|
|
2755
2755
|
if (b < g)
|
|
2756
2756
|
break;
|
|
2757
2757
|
const x = t0 - g;
|
|
2758
|
-
|
|
2758
|
+
h > r0(U0 / x) && _0("overflow"), h *= x;
|
|
2759
2759
|
}
|
|
2760
2760
|
const c = e.length + 1;
|
|
2761
2761
|
n = Cn(u - o, c, o == 0), r0(u / c) > U0 - a && _0("overflow"), a += r0(u / c), u %= c, e.splice(u++, 0, a);
|
|
@@ -2772,23 +2772,23 @@ const So = (t) => String.fromCodePoint(...t), Eo = function(t) {
|
|
|
2772
2772
|
let s = i;
|
|
2773
2773
|
for (i && e.push(kn); s < r; ) {
|
|
2774
2774
|
let o = U0;
|
|
2775
|
-
for (const
|
|
2776
|
-
|
|
2775
|
+
for (const h of t)
|
|
2776
|
+
h >= u && h < o && (o = h);
|
|
2777
2777
|
const c = s + 1;
|
|
2778
2778
|
o - u > r0((U0 - a) / c) && _0("overflow"), a += (o - u) * c, u = o;
|
|
2779
|
-
for (const
|
|
2780
|
-
if (
|
|
2781
|
-
let
|
|
2779
|
+
for (const h of t)
|
|
2780
|
+
if (h < u && ++a > U0 && _0("overflow"), h === u) {
|
|
2781
|
+
let f = a;
|
|
2782
2782
|
for (let b = t0; ; b += t0) {
|
|
2783
2783
|
const g = b <= n ? lu : b >= n + ft ? ft : b - n;
|
|
2784
|
-
if (
|
|
2784
|
+
if (f < g)
|
|
2785
2785
|
break;
|
|
2786
|
-
const x =
|
|
2786
|
+
const x = f - g, A = t0 - g;
|
|
2787
2787
|
e.push(
|
|
2788
2788
|
wr(ia(g + x % A, 0))
|
|
2789
|
-
),
|
|
2789
|
+
), f = r0(x / A);
|
|
2790
2790
|
}
|
|
2791
|
-
e.push(wr(ia(
|
|
2791
|
+
e.push(wr(ia(f, 0))), n = Cn(a, c, s === i), a = 0, ++s;
|
|
2792
2792
|
}
|
|
2793
2793
|
++a, ++u;
|
|
2794
2794
|
}
|
|
@@ -3304,20 +3304,20 @@ const Po = {
|
|
|
3304
3304
|
},
|
|
3305
3305
|
setup(t) {
|
|
3306
3306
|
const e = t, r = le(e.open), u = le(), a = L(() => e.outlined ? "outlined" : "default"), n = L(() => {
|
|
3307
|
-
var
|
|
3308
|
-
return `flex justify-between items-center px-4 py-2 cursor-pointer ${(
|
|
3307
|
+
var h;
|
|
3308
|
+
return `flex justify-between items-center px-4 py-2 cursor-pointer ${(h = Po[e.type]) == null ? void 0 : h[a.value]}`;
|
|
3309
3309
|
}), i = L(() => `px-4 ${a0("bg", e.type + "light")} dark:bg-dark dark:${a0("border", e.type + "dark")}`);
|
|
3310
3310
|
et(() => {
|
|
3311
|
-
var
|
|
3312
|
-
e.open && (
|
|
3311
|
+
var h = u.value;
|
|
3312
|
+
e.open && (h.style.maxHeight = h.scrollHeight + "px");
|
|
3313
3313
|
});
|
|
3314
3314
|
function s() {
|
|
3315
3315
|
r.value = !r.value;
|
|
3316
|
-
var
|
|
3317
|
-
|
|
3316
|
+
var h = u.value;
|
|
3317
|
+
h.style.maxHeight ? h.style.maxHeight = null : h.style.maxHeight = h.scrollHeight + "px", h.style.transition || (h.style.transition = "max-height 0.2s ease-out");
|
|
3318
3318
|
}
|
|
3319
3319
|
const { title: o, icon: c } = ae(e);
|
|
3320
|
-
return (
|
|
3320
|
+
return (h, f) => (_(), D("div", null, [
|
|
3321
3321
|
w("div", {
|
|
3322
3322
|
class: j(n.value),
|
|
3323
3323
|
onClick: s
|
|
@@ -3346,7 +3346,7 @@ const Po = {
|
|
|
3346
3346
|
class: j(`${i.value} content`)
|
|
3347
3347
|
}, [
|
|
3348
3348
|
w("div", Wo, [
|
|
3349
|
-
ke(
|
|
3349
|
+
ke(h.$slots, "default", {}, void 0, !0)
|
|
3350
3350
|
])
|
|
3351
3351
|
], 2)
|
|
3352
3352
|
]));
|
|
@@ -3381,14 +3381,14 @@ const Po = {
|
|
|
3381
3381
|
const i = document.createElement("DIV"), o = e.content.trim().replace(/<p>/g, '<div style="margin-bottom: 1em;">').replace(/<\/p>/g, "</div>");
|
|
3382
3382
|
i.innerHTML = o;
|
|
3383
3383
|
let c = i.outerHTML;
|
|
3384
|
-
const
|
|
3385
|
-
return
|
|
3386
|
-
const b =
|
|
3384
|
+
const h = i.querySelectorAll(".ep_glossary_item");
|
|
3385
|
+
return h.length > 0 && h.forEach((f) => {
|
|
3386
|
+
const b = f.getAttribute("data-id"), g = f.innerHTML;
|
|
3387
3387
|
let x = [];
|
|
3388
3388
|
e.glossary && (x = e.glossary);
|
|
3389
3389
|
const A = x.find((S) => S.id === b);
|
|
3390
3390
|
if (A) {
|
|
3391
|
-
const S =
|
|
3391
|
+
const S = f.outerHTML, M = x.filter(
|
|
3392
3392
|
(V) => V.relation.some((U) => U == b)
|
|
3393
3393
|
).map((V) => V.term), z = A.variation, F = A.img ? A.img : "", I = `<div style="display:inline"><EpTerm term="${A.term}" word="${g}" variations="${z}" graminfo="${A.graminfo}" src="${F}" domain="${A.domain}" relations="${M}"> ${A.definition}</EpTerm> </div>`;
|
|
3394
3394
|
c = c.replace(S, I);
|
|
@@ -3397,7 +3397,7 @@ const Po = {
|
|
|
3397
3397
|
}), a = () => {
|
|
3398
3398
|
const i = {
|
|
3399
3399
|
components: {
|
|
3400
|
-
epterm: E0(() => import("./EpTerm-
|
|
3400
|
+
epterm: E0(() => import("./EpTerm-Dep5q8eH.js"))
|
|
3401
3401
|
},
|
|
3402
3402
|
template: `${u.value}`
|
|
3403
3403
|
};
|
|
@@ -3503,13 +3503,13 @@ function Fn(t, e = !0, r) {
|
|
|
3503
3503
|
al() ? et(t, r) : e ? t() : Ya(t);
|
|
3504
3504
|
}
|
|
3505
3505
|
function jr(t, e = !1) {
|
|
3506
|
-
function r(
|
|
3506
|
+
function r(f, { flush: b = "sync", deep: g = !1, timeout: x, throwOnTimeout: A } = {}) {
|
|
3507
3507
|
let S = null;
|
|
3508
3508
|
const M = [new Promise((z) => {
|
|
3509
3509
|
S = I0(
|
|
3510
3510
|
t,
|
|
3511
3511
|
(F) => {
|
|
3512
|
-
|
|
3512
|
+
f(F) !== e && (S == null || S(), z(F));
|
|
3513
3513
|
},
|
|
3514
3514
|
{
|
|
3515
3515
|
flush: b,
|
|
@@ -3522,14 +3522,14 @@ function jr(t, e = !1) {
|
|
|
3522
3522
|
Pr(x, A).then(() => Xe(t)).finally(() => S == null ? void 0 : S())
|
|
3523
3523
|
), Promise.race(M);
|
|
3524
3524
|
}
|
|
3525
|
-
function u(
|
|
3526
|
-
if (!ji(
|
|
3527
|
-
return r((F) => F ===
|
|
3525
|
+
function u(f, b) {
|
|
3526
|
+
if (!ji(f))
|
|
3527
|
+
return r((F) => F === f, b);
|
|
3528
3528
|
const { flush: g = "sync", deep: x = !1, timeout: A, throwOnTimeout: S } = b ?? {};
|
|
3529
3529
|
let T = null;
|
|
3530
3530
|
const z = [new Promise((F) => {
|
|
3531
3531
|
T = I0(
|
|
3532
|
-
[t,
|
|
3532
|
+
[t, f],
|
|
3533
3533
|
([I, V]) => {
|
|
3534
3534
|
e !== (I === V) && (T == null || T(), F(I));
|
|
3535
3535
|
},
|
|
@@ -3544,36 +3544,36 @@ function jr(t, e = !1) {
|
|
|
3544
3544
|
Pr(A, S).then(() => Xe(t)).finally(() => (T == null || T(), Xe(t)))
|
|
3545
3545
|
), Promise.race(z);
|
|
3546
3546
|
}
|
|
3547
|
-
function a(
|
|
3548
|
-
return r((b) => !!b,
|
|
3547
|
+
function a(f) {
|
|
3548
|
+
return r((b) => !!b, f);
|
|
3549
3549
|
}
|
|
3550
|
-
function n(
|
|
3551
|
-
return u(null,
|
|
3550
|
+
function n(f) {
|
|
3551
|
+
return u(null, f);
|
|
3552
3552
|
}
|
|
3553
|
-
function i(
|
|
3554
|
-
return u(void 0,
|
|
3553
|
+
function i(f) {
|
|
3554
|
+
return u(void 0, f);
|
|
3555
3555
|
}
|
|
3556
|
-
function s(
|
|
3557
|
-
return r(Number.isNaN,
|
|
3556
|
+
function s(f) {
|
|
3557
|
+
return r(Number.isNaN, f);
|
|
3558
3558
|
}
|
|
3559
|
-
function o(
|
|
3559
|
+
function o(f, b) {
|
|
3560
3560
|
return r((g) => {
|
|
3561
3561
|
const x = Array.from(g);
|
|
3562
|
-
return x.includes(
|
|
3562
|
+
return x.includes(f) || x.includes(Xe(f));
|
|
3563
3563
|
}, b);
|
|
3564
3564
|
}
|
|
3565
|
-
function c(
|
|
3566
|
-
return
|
|
3565
|
+
function c(f) {
|
|
3566
|
+
return h(1, f);
|
|
3567
3567
|
}
|
|
3568
|
-
function f
|
|
3568
|
+
function h(f = 1, b) {
|
|
3569
3569
|
let g = -1;
|
|
3570
|
-
return r(() => (g += 1, g >=
|
|
3570
|
+
return r(() => (g += 1, g >= f), b);
|
|
3571
3571
|
}
|
|
3572
3572
|
return Array.isArray(Xe(t)) ? {
|
|
3573
3573
|
toMatch: r,
|
|
3574
3574
|
toContains: o,
|
|
3575
3575
|
changed: c,
|
|
3576
|
-
changedTimes:
|
|
3576
|
+
changedTimes: h,
|
|
3577
3577
|
get not() {
|
|
3578
3578
|
return jr(t, !e);
|
|
3579
3579
|
}
|
|
@@ -3585,7 +3585,7 @@ function jr(t, e = !1) {
|
|
|
3585
3585
|
toBeNaN: s,
|
|
3586
3586
|
toBeUndefined: i,
|
|
3587
3587
|
changed: c,
|
|
3588
|
-
changedTimes:
|
|
3588
|
+
changedTimes: h,
|
|
3589
3589
|
get not() {
|
|
3590
3590
|
return jr(t, !e);
|
|
3591
3591
|
}
|
|
@@ -3606,15 +3606,15 @@ function Z0(...t) {
|
|
|
3606
3606
|
return $0;
|
|
3607
3607
|
Array.isArray(r) || (r = [r]), Array.isArray(u) || (u = [u]);
|
|
3608
3608
|
const n = [], i = () => {
|
|
3609
|
-
n.forEach((
|
|
3610
|
-
}, s = (
|
|
3609
|
+
n.forEach((h) => h()), n.length = 0;
|
|
3610
|
+
}, s = (h, f, b, g) => (h.addEventListener(f, b, g), () => h.removeEventListener(f, b, g)), o = I0(
|
|
3611
3611
|
() => [G0(e), Xe(a)],
|
|
3612
|
-
([
|
|
3613
|
-
if (i(), !
|
|
3612
|
+
([h, f]) => {
|
|
3613
|
+
if (i(), !h)
|
|
3614
3614
|
return;
|
|
3615
|
-
const b = Jo(
|
|
3615
|
+
const b = Jo(f) ? { ...f } : f;
|
|
3616
3616
|
n.push(
|
|
3617
|
-
...r.flatMap((g) => u.map((x) => s(
|
|
3617
|
+
...r.flatMap((g) => u.map((x) => s(h, g, x, b)))
|
|
3618
3618
|
);
|
|
3619
3619
|
},
|
|
3620
3620
|
{ immediate: !0, flush: "post" }
|
|
@@ -3637,7 +3637,7 @@ function ll(t, e, r = {}) {
|
|
|
3637
3637
|
const x = G0(g);
|
|
3638
3638
|
return x && (b.target === x || b.composedPath().includes(x));
|
|
3639
3639
|
}
|
|
3640
|
-
}),
|
|
3640
|
+
}), h = [
|
|
3641
3641
|
Z0(u, "click", (b) => {
|
|
3642
3642
|
const g = G0(t);
|
|
3643
3643
|
if (!(!g || g === b.target || b.composedPath().includes(g))) {
|
|
@@ -3660,7 +3660,7 @@ function ll(t, e, r = {}) {
|
|
|
3660
3660
|
}, 0);
|
|
3661
3661
|
})
|
|
3662
3662
|
].filter(Boolean);
|
|
3663
|
-
return () =>
|
|
3663
|
+
return () => h.forEach((b) => b());
|
|
3664
3664
|
}
|
|
3665
3665
|
function cl() {
|
|
3666
3666
|
const t = le(!1), e = Ka();
|
|
@@ -3681,25 +3681,25 @@ function hl(t, e, r) {
|
|
|
3681
3681
|
resetOnExecute: s = !0,
|
|
3682
3682
|
shallow: o = !0,
|
|
3683
3683
|
throwError: c
|
|
3684
|
-
} = r ?? {},
|
|
3684
|
+
} = r ?? {}, h = o ? Hr(e) : le(e), f = le(!1), b = le(!1), g = Hr(void 0);
|
|
3685
3685
|
async function x(T = 0, ...M) {
|
|
3686
|
-
s && (
|
|
3686
|
+
s && (h.value = e), g.value = void 0, f.value = !1, b.value = !0, T > 0 && await Pr(T);
|
|
3687
3687
|
const z = typeof t == "function" ? t(...M) : t;
|
|
3688
3688
|
try {
|
|
3689
3689
|
const F = await z;
|
|
3690
|
-
|
|
3690
|
+
h.value = F, f.value = !0, i(F);
|
|
3691
3691
|
} catch (F) {
|
|
3692
3692
|
if (g.value = F, n(F), c)
|
|
3693
3693
|
throw F;
|
|
3694
3694
|
} finally {
|
|
3695
3695
|
b.value = !1;
|
|
3696
3696
|
}
|
|
3697
|
-
return
|
|
3697
|
+
return h.value;
|
|
3698
3698
|
}
|
|
3699
3699
|
u && x(a);
|
|
3700
3700
|
const A = {
|
|
3701
|
-
state:
|
|
3702
|
-
isReady:
|
|
3701
|
+
state: h,
|
|
3702
|
+
isReady: f,
|
|
3703
3703
|
isLoading: b,
|
|
3704
3704
|
error: g,
|
|
3705
3705
|
execute: x
|
|
@@ -3782,14 +3782,14 @@ function gl(t, e, r, u = {}) {
|
|
|
3782
3782
|
listenToStorageChanges: s = !0,
|
|
3783
3783
|
writeDefaults: o = !0,
|
|
3784
3784
|
mergeDefaults: c = !1,
|
|
3785
|
-
shallow:
|
|
3786
|
-
window:
|
|
3785
|
+
shallow: h,
|
|
3786
|
+
window: f = K0,
|
|
3787
3787
|
eventFilter: b,
|
|
3788
3788
|
onError: g = (Q) => {
|
|
3789
3789
|
console.error(Q);
|
|
3790
3790
|
},
|
|
3791
3791
|
initOnMounted: x
|
|
3792
|
-
} = u, A = (
|
|
3792
|
+
} = u, A = (h ? Hr : le)(typeof e == "function" ? e() : e);
|
|
3793
3793
|
if (!r)
|
|
3794
3794
|
try {
|
|
3795
3795
|
r = Ln("getDefaultStorage", () => {
|
|
@@ -3806,11 +3806,11 @@ function gl(t, e, r, u = {}) {
|
|
|
3806
3806
|
() => V(A.value),
|
|
3807
3807
|
{ flush: n, deep: i, eventFilter: b }
|
|
3808
3808
|
);
|
|
3809
|
-
|
|
3810
|
-
Z0(
|
|
3809
|
+
f && s && Fn(() => {
|
|
3810
|
+
Z0(f, "storage", te), Z0(f, oa, re), x && te();
|
|
3811
3811
|
}), x || te();
|
|
3812
3812
|
function I(Q, ne) {
|
|
3813
|
-
|
|
3813
|
+
f && f.dispatchEvent(new CustomEvent(oa, {
|
|
3814
3814
|
detail: {
|
|
3815
3815
|
key: t,
|
|
3816
3816
|
oldValue: Q,
|
|
@@ -3878,8 +3878,8 @@ function ar(t = {}) {
|
|
|
3878
3878
|
listenToStorageChanges: s = !0,
|
|
3879
3879
|
storageRef: o,
|
|
3880
3880
|
emitAuto: c,
|
|
3881
|
-
disableTransition:
|
|
3882
|
-
} = t,
|
|
3881
|
+
disableTransition: h = !0
|
|
3882
|
+
} = t, f = {
|
|
3883
3883
|
auto: "",
|
|
3884
3884
|
light: "light",
|
|
3885
3885
|
dark: "dark",
|
|
@@ -3891,19 +3891,19 @@ function ar(t = {}) {
|
|
|
3891
3891
|
if (!U)
|
|
3892
3892
|
return;
|
|
3893
3893
|
let te;
|
|
3894
|
-
if (
|
|
3894
|
+
if (h && (te = a.document.createElement("style"), te.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), a.document.head.appendChild(te)), I === "class") {
|
|
3895
3895
|
const re = V.split(/\s/g);
|
|
3896
|
-
Object.values(
|
|
3896
|
+
Object.values(f).flatMap((Q) => (Q || "").split(/\s/g)).filter(Boolean).forEach((Q) => {
|
|
3897
3897
|
re.includes(Q) ? U.classList.add(Q) : U.classList.remove(Q);
|
|
3898
3898
|
});
|
|
3899
3899
|
} else
|
|
3900
3900
|
U.setAttribute(I, V);
|
|
3901
|
-
|
|
3901
|
+
h && (a.getComputedStyle(te).opacity, document.head.removeChild(te));
|
|
3902
3902
|
}
|
|
3903
3903
|
);
|
|
3904
3904
|
function T(F) {
|
|
3905
3905
|
var I;
|
|
3906
|
-
S(e, r, (I =
|
|
3906
|
+
S(e, r, (I = f[F]) != null ? I : F);
|
|
3907
3907
|
}
|
|
3908
3908
|
function M(F) {
|
|
3909
3909
|
t.onChanged ? t.onChanged(F, T) : T(F);
|
|
@@ -3925,8 +3925,8 @@ function ar(t = {}) {
|
|
|
3925
3925
|
}
|
|
3926
3926
|
async function yl(t) {
|
|
3927
3927
|
return new Promise((e, r) => {
|
|
3928
|
-
const u = new Image(), { src: a, srcset: n, sizes: i, class: s, loading: o, crossorigin: c, referrerPolicy:
|
|
3929
|
-
u.src = a, n && (u.srcset = n), i && (u.sizes = i), s && (u.className = s), o && (u.loading = o), c && (u.crossOrigin = c),
|
|
3928
|
+
const u = new Image(), { src: a, srcset: n, sizes: i, class: s, loading: o, crossorigin: c, referrerPolicy: h } = t;
|
|
3929
|
+
u.src = a, n && (u.srcset = n), i && (u.sizes = i), s && (u.className = s), o && (u.loading = o), c && (u.crossOrigin = c), h && (u.referrerPolicy = h), u.onload = () => e(u), u.onerror = r;
|
|
3930
3930
|
});
|
|
3931
3931
|
}
|
|
3932
3932
|
function kl(t, e = {}) {
|
|
@@ -3973,13 +3973,13 @@ const wl = {
|
|
|
3973
3973
|
rounded-md
|
|
3974
3974
|
dark:bg-dark
|
|
3975
3975
|
datk:text-white
|
|
3976
|
-
my-4 `), { title: o, subtitle: c, icon:
|
|
3976
|
+
my-4 `), { title: o, subtitle: c, icon: h, src: f } = ae(e);
|
|
3977
3977
|
return (b, g) => (_(), D("div", {
|
|
3978
3978
|
class: j(`${s.value} `)
|
|
3979
3979
|
}, [
|
|
3980
|
-
v(
|
|
3980
|
+
v(f) ? (_(), D("img", {
|
|
3981
3981
|
key: 0,
|
|
3982
|
-
src: v(
|
|
3982
|
+
src: v(f),
|
|
3983
3983
|
class: "w-full rounded-t-md",
|
|
3984
3984
|
alt: "header card"
|
|
3985
3985
|
}, null, 8, _l)) : R("", !0),
|
|
@@ -3993,8 +3993,8 @@ const wl = {
|
|
|
3993
3993
|
class: j(`text-xs dark:text-white ${n.value}`)
|
|
3994
3994
|
}, B(v(c)), 3)
|
|
3995
3995
|
]),
|
|
3996
|
-
v(
|
|
3997
|
-
Z(oe, { "icon-path": v(
|
|
3996
|
+
v(h) ? (_(), D("div", Sl, [
|
|
3997
|
+
Z(oe, { "icon-path": v(h) }, null, 8, ["icon-path"])
|
|
3998
3998
|
])) : R("", !0)
|
|
3999
3999
|
])) : R("", !0),
|
|
4000
4000
|
ke(b.$slots, "card-header"),
|
|
@@ -4026,10 +4026,10 @@ const wl = {
|
|
|
4026
4026
|
}, u = t, a = e, n = () => {
|
|
4027
4027
|
u.persistent || a("update:modelValue", !1);
|
|
4028
4028
|
}, i = L(() => r[u.size]), { title: s, subtitle: o, icon: c } = ae(u);
|
|
4029
|
-
return (
|
|
4029
|
+
return (h, f) => (_(), X(Ui, { to: "body" }, [
|
|
4030
4030
|
Z(Qa, { name: "modal" }, {
|
|
4031
4031
|
default: O(() => [
|
|
4032
|
-
|
|
4032
|
+
h.modelValue ? (_(), D("div", {
|
|
4033
4033
|
key: 0,
|
|
4034
4034
|
class: "modal-mask",
|
|
4035
4035
|
onClick: Rr(n, ["self"])
|
|
@@ -4044,7 +4044,7 @@ const wl = {
|
|
|
4044
4044
|
icon: v(c)
|
|
4045
4045
|
}, {
|
|
4046
4046
|
default: O(() => [
|
|
4047
|
-
ke(
|
|
4047
|
+
ke(h.$slots, "default")
|
|
4048
4048
|
]),
|
|
4049
4049
|
_: 3
|
|
4050
4050
|
}, 8, ["title", "subtitle", "icon"])
|
|
@@ -4136,7 +4136,7 @@ const wl = {
|
|
|
4136
4136
|
if (e.size === "small")
|
|
4137
4137
|
return "15";
|
|
4138
4138
|
}), { disabled: i, prependIcon: s, appendIcon: o } = ae(e);
|
|
4139
|
-
return (c,
|
|
4139
|
+
return (c, h) => c.href ? (_(), D("a", {
|
|
4140
4140
|
key: 1,
|
|
4141
4141
|
class: j(`${a.value} text-center inline-block`),
|
|
4142
4142
|
disabled: v(i),
|
|
@@ -4217,10 +4217,24 @@ const sc = {
|
|
|
4217
4217
|
reference: "Référence",
|
|
4218
4218
|
fermer: "Fermer",
|
|
4219
4219
|
referenceLibrary: "Référence bibliographique"
|
|
4220
|
-
}) }
|
|
4220
|
+
}) },
|
|
4221
|
+
locale: { default: "fr" }
|
|
4221
4222
|
},
|
|
4222
4223
|
setup(t) {
|
|
4223
|
-
const e = t
|
|
4224
|
+
const e = t;
|
|
4225
|
+
switch (e.locale) {
|
|
4226
|
+
case "en":
|
|
4227
|
+
e.labels.fermer = "Close", e.labels.reference = "Reference", e.labels.referenceLibrary = "Reference Library";
|
|
4228
|
+
break;
|
|
4229
|
+
case "es":
|
|
4230
|
+
e.labels.fermer = "Cerrar", e.labels.reference = "Referencia", e.labels.referenceLibrary = "Biblioteca de referencias";
|
|
4231
|
+
break;
|
|
4232
|
+
case "fr":
|
|
4233
|
+
default:
|
|
4234
|
+
e.labels.fermer = "Fermer", e.labels.reference = "Référence", e.labels.referenceLibrary = "Référence bibliographique";
|
|
4235
|
+
break;
|
|
4236
|
+
}
|
|
4237
|
+
const r = [
|
|
4224
4238
|
"basis-6/12",
|
|
4225
4239
|
"basis-1/12",
|
|
4226
4240
|
"basis-2/12",
|
|
@@ -4238,7 +4252,7 @@ const sc = {
|
|
|
4238
4252
|
e.noModal || (n.value = !n.value);
|
|
4239
4253
|
}, s = le(!1), o = () => {
|
|
4240
4254
|
s.value = !s.value;
|
|
4241
|
-
}, c = L(() => Ko[e.sizeThumbnail]), { isLoading:
|
|
4255
|
+
}, c = L(() => Ko[e.sizeThumbnail]), { isLoading: h, error: f } = kl({ src: e.src }), { src: b, alt: g, title: x, caption: A, thumbnail: S, bib: T, sizeThumbnail: M } = ae(e);
|
|
4242
4256
|
return (z, F) => (_(), D("div", {
|
|
4243
4257
|
class: j(v(S) ? "inline-block" : "")
|
|
4244
4258
|
}, [
|
|
@@ -4246,12 +4260,12 @@ const sc = {
|
|
|
4246
4260
|
w("div", {
|
|
4247
4261
|
class: j(`mx-auto bg-white dark:bg-dark rounded-md overflow-hidden shadow-md ${u.value}`)
|
|
4248
4262
|
}, [
|
|
4249
|
-
v(
|
|
4263
|
+
v(h) ? (_(), D("span", oc, [
|
|
4250
4264
|
Z(oe, {
|
|
4251
4265
|
"icon-path": v(Bn),
|
|
4252
4266
|
size: "250"
|
|
4253
4267
|
}, null, 8, ["icon-path"])
|
|
4254
|
-
])) : v(
|
|
4268
|
+
])) : v(f) ? (_(), D("span", lc, [
|
|
4255
4269
|
Z(oe, {
|
|
4256
4270
|
"icon-path": v(ec),
|
|
4257
4271
|
size: "150"
|
|
@@ -4663,8 +4677,8 @@ const sc = {
|
|
|
4663
4677
|
key: `tr-${o}`,
|
|
4664
4678
|
class: "hover:bg-gray-50 dark:hover:bg-black"
|
|
4665
4679
|
}, [
|
|
4666
|
-
(_(!0), D(xe, null, $e(s, (c,
|
|
4667
|
-
key: `td-${o}-${
|
|
4680
|
+
(_(!0), D(xe, null, $e(s, (c, h) => (_(), D("td", {
|
|
4681
|
+
key: `td-${o}-${h}`,
|
|
4668
4682
|
class: "px-6 py-4"
|
|
4669
4683
|
}, B(c), 1))), 128))
|
|
4670
4684
|
]))), 128))
|
|
@@ -4726,22 +4740,22 @@ const sc = {
|
|
|
4726
4740
|
const e = t, r = Zi(), u = L(() => !!r.intentions), a = L(() => !!r.actions), n = L(() => e.icon ? e.icon : rc), i = L(() => `${ma[e.type]} text-left px-5 py-2 ${e.flat ? "" : "rounded-t-md"} flex justify-between items-center `), s = L(() => `${ma[e.type]} text-right pr-5`), o = L(() => a.value || u.value || e.title ? `rounded-lg overflow-hidden ${e.flat ? "" : "shadow-md"} flex flex-col justify-between h-full` : "flex flex-col justify-between"), c = L(() => {
|
|
4727
4741
|
var b;
|
|
4728
4742
|
return typeof e.mandateLevel == "object" ? (b = e.mandateLevel) == null ? void 0 : b.title : e.mandateLevel;
|
|
4729
|
-
}), { title:
|
|
4743
|
+
}), { title: h, hideIcon: f } = ae(e);
|
|
4730
4744
|
return (b, g) => (_(), D("div", {
|
|
4731
4745
|
class: j(o.value)
|
|
4732
4746
|
}, [
|
|
4733
|
-
v(
|
|
4747
|
+
v(h) || b.mandateLevel ? (_(), D("div", {
|
|
4734
4748
|
key: 0,
|
|
4735
4749
|
class: j([`${i.value}`, "dark:base-dark"])
|
|
4736
4750
|
}, [
|
|
4737
4751
|
w("h3", null, [
|
|
4738
|
-
v(
|
|
4752
|
+
v(f) ? R("", !0) : (_(), X(oe, {
|
|
4739
4753
|
key: 0,
|
|
4740
4754
|
iconPath: n.value,
|
|
4741
4755
|
size: "24"
|
|
4742
4756
|
}, null, 8, ["iconPath"])),
|
|
4743
4757
|
ce(),
|
|
4744
|
-
w("span", Kc, B(v(
|
|
4758
|
+
w("span", Kc, B(v(h)), 1)
|
|
4745
4759
|
]),
|
|
4746
4760
|
b.mandateLevel ? (_(), X(Yc, {
|
|
4747
4761
|
key: 0,
|
|
@@ -4797,8 +4811,8 @@ const sc = {
|
|
|
4797
4811
|
enabled: !1
|
|
4798
4812
|
}
|
|
4799
4813
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4800
|
-
return (c,
|
|
4801
|
-
const
|
|
4814
|
+
return (c, h) => {
|
|
4815
|
+
const f = Jt("apexchart");
|
|
4802
4816
|
return _(), X(ze, {
|
|
4803
4817
|
title: c.title,
|
|
4804
4818
|
type: c.type,
|
|
@@ -4811,7 +4825,7 @@ const sc = {
|
|
|
4811
4825
|
key: 0,
|
|
4812
4826
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4813
4827
|
}, [
|
|
4814
|
-
Z(
|
|
4828
|
+
Z(f, {
|
|
4815
4829
|
width: v(o),
|
|
4816
4830
|
type: "bar",
|
|
4817
4831
|
options: a.value,
|
|
@@ -4878,8 +4892,8 @@ const sc = {
|
|
|
4878
4892
|
}
|
|
4879
4893
|
}
|
|
4880
4894
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4881
|
-
return (c,
|
|
4882
|
-
const
|
|
4895
|
+
return (c, h) => {
|
|
4896
|
+
const f = Jt("apexchart");
|
|
4883
4897
|
return _(), X(ze, {
|
|
4884
4898
|
title: c.title,
|
|
4885
4899
|
type: c.type,
|
|
@@ -4892,7 +4906,7 @@ const sc = {
|
|
|
4892
4906
|
key: 0,
|
|
4893
4907
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4894
4908
|
}, [
|
|
4895
|
-
Z(
|
|
4909
|
+
Z(f, {
|
|
4896
4910
|
width: v(o),
|
|
4897
4911
|
type: "line",
|
|
4898
4912
|
options: a.value,
|
|
@@ -4949,8 +4963,8 @@ const sc = {
|
|
|
4949
4963
|
background: "transparent"
|
|
4950
4964
|
}
|
|
4951
4965
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4952
|
-
return (c,
|
|
4953
|
-
const
|
|
4966
|
+
return (c, h) => {
|
|
4967
|
+
const f = Jt("apexchart");
|
|
4954
4968
|
return _(), X(ze, {
|
|
4955
4969
|
title: c.title,
|
|
4956
4970
|
type: c.type,
|
|
@@ -4963,7 +4977,7 @@ const sc = {
|
|
|
4963
4977
|
key: 0,
|
|
4964
4978
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4965
4979
|
}, [
|
|
4966
|
-
Z(
|
|
4980
|
+
Z(f, {
|
|
4967
4981
|
width: v(o),
|
|
4968
4982
|
type: "pie",
|
|
4969
4983
|
options: a.value,
|
|
@@ -5041,9 +5055,9 @@ const sc = {
|
|
|
5041
5055
|
colors: e.colors,
|
|
5042
5056
|
dataLabels: {
|
|
5043
5057
|
enabled: !0,
|
|
5044
|
-
formatter: function(
|
|
5058
|
+
formatter: function(h, f) {
|
|
5045
5059
|
let b = "";
|
|
5046
|
-
return
|
|
5060
|
+
return f.w.globals.labels[f.dataPointIndex] && (b = f.w.globals.labels[f.dataPointIndex] + " "), b + h;
|
|
5047
5061
|
},
|
|
5048
5062
|
dropShadow: {
|
|
5049
5063
|
enabled: !0
|
|
@@ -5056,14 +5070,14 @@ const sc = {
|
|
|
5056
5070
|
show: !1
|
|
5057
5071
|
}
|
|
5058
5072
|
})), { center: n, series: i, source: s, labels: o, width: c } = ae(e);
|
|
5059
|
-
return (
|
|
5073
|
+
return (h, f) => {
|
|
5060
5074
|
const b = Jt("apexchart");
|
|
5061
5075
|
return _(), X(ze, {
|
|
5062
|
-
title:
|
|
5063
|
-
type:
|
|
5064
|
-
hideIcon:
|
|
5076
|
+
title: h.title,
|
|
5077
|
+
type: h.type,
|
|
5078
|
+
hideIcon: h.hideIcon,
|
|
5065
5079
|
icon: v(ic),
|
|
5066
|
-
mandateLevel:
|
|
5080
|
+
mandateLevel: h.mandateLevel
|
|
5067
5081
|
}, Te({
|
|
5068
5082
|
content: O(() => [
|
|
5069
5083
|
v(o) && v(i) ? (_(), D("div", {
|
|
@@ -5073,7 +5087,7 @@ const sc = {
|
|
|
5073
5087
|
Z(b, {
|
|
5074
5088
|
type: "bar",
|
|
5075
5089
|
width: v(c),
|
|
5076
|
-
height:
|
|
5090
|
+
height: h.height,
|
|
5077
5091
|
options: a.value,
|
|
5078
5092
|
series: v(i)
|
|
5079
5093
|
}, null, 8, ["width", "height", "options", "series"])
|
|
@@ -5197,8 +5211,8 @@ const sc = {
|
|
|
5197
5211
|
hideCover: s,
|
|
5198
5212
|
year: o,
|
|
5199
5213
|
author: c,
|
|
5200
|
-
container:
|
|
5201
|
-
editor:
|
|
5214
|
+
container: h,
|
|
5215
|
+
editor: f,
|
|
5202
5216
|
pages: b,
|
|
5203
5217
|
type: g,
|
|
5204
5218
|
mandateLevel: x,
|
|
@@ -5270,12 +5284,12 @@ const sc = {
|
|
|
5270
5284
|
v(c) ? (_(), D("span", U2, B(v(S).par), 1)) : R("", !0),
|
|
5271
5285
|
v(c) ? (_(), D("span", Z2, B(v(c)), 1)) : R("", !0),
|
|
5272
5286
|
v(o) ? (_(), D("span", W2, " (" + B(v(o)) + ")", 1)) : R("", !0),
|
|
5273
|
-
v(o) && v(
|
|
5274
|
-
v(
|
|
5287
|
+
v(o) && v(f) ? (_(), D("span", X2, ", ")) : R("", !0),
|
|
5288
|
+
v(f) ? (_(), D("span", Y2, B(v(f)), 1)) : R("", !0)
|
|
5275
5289
|
]),
|
|
5276
|
-
v(
|
|
5290
|
+
v(h) ? (_(), D("p", K2, [
|
|
5277
5291
|
w("span", Q2, B(v(S).dans), 1),
|
|
5278
|
-
w("span", null, B(v(
|
|
5292
|
+
w("span", null, B(v(h)), 1)
|
|
5279
5293
|
])) : R("", !0)
|
|
5280
5294
|
])) : R("", !0),
|
|
5281
5295
|
v(b) ? (_(), D("div", {
|
|
@@ -5373,12 +5387,12 @@ const sc = {
|
|
|
5373
5387
|
v(c) ? (_(), D("span", y2, B(v(S).par), 1)) : R("", !0),
|
|
5374
5388
|
v(c) ? (_(), D("span", k2, B(v(c)), 1)) : R("", !0),
|
|
5375
5389
|
v(o) ? (_(), D("span", w2, "(" + B(v(o)) + ")", 1)) : R("", !0),
|
|
5376
|
-
v(o) && v(
|
|
5377
|
-
v(
|
|
5390
|
+
v(o) && v(f) ? (_(), D("span", _2, ", ")) : R("", !0),
|
|
5391
|
+
v(f) ? (_(), D("span", C2, B(v(f)), 1)) : R("", !0)
|
|
5378
5392
|
]),
|
|
5379
|
-
v(
|
|
5393
|
+
v(h) ? (_(), D("p", A2, [
|
|
5380
5394
|
w("span", S2, B(v(S).dans), 1),
|
|
5381
|
-
w("span", E2, B(v(
|
|
5395
|
+
w("span", E2, B(v(h)), 1)
|
|
5382
5396
|
])) : R("", !0)
|
|
5383
5397
|
])) : R("", !0),
|
|
5384
5398
|
v(b) ? (_(), D("div", {
|
|
@@ -5455,7 +5469,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5455
5469
|
return o.pages = e.pages, o.type = s, s === "clip" && (o.src = o.url), s === "website" && (o.href = o.url, o.label = o.title), s === "book" && e.pages && (o.intentions = e.pages, o.pages = null), o.version_link && (o.url = o.version_link.url), o;
|
|
5456
5470
|
}), u = (s) => {
|
|
5457
5471
|
const o = mu(s);
|
|
5458
|
-
return o.name === "EpNothing" ? E0(() => import("./EpNothing-
|
|
5472
|
+
return o.name === "EpNothing" ? E0(() => import("./EpNothing-BoIDmqSI.js")) : o.name === "EpReading" ? E0(() => import("./EpReading-SGqzw_0f.js")) : E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-DhXfn7fR.js"), "../basics/EpBtn.vue": () => import("./EpBtn-DyBggdCv.js"), "../basics/EpCard.vue": () => import("./EpCard--19q8qYw.js"), "../basics/EpChip.vue": () => import("./EpChip-DiITptwm.js"), "../basics/EpDivider.vue": () => import("./EpDivider-dxrA-dR_.js"), "../basics/EpFlex.vue": () => import("./EpFlex-DH-BVeZM.js"), "../basics/EpHover.vue": () => import("./EpHover-DXdOPnDn.js"), "../basics/EpIcon.vue": () => import("./EpIcon-LsoGsku9.js"), "../basics/EpImg.vue": () => import("./EpImg-C-0Z-znf.js"), "../basics/EpList.vue": () => import("./EpList-5mOPFQ9O.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DUxyMPRb.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-lw-AU-df.js"), "../basics/EpTable.vue": () => import("./EpTable-Y_3g-9Vy.js"), "../basics/EpText.vue": () => import("./EpText-CnEpRINM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-HpEteRLK.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-DfGxToS2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-DRl8dezs.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-BTKGbAI7.js"), "./EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((c) => c.E), "./EpEdu.vue": () => import("./EpEdu-CpZ3i0qV.js"), "./EpReading.vue": () => import("./EpReading-SGqzw_0f.js"), "./EpResource.vue": () => import("./EpResource-Dm0gFvtj.js"), "./EpScope.vue": () => import("./EpScope-DYhlmbDU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-TeZRmmUX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C_cY0q2J.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-C8AbwfW2.js"), "../forms/EpSelect.vue": () => import("./EpSelect-B-Z8a3Hs.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => du), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-BXGQeVMO.js"), "../interactions/EpDarkmode.vue": () => import("./EpDarkmode-DWA0voFO.js"), "../interactions/EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "../interactions/EpModal.vue": () => import("./EpModal-CFbxbe6J.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-Cin4-X_M.js"), "../interactions/EpSummativeTable.vue": () => import("./EpSummativeTable-DmlYRZlO.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => pu), "../interactions/EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-Be6gEVdg.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-Bxx1QSf-.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-Cj-DpeQa.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-Cm4u6Xql.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-O5NE-VUC.js"), "../medias/EpSvg.vue": () => import("./EpSvg-BI2nItA_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-Dep5q8eH.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CVdYHgaO.js"), "../medias/EpVideo.vue": () => import("./EpVideo-DGjvXSCJ.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-BlVj2hYY.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CfrzDlt2.js"), "../signages/EpAlert.vue": () => import("./EpAlert-QGrmQLQt.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CbMyaQGx.js"), "../signages/EpNothing.vue": () => import("./EpNothing-BoIDmqSI.js"), "../signages/EpQuote.vue": () => import("./EpQuote-D9JImqam.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DC5OUtB5.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BlOciyyF.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox--nQC58Wz.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Ru), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Hu) }), `../${o.path}/${o.name}.vue`, 3));
|
|
5459
5473
|
}, { mandateLevel: a, type: n, pages: i } = ae(e);
|
|
5460
5474
|
return (s, o) => (_(), X(Ot(u(r.value.type)), Wi({ ...r.value }, {
|
|
5461
5475
|
mandateLevel: v(a),
|
|
@@ -5485,29 +5499,29 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5485
5499
|
const e = t, r = le(0), u = L(() => e.slides ? e.slides.length === 0 ? { title: e.labels.noData, img: "", uid: 2, content: "", component: null } : e.slides[r.value] : { title: e.labels.noData, img: "", uid: 2, content: "", component: null }), a = L(() => u.value.content.trim().length > 0), n = L(() => {
|
|
5486
5500
|
var b;
|
|
5487
5501
|
if (u.value.img)
|
|
5488
|
-
return E0(() => import("./EpImg-
|
|
5502
|
+
return E0(() => import("./EpImg-C-0Z-znf.js"));
|
|
5489
5503
|
if (u.value.component) {
|
|
5490
5504
|
const g = mu((b = u.value.component) == null ? void 0 : b.type);
|
|
5491
|
-
return E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
5505
|
+
return E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-DhXfn7fR.js"), "../basics/EpBtn.vue": () => import("./EpBtn-DyBggdCv.js"), "../basics/EpCard.vue": () => import("./EpCard--19q8qYw.js"), "../basics/EpChip.vue": () => import("./EpChip-DiITptwm.js"), "../basics/EpDivider.vue": () => import("./EpDivider-dxrA-dR_.js"), "../basics/EpFlex.vue": () => import("./EpFlex-DH-BVeZM.js"), "../basics/EpHover.vue": () => import("./EpHover-DXdOPnDn.js"), "../basics/EpIcon.vue": () => import("./EpIcon-LsoGsku9.js"), "../basics/EpImg.vue": () => import("./EpImg-C-0Z-znf.js"), "../basics/EpList.vue": () => import("./EpList-5mOPFQ9O.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DUxyMPRb.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-lw-AU-df.js"), "../basics/EpTable.vue": () => import("./EpTable-Y_3g-9Vy.js"), "../basics/EpText.vue": () => import("./EpText-CnEpRINM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-HpEteRLK.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-DfGxToS2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-DRl8dezs.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-BTKGbAI7.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((x) => x.E), "../educationals/EpEdu.vue": () => import("./EpEdu-CpZ3i0qV.js"), "../educationals/EpReading.vue": () => import("./EpReading-SGqzw_0f.js"), "../educationals/EpResource.vue": () => import("./EpResource-Dm0gFvtj.js"), "../educationals/EpScope.vue": () => import("./EpScope-DYhlmbDU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-TeZRmmUX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C_cY0q2J.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-C8AbwfW2.js"), "../forms/EpSelect.vue": () => import("./EpSelect-B-Z8a3Hs.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => du), "./EpContentSlider.vue": () => import("./EpContentSlider-BXGQeVMO.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-DWA0voFO.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-CFbxbe6J.js"), "./EpQuestion.vue": () => import("./EpQuestion-Cin4-X_M.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-DmlYRZlO.js"), "./EpTabs.vue": () => Promise.resolve().then(() => pu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-Be6gEVdg.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-Bxx1QSf-.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-Cj-DpeQa.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-Cm4u6Xql.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-O5NE-VUC.js"), "../medias/EpSvg.vue": () => import("./EpSvg-BI2nItA_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-Dep5q8eH.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CVdYHgaO.js"), "../medias/EpVideo.vue": () => import("./EpVideo-DGjvXSCJ.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-BlVj2hYY.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CfrzDlt2.js"), "../signages/EpAlert.vue": () => import("./EpAlert-QGrmQLQt.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CbMyaQGx.js"), "../signages/EpNothing.vue": () => import("./EpNothing-BoIDmqSI.js"), "../signages/EpQuote.vue": () => import("./EpQuote-D9JImqam.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DC5OUtB5.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BlOciyyF.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox--nQC58Wz.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Ru), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Hu) }), `../${g.path}/${g.name}.vue`, 3));
|
|
5492
5506
|
}
|
|
5493
5507
|
return null;
|
|
5494
5508
|
}), i = L(() => r.value + 1 < e.slides.length), s = L(() => r.value + 1 > 1), o = () => {
|
|
5495
5509
|
i.value && (r.value += 1);
|
|
5496
5510
|
}, c = () => {
|
|
5497
5511
|
s.value && (r.value -= 1);
|
|
5498
|
-
},
|
|
5512
|
+
}, h = (b) => {
|
|
5499
5513
|
r.value = b;
|
|
5500
|
-
}, { slides:
|
|
5514
|
+
}, { slides: f } = ae(e);
|
|
5501
5515
|
return (b, g) => (_(), D("div", ad, [
|
|
5502
5516
|
w("div", nd, [
|
|
5503
5517
|
w("h5", id, B(u.value.title), 1),
|
|
5504
|
-
v(
|
|
5505
|
-
(_(!0), D(xe, null, $e(v(
|
|
5518
|
+
v(f) ? (_(), D("div", sd, [
|
|
5519
|
+
(_(!0), D(xe, null, $e(v(f).length, (x, A) => (_(), D("span", {
|
|
5506
5520
|
key: `slide-index-${A}`,
|
|
5507
5521
|
class: j(`cursor-pointer h-4 w-4 ml-1 inline-block ${A === r.value ? "bg-primary" : "bg-base-dark dark:bg-base-light"}`),
|
|
5508
|
-
onClick: (S) =>
|
|
5522
|
+
onClick: (S) => h(A)
|
|
5509
5523
|
}, null, 10, od))), 128)),
|
|
5510
|
-
w("span", ld, "(" + B(r.value + 1) + "/" + B(v(
|
|
5524
|
+
w("span", ld, "(" + B(r.value + 1) + "/" + B(v(f).length) + ")", 1),
|
|
5511
5525
|
w("button", {
|
|
5512
5526
|
class: j(`px-2 ${s.value ? "" : "opacity-5"}`),
|
|
5513
5527
|
onClick: c
|
|
@@ -5594,9 +5608,9 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5594
5608
|
},
|
|
5595
5609
|
emits: ["update:modelValue"],
|
|
5596
5610
|
setup(t, { emit: e }) {
|
|
5597
|
-
const r = t, u = L(() => `${pd[r.type]} mx-2 `), a = L(() => r.modelValue === r.value), n = L(() => r.label ? r.label.trim().replace(/\s/g, "_") : `label_${Math.round(Math.random() * 100)}`), { label: i, disabled: s, readonly: o, value: c } = ae(r),
|
|
5611
|
+
const r = t, u = L(() => `${pd[r.type]} mx-2 `), a = L(() => r.modelValue === r.value), n = L(() => r.label ? r.label.trim().replace(/\s/g, "_") : `label_${Math.round(Math.random() * 100)}`), { label: i, disabled: s, readonly: o, value: c } = ae(r), h = e, f = (b) => {
|
|
5598
5612
|
const g = b.target;
|
|
5599
|
-
|
|
5613
|
+
h("update:modelValue", g.value);
|
|
5600
5614
|
};
|
|
5601
5615
|
return (b, g) => (_(), D("span", bd, [
|
|
5602
5616
|
w("input", {
|
|
@@ -5608,7 +5622,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5608
5622
|
readonly: v(o),
|
|
5609
5623
|
value: v(c),
|
|
5610
5624
|
checked: a.value,
|
|
5611
|
-
onChange:
|
|
5625
|
+
onChange: f
|
|
5612
5626
|
}, null, 42, vd),
|
|
5613
5627
|
w("label", {
|
|
5614
5628
|
for: n.value,
|
|
@@ -5695,13 +5709,13 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5695
5709
|
},
|
|
5696
5710
|
setup(t) {
|
|
5697
5711
|
const e = t, r = L(() => !e.outlined), u = L(() => e.outlined ? "default" : "outlined"), a = L(() => typeof e.type == "object" ? e.type.type : e.type), n = L(() => {
|
|
5698
|
-
var
|
|
5699
|
-
return `${(
|
|
5712
|
+
var h;
|
|
5713
|
+
return `${(h = yd[a.value]) == null ? void 0 : h[u.value]}`;
|
|
5700
5714
|
}), i = L(() => {
|
|
5701
|
-
let
|
|
5702
|
-
return e.noIcon ? null :
|
|
5715
|
+
let h = kd[a.value].icon;
|
|
5716
|
+
return e.noIcon ? null : h;
|
|
5703
5717
|
}), { title: s, compact: o, outlined: c } = ae(e);
|
|
5704
|
-
return (
|
|
5718
|
+
return (h, f) => v(o) ? (_(), X(cu, {
|
|
5705
5719
|
key: 1,
|
|
5706
5720
|
type: a.value,
|
|
5707
5721
|
outlined: r.value,
|
|
@@ -5709,7 +5723,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5709
5723
|
title: v(s)
|
|
5710
5724
|
}, {
|
|
5711
5725
|
default: O(() => [
|
|
5712
|
-
ke(
|
|
5726
|
+
ke(h.$slots, "default")
|
|
5713
5727
|
]),
|
|
5714
5728
|
_: 3
|
|
5715
5729
|
}, 8, ["type", "outlined", "icon", "title"])) : (_(), D("div", {
|
|
@@ -5731,7 +5745,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5731
5745
|
key: 1,
|
|
5732
5746
|
size: "border"
|
|
5733
5747
|
})) : R("", !0),
|
|
5734
|
-
ke(
|
|
5748
|
+
ke(h.$slots, "default")
|
|
5735
5749
|
])
|
|
5736
5750
|
], 2)
|
|
5737
5751
|
], 2));
|
|
@@ -5771,14 +5785,14 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5771
5785
|
M[z] = M[F], M[F] = I;
|
|
5772
5786
|
}
|
|
5773
5787
|
return M;
|
|
5774
|
-
}), a = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J"], n = (M) => e.numeration ? a[M] : M + 1, i = le(""), s = le(!1), o = le(!0), c = le({ type: "warning", text: "no found", component: null, feedback: "" }),
|
|
5788
|
+
}), a = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J"], n = (M) => e.numeration ? a[M] : M + 1, i = le(""), s = le(!1), o = le(!0), c = le({ type: "warning", text: "no found", component: null, feedback: "" }), h = () => {
|
|
5775
5789
|
if (i.value === "") {
|
|
5776
5790
|
o.value = !1;
|
|
5777
5791
|
return;
|
|
5778
5792
|
}
|
|
5779
5793
|
const M = e.answers.find((z) => z.uid === i.value);
|
|
5780
5794
|
M && (c.value = M, s.value = !0);
|
|
5781
|
-
},
|
|
5795
|
+
}, f = () => {
|
|
5782
5796
|
s.value = !1, i.value = "";
|
|
5783
5797
|
};
|
|
5784
5798
|
I0(i, (M) => {
|
|
@@ -5786,7 +5800,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5786
5800
|
});
|
|
5787
5801
|
const b = (M) => {
|
|
5788
5802
|
const z = mu(M);
|
|
5789
|
-
return z.name === "EpNothing" ? E0(() => import("./EpNothing-
|
|
5803
|
+
return z.name === "EpNothing" ? E0(() => import("./EpNothing-BoIDmqSI.js")) : E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-DhXfn7fR.js"), "../basics/EpBtn.vue": () => import("./EpBtn-DyBggdCv.js"), "../basics/EpCard.vue": () => import("./EpCard--19q8qYw.js"), "../basics/EpChip.vue": () => import("./EpChip-DiITptwm.js"), "../basics/EpDivider.vue": () => import("./EpDivider-dxrA-dR_.js"), "../basics/EpFlex.vue": () => import("./EpFlex-DH-BVeZM.js"), "../basics/EpHover.vue": () => import("./EpHover-DXdOPnDn.js"), "../basics/EpIcon.vue": () => import("./EpIcon-LsoGsku9.js"), "../basics/EpImg.vue": () => import("./EpImg-C-0Z-znf.js"), "../basics/EpList.vue": () => import("./EpList-5mOPFQ9O.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DUxyMPRb.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-lw-AU-df.js"), "../basics/EpTable.vue": () => import("./EpTable-Y_3g-9Vy.js"), "../basics/EpText.vue": () => import("./EpText-CnEpRINM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-HpEteRLK.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-DfGxToS2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-DRl8dezs.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-BTKGbAI7.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((F) => F.E), "../educationals/EpEdu.vue": () => import("./EpEdu-CpZ3i0qV.js"), "../educationals/EpReading.vue": () => import("./EpReading-SGqzw_0f.js"), "../educationals/EpResource.vue": () => import("./EpResource-Dm0gFvtj.js"), "../educationals/EpScope.vue": () => import("./EpScope-DYhlmbDU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-TeZRmmUX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C_cY0q2J.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-C8AbwfW2.js"), "../forms/EpSelect.vue": () => import("./EpSelect-B-Z8a3Hs.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => du), "./EpContentSlider.vue": () => import("./EpContentSlider-BXGQeVMO.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-DWA0voFO.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-CFbxbe6J.js"), "./EpQuestion.vue": () => import("./EpQuestion-Cin4-X_M.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-DmlYRZlO.js"), "./EpTabs.vue": () => Promise.resolve().then(() => pu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-Be6gEVdg.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-Bxx1QSf-.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-Cj-DpeQa.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-Cm4u6Xql.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-O5NE-VUC.js"), "../medias/EpSvg.vue": () => import("./EpSvg-BI2nItA_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-Dep5q8eH.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CVdYHgaO.js"), "../medias/EpVideo.vue": () => import("./EpVideo-DGjvXSCJ.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-BlVj2hYY.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CfrzDlt2.js"), "../signages/EpAlert.vue": () => import("./EpAlert-QGrmQLQt.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CbMyaQGx.js"), "../signages/EpNothing.vue": () => import("./EpNothing-BoIDmqSI.js"), "../signages/EpQuote.vue": () => import("./EpQuote-D9JImqam.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DC5OUtB5.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BlOciyyF.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox--nQC58Wz.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Ru), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Hu) }), `../${z.path}/${z.name}.vue`, 3));
|
|
5790
5804
|
}, { title: g, intentions: x, hideIcon: A, question: S, src: T } = ae(e);
|
|
5791
5805
|
return (M, z) => (_(), X(ze, {
|
|
5792
5806
|
title: v(g),
|
|
@@ -5857,7 +5871,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5857
5871
|
])) : R("", !0),
|
|
5858
5872
|
Z(Be, {
|
|
5859
5873
|
type: M.type,
|
|
5860
|
-
onClick:
|
|
5874
|
+
onClick: h,
|
|
5861
5875
|
disabled: s.value,
|
|
5862
5876
|
outlined: "",
|
|
5863
5877
|
extraClass: "mr-2"
|
|
@@ -5870,7 +5884,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5870
5884
|
s.value ? (_(), X(Be, {
|
|
5871
5885
|
key: 3,
|
|
5872
5886
|
type: M.type,
|
|
5873
|
-
onClick:
|
|
5887
|
+
onClick: f,
|
|
5874
5888
|
outlined: ""
|
|
5875
5889
|
}, {
|
|
5876
5890
|
default: O(() => [
|
|
@@ -5913,11 +5927,11 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5913
5927
|
},
|
|
5914
5928
|
emits: ["update:modelValue"],
|
|
5915
5929
|
setup(t, { emit: e }) {
|
|
5916
|
-
const r = t, u = L(() => r.modelValue === r.value), { label: a, disabled: n, readonly: i, value: s, id: o } = ae(r), c = e,
|
|
5917
|
-
const g = +
|
|
5930
|
+
const r = t, u = L(() => r.modelValue === r.value), { label: a, disabled: n, readonly: i, value: s, id: o } = ae(r), c = e, h = (f) => {
|
|
5931
|
+
const g = +f.target.value || 0;
|
|
5918
5932
|
c("update:modelValue", g);
|
|
5919
5933
|
};
|
|
5920
|
-
return (
|
|
5934
|
+
return (f, b) => (_(), D("label", Rd, [
|
|
5921
5935
|
w("input", {
|
|
5922
5936
|
type: "radio",
|
|
5923
5937
|
id: v(o),
|
|
@@ -5926,7 +5940,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5926
5940
|
readonly: v(i),
|
|
5927
5941
|
value: v(s),
|
|
5928
5942
|
checked: u.value,
|
|
5929
|
-
onChange:
|
|
5943
|
+
onChange: h,
|
|
5930
5944
|
class: "rounded bg-gray-200 border-gray-300 focus:border-transparent focus:bg-gray-200 text-primary focus:ring-1 focus:ring-offset-2 focus:ring-primary"
|
|
5931
5945
|
}, null, 40, Nd),
|
|
5932
5946
|
w("span", Vd, B(v(a)), 1)
|
|
@@ -5948,19 +5962,19 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5948
5962
|
};
|
|
5949
5963
|
return (s, o) => (_(), D("div", Pd, [
|
|
5950
5964
|
v(u) ? (_(), D("h4", jd, B(v(u)), 1)) : R("", !0),
|
|
5951
|
-
(_(!0), D(xe, null, $e(v(a), (c,
|
|
5952
|
-
key: `item-question-${
|
|
5965
|
+
(_(!0), D(xe, null, $e(v(a), (c, h) => (_(), D(xe, {
|
|
5966
|
+
key: `item-question-${h}`
|
|
5953
5967
|
}, [
|
|
5954
5968
|
w("p", Gd, B(c.label), 1),
|
|
5955
5969
|
w("div", Ud, [
|
|
5956
|
-
(_(!0), D(xe, null, $e(c.options, (
|
|
5970
|
+
(_(!0), D(xe, null, $e(c.options, (f, b) => (_(), X(Od, {
|
|
5957
5971
|
key: `option-question-${b}`,
|
|
5958
|
-
id: `option-${
|
|
5959
|
-
name: `option-${
|
|
5960
|
-
label:
|
|
5961
|
-
value: i(
|
|
5962
|
-
modelValue: e.value[
|
|
5963
|
-
"onUpdate:modelValue": (g) => e.value[
|
|
5972
|
+
id: `option-${h}-${b}-${f.uid}`,
|
|
5973
|
+
name: `option-${h}-${b}-${f.uid}`,
|
|
5974
|
+
label: f.label,
|
|
5975
|
+
value: i(f.value),
|
|
5976
|
+
modelValue: e.value[h],
|
|
5977
|
+
"onUpdate:modelValue": (g) => e.value[h] = g
|
|
5964
5978
|
}, null, 8, ["id", "name", "label", "value", "modelValue", "onUpdate:modelValue"]))), 128))
|
|
5965
5979
|
]),
|
|
5966
5980
|
Z(Q0)
|
|
@@ -6041,15 +6055,15 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6041
6055
|
},
|
|
6042
6056
|
setup(t) {
|
|
6043
6057
|
const e = t, r = /\.mp4\?/, u = L(() => {
|
|
6044
|
-
let
|
|
6045
|
-
return r.test(e.src) && (
|
|
6046
|
-
}), a = L(() => !!(u.value.endsWith(".mp3") || u.value.endsWith(".mp4") || u.value.endsWith(".ogg") || u.value.endsWith(".wav"))), n = L(() => a0("fill", e.type)), i = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), { src: s, title: o, hideIcon: c, mandateLevel:
|
|
6047
|
-
return (
|
|
6058
|
+
let f = e.src;
|
|
6059
|
+
return r.test(e.src) && (f = f.replace(/\.mp4.*$/, ".mp4")), f;
|
|
6060
|
+
}), a = L(() => !!(u.value.endsWith(".mp3") || u.value.endsWith(".mp4") || u.value.endsWith(".ogg") || u.value.endsWith(".wav"))), n = L(() => a0("fill", e.type)), i = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), { src: s, title: o, hideIcon: c, mandateLevel: h } = ae(e);
|
|
6061
|
+
return (f, b) => (_(), X(ze, {
|
|
6048
6062
|
title: v(o),
|
|
6049
|
-
type:
|
|
6063
|
+
type: f.type,
|
|
6050
6064
|
hideIcon: v(c),
|
|
6051
6065
|
icon: v(Jl),
|
|
6052
|
-
mandateLevel: v(
|
|
6066
|
+
mandateLevel: v(h)
|
|
6053
6067
|
}, Te({
|
|
6054
6068
|
content: O(() => [
|
|
6055
6069
|
w("div", r4, [
|
|
@@ -6066,7 +6080,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6066
6080
|
outlined: ""
|
|
6067
6081
|
}, {
|
|
6068
6082
|
default: O(() => [
|
|
6069
|
-
w("p", null, B(
|
|
6083
|
+
w("p", null, B(f.labels.messageError), 1)
|
|
6070
6084
|
]),
|
|
6071
6085
|
_: 1
|
|
6072
6086
|
}))
|
|
@@ -6099,27 +6113,29 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6099
6113
|
gallery: { type: Boolean, default: !1 },
|
|
6100
6114
|
labelRef: { default: "Référence" },
|
|
6101
6115
|
labelClose: { default: "Fermer" },
|
|
6102
|
-
sizeThumbnail: { default: "medium" }
|
|
6116
|
+
sizeThumbnail: { default: "medium" },
|
|
6117
|
+
locale: { default: "fr" }
|
|
6103
6118
|
},
|
|
6104
6119
|
setup(t) {
|
|
6105
6120
|
const e = t, r = le(0), u = le(!1), a = () => {
|
|
6106
|
-
const
|
|
6107
|
-
r.value =
|
|
6121
|
+
const f = r.value === 0 ? e.carrouselImg.length - 1 : r.value - 1;
|
|
6122
|
+
r.value = f;
|
|
6108
6123
|
}, n = () => {
|
|
6109
|
-
const
|
|
6110
|
-
r.value =
|
|
6124
|
+
const f = r.value === e.carrouselImg.length - 1 ? 0 : r.value + 1;
|
|
6125
|
+
r.value = f;
|
|
6111
6126
|
}, { carrouselImg: i, labelClose: s, labelRef: o, sizeThumbnail: c } = ae(e);
|
|
6112
|
-
return (
|
|
6127
|
+
return (h, f) => {
|
|
6113
6128
|
var b, g;
|
|
6114
|
-
return
|
|
6129
|
+
return h.gallery ? (_(), D("div", h4, [
|
|
6115
6130
|
(_(!0), D(xe, null, $e(v(i), (x) => (_(), X(mt, {
|
|
6116
6131
|
key: `image-${x == null ? void 0 : x.uid}`,
|
|
6117
6132
|
src: x.src,
|
|
6118
6133
|
bib: x.bib,
|
|
6119
6134
|
caption: x.caption,
|
|
6120
6135
|
thumbnail: "",
|
|
6121
|
-
"size-thumbnail": v(c)
|
|
6122
|
-
|
|
6136
|
+
"size-thumbnail": v(c),
|
|
6137
|
+
locale: h.locale
|
|
6138
|
+
}, null, 8, ["src", "bib", "caption", "size-thumbnail", "locale"]))), 128))
|
|
6123
6139
|
])) : (_(), D("div", a4, [
|
|
6124
6140
|
w("div", n4, [
|
|
6125
6141
|
w("button", { onClick: a }, [
|
|
@@ -6140,7 +6156,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6140
6156
|
(g = v(i)[r.value]) != null && g.bib ? (_(), D("div", l4, [
|
|
6141
6157
|
Z(Be, {
|
|
6142
6158
|
type: "primary",
|
|
6143
|
-
onClick:
|
|
6159
|
+
onClick: f[0] || (f[0] = (x) => u.value = !0),
|
|
6144
6160
|
dark: ""
|
|
6145
6161
|
}, {
|
|
6146
6162
|
default: O(() => [
|
|
@@ -6152,7 +6168,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6152
6168
|
]),
|
|
6153
6169
|
Z(Ut, {
|
|
6154
6170
|
modelValue: u.value,
|
|
6155
|
-
"onUpdate:modelValue":
|
|
6171
|
+
"onUpdate:modelValue": f[2] || (f[2] = (x) => u.value = x),
|
|
6156
6172
|
title: "Référence"
|
|
6157
6173
|
}, {
|
|
6158
6174
|
default: O(() => [
|
|
@@ -6161,7 +6177,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6161
6177
|
}, null, 8, c4),
|
|
6162
6178
|
w("div", d4, [
|
|
6163
6179
|
Z(Be, {
|
|
6164
|
-
onClick:
|
|
6180
|
+
onClick: f[1] || (f[1] = (x) => u.value = !1),
|
|
6165
6181
|
type: "primary",
|
|
6166
6182
|
dark: ""
|
|
6167
6183
|
}, {
|
|
@@ -6177,7 +6193,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6177
6193
|
]));
|
|
6178
6194
|
};
|
|
6179
6195
|
}
|
|
6180
|
-
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-
|
|
6196
|
+
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-57ddb82d"]]), bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6181
6197
|
__proto__: null,
|
|
6182
6198
|
default: m4
|
|
6183
6199
|
}, Symbol.toStringTag, { value: "Module" })), p4 = ["innerHTML"], b4 = ["src", "height"], v4 = /* @__PURE__ */ ee({
|
|
@@ -6269,11 +6285,11 @@ class H {
|
|
|
6269
6285
|
a = i.start, n = i.end, a === s.length ? u += " at end of input: " : u += " at position " + (a + 1) + ": ";
|
|
6270
6286
|
var o = s.slice(a, n).replace(/[^]/g, "$&̲"), c;
|
|
6271
6287
|
a > 15 ? c = "…" + s.slice(a - 15, a) : c = s.slice(0, a);
|
|
6272
|
-
var
|
|
6273
|
-
n + 15 < s.length ?
|
|
6288
|
+
var h;
|
|
6289
|
+
n + 15 < s.length ? h = s.slice(n, n + 15) + "…" : h = s.slice(n), u += c + o + h;
|
|
6274
6290
|
}
|
|
6275
|
-
var
|
|
6276
|
-
return
|
|
6291
|
+
var f = new Error(u);
|
|
6292
|
+
return f.name = "ParseError", f.__proto__ = H.prototype, f.position = a, a != null && n != null && (f.length = n - a), f.rawMessage = e, f;
|
|
6277
6293
|
}
|
|
6278
6294
|
}
|
|
6279
6295
|
H.prototype.__proto__ = Error.prototype;
|
|
@@ -10547,8 +10563,8 @@ var Bt = [
|
|
|
10547
10563
|
typeof console < "u" && console.warn("No character metrics " + ("for '" + e + "' in style '" + r + "' and mode '" + u + "'")), o = new Ue(e, 0, 0, 0, 0, 0, n);
|
|
10548
10564
|
if (a) {
|
|
10549
10565
|
o.maxFontSize = a.sizeMultiplier, a.style.isTight() && o.classes.push("mtight");
|
|
10550
|
-
var
|
|
10551
|
-
|
|
10566
|
+
var h = a.getColor();
|
|
10567
|
+
h && (o.style.color = h);
|
|
10552
10568
|
}
|
|
10553
10569
|
return o;
|
|
10554
10570
|
}, r3 = function(e, r, u, a) {
|
|
@@ -10562,20 +10578,20 @@ var Bt = [
|
|
|
10562
10578
|
fontClass: "mathbf"
|
|
10563
10579
|
};
|
|
10564
10580
|
}, a3 = function(e, r, u) {
|
|
10565
|
-
var a = e.mode, n = e.text, i = ["mord"], s = a === "math" || a === "text" && r.font, o = s ? r.font : r.fontFamily, c = "",
|
|
10566
|
-
if (n.charCodeAt(0) === 55349 && ([c,
|
|
10567
|
-
return We(n, c, a, r, i.concat(
|
|
10581
|
+
var a = e.mode, n = e.text, i = ["mord"], s = a === "math" || a === "text" && r.font, o = s ? r.font : r.fontFamily, c = "", h = "";
|
|
10582
|
+
if (n.charCodeAt(0) === 55349 && ([c, h] = t3(n, a)), c.length > 0)
|
|
10583
|
+
return We(n, c, a, r, i.concat(h));
|
|
10568
10584
|
if (o) {
|
|
10569
|
-
var
|
|
10585
|
+
var f, b;
|
|
10570
10586
|
if (o === "boldsymbol") {
|
|
10571
10587
|
var g = u3(n, a, r, i, u);
|
|
10572
|
-
|
|
10573
|
-
} else s ? (
|
|
10574
|
-
if (ir(n,
|
|
10575
|
-
return We(n,
|
|
10576
|
-
if (Pn.hasOwnProperty(n) &&
|
|
10588
|
+
f = g.fontName, b = [g.fontClass];
|
|
10589
|
+
} else s ? (f = Un[o].fontName, b = [o]) : (f = $t(o, r.fontWeight, r.fontShape), b = [o, r.fontWeight, r.fontShape]);
|
|
10590
|
+
if (ir(n, f, a).metrics)
|
|
10591
|
+
return We(n, f, a, r, i.concat(b));
|
|
10592
|
+
if (Pn.hasOwnProperty(n) && f.slice(0, 10) === "Typewriter") {
|
|
10577
10593
|
for (var x = [], A = 0; A < n.length; A++)
|
|
10578
|
-
x.push(We(n[A],
|
|
10594
|
+
x.push(We(n[A], f, a, r, i.concat(b)));
|
|
10579
10595
|
return Gn(x);
|
|
10580
10596
|
}
|
|
10581
10597
|
}
|
|
@@ -10652,11 +10668,11 @@ var Bt = [
|
|
|
10652
10668
|
}
|
|
10653
10669
|
var c;
|
|
10654
10670
|
if (e.positionType === "top") {
|
|
10655
|
-
for (var
|
|
10656
|
-
var b = e.children[
|
|
10657
|
-
|
|
10671
|
+
for (var h = e.positionData, f = 0; f < e.children.length; f++) {
|
|
10672
|
+
var b = e.children[f];
|
|
10673
|
+
h -= b.type === "kern" ? b.size : b.elem.height + b.elem.depth;
|
|
10658
10674
|
}
|
|
10659
|
-
c =
|
|
10675
|
+
c = h;
|
|
10660
10676
|
} else if (e.positionType === "bottom")
|
|
10661
10677
|
c = -e.positionData;
|
|
10662
10678
|
else {
|
|
@@ -10688,28 +10704,28 @@ var Bt = [
|
|
|
10688
10704
|
n += 2;
|
|
10689
10705
|
var c = Le(["pstrut"], []);
|
|
10690
10706
|
c.style.height = N(n);
|
|
10691
|
-
for (var
|
|
10707
|
+
for (var h = [], f = a, b = a, g = a, x = 0; x < u.length; x++) {
|
|
10692
10708
|
var A = u[x];
|
|
10693
10709
|
if (A.type === "kern")
|
|
10694
10710
|
g += A.size;
|
|
10695
10711
|
else {
|
|
10696
10712
|
var S = A.elem, T = A.wrapperClasses || [], M = A.wrapperStyle || {}, z = Le(T, [c, S], void 0, M);
|
|
10697
|
-
z.style.top = N(-n - g - S.depth), A.marginLeft && (z.style.marginLeft = A.marginLeft), A.marginRight && (z.style.marginRight = A.marginRight),
|
|
10713
|
+
z.style.top = N(-n - g - S.depth), A.marginLeft && (z.style.marginLeft = A.marginLeft), A.marginRight && (z.style.marginRight = A.marginRight), h.push(z), g += S.height + S.depth;
|
|
10698
10714
|
}
|
|
10699
|
-
|
|
10715
|
+
f = Math.min(f, g), b = Math.max(b, g);
|
|
10700
10716
|
}
|
|
10701
|
-
var F = Le(["vlist"],
|
|
10717
|
+
var F = Le(["vlist"], h);
|
|
10702
10718
|
F.style.height = N(b);
|
|
10703
10719
|
var I;
|
|
10704
|
-
if (
|
|
10720
|
+
if (f < 0) {
|
|
10705
10721
|
var V = Le([], []), U = Le(["vlist"], [V]);
|
|
10706
|
-
U.style.height = N(-
|
|
10722
|
+
U.style.height = N(-f);
|
|
10707
10723
|
var te = Le(["vlist-s"], [new Ue("")]);
|
|
10708
10724
|
I = [Le(["vlist-r"], [F, te]), Le(["vlist-r"], [U])];
|
|
10709
10725
|
} else
|
|
10710
10726
|
I = [Le(["vlist-r"], [F])];
|
|
10711
10727
|
var re = Le(["vlist-t"], I);
|
|
10712
|
-
return I.length === 2 && re.classes.push("vlist-t2"), re.height = b, re.depth = -
|
|
10728
|
+
return I.length === 2 && re.classes.push("vlist-t2"), re.height = b, re.depth = -f, re;
|
|
10713
10729
|
}, h3 = (t, e) => {
|
|
10714
10730
|
var r = Le(["mspace"], [], e), u = be(t, e);
|
|
10715
10731
|
return r.style.marginRight = N(u), r;
|
|
@@ -10970,21 +10986,21 @@ var Kt = function(e) {
|
|
|
10970
10986
|
return n;
|
|
10971
10987
|
var c = r;
|
|
10972
10988
|
if (e.length === 1) {
|
|
10973
|
-
var
|
|
10974
|
-
|
|
10989
|
+
var h = e[0];
|
|
10990
|
+
h.type === "sizing" ? c = r.havingSize(h.size) : h.type === "styling" && (c = r.havingStyle(g3[h.style]));
|
|
10975
10991
|
}
|
|
10976
|
-
var
|
|
10992
|
+
var f = b0([a[0] || "leftmost"], [], r), b = b0([a[1] || "rightmost"], [], r), g = u === "root";
|
|
10977
10993
|
return Aa(n, (x, A) => {
|
|
10978
10994
|
var S = A.classes[0], T = x.classes[0];
|
|
10979
10995
|
S === "mbin" && W.contains(v3, T) ? A.classes[0] = "mord" : T === "mbin" && W.contains(b3, S) && (x.classes[0] = "mord");
|
|
10980
10996
|
}, {
|
|
10981
|
-
node:
|
|
10997
|
+
node: f
|
|
10982
10998
|
}, b, g), Aa(n, (x, A) => {
|
|
10983
10999
|
var S = Kr(A), T = Kr(x), M = S && T ? x.hasClass("mtight") ? p3[S][T] : m3[S][T] : null;
|
|
10984
11000
|
if (M)
|
|
10985
11001
|
return E.makeGlue(M, c);
|
|
10986
11002
|
}, {
|
|
10987
|
-
node:
|
|
11003
|
+
node: f
|
|
10988
11004
|
}, b, g), n;
|
|
10989
11005
|
}, Aa = function t(e, r, u, a, n) {
|
|
10990
11006
|
a && e.push(a);
|
|
@@ -10996,11 +11012,11 @@ var Kt = function(e) {
|
|
|
10996
11012
|
}
|
|
10997
11013
|
var c = !s.hasClass("mspace");
|
|
10998
11014
|
if (c) {
|
|
10999
|
-
var
|
|
11000
|
-
|
|
11015
|
+
var h = r(s, u.node);
|
|
11016
|
+
h && (u.insertAfter ? u.insertAfter(h) : (e.unshift(h), i++));
|
|
11001
11017
|
}
|
|
11002
|
-
c ? u.node = s : n && s.hasClass("newline") && (u.node = b0(["leftmost"])), u.insertAfter = /* @__PURE__ */ ((
|
|
11003
|
-
e.splice(
|
|
11018
|
+
c ? u.node = s : n && s.hasClass("newline") && (u.node = b0(["leftmost"])), u.insertAfter = /* @__PURE__ */ ((f) => (b) => {
|
|
11019
|
+
e.splice(f + 1, 0, b), i++;
|
|
11004
11020
|
})(i);
|
|
11005
11021
|
}
|
|
11006
11022
|
a && e.pop();
|
|
@@ -11055,12 +11071,12 @@ function Qr(t, e) {
|
|
|
11055
11071
|
i.length > 0 && n.push(It(i, e));
|
|
11056
11072
|
var c;
|
|
11057
11073
|
r ? (c = It(we(r, e, !0)), c.classes = ["tag"], n.push(c)) : a && n.push(a);
|
|
11058
|
-
var
|
|
11059
|
-
if (
|
|
11060
|
-
var
|
|
11061
|
-
|
|
11074
|
+
var h = b0(["katex-html"], n);
|
|
11075
|
+
if (h.setAttribute("aria-hidden", "true"), c) {
|
|
11076
|
+
var f = c.children[0];
|
|
11077
|
+
f.style.height = N(h.height + h.depth), h.depth && (f.style.verticalAlign = N(-h.depth));
|
|
11062
11078
|
}
|
|
11063
|
-
return
|
|
11079
|
+
return h;
|
|
11064
11080
|
}
|
|
11065
11081
|
function Yn(t) {
|
|
11066
11082
|
return new yt(t);
|
|
@@ -11234,10 +11250,10 @@ var q = {
|
|
|
11234
11250
|
continue;
|
|
11235
11251
|
}
|
|
11236
11252
|
} else if (i.type === "mi" && i.children.length === 1) {
|
|
11237
|
-
var
|
|
11238
|
-
if (
|
|
11239
|
-
var
|
|
11240
|
-
|
|
11253
|
+
var h = i.children[0];
|
|
11254
|
+
if (h instanceof ot && h.text === "̸" && (o.type === "mo" || o.type === "mi" || o.type === "mn")) {
|
|
11255
|
+
var f = o.children[0];
|
|
11256
|
+
f instanceof ot && f.text.length > 0 && (f.text = f.text.slice(0, 1) + "̸" + f.text.slice(1), n.pop());
|
|
11241
11257
|
}
|
|
11242
11258
|
}
|
|
11243
11259
|
}
|
|
@@ -11262,8 +11278,8 @@ function Sa(t, e, r, u, a) {
|
|
|
11262
11278
|
s.setAttribute("encoding", "application/x-tex");
|
|
11263
11279
|
var o = new q.MathNode("semantics", [i, s]), c = new q.MathNode("math", [o]);
|
|
11264
11280
|
c.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), u && c.setAttribute("display", "block");
|
|
11265
|
-
var
|
|
11266
|
-
return E.makeSpan([
|
|
11281
|
+
var h = a ? "katex" : "katex-mathml";
|
|
11282
|
+
return E.makeSpan([h], [c]);
|
|
11267
11283
|
}
|
|
11268
11284
|
var Kn = function(e) {
|
|
11269
11285
|
return new h0({
|
|
@@ -11393,17 +11409,17 @@ var Kn = function(e) {
|
|
|
11393
11409
|
function u() {
|
|
11394
11410
|
var s = 4e5, o = e.label.slice(1);
|
|
11395
11411
|
if (W.contains(["widehat", "widecheck", "widetilde", "utilde"], o)) {
|
|
11396
|
-
var c = e,
|
|
11397
|
-
if (
|
|
11398
|
-
o === "widehat" || o === "widecheck" ? (
|
|
11412
|
+
var c = e, h = E3(c.base), f, b, g;
|
|
11413
|
+
if (h > 5)
|
|
11414
|
+
o === "widehat" || o === "widecheck" ? (f = 420, s = 2364, g = 0.42, b = o + "4") : (f = 312, s = 2340, g = 0.34, b = "tilde4");
|
|
11399
11415
|
else {
|
|
11400
|
-
var x = [1, 1, 2, 2, 3, 3][
|
|
11401
|
-
o === "widehat" || o === "widecheck" ? (s = [0, 1062, 2364, 2364, 2364][x],
|
|
11416
|
+
var x = [1, 1, 2, 2, 3, 3][h];
|
|
11417
|
+
o === "widehat" || o === "widecheck" ? (s = [0, 1062, 2364, 2364, 2364][x], f = [0, 239, 300, 360, 420][x], g = [0, 0.24, 0.3, 0.3, 0.36, 0.42][x], b = o + x) : (s = [0, 600, 1033, 2339, 2340][x], f = [0, 260, 286, 306, 312][x], g = [0, 0.26, 0.286, 0.3, 0.306, 0.34][x], b = "tilde" + x);
|
|
11402
11418
|
}
|
|
11403
11419
|
var A = new T0(b), S = new p0([A], {
|
|
11404
11420
|
width: "100%",
|
|
11405
11421
|
height: N(g),
|
|
11406
|
-
viewBox: "0 0 " + s + " " +
|
|
11422
|
+
viewBox: "0 0 " + s + " " + f,
|
|
11407
11423
|
preserveAspectRatio: "none"
|
|
11408
11424
|
});
|
|
11409
11425
|
return {
|
|
@@ -11473,11 +11489,11 @@ var Kn = function(e) {
|
|
|
11473
11489
|
y2: "0",
|
|
11474
11490
|
"stroke-width": "0.046em"
|
|
11475
11491
|
}));
|
|
11476
|
-
var
|
|
11492
|
+
var h = new p0(c, {
|
|
11477
11493
|
width: "100%",
|
|
11478
11494
|
height: N(s)
|
|
11479
11495
|
});
|
|
11480
|
-
i = E.makeSvgSpan([], [
|
|
11496
|
+
i = E.makeSvgSpan([], [h], n);
|
|
11481
11497
|
}
|
|
11482
11498
|
return i.height = s, i.style.height = N(s), i;
|
|
11483
11499
|
}, v0 = {
|
|
@@ -11507,7 +11523,7 @@ var Au = (t, e) => {
|
|
|
11507
11523
|
var o = W.getBaseElem(r), c = ie(o, e.havingCrampedStyle());
|
|
11508
11524
|
s = xa(c).skew;
|
|
11509
11525
|
}
|
|
11510
|
-
var
|
|
11526
|
+
var h = u.label === "\\c", f = h ? n.height + n.depth : Math.min(n.height, e.fontMetrics().xHeight), b;
|
|
11511
11527
|
if (u.isStretchy)
|
|
11512
11528
|
b = v0.svgSpan(u, e), b = E.makeVList({
|
|
11513
11529
|
positionType: "firstBaseline",
|
|
@@ -11529,9 +11545,9 @@ var Au = (t, e) => {
|
|
|
11529
11545
|
u.label === "\\vec" ? (g = E.staticSvg("vec", e), x = E.svgData.vec[1]) : (g = E.makeOrd({
|
|
11530
11546
|
mode: u.mode,
|
|
11531
11547
|
text: u.label
|
|
11532
|
-
}, e, "textord"), g = xa(g), g.italic = 0, x = g.width,
|
|
11548
|
+
}, e, "textord"), g = xa(g), g.italic = 0, x = g.width, h && (f += g.depth)), b = E.makeSpan(["accent-body"], [g]);
|
|
11533
11549
|
var A = u.label === "\\textcircled";
|
|
11534
|
-
A && (b.classes.push("accent-full"),
|
|
11550
|
+
A && (b.classes.push("accent-full"), f = n.height);
|
|
11535
11551
|
var S = s;
|
|
11536
11552
|
A || (S -= x / 2), b.style.left = N(S), u.label === "\\textcircled" && (b.style.top = ".2em"), b = E.makeVList({
|
|
11537
11553
|
positionType: "firstBaseline",
|
|
@@ -11540,7 +11556,7 @@ var Au = (t, e) => {
|
|
|
11540
11556
|
elem: n
|
|
11541
11557
|
}, {
|
|
11542
11558
|
type: "kern",
|
|
11543
|
-
size: -
|
|
11559
|
+
size: -f
|
|
11544
11560
|
}, {
|
|
11545
11561
|
type: "elem",
|
|
11546
11562
|
elem: b
|
|
@@ -11700,10 +11716,10 @@ P({
|
|
|
11700
11716
|
t.below && (u = e.havingStyle(r.sub()), i = E.wrapFragment(ie(t.below, u, e), e), i.classes.push(n + "-arrow-pad"));
|
|
11701
11717
|
var s = v0.svgSpan(t, e), o = -e.fontMetrics().axisHeight + 0.5 * s.height, c = -e.fontMetrics().axisHeight - 0.5 * s.height - 0.111;
|
|
11702
11718
|
(a.depth > 0.25 || t.label === "\\xleftequilibrium") && (c -= a.depth);
|
|
11703
|
-
var
|
|
11719
|
+
var h;
|
|
11704
11720
|
if (i) {
|
|
11705
|
-
var
|
|
11706
|
-
|
|
11721
|
+
var f = -e.fontMetrics().axisHeight + i.height + 0.5 * s.height + 0.111;
|
|
11722
|
+
h = E.makeVList({
|
|
11707
11723
|
positionType: "individualShift",
|
|
11708
11724
|
children: [{
|
|
11709
11725
|
type: "elem",
|
|
@@ -11716,11 +11732,11 @@ P({
|
|
|
11716
11732
|
}, {
|
|
11717
11733
|
type: "elem",
|
|
11718
11734
|
elem: i,
|
|
11719
|
-
shift:
|
|
11735
|
+
shift: f
|
|
11720
11736
|
}]
|
|
11721
11737
|
}, e);
|
|
11722
11738
|
} else
|
|
11723
|
-
|
|
11739
|
+
h = E.makeVList({
|
|
11724
11740
|
positionType: "individualShift",
|
|
11725
11741
|
children: [{
|
|
11726
11742
|
type: "elem",
|
|
@@ -11732,7 +11748,7 @@ P({
|
|
|
11732
11748
|
shift: o
|
|
11733
11749
|
}]
|
|
11734
11750
|
}, e);
|
|
11735
|
-
return
|
|
11751
|
+
return h.children[0].children[0].children[1].classes.push("svg-align"), E.makeSpan(["mrel", "x-arrow"], [h], e);
|
|
11736
11752
|
},
|
|
11737
11753
|
mathmlBuilder(t, e) {
|
|
11738
11754
|
var r = v0.mathMLnode(t.label);
|
|
@@ -11946,17 +11962,17 @@ function $3(t) {
|
|
|
11946
11962
|
s.body.push(i[o]);
|
|
11947
11963
|
else {
|
|
11948
11964
|
u.push(s), o += 1;
|
|
11949
|
-
var c = Cu(i[o]).text,
|
|
11950
|
-
if (
|
|
11965
|
+
var c = Cu(i[o]).text, h = new Array(2);
|
|
11966
|
+
if (h[0] = {
|
|
11951
11967
|
type: "ordgroup",
|
|
11952
11968
|
mode: "math",
|
|
11953
11969
|
body: []
|
|
11954
|
-
},
|
|
11970
|
+
}, h[1] = {
|
|
11955
11971
|
type: "ordgroup",
|
|
11956
11972
|
mode: "math",
|
|
11957
11973
|
body: []
|
|
11958
11974
|
}, !("=|.".indexOf(c) > -1)) if ("<>AV".indexOf(c) > -1)
|
|
11959
|
-
for (var
|
|
11975
|
+
for (var f = 0; f < 2; f++) {
|
|
11960
11976
|
for (var b = !0, g = o + 1; g < i.length; g++) {
|
|
11961
11977
|
if (L3(i[g], c)) {
|
|
11962
11978
|
b = !1, o = g;
|
|
@@ -11964,14 +11980,14 @@ function $3(t) {
|
|
|
11964
11980
|
}
|
|
11965
11981
|
if (Ma(i[g]))
|
|
11966
11982
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[g]);
|
|
11967
|
-
f
|
|
11983
|
+
h[f].body.push(i[g]);
|
|
11968
11984
|
}
|
|
11969
11985
|
if (b)
|
|
11970
11986
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[o]);
|
|
11971
11987
|
}
|
|
11972
11988
|
else
|
|
11973
11989
|
throw new H('Expected one of "<>AV=|." after @', i[o]);
|
|
11974
|
-
var x = B3(c,
|
|
11990
|
+
var x = B3(c, h, t), A = {
|
|
11975
11991
|
type: "styling",
|
|
11976
11992
|
body: [x],
|
|
11977
11993
|
mode: "math",
|
|
@@ -12351,11 +12367,11 @@ var it = function(e, r, u) {
|
|
|
12351
12367
|
type: "kern",
|
|
12352
12368
|
size: -1 * eu
|
|
12353
12369
|
}, R3 = ["|", "\\lvert", "\\rvert", "\\vert"], N3 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], oi = function(e, r, u, a, n, i) {
|
|
12354
|
-
var s, o, c,
|
|
12355
|
-
s = c =
|
|
12370
|
+
var s, o, c, h, f = "", b = 0;
|
|
12371
|
+
s = c = h = e, o = null;
|
|
12356
12372
|
var g = "Size1-Regular";
|
|
12357
|
-
e === "\\uparrow" ? c =
|
|
12358
|
-
var x = it(s, g, n), A = x.height + x.depth, S = it(c, g, n), T = S.height + S.depth, M = it(
|
|
12373
|
+
e === "\\uparrow" ? c = h = "⏐" : e === "\\Uparrow" ? c = h = "‖" : e === "\\downarrow" ? s = c = "⏐" : e === "\\Downarrow" ? s = c = "‖" : e === "\\updownarrow" ? (s = "\\uparrow", c = "⏐", h = "\\downarrow") : e === "\\Updownarrow" ? (s = "\\Uparrow", c = "‖", h = "\\Downarrow") : W.contains(R3, e) ? (c = "∣", f = "vert", b = 333) : W.contains(N3, e) ? (c = "∥", f = "doublevert", b = 556) : e === "[" || e === "\\lbrack" ? (s = "⎡", c = "⎢", h = "⎣", g = "Size4-Regular", f = "lbrack", b = 667) : e === "]" || e === "\\rbrack" ? (s = "⎤", c = "⎥", h = "⎦", g = "Size4-Regular", f = "rbrack", b = 667) : e === "\\lfloor" || e === "⌊" ? (c = s = "⎢", h = "⎣", g = "Size4-Regular", f = "lfloor", b = 667) : e === "\\lceil" || e === "⌈" ? (s = "⎡", c = h = "⎢", g = "Size4-Regular", f = "lceil", b = 667) : e === "\\rfloor" || e === "⌋" ? (c = s = "⎥", h = "⎦", g = "Size4-Regular", f = "rfloor", b = 667) : e === "\\rceil" || e === "⌉" ? (s = "⎤", c = h = "⎥", g = "Size4-Regular", f = "rceil", b = 667) : e === "(" || e === "\\lparen" ? (s = "⎛", c = "⎜", h = "⎝", g = "Size4-Regular", f = "lparen", b = 875) : e === ")" || e === "\\rparen" ? (s = "⎞", c = "⎟", h = "⎠", g = "Size4-Regular", f = "rparen", b = 875) : e === "\\{" || e === "\\lbrace" ? (s = "⎧", o = "⎨", h = "⎩", c = "⎪", g = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (s = "⎫", o = "⎬", h = "⎭", c = "⎪", g = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (s = "⎧", h = "⎩", c = "⎪", g = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (s = "⎫", h = "⎭", c = "⎪", g = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (s = "⎧", h = "⎭", c = "⎪", g = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (s = "⎫", h = "⎩", c = "⎪", g = "Size4-Regular");
|
|
12374
|
+
var x = it(s, g, n), A = x.height + x.depth, S = it(c, g, n), T = S.height + S.depth, M = it(h, g, n), z = M.height + M.depth, F = 0, I = 1;
|
|
12359
12375
|
if (o !== null) {
|
|
12360
12376
|
var V = it(o, g, n);
|
|
12361
12377
|
F = V.height + V.depth, I = 2;
|
|
@@ -12363,8 +12379,8 @@ var it = function(e, r, u) {
|
|
|
12363
12379
|
var U = A + z + F, te = Math.max(0, Math.ceil((r - U) / (I * T))), re = U + te * I * T, Q = a.fontMetrics().axisHeight;
|
|
12364
12380
|
u && (Q *= a.sizeMultiplier);
|
|
12365
12381
|
var ne = re / 2 - Q, se = [];
|
|
12366
|
-
if (
|
|
12367
|
-
var c0 = re - A - z, Se = Math.round(re * 1e3), _e = G4(
|
|
12382
|
+
if (f.length > 0) {
|
|
12383
|
+
var c0 = re - A - z, Se = Math.round(re * 1e3), _e = G4(f, Math.round(c0 * 1e3)), Je = new T0(f, _e), H0 = (b / 1e3).toFixed(3) + "em", R0 = (Se / 1e3).toFixed(3) + "em", hr = new p0([Je], {
|
|
12368
12384
|
width: H0,
|
|
12369
12385
|
height: R0,
|
|
12370
12386
|
viewBox: "0 0 " + b + " " + Se
|
|
@@ -12374,7 +12390,7 @@ var it = function(e, r, u) {
|
|
|
12374
12390
|
elem: x0
|
|
12375
12391
|
});
|
|
12376
12392
|
} else {
|
|
12377
|
-
if (se.push(Dr(
|
|
12393
|
+
if (se.push(Dr(h, g, n)), se.push(Ht), o === null) {
|
|
12378
12394
|
var y0 = re - A - z + 2 * eu;
|
|
12379
12395
|
se.push(Tr(c, y0, a));
|
|
12380
12396
|
} else {
|
|
@@ -12399,10 +12415,10 @@ var it = function(e, r, u) {
|
|
|
12399
12415
|
});
|
|
12400
12416
|
return E.makeSvgSpan(["hide-tail"], [o], n);
|
|
12401
12417
|
}, V3 = function(e, r) {
|
|
12402
|
-
var u = r.havingBaseSizing(), a = hi("\\surd", e * u.sizeMultiplier, di, u), n = u.sizeMultiplier, i = Math.max(0, r.minRuleThickness - r.fontMetrics().sqrtRuleThickness), s, o = 0, c = 0,
|
|
12403
|
-
return a.type === "small" ? (
|
|
12418
|
+
var u = r.havingBaseSizing(), a = hi("\\surd", e * u.sizeMultiplier, di, u), n = u.sizeMultiplier, i = Math.max(0, r.minRuleThickness - r.fontMetrics().sqrtRuleThickness), s, o = 0, c = 0, h = 0, f;
|
|
12419
|
+
return a.type === "small" ? (h = 1e3 + 1e3 * i + zr, e < 1 ? n = 1 : e < 1.4 && (n = 0.7), o = (1 + i + Fr) / n, c = (1 + i) / n, s = Lr("sqrtMain", o, h, i, r), s.style.minWidth = "0.853em", f = 0.833 / n) : a.type === "large" ? (h = (1e3 + zr) * lt[a.size], c = (lt[a.size] + i) / n, o = (lt[a.size] + i + Fr) / n, s = Lr("sqrtSize" + a.size, o, h, i, r), s.style.minWidth = "1.02em", f = 1 / n) : (o = e + i + Fr, c = e + i, h = Math.floor(1e3 * e + i) + zr, s = Lr("sqrtTall", o, h, i, r), s.style.minWidth = "0.742em", f = 1.056), s.height = c, s.style.height = N(o), {
|
|
12404
12420
|
span: s,
|
|
12405
|
-
advanceWidth:
|
|
12421
|
+
advanceWidth: f,
|
|
12406
12422
|
// Calculate the actual line width.
|
|
12407
12423
|
// This actually should depend on the chosen font -- e.g. \boldmath
|
|
12408
12424
|
// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
|
|
@@ -12496,7 +12512,7 @@ var it = function(e, r, u) {
|
|
|
12496
12512
|
var o = hi(e, r, s, a);
|
|
12497
12513
|
return o.type === "small" ? q3(e, o.style, u, a, n, i) : o.type === "large" ? si(e, o.size, u, a, n, i) : oi(e, r, u, a, n, i);
|
|
12498
12514
|
}, Z3 = function(e, r, u, a, n, i) {
|
|
12499
|
-
var s = a.fontMetrics().axisHeight * a.sizeMultiplier, o = 901, c = 5 / a.fontMetrics().ptPerEm,
|
|
12515
|
+
var s = a.fontMetrics().axisHeight * a.sizeMultiplier, o = 901, c = 5 / a.fontMetrics().ptPerEm, h = Math.max(r - s, u + s), f = Math.max(
|
|
12500
12516
|
// In real TeX, calculations are done using integral values which are
|
|
12501
12517
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
12502
12518
|
// TeX but doesn't here, producing different results. If we wanted to
|
|
@@ -12506,10 +12522,10 @@ var it = function(e, r, u) {
|
|
|
12506
12522
|
// (To see the difference, compare
|
|
12507
12523
|
// x^{x^{\left(\rule{0.1em}{0.68em}\right)}}
|
|
12508
12524
|
// in TeX and KaTeX)
|
|
12509
|
-
|
|
12510
|
-
2 *
|
|
12525
|
+
h / 500 * o,
|
|
12526
|
+
2 * h - c
|
|
12511
12527
|
);
|
|
12512
|
-
return fi(e,
|
|
12528
|
+
return fi(e, f, !0, a, n, i);
|
|
12513
12529
|
}, m0 = {
|
|
12514
12530
|
sqrtImage: V3,
|
|
12515
12531
|
sizedDelim: P3,
|
|
@@ -12669,17 +12685,17 @@ P({
|
|
|
12669
12685
|
var s;
|
|
12670
12686
|
if (t.left === "." ? s = bt(e, ["mopen"]) : s = m0.leftRightDelim(t.left, u, a, e, t.mode, ["mopen"]), r.unshift(s), n)
|
|
12671
12687
|
for (var o = 1; o < r.length; o++) {
|
|
12672
|
-
var c = r[o],
|
|
12673
|
-
|
|
12688
|
+
var c = r[o], h = c.isMiddle;
|
|
12689
|
+
h && (r[o] = m0.leftRightDelim(h.delim, u, a, h.options, t.mode, []));
|
|
12674
12690
|
}
|
|
12675
|
-
var
|
|
12691
|
+
var f;
|
|
12676
12692
|
if (t.right === ".")
|
|
12677
|
-
|
|
12693
|
+
f = bt(e, ["mclose"]);
|
|
12678
12694
|
else {
|
|
12679
12695
|
var b = t.rightColor ? e.withColor(t.rightColor) : e;
|
|
12680
|
-
|
|
12696
|
+
f = m0.leftRightDelim(t.right, u, a, b, t.mode, ["mclose"]);
|
|
12681
12697
|
}
|
|
12682
|
-
return r.push(
|
|
12698
|
+
return r.push(f), E.makeSpan(["minner"], r, e);
|
|
12683
12699
|
},
|
|
12684
12700
|
mathmlBuilder: (t, e) => {
|
|
12685
12701
|
Ta(t);
|
|
@@ -12742,17 +12758,17 @@ var Eu = (t, e) => {
|
|
|
12742
12758
|
}, e), c = be({
|
|
12743
12759
|
number: 0.35,
|
|
12744
12760
|
unit: "ex"
|
|
12745
|
-
}, e),
|
|
12746
|
-
a = a /
|
|
12747
|
-
var
|
|
12748
|
-
r.style.paddingLeft = N(
|
|
12749
|
-
var b = Math.floor(1e3 *
|
|
12761
|
+
}, e), h = e.havingBaseSizing();
|
|
12762
|
+
a = a / h.sizeMultiplier;
|
|
12763
|
+
var f = r.height + r.depth + o + c;
|
|
12764
|
+
r.style.paddingLeft = N(f / 2 + o);
|
|
12765
|
+
var b = Math.floor(1e3 * f * a), g = V4(b), x = new p0([new T0("phase", g)], {
|
|
12750
12766
|
width: "400em",
|
|
12751
12767
|
height: N(b / 1e3),
|
|
12752
12768
|
viewBox: "0 0 400000 " + b,
|
|
12753
12769
|
preserveAspectRatio: "xMinYMin slice"
|
|
12754
12770
|
});
|
|
12755
|
-
n = E.makeSvgSpan(["hide-tail"], [x], e), n.style.height = N(
|
|
12771
|
+
n = E.makeSvgSpan(["hide-tail"], [x], e), n.style.height = N(f), i = r.depth + o + c;
|
|
12756
12772
|
} else {
|
|
12757
12773
|
/cancel/.test(u) ? s || r.classes.push("cancel-pad") : u === "angl" ? r.classes.push("anglpad") : r.classes.push("boxpad");
|
|
12758
12774
|
var A = 0, S = 0, T = 0;
|
|
@@ -13000,8 +13016,8 @@ function F0(t, e, r) {
|
|
|
13000
13016
|
colSeparationType: s,
|
|
13001
13017
|
autoTag: o,
|
|
13002
13018
|
singleRow: c,
|
|
13003
|
-
emptySingleRow:
|
|
13004
|
-
maxNumCols:
|
|
13019
|
+
emptySingleRow: h,
|
|
13020
|
+
maxNumCols: f,
|
|
13005
13021
|
leqno: b
|
|
13006
13022
|
} = e;
|
|
13007
13023
|
if (t.gullet.beginGroup(), c || t.gullet.macros.set("\\cr", "\\\\\\relax"), !i) {
|
|
@@ -13033,14 +13049,14 @@ function F0(t, e, r) {
|
|
|
13033
13049
|
}), x.push(I);
|
|
13034
13050
|
var V = t.fetch().text;
|
|
13035
13051
|
if (V === "&") {
|
|
13036
|
-
if (
|
|
13052
|
+
if (f && x.length === f) {
|
|
13037
13053
|
if (c || s)
|
|
13038
13054
|
throw new H("Too many tab characters: &", t.nextToken);
|
|
13039
13055
|
t.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
13040
13056
|
}
|
|
13041
13057
|
t.consume();
|
|
13042
13058
|
} else if (V === "\\end") {
|
|
13043
|
-
F(), x.length === 1 && I.type === "styling" && I.body[0].body.length === 0 && (A.length > 1 || !
|
|
13059
|
+
F(), x.length === 1 && I.type === "styling" && I.body[0].body.length === 0 && (A.length > 1 || !h) && A.pop(), T.length < A.length + 1 && T.push([]);
|
|
13044
13060
|
break;
|
|
13045
13061
|
} else if (V === "\\\\") {
|
|
13046
13062
|
t.consume();
|
|
@@ -13068,12 +13084,12 @@ function Tu(t) {
|
|
|
13068
13084
|
return t.slice(0, 1) === "d" ? "display" : "text";
|
|
13069
13085
|
}
|
|
13070
13086
|
var o0 = function(e, r) {
|
|
13071
|
-
var u, a, n = e.body.length, i = e.hLinesBeforeRow, s = 0, o = new Array(n), c = [],
|
|
13087
|
+
var u, a, n = e.body.length, i = e.hLinesBeforeRow, s = 0, o = new Array(n), c = [], h = Math.max(
|
|
13072
13088
|
// From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
|
|
13073
13089
|
r.fontMetrics().arrayRuleWidth,
|
|
13074
13090
|
r.minRuleThickness
|
|
13075
13091
|
// User override.
|
|
13076
|
-
),
|
|
13092
|
+
), f = 1 / r.fontMetrics().ptPerEm, b = 5 * f;
|
|
13077
13093
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
13078
13094
|
var g = r.havingStyle(K.SCRIPT).sizeMultiplier;
|
|
13079
13095
|
b = 0.2778 * (g / r.sizeMultiplier);
|
|
@@ -13081,7 +13097,7 @@ var o0 = function(e, r) {
|
|
|
13081
13097
|
var x = e.colSeparationType === "CD" ? be({
|
|
13082
13098
|
number: 3,
|
|
13083
13099
|
unit: "ex"
|
|
13084
|
-
}, r) : 12 *
|
|
13100
|
+
}, r) : 12 * f, A = 3 * f, S = e.arraystretch * x, T = 0.7 * S, M = 0.3 * S, z = 0;
|
|
13085
13101
|
function F(At) {
|
|
13086
13102
|
for (var St = 0; St < At.length; ++St)
|
|
13087
13103
|
St > 0 && (z += 0.25), c.push({
|
|
@@ -13120,7 +13136,7 @@ var o0 = function(e, r) {
|
|
|
13120
13136
|
for (var Ve = c0[Je] || {}, nt = !0; Ve.type === "separator"; ) {
|
|
13121
13137
|
if (nt || (_e = E.makeSpan(["arraycolsep"], []), _e.style.width = N(r.fontMetrics().doubleRuleSep), Se.push(_e)), Ve.separator === "|" || Ve.separator === ":") {
|
|
13122
13138
|
var fr = Ve.separator === "|" ? "solid" : "dashed", N0 = E.makeSpan(["vertical-separator"], [], r);
|
|
13123
|
-
N0.style.height = N(z), N0.style.borderRightWidth = N(
|
|
13139
|
+
N0.style.height = N(z), N0.style.borderRightWidth = N(h), N0.style.borderRightStyle = fr, N0.style.margin = "0 " + N(-h / 2);
|
|
13124
13140
|
var Nu = z - se;
|
|
13125
13141
|
Nu && (N0.style.verticalAlign = N(-Nu)), Se.push(N0);
|
|
13126
13142
|
} else
|
|
@@ -13149,7 +13165,7 @@ var o0 = function(e, r) {
|
|
|
13149
13165
|
}
|
|
13150
13166
|
}
|
|
13151
13167
|
if (o = E.makeSpan(["mtable"], Se), c.length > 0) {
|
|
13152
|
-
for (var $i = E.makeLineSpan("hline", r,
|
|
13168
|
+
for (var $i = E.makeLineSpan("hline", r, h), Ii = E.makeLineSpan("hdashline", r, h), mr = [{
|
|
13153
13169
|
type: "elem",
|
|
13154
13170
|
elem: o,
|
|
13155
13171
|
shift: 0
|
|
@@ -13187,26 +13203,26 @@ var o0 = function(e, r) {
|
|
|
13187
13203
|
o.push(new q.MathNode("mtd", [de(s[c], r)]));
|
|
13188
13204
|
e.tags && e.tags[i] && (o.unshift(a), o.push(a), e.leqno ? o.unshift(n) : o.push(n)), u.push(new q.MathNode("mtr", o));
|
|
13189
13205
|
}
|
|
13190
|
-
var
|
|
13191
|
-
|
|
13206
|
+
var h = new q.MathNode("mtable", u), f = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
13207
|
+
h.setAttribute("rowspacing", N(f));
|
|
13192
13208
|
var b = "", g = "";
|
|
13193
13209
|
if (e.cols && e.cols.length > 0) {
|
|
13194
13210
|
var x = e.cols, A = "", S = !1, T = 0, M = x.length;
|
|
13195
13211
|
x[0].type === "separator" && (b += "top ", T = 1), x[x.length - 1].type === "separator" && (b += "bottom ", M -= 1);
|
|
13196
13212
|
for (var z = T; z < M; z++)
|
|
13197
13213
|
x[z].type === "align" ? (g += X3[x[z].align], S && (A += "none "), S = !0) : x[z].type === "separator" && S && (A += x[z].separator === "|" ? "solid " : "dashed ", S = !1);
|
|
13198
|
-
|
|
13214
|
+
h.setAttribute("columnalign", g.trim()), /[sd]/.test(A) && h.setAttribute("columnlines", A.trim());
|
|
13199
13215
|
}
|
|
13200
13216
|
if (e.colSeparationType === "align") {
|
|
13201
13217
|
for (var F = e.cols || [], I = "", V = 1; V < F.length; V++)
|
|
13202
13218
|
I += V % 2 ? "0em " : "1em ";
|
|
13203
|
-
|
|
13204
|
-
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ?
|
|
13219
|
+
h.setAttribute("columnspacing", I.trim());
|
|
13220
|
+
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? h.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? h.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? h.setAttribute("columnspacing", "0.5em") : h.setAttribute("columnspacing", "1em");
|
|
13205
13221
|
var U = "", te = e.hLinesBeforeRow;
|
|
13206
13222
|
b += te[0].length > 0 ? "left " : "", b += te[te.length - 1].length > 0 ? "right " : "";
|
|
13207
13223
|
for (var re = 1; re < te.length - 1; re++)
|
|
13208
13224
|
U += te[re].length === 0 ? "none " : te[re][0] ? "dashed " : "solid ";
|
|
13209
|
-
return /[sd]/.test(U) &&
|
|
13225
|
+
return /[sd]/.test(U) && h.setAttribute("rowlines", U.trim()), b !== "" && (h = new q.MathNode("menclose", [h]), h.setAttribute("notation", b.trim())), e.arraystretch && e.arraystretch < 1 && (h = new q.MathNode("mstyle", [h]), h.setAttribute("scriptlevel", "1")), h;
|
|
13210
13226
|
}, bi = function(e, r) {
|
|
13211
13227
|
e.envName.indexOf("ed") === -1 && cr(e);
|
|
13212
13228
|
var u = [], a = e.envName.indexOf("at") > -1 ? "alignat" : "align", n = e.envName === "split", i = F0(e.parser, {
|
|
@@ -13223,11 +13239,11 @@ var o0 = function(e, r) {
|
|
|
13223
13239
|
body: []
|
|
13224
13240
|
};
|
|
13225
13241
|
if (r[0] && r[0].type === "ordgroup") {
|
|
13226
|
-
for (var
|
|
13227
|
-
var b = ue(r[0].body[
|
|
13228
|
-
|
|
13242
|
+
for (var h = "", f = 0; f < r[0].body.length; f++) {
|
|
13243
|
+
var b = ue(r[0].body[f], "textord");
|
|
13244
|
+
h += b.text;
|
|
13229
13245
|
}
|
|
13230
|
-
s = Number(
|
|
13246
|
+
s = Number(h), o = s * 2;
|
|
13231
13247
|
}
|
|
13232
13248
|
var g = !o;
|
|
13233
13249
|
i.body.forEach(function(T) {
|
|
@@ -13536,16 +13552,16 @@ P({
|
|
|
13536
13552
|
var s = Fa[n], {
|
|
13537
13553
|
args: o,
|
|
13538
13554
|
optArgs: c
|
|
13539
|
-
} = r.parseArguments("\\begin{" + n + "}", s),
|
|
13555
|
+
} = r.parseArguments("\\begin{" + n + "}", s), h = {
|
|
13540
13556
|
mode: r.mode,
|
|
13541
13557
|
envName: n,
|
|
13542
13558
|
parser: r
|
|
13543
|
-
},
|
|
13559
|
+
}, f = s.handler(h, o, c);
|
|
13544
13560
|
r.expect("\\end", !1);
|
|
13545
13561
|
var b = r.nextToken, g = ue(r.parseFunction(), "environment");
|
|
13546
13562
|
if (g.name !== n)
|
|
13547
13563
|
throw new H("Mismatch: \\begin{" + n + "} matched by \\end{" + g.name + "}", b);
|
|
13548
|
-
return
|
|
13564
|
+
return f;
|
|
13549
13565
|
}
|
|
13550
13566
|
return {
|
|
13551
13567
|
type: "environment",
|
|
@@ -13671,15 +13687,15 @@ var xi = (t, e) => {
|
|
|
13671
13687
|
i.height = i.height < s ? s : i.height, i.depth = i.depth < o ? o : i.depth;
|
|
13672
13688
|
}
|
|
13673
13689
|
n = e.havingStyle(a);
|
|
13674
|
-
var c = ie(t.denom, n, e),
|
|
13675
|
-
t.hasBarLine ? (t.barSize ? (
|
|
13690
|
+
var c = ie(t.denom, n, e), h, f, b;
|
|
13691
|
+
t.hasBarLine ? (t.barSize ? (f = be(t.barSize, e), h = E.makeLineSpan("frac-line", e, f)) : h = E.makeLineSpan("frac-line", e), f = h.height, b = h.height) : (h = null, f = 0, b = e.fontMetrics().defaultRuleThickness);
|
|
13676
13692
|
var g, x, A;
|
|
13677
|
-
r.size === K.DISPLAY.size || t.size === "display" ? (g = e.fontMetrics().num1,
|
|
13693
|
+
r.size === K.DISPLAY.size || t.size === "display" ? (g = e.fontMetrics().num1, f > 0 ? x = 3 * b : x = 7 * b, A = e.fontMetrics().denom1) : (f > 0 ? (g = e.fontMetrics().num2, x = b) : (g = e.fontMetrics().num3, x = 3 * b), A = e.fontMetrics().denom2);
|
|
13678
13694
|
var S;
|
|
13679
|
-
if (
|
|
13695
|
+
if (h) {
|
|
13680
13696
|
var M = e.fontMetrics().axisHeight;
|
|
13681
|
-
g - i.depth - (M + 0.5 *
|
|
13682
|
-
var z = -(M - 0.5 *
|
|
13697
|
+
g - i.depth - (M + 0.5 * f) < x && (g += x - (g - i.depth - (M + 0.5 * f))), M - 0.5 * f - (c.height - A) < x && (A += x - (M - 0.5 * f - (c.height - A)));
|
|
13698
|
+
var z = -(M - 0.5 * f);
|
|
13683
13699
|
S = E.makeVList({
|
|
13684
13700
|
positionType: "individualShift",
|
|
13685
13701
|
children: [{
|
|
@@ -13688,7 +13704,7 @@ var xi = (t, e) => {
|
|
|
13688
13704
|
shift: A
|
|
13689
13705
|
}, {
|
|
13690
13706
|
type: "elem",
|
|
13691
|
-
elem:
|
|
13707
|
+
elem: h,
|
|
13692
13708
|
shift: z
|
|
13693
13709
|
}, {
|
|
13694
13710
|
type: "elem",
|
|
@@ -13897,8 +13913,8 @@ P({
|
|
|
13897
13913
|
handler(t, e) {
|
|
13898
13914
|
var {
|
|
13899
13915
|
parser: r
|
|
13900
|
-
} = t, u = e[4], a = e[5], n = Kt(e[0]), i = n.type === "atom" && n.family === "open" ? $a(n.text) : null, s = Kt(e[1]), o = s.type === "atom" && s.family === "close" ? $a(s.text) : null, c = ue(e[2], "size"),
|
|
13901
|
-
c.isBlank ?
|
|
13916
|
+
} = t, u = e[4], a = e[5], n = Kt(e[0]), i = n.type === "atom" && n.family === "open" ? $a(n.text) : null, s = Kt(e[1]), o = s.type === "atom" && s.family === "close" ? $a(s.text) : null, c = ue(e[2], "size"), h, f = null;
|
|
13917
|
+
c.isBlank ? h = !0 : (f = c.value, h = f.number > 0);
|
|
13902
13918
|
var b = "auto", g = e[3];
|
|
13903
13919
|
if (g.type === "ordgroup") {
|
|
13904
13920
|
if (g.body.length > 0) {
|
|
@@ -13913,8 +13929,8 @@ P({
|
|
|
13913
13929
|
numer: u,
|
|
13914
13930
|
denom: a,
|
|
13915
13931
|
continued: !1,
|
|
13916
|
-
hasBarLine:
|
|
13917
|
-
barSize:
|
|
13932
|
+
hasBarLine: h,
|
|
13933
|
+
barSize: f,
|
|
13918
13934
|
leftDelim: i,
|
|
13919
13935
|
rightDelim: o,
|
|
13920
13936
|
size: b
|
|
@@ -14192,11 +14208,11 @@ P({
|
|
|
14192
14208
|
};
|
|
14193
14209
|
break;
|
|
14194
14210
|
case "\\htmlData": {
|
|
14195
|
-
for (var c = n.split(","),
|
|
14196
|
-
var
|
|
14197
|
-
if (
|
|
14211
|
+
for (var c = n.split(","), h = 0; h < c.length; h++) {
|
|
14212
|
+
var f = c[h].split("=");
|
|
14213
|
+
if (f.length !== 2)
|
|
14198
14214
|
throw new H("Error parsing key-value for \\htmlData");
|
|
14199
|
-
o["data-" +
|
|
14215
|
+
o["data-" + f[0].trim()] = f[1].trim();
|
|
14200
14216
|
}
|
|
14201
14217
|
s = {
|
|
14202
14218
|
command: "\\htmlData",
|
|
@@ -14289,11 +14305,11 @@ P({
|
|
|
14289
14305
|
unit: "em"
|
|
14290
14306
|
}, s = "";
|
|
14291
14307
|
if (r[0])
|
|
14292
|
-
for (var o = ue(r[0], "raw").string, c = o.split(","),
|
|
14293
|
-
var
|
|
14294
|
-
if (
|
|
14295
|
-
var b =
|
|
14296
|
-
switch (
|
|
14308
|
+
for (var o = ue(r[0], "raw").string, c = o.split(","), h = 0; h < c.length; h++) {
|
|
14309
|
+
var f = c[h].split("=");
|
|
14310
|
+
if (f.length === 2) {
|
|
14311
|
+
var b = f[1].trim();
|
|
14312
|
+
switch (f[0].trim()) {
|
|
14297
14313
|
case "alt":
|
|
14298
14314
|
s = b;
|
|
14299
14315
|
break;
|
|
@@ -14307,7 +14323,7 @@ P({
|
|
|
14307
14323
|
i = Br(b);
|
|
14308
14324
|
break;
|
|
14309
14325
|
default:
|
|
14310
|
-
throw new H("Invalid key: '" +
|
|
14326
|
+
throw new H("Invalid key: '" + f[0] + "' in \\includegraphics.");
|
|
14311
14327
|
}
|
|
14312
14328
|
}
|
|
14313
14329
|
}
|
|
@@ -14497,17 +14513,17 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14497
14513
|
t = E.makeSpan([], [t]);
|
|
14498
14514
|
var s = r && W.isCharacterBox(r), o, c;
|
|
14499
14515
|
if (e) {
|
|
14500
|
-
var
|
|
14516
|
+
var h = ie(e, u.havingStyle(a.sup()), u);
|
|
14501
14517
|
c = {
|
|
14502
|
-
elem:
|
|
14503
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 -
|
|
14518
|
+
elem: h,
|
|
14519
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 - h.depth)
|
|
14504
14520
|
};
|
|
14505
14521
|
}
|
|
14506
14522
|
if (r) {
|
|
14507
|
-
var
|
|
14523
|
+
var f = ie(r, u.havingStyle(a.sub()), u);
|
|
14508
14524
|
o = {
|
|
14509
|
-
elem:
|
|
14510
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 -
|
|
14525
|
+
elem: f,
|
|
14526
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 - f.height)
|
|
14511
14527
|
};
|
|
14512
14528
|
}
|
|
14513
14529
|
var b;
|
|
@@ -14596,9 +14612,9 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14596
14612
|
i.size === K.DISPLAY.size && n.symbol && !W.contains(wi, n.name) && (s = !0);
|
|
14597
14613
|
var o;
|
|
14598
14614
|
if (n.symbol) {
|
|
14599
|
-
var c = s ? "Size2-Regular" : "Size1-Regular",
|
|
14600
|
-
if ((n.name === "\\oiint" || n.name === "\\oiiint") && (
|
|
14601
|
-
var
|
|
14615
|
+
var c = s ? "Size2-Regular" : "Size1-Regular", h = "";
|
|
14616
|
+
if ((n.name === "\\oiint" || n.name === "\\oiiint") && (h = n.name.slice(1), n.name = h === "oiint" ? "\\iint" : "\\iiint"), o = E.makeSymbol(n.name, c, "math", e, ["mop", "op-symbol", s ? "large-op" : "small-op"]), h.length > 0) {
|
|
14617
|
+
var f = o.italic, b = E.staticSvg(h + "Size" + (s ? "2" : "1"), e);
|
|
14602
14618
|
o = E.makeVList({
|
|
14603
14619
|
positionType: "individualShift",
|
|
14604
14620
|
children: [{
|
|
@@ -14610,7 +14626,7 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14610
14626
|
elem: b,
|
|
14611
14627
|
shift: s ? 0.08 : 0
|
|
14612
14628
|
}]
|
|
14613
|
-
}, e), n.name = "\\" +
|
|
14629
|
+
}, e), n.name = "\\" + h, o.classes.unshift("mop"), o.italic = f;
|
|
14614
14630
|
}
|
|
14615
14631
|
} else if (n.body) {
|
|
14616
14632
|
var g = we(n.body, e, !0);
|
|
@@ -14776,16 +14792,16 @@ var _i = (t, e) => {
|
|
|
14776
14792
|
t.type === "supsub" ? (r = t.sup, u = t.sub, n = ue(t.base, "operatorname"), a = !0) : n = ue(t, "operatorname");
|
|
14777
14793
|
var i;
|
|
14778
14794
|
if (n.body.length > 0) {
|
|
14779
|
-
for (var s = n.body.map((
|
|
14780
|
-
var b =
|
|
14795
|
+
for (var s = n.body.map((f) => {
|
|
14796
|
+
var b = f.text;
|
|
14781
14797
|
return typeof b == "string" ? {
|
|
14782
14798
|
type: "textord",
|
|
14783
|
-
mode:
|
|
14799
|
+
mode: f.mode,
|
|
14784
14800
|
text: b
|
|
14785
|
-
} :
|
|
14801
|
+
} : f;
|
|
14786
14802
|
}), o = we(s, e.withFont("mathrm"), !0), c = 0; c < o.length; c++) {
|
|
14787
|
-
var
|
|
14788
|
-
|
|
14803
|
+
var h = o[c];
|
|
14804
|
+
h instanceof Ue && (h.text = h.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
14789
14805
|
}
|
|
14790
14806
|
i = E.makeSpan(["mop"], o, e);
|
|
14791
14807
|
} else
|
|
@@ -14814,7 +14830,7 @@ var _i = (t, e) => {
|
|
|
14814
14830
|
u = !1;
|
|
14815
14831
|
}
|
|
14816
14832
|
if (u) {
|
|
14817
|
-
var s = r.map((
|
|
14833
|
+
var s = r.map((h) => h.toText()).join("");
|
|
14818
14834
|
r = [new q.TextNode(s)];
|
|
14819
14835
|
}
|
|
14820
14836
|
var o = new q.MathNode("mi", r);
|
|
@@ -15131,11 +15147,11 @@ P({
|
|
|
15131
15147
|
}
|
|
15132
15148
|
else
|
|
15133
15149
|
a = !0, n = !0;
|
|
15134
|
-
var
|
|
15150
|
+
var h = e[0];
|
|
15135
15151
|
return {
|
|
15136
15152
|
type: "smash",
|
|
15137
15153
|
mode: u.mode,
|
|
15138
|
-
body:
|
|
15154
|
+
body: h,
|
|
15139
15155
|
smashHeight: a,
|
|
15140
15156
|
smashDepth: n
|
|
15141
15157
|
};
|
|
@@ -15190,11 +15206,11 @@ P({
|
|
|
15190
15206
|
var i = a + n / 4, s = r.height + r.depth + i + a, {
|
|
15191
15207
|
span: o,
|
|
15192
15208
|
ruleWidth: c,
|
|
15193
|
-
advanceWidth:
|
|
15194
|
-
} = m0.sqrtImage(s, e),
|
|
15195
|
-
|
|
15209
|
+
advanceWidth: h
|
|
15210
|
+
} = m0.sqrtImage(s, e), f = o.height - c;
|
|
15211
|
+
f > r.height + r.depth + i && (i = (i + f - r.height - r.depth) / 2);
|
|
15196
15212
|
var b = o.height - r.height - i - c;
|
|
15197
|
-
r.style.paddingLeft = N(
|
|
15213
|
+
r.style.paddingLeft = N(h);
|
|
15198
15214
|
var g = E.makeVList({
|
|
15199
15215
|
positionType: "firstBaseline",
|
|
15200
15216
|
children: [{
|
|
@@ -15306,14 +15322,14 @@ q0({
|
|
|
15306
15322
|
base: u,
|
|
15307
15323
|
sup: a,
|
|
15308
15324
|
sub: n
|
|
15309
|
-
} = t, i = ie(u, e), s, o, c = e.fontMetrics(),
|
|
15325
|
+
} = t, i = ie(u, e), s, o, c = e.fontMetrics(), h = 0, f = 0, b = u && W.isCharacterBox(u);
|
|
15310
15326
|
if (a) {
|
|
15311
15327
|
var g = e.havingStyle(e.style.sup());
|
|
15312
|
-
s = ie(a, g, e), b || (
|
|
15328
|
+
s = ie(a, g, e), b || (h = i.height - g.fontMetrics().supDrop * g.sizeMultiplier / e.sizeMultiplier);
|
|
15313
15329
|
}
|
|
15314
15330
|
if (n) {
|
|
15315
15331
|
var x = e.havingStyle(e.style.sub());
|
|
15316
|
-
o = ie(n, x, e), b || (
|
|
15332
|
+
o = ie(n, x, e), b || (f = i.depth + x.fontMetrics().subDrop * x.sizeMultiplier / e.sizeMultiplier);
|
|
15317
15333
|
}
|
|
15318
15334
|
var A;
|
|
15319
15335
|
e.style === K.DISPLAY ? A = c.sup1 : e.style.cramped ? A = c.sup3 : A = c.sup2;
|
|
@@ -15324,23 +15340,23 @@ q0({
|
|
|
15324
15340
|
}
|
|
15325
15341
|
var F;
|
|
15326
15342
|
if (s && o) {
|
|
15327
|
-
|
|
15343
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), f = Math.max(f, c.sub2);
|
|
15328
15344
|
var I = c.defaultRuleThickness, V = 4 * I;
|
|
15329
|
-
if (
|
|
15330
|
-
|
|
15331
|
-
var U = 0.8 * c.xHeight - (
|
|
15332
|
-
U > 0 && (
|
|
15345
|
+
if (h - s.depth - (o.height - f) < V) {
|
|
15346
|
+
f = V - (h - s.depth) + o.height;
|
|
15347
|
+
var U = 0.8 * c.xHeight - (h - s.depth);
|
|
15348
|
+
U > 0 && (h += U, f -= U);
|
|
15333
15349
|
}
|
|
15334
15350
|
var te = [{
|
|
15335
15351
|
type: "elem",
|
|
15336
15352
|
elem: o,
|
|
15337
|
-
shift:
|
|
15353
|
+
shift: f,
|
|
15338
15354
|
marginRight: T,
|
|
15339
15355
|
marginLeft: M
|
|
15340
15356
|
}, {
|
|
15341
15357
|
type: "elem",
|
|
15342
15358
|
elem: s,
|
|
15343
|
-
shift: -
|
|
15359
|
+
shift: -h,
|
|
15344
15360
|
marginRight: T
|
|
15345
15361
|
}];
|
|
15346
15362
|
F = E.makeVList({
|
|
@@ -15348,7 +15364,7 @@ q0({
|
|
|
15348
15364
|
children: te
|
|
15349
15365
|
}, e);
|
|
15350
15366
|
} else if (o) {
|
|
15351
|
-
|
|
15367
|
+
f = Math.max(f, c.sub1, o.height - 0.8 * c.xHeight);
|
|
15352
15368
|
var re = [{
|
|
15353
15369
|
type: "elem",
|
|
15354
15370
|
elem: o,
|
|
@@ -15357,13 +15373,13 @@ q0({
|
|
|
15357
15373
|
}];
|
|
15358
15374
|
F = E.makeVList({
|
|
15359
15375
|
positionType: "shift",
|
|
15360
|
-
positionData:
|
|
15376
|
+
positionData: f,
|
|
15361
15377
|
children: re
|
|
15362
15378
|
}, e);
|
|
15363
15379
|
} else if (s)
|
|
15364
|
-
|
|
15380
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), F = E.makeVList({
|
|
15365
15381
|
positionType: "shift",
|
|
15366
|
-
positionData: -
|
|
15382
|
+
positionData: -h,
|
|
15367
15383
|
children: [{
|
|
15368
15384
|
type: "elem",
|
|
15369
15385
|
elem: s,
|
|
@@ -16258,10 +16274,10 @@ p("\\Ket", "\\left|#1\\right\\rangle");
|
|
|
16258
16274
|
var Mi = (t) => (e) => {
|
|
16259
16275
|
var r = e.consumeArg().tokens, u = e.consumeArg().tokens, a = e.consumeArg().tokens, n = e.consumeArg().tokens, i = e.macros.get("|"), s = e.macros.get("\\|");
|
|
16260
16276
|
e.macros.beginGroup();
|
|
16261
|
-
var o = (
|
|
16277
|
+
var o = (f) => (b) => {
|
|
16262
16278
|
t && (b.macros.set("|", i), a.length && b.macros.set("\\|", s));
|
|
16263
|
-
var g =
|
|
16264
|
-
if (!
|
|
16279
|
+
var g = f;
|
|
16280
|
+
if (!f && a.length) {
|
|
16265
16281
|
var x = b.future();
|
|
16266
16282
|
x.text === "|" && (b.popToken(), g = !0);
|
|
16267
16283
|
}
|
|
@@ -16271,14 +16287,14 @@ var Mi = (t) => (e) => {
|
|
|
16271
16287
|
};
|
|
16272
16288
|
};
|
|
16273
16289
|
e.macros.set("|", o(!1)), a.length && e.macros.set("\\|", o(!0));
|
|
16274
|
-
var c = e.consumeArg().tokens,
|
|
16290
|
+
var c = e.consumeArg().tokens, h = e.expandTokens([
|
|
16275
16291
|
...n,
|
|
16276
16292
|
...c,
|
|
16277
16293
|
...r
|
|
16278
16294
|
// reversed
|
|
16279
16295
|
]);
|
|
16280
16296
|
return e.macros.endGroup(), {
|
|
16281
|
-
tokens:
|
|
16297
|
+
tokens: h.reverse(),
|
|
16282
16298
|
numArgs: 0
|
|
16283
16299
|
};
|
|
16284
16300
|
};
|
|
@@ -16623,11 +16639,11 @@ class d6 {
|
|
|
16623
16639
|
for (var s = new ja(a, this.settings), o = [], c = s.lex(); c.text !== "EOF"; )
|
|
16624
16640
|
o.push(c), c = s.lex();
|
|
16625
16641
|
o.reverse();
|
|
16626
|
-
var
|
|
16642
|
+
var h = {
|
|
16627
16643
|
tokens: o,
|
|
16628
16644
|
numArgs: n
|
|
16629
16645
|
};
|
|
16630
|
-
return
|
|
16646
|
+
return h;
|
|
16631
16647
|
}
|
|
16632
16648
|
return a;
|
|
16633
16649
|
}
|
|
@@ -17332,14 +17348,14 @@ class dr {
|
|
|
17332
17348
|
body: o
|
|
17333
17349
|
};
|
|
17334
17350
|
} else if (Rt[n.text]) {
|
|
17335
|
-
var c = Za.test(n.text),
|
|
17336
|
-
for (
|
|
17337
|
-
var
|
|
17338
|
-
if (!Rt[
|
|
17351
|
+
var c = Za.test(n.text), h = [];
|
|
17352
|
+
for (h.push(new je(Rt[n.text])), this.consume(); ; ) {
|
|
17353
|
+
var f = this.fetch().text;
|
|
17354
|
+
if (!Rt[f] || Za.test(f) !== c)
|
|
17339
17355
|
break;
|
|
17340
|
-
|
|
17356
|
+
h.unshift(new je(Rt[f])), this.consume();
|
|
17341
17357
|
}
|
|
17342
|
-
var b = this.subparse(
|
|
17358
|
+
var b = this.subparse(h);
|
|
17343
17359
|
c ? a = {
|
|
17344
17360
|
type: "ordgroup",
|
|
17345
17361
|
mode: "math",
|
|
@@ -17663,11 +17679,11 @@ class dr {
|
|
|
17663
17679
|
this.settings.strict && this.mode === "math" && Yr.indexOf(r) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + r[0] + '" used in math mode', e);
|
|
17664
17680
|
var s = fe[this.mode][r].group, o = He.range(e), c;
|
|
17665
17681
|
if (J4.hasOwnProperty(s)) {
|
|
17666
|
-
var
|
|
17682
|
+
var h = s;
|
|
17667
17683
|
c = {
|
|
17668
17684
|
type: "atom",
|
|
17669
17685
|
mode: this.mode,
|
|
17670
|
-
family:
|
|
17686
|
+
family: h,
|
|
17671
17687
|
loc: o,
|
|
17672
17688
|
text: r
|
|
17673
17689
|
};
|
|
@@ -17689,8 +17705,8 @@ class dr {
|
|
|
17689
17705
|
else
|
|
17690
17706
|
return null;
|
|
17691
17707
|
if (this.consume(), n)
|
|
17692
|
-
for (var
|
|
17693
|
-
var b = n[0][
|
|
17708
|
+
for (var f = 0; f < n[0].length; f++) {
|
|
17709
|
+
var b = n[0][f];
|
|
17694
17710
|
if (!qr[b])
|
|
17695
17711
|
throw new H("Unknown accent ' " + b + "'", e);
|
|
17696
17712
|
var g = qr[b][this.mode] || qr[b].text;
|
|
@@ -17917,7 +17933,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
17917
17933
|
"bg",
|
|
17918
17934
|
e.type + "dark"
|
|
17919
17935
|
)} bottom-0 w-0 left-1/2 h-full -translate-x-1/2 transition-all ease-in-out duration-300 group-hover:w-[105%] -z-[1] group-focus:w-[105%]`), { url: a, title: n, intentions: i, mandateLevel: s, hideIcon: o } = ae(e);
|
|
17920
|
-
return (c,
|
|
17936
|
+
return (c, h) => (_(), X(ze, {
|
|
17921
17937
|
title: c.labelCard,
|
|
17922
17938
|
icon: r.value,
|
|
17923
17939
|
flat: "",
|
|
@@ -18011,14 +18027,14 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18011
18027
|
}) }
|
|
18012
18028
|
},
|
|
18013
18029
|
setup(t) {
|
|
18014
|
-
const e = t, r = L(() => !(e.cover === B6 || e.cover.trim().length === 0)), { title: u, intentions: a, cover: n, hideCover: i, version: s, labelCard: o, hideIcon: c, mandateLevel:
|
|
18030
|
+
const e = t, r = L(() => !(e.cover === B6 || e.cover.trim().length === 0)), { title: u, intentions: a, cover: n, hideCover: i, version: s, labelCard: o, hideIcon: c, mandateLevel: h, url: f } = ae(e);
|
|
18015
18031
|
return (b, g) => (_(), X(ze, {
|
|
18016
18032
|
title: v(o),
|
|
18017
18033
|
icon: v(fa),
|
|
18018
18034
|
flat: "",
|
|
18019
18035
|
type: b.type,
|
|
18020
18036
|
hideIcon: v(c),
|
|
18021
|
-
mandateLevel: v(
|
|
18037
|
+
mandateLevel: v(h)
|
|
18022
18038
|
}, Te({
|
|
18023
18039
|
content: O(() => [
|
|
18024
18040
|
w("div", M6, [
|
|
@@ -18051,12 +18067,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18051
18067
|
_: 1
|
|
18052
18068
|
})) : R("", !0)
|
|
18053
18069
|
]),
|
|
18054
|
-
v(
|
|
18070
|
+
v(f) ? (_(), X(Be, {
|
|
18055
18071
|
key: 0,
|
|
18056
18072
|
rounded: "",
|
|
18057
18073
|
type: "base",
|
|
18058
18074
|
prependIcon: v($n),
|
|
18059
|
-
href: v(
|
|
18075
|
+
href: v(f)
|
|
18060
18076
|
}, {
|
|
18061
18077
|
default: O(() => [
|
|
18062
18078
|
ce(B(b.labels.acceder), 1)
|
|
@@ -18183,7 +18199,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18183
18199
|
i.hasRoute("glossary") && i.push({ path: "/glossary", query: { word: x } });
|
|
18184
18200
|
}, o = L(() => e.domain === "null" ? null : e.domain), c = () => {
|
|
18185
18201
|
r.value = !r.value;
|
|
18186
|
-
}, { term:
|
|
18202
|
+
}, { term: h, graminfo: f, labels: b, src: g } = ae(e);
|
|
18187
18203
|
return (x, A) => (_(), D(xe, null, [
|
|
18188
18204
|
w("span", {
|
|
18189
18205
|
onClick: c,
|
|
@@ -18207,8 +18223,8 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18207
18223
|
w("div", N6, [
|
|
18208
18224
|
w("div", null, [
|
|
18209
18225
|
w("h3", V6, [
|
|
18210
|
-
ce(B(v(
|
|
18211
|
-
w("span", O6, B(v(
|
|
18226
|
+
ce(B(v(h)) + " ", 1),
|
|
18227
|
+
w("span", O6, B(v(f)), 1)
|
|
18212
18228
|
]),
|
|
18213
18229
|
u.value ? (_(), D("h4", P6, B(u.value), 1)) : R("", !0)
|
|
18214
18230
|
]),
|
|
@@ -18321,22 +18337,22 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18321
18337
|
setup(t) {
|
|
18322
18338
|
const e = t, r = le(!0), u = le();
|
|
18323
18339
|
et(() => {
|
|
18324
|
-
var
|
|
18325
|
-
r.value && (
|
|
18340
|
+
var f = u.value;
|
|
18341
|
+
r.value && (f.style.maxHeight = f.scrollHeight + "px");
|
|
18326
18342
|
});
|
|
18327
18343
|
function a() {
|
|
18328
18344
|
r.value = !r.value;
|
|
18329
|
-
var
|
|
18330
|
-
|
|
18345
|
+
var f = u.value;
|
|
18346
|
+
f.style.maxHeight ? f.style.maxHeight = null : f.style.maxHeight = f.scrollHeight + "px", f.style.transition || (f.style.transition = "max-height 0.2s ease-out");
|
|
18331
18347
|
}
|
|
18332
|
-
const n = L(() => e.event.start_date ? c(e.event.start_date) : null), i = L(() => e.event.end_date ? c(e.event.end_date) : null), s = L(() => e.event.media.url.trim() !== "" ? e.event.media.url : null), o = L(() => e.event.tag ? Qt[e.event.tag.color] : Qt.noTag), c = (
|
|
18333
|
-
const b =
|
|
18348
|
+
const n = L(() => e.event.start_date ? c(e.event.start_date) : null), i = L(() => e.event.end_date ? c(e.event.end_date) : null), s = L(() => e.event.media.url.trim() !== "" ? e.event.media.url : null), o = L(() => e.event.tag ? Qt[e.event.tag.color] : Qt.noTag), c = (f) => {
|
|
18349
|
+
const b = f.day ? `${f.day}/` : "", g = f.month ? `${f.month}/` : "", x = f.year, A = f.hour, S = f.minute ? `:${f.minute}` : "";
|
|
18334
18350
|
return {
|
|
18335
18351
|
date: b + g + x,
|
|
18336
18352
|
hour: A + S
|
|
18337
18353
|
};
|
|
18338
|
-
}, { event:
|
|
18339
|
-
return (
|
|
18354
|
+
}, { event: h } = ae(e);
|
|
18355
|
+
return (f, b) => {
|
|
18340
18356
|
var g, x, A, S, T, M, z;
|
|
18341
18357
|
return _(), D("div", {
|
|
18342
18358
|
class: j(`cursor-pointer ml-10 relative flex items-center p-2 ${o.value.border} border border-2 rounded-r-lg mb-8 flex-col md:flex-row space-y-4 md:space-y-0`),
|
|
@@ -18360,7 +18376,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18360
18376
|
], 2),
|
|
18361
18377
|
w("h2", {
|
|
18362
18378
|
class: j(`text-2xl ${o.value.text}`)
|
|
18363
|
-
}, B((M = v(
|
|
18379
|
+
}, B((M = v(h).text) == null ? void 0 : M.headline), 3),
|
|
18364
18380
|
w("div", {
|
|
18365
18381
|
ref_key: "collapsible",
|
|
18366
18382
|
ref: u,
|
|
@@ -18374,12 +18390,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18374
18390
|
noModal: "",
|
|
18375
18391
|
cols: "8",
|
|
18376
18392
|
src: s.value,
|
|
18377
|
-
alt: (z = v(
|
|
18393
|
+
alt: (z = v(h).text) == null ? void 0 : z.headline
|
|
18378
18394
|
}, null, 8, ["src", "alt"])
|
|
18379
18395
|
])) : R("", !0),
|
|
18380
18396
|
w("div", {
|
|
18381
18397
|
class: "flex-1",
|
|
18382
|
-
innerHTML: v(Ee)(v(
|
|
18398
|
+
innerHTML: v(Ee)(v(h).text.text)
|
|
18383
18399
|
}, null, 8, nh)
|
|
18384
18400
|
], 2)
|
|
18385
18401
|
], 512)
|
|
@@ -18410,19 +18426,19 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18410
18426
|
return ((o = r.value) == null ? void 0 : o.filter((c) => c.active)) || [];
|
|
18411
18427
|
}), n = L(() => a.value.length === 0 ? e.events : e.events.filter((c) => {
|
|
18412
18428
|
if (c.tag)
|
|
18413
|
-
return a.value.some((
|
|
18414
|
-
var
|
|
18415
|
-
return
|
|
18429
|
+
return a.value.some((h) => {
|
|
18430
|
+
var f;
|
|
18431
|
+
return h.id === ((f = c.tag) == null ? void 0 : f.id);
|
|
18416
18432
|
});
|
|
18417
18433
|
})), i = (o) => {
|
|
18418
18434
|
o.active = !o.active;
|
|
18419
18435
|
}, { title: s } = ae(e);
|
|
18420
18436
|
return (o, c) => {
|
|
18421
|
-
var
|
|
18437
|
+
var h, f;
|
|
18422
18438
|
return _(), D("div", null, [
|
|
18423
18439
|
w("div", sh, [
|
|
18424
|
-
w("h3", oh, B((
|
|
18425
|
-
w("p", null, B((
|
|
18440
|
+
w("h3", oh, B((h = v(s)) == null ? void 0 : h.text.headline), 1),
|
|
18441
|
+
w("p", null, B((f = v(s)) == null ? void 0 : f.text.text), 1),
|
|
18426
18442
|
w("div", lh, [
|
|
18427
18443
|
(_(!0), D(xe, null, $e(r.value, (b) => (_(), D("span", {
|
|
18428
18444
|
key: b.id,
|
|
@@ -18470,27 +18486,27 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18470
18486
|
},
|
|
18471
18487
|
setup(t) {
|
|
18472
18488
|
const e = t, r = le(), u = L(() => !!(e.src.endsWith(".mp4") || e.src.endsWith(".ogg") || e.src.endsWith(".webm"))), a = L(() => {
|
|
18473
|
-
const
|
|
18474
|
-
if (!u.value &&
|
|
18475
|
-
return
|
|
18476
|
-
if (!u.value &&
|
|
18477
|
-
return
|
|
18478
|
-
if (!u.value &&
|
|
18479
|
-
const b = i(
|
|
18489
|
+
const f = e.src;
|
|
18490
|
+
if (!u.value && f.includes("https://vimeo.com/"))
|
|
18491
|
+
return f.replace("https://vimeo.com/", "https://player.vimeo.com/video/");
|
|
18492
|
+
if (!u.value && f.includes("https://www.youtube.com/watch?"))
|
|
18493
|
+
return f.replace("https://www.youtube.com/watch?v=", "https://www.youtube.com/embed/");
|
|
18494
|
+
if (!u.value && f.includes("https://youtu.be/")) {
|
|
18495
|
+
const b = i(f);
|
|
18480
18496
|
if (b)
|
|
18481
18497
|
return `https://www.youtube.com/embed/${b}`;
|
|
18482
18498
|
}
|
|
18483
|
-
return
|
|
18484
|
-
}), n = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), i = (
|
|
18485
|
-
const b =
|
|
18499
|
+
return f;
|
|
18500
|
+
}), n = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), i = (f) => {
|
|
18501
|
+
const b = f.match(/\/([^\/]+)$/);
|
|
18486
18502
|
return b ? b[1] : null;
|
|
18487
|
-
}, { src: s, title: o, hideIcon: c, type:
|
|
18488
|
-
return (
|
|
18503
|
+
}, { src: s, title: o, hideIcon: c, type: h } = ae(e);
|
|
18504
|
+
return (f, b) => (_(), X(ze, {
|
|
18489
18505
|
title: v(o),
|
|
18490
|
-
type: v(
|
|
18506
|
+
type: v(h),
|
|
18491
18507
|
hideIcon: v(c),
|
|
18492
18508
|
icon: v(In),
|
|
18493
|
-
mandateLevel:
|
|
18509
|
+
mandateLevel: f.mandateLevel
|
|
18494
18510
|
}, Te({
|
|
18495
18511
|
content: O(() => [
|
|
18496
18512
|
w("div", fh, [
|
|
@@ -18586,10 +18602,10 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18586
18602
|
}) }
|
|
18587
18603
|
},
|
|
18588
18604
|
setup(t) {
|
|
18589
|
-
const e = t, r = L(() => e.glossary.find((c) => c.id === e.term.id)), u = L(() => r.value ? r.value.domain || r.value.variation.length > 0 ? "w-1/3" : "w-full" : ""), a = L(() => r.value ? r.value.variation.length > 0 ? "w-1/4" : "w-3/4" : ""), n = L(() => r.value ? r.value.domain ? "w-2/4" : "w-3/4" : ""), i = (c) => e.glossary.filter((
|
|
18605
|
+
const e = t, r = L(() => e.glossary.find((c) => c.id === e.term.id)), u = L(() => r.value ? r.value.domain || r.value.variation.length > 0 ? "w-1/3" : "w-full" : ""), a = L(() => r.value ? r.value.variation.length > 0 ? "w-1/4" : "w-3/4" : ""), n = L(() => r.value ? r.value.domain ? "w-2/4" : "w-3/4" : ""), i = (c) => e.glossary.filter((f) => c.some((b) => f.id === b)).map((f) => ({ id: f.id, term: f.term })), s = rn(), o = (c) => {
|
|
18590
18606
|
s.hasRoute("glossary") && s.push({ path: "/glossary", query: { word: c } });
|
|
18591
18607
|
};
|
|
18592
|
-
return (c,
|
|
18608
|
+
return (c, h) => (_(), D("div", gh, [
|
|
18593
18609
|
r.value ? (_(), D("div", xh, [
|
|
18594
18610
|
w("div", yh, [
|
|
18595
18611
|
w("h2", kh, B(r.value.term), 1),
|
|
@@ -18613,9 +18629,9 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18613
18629
|
}, [
|
|
18614
18630
|
w("p", Eh, B(c.labels.variations), 1),
|
|
18615
18631
|
w("div", Mh, [
|
|
18616
|
-
(_(!0), D(xe, null, $e(r.value.variation, (
|
|
18632
|
+
(_(!0), D(xe, null, $e(r.value.variation, (f, b) => (_(), D("span", {
|
|
18617
18633
|
key: `v-${b}`
|
|
18618
|
-
}, B(
|
|
18634
|
+
}, B(f) + B(r.value.variation.length > b + 1 ? ", " : "."), 1))), 128))
|
|
18619
18635
|
])
|
|
18620
18636
|
], 2)) : R("", !0)
|
|
18621
18637
|
]),
|
|
@@ -18638,11 +18654,11 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18638
18654
|
r.value.relation.length > 0 ? (_(), D("div", Lh, [
|
|
18639
18655
|
w("p", Bh, B(c.labels.relations), 1),
|
|
18640
18656
|
w("div", $h, [
|
|
18641
|
-
(_(!0), D(xe, null, $e(i(r.value.relation), (
|
|
18657
|
+
(_(!0), D(xe, null, $e(i(r.value.relation), (f, b) => (_(), D("button", {
|
|
18642
18658
|
key: `relation-${b}`,
|
|
18643
18659
|
class: "p-1 border rounded mr-1",
|
|
18644
|
-
onClick: (g) => o(
|
|
18645
|
-
}, B(
|
|
18660
|
+
onClick: (g) => o(f.term)
|
|
18661
|
+
}, B(f.term), 9, Ih))), 128))
|
|
18646
18662
|
])
|
|
18647
18663
|
])) : R("", !0)
|
|
18648
18664
|
])
|
|
@@ -18748,7 +18764,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18748
18764
|
bg-center`), a = L(() => r.src ? r.src : "https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg"), n = e, i = () => {
|
|
18749
18765
|
n("clicked");
|
|
18750
18766
|
}, { title: s, headerImgColor: o, big: c } = ae(r);
|
|
18751
|
-
return (
|
|
18767
|
+
return (h, f) => (_(), D("section", {
|
|
18752
18768
|
class: j(`${v(c) ? "h-screen " : ""}items-center overflow-hidden relative `),
|
|
18753
18769
|
ref: "el"
|
|
18754
18770
|
}, [
|
|
@@ -18760,40 +18776,40 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18760
18776
|
class: j(`relative ${v(c) ? "mb-36" : ""} h-full items-end`)
|
|
18761
18777
|
}, [
|
|
18762
18778
|
w("div", Ph, [
|
|
18763
|
-
|
|
18779
|
+
h.synchrone ? (_(), X(st, {
|
|
18764
18780
|
key: 0,
|
|
18765
18781
|
prependIcon: v(Rl)
|
|
18766
18782
|
}, {
|
|
18767
18783
|
default: O(() => [
|
|
18768
|
-
ce(B(
|
|
18784
|
+
ce(B(h.labels.synchrone), 1)
|
|
18769
18785
|
]),
|
|
18770
18786
|
_: 1
|
|
18771
18787
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18772
|
-
|
|
18788
|
+
h.duration ? (_(), X(st, {
|
|
18773
18789
|
key: 1,
|
|
18774
18790
|
prependIcon: v(nc)
|
|
18775
18791
|
}, {
|
|
18776
18792
|
default: O(() => [
|
|
18777
|
-
ce(B(
|
|
18793
|
+
ce(B(h.duration), 1)
|
|
18778
18794
|
]),
|
|
18779
18795
|
_: 1
|
|
18780
18796
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18781
|
-
|
|
18797
|
+
h.assessment ? (_(), X(st, {
|
|
18782
18798
|
key: 2,
|
|
18783
18799
|
prependIcon: v(Nl)
|
|
18784
18800
|
}, {
|
|
18785
18801
|
default: O(() => [
|
|
18786
|
-
ce(B(
|
|
18802
|
+
ce(B(h.labels.formatif), 1)
|
|
18787
18803
|
]),
|
|
18788
18804
|
_: 1
|
|
18789
18805
|
}, 8, ["prependIcon"])) : R("", !0)
|
|
18790
18806
|
]),
|
|
18791
18807
|
w("div", jh, [
|
|
18792
18808
|
w("div", Gh, [
|
|
18793
|
-
v(s) ||
|
|
18809
|
+
v(s) || h.subtitle ? (_(), D("div", Uh, [
|
|
18794
18810
|
w("div", Zh, [
|
|
18795
18811
|
v(s) ? (_(), D("h1", Wh, B(v(s)), 1)) : R("", !0),
|
|
18796
|
-
|
|
18812
|
+
h.subtitle ? (_(), D("h2", Xh, B(h.subtitle), 1)) : R("", !0)
|
|
18797
18813
|
])
|
|
18798
18814
|
])) : R("", !0)
|
|
18799
18815
|
])
|
|
@@ -18834,7 +18850,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18834
18850
|
if (e.card)
|
|
18835
18851
|
return "text-white";
|
|
18836
18852
|
}), u = L(() => e.card ? "text-white" : "text-black dark:text-white"), a = L(() => e.card ? "md:rounded-lg" : "md:rounded-l-md"), { author: n, img: i, card: s, hideIcon: o } = ae(e);
|
|
18837
|
-
return (c,
|
|
18853
|
+
return (c, h) => (_(), D("div", {
|
|
18838
18854
|
class: j(v(s) ? "w-4/6 mx-auto" : "")
|
|
18839
18855
|
}, [
|
|
18840
18856
|
Z(hu, {
|