ep-lib-ts 1.0.8 → 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-BYMjBRp5.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-BOo9CvO_.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-BfzuHWWf.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-DpKFBR8d.js → EpList-5mOPFQ9O.js} +1 -1
- package/dist/EpModal-CFbxbe6J.js +4 -0
- package/dist/{EpNothing-ZOBK_3UX.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-bYMPzTYw.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/medias/EpCarousel.vue.d.ts +4 -0
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +1 -1
- package/dist/{index-CCDb-LD7.js → index-yJ38QWap.js} +564 -562
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/medias/EpCarousel.vue +30 -8
- package/dist/BgAudio-97_FwNpi.js +0 -4
- package/dist/DisplayBox-BKvyxVDI.js +0 -4
- package/dist/EpAlert-B0J2GajN.js +0 -4
- package/dist/EpAudio-D4LqGrlY.js +0 -4
- package/dist/EpBadge-D0zfflkO.js +0 -4
- package/dist/EpBarChart-Goi23S1c.js +0 -4
- package/dist/EpBtn-6OyInoYb.js +0 -4
- package/dist/EpCard-B5bDGeEK.js +0 -4
- package/dist/EpChip-BSCyoekb.js +0 -4
- package/dist/EpContentSlider-Bqs98eaf.js +0 -4
- package/dist/EpDivider-DIhicI-t.js +0 -4
- package/dist/EpEdu-Ck-nZ2kC.js +0 -4
- package/dist/EpFlex-c8FzEIAx.js +0 -4
- package/dist/EpFunnelChart-Co_n-21j.js +0 -4
- package/dist/EpHeader-DDhDKNct.js +0 -4
- package/dist/EpIcon-Dc_coPXn.js +0 -4
- package/dist/EpIframe-CmY_3U0n.js +0 -4
- package/dist/EpImg-DXYSCqDH.js +0 -4
- package/dist/EpLineChart-DRJspXp0.js +0 -4
- package/dist/EpLink-_uT9EmuD.js +0 -4
- package/dist/EpLinkVersion-BdrI-TIu.js +0 -4
- package/dist/EpModal-D1L3wzLd.js +0 -4
- package/dist/EpPieChart-CfDjCzZI.js +0 -4
- package/dist/EpQuestion-mIk4I_2l.js +0 -4
- package/dist/EpQuote-ByCm1IPJ.js +0 -4
- package/dist/EpRadio-UmkupYaI.js +0 -4
- package/dist/EpRadioSummative-7f-9bm5C.js +0 -4
- package/dist/EpReading-Cj1zVokc.js +0 -4
- package/dist/EpResource-ubt3wYLi.js +0 -4
- package/dist/EpScope-DKAZvK2F.js +0 -4
- package/dist/EpSection-CAktzXw1.js +0 -4
- package/dist/EpSkeleton-D612NKyo.js +0 -4
- package/dist/EpSoftware-DpbyhGDO.js +0 -4
- package/dist/EpSpinner-BSoHQmsn.js +0 -4
- package/dist/EpSummativeTable-cJ_kI33E.js +0 -4
- package/dist/EpSvg-DqncJTFg.js +0 -4
- package/dist/EpTable-CAgdQTKw.js +0 -4
- package/dist/EpTerm-BvelpDRy.js +0 -4
- package/dist/EpText-BjukLSSv.js +0 -4
- package/dist/EpTimeLine-Do1j0PKU.js +0 -4
- package/dist/EpVideo-CsMQzGnu.js +0 -4
- package/dist/EpVideoPanopto-D5u4ObkY.js +0 -4
- package/dist/EpWordDef-BFjyQ0Vn.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),
|
|
@@ -4252,7 +4252,7 @@ const sc = {
|
|
|
4252
4252
|
e.noModal || (n.value = !n.value);
|
|
4253
4253
|
}, s = le(!1), o = () => {
|
|
4254
4254
|
s.value = !s.value;
|
|
4255
|
-
}, 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);
|
|
4256
4256
|
return (z, F) => (_(), D("div", {
|
|
4257
4257
|
class: j(v(S) ? "inline-block" : "")
|
|
4258
4258
|
}, [
|
|
@@ -4260,12 +4260,12 @@ const sc = {
|
|
|
4260
4260
|
w("div", {
|
|
4261
4261
|
class: j(`mx-auto bg-white dark:bg-dark rounded-md overflow-hidden shadow-md ${u.value}`)
|
|
4262
4262
|
}, [
|
|
4263
|
-
v(
|
|
4263
|
+
v(h) ? (_(), D("span", oc, [
|
|
4264
4264
|
Z(oe, {
|
|
4265
4265
|
"icon-path": v(Bn),
|
|
4266
4266
|
size: "250"
|
|
4267
4267
|
}, null, 8, ["icon-path"])
|
|
4268
|
-
])) : v(
|
|
4268
|
+
])) : v(f) ? (_(), D("span", lc, [
|
|
4269
4269
|
Z(oe, {
|
|
4270
4270
|
"icon-path": v(ec),
|
|
4271
4271
|
size: "150"
|
|
@@ -4677,8 +4677,8 @@ const sc = {
|
|
|
4677
4677
|
key: `tr-${o}`,
|
|
4678
4678
|
class: "hover:bg-gray-50 dark:hover:bg-black"
|
|
4679
4679
|
}, [
|
|
4680
|
-
(_(!0), D(xe, null, $e(s, (c,
|
|
4681
|
-
key: `td-${o}-${
|
|
4680
|
+
(_(!0), D(xe, null, $e(s, (c, h) => (_(), D("td", {
|
|
4681
|
+
key: `td-${o}-${h}`,
|
|
4682
4682
|
class: "px-6 py-4"
|
|
4683
4683
|
}, B(c), 1))), 128))
|
|
4684
4684
|
]))), 128))
|
|
@@ -4740,22 +4740,22 @@ const sc = {
|
|
|
4740
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(() => {
|
|
4741
4741
|
var b;
|
|
4742
4742
|
return typeof e.mandateLevel == "object" ? (b = e.mandateLevel) == null ? void 0 : b.title : e.mandateLevel;
|
|
4743
|
-
}), { title:
|
|
4743
|
+
}), { title: h, hideIcon: f } = ae(e);
|
|
4744
4744
|
return (b, g) => (_(), D("div", {
|
|
4745
4745
|
class: j(o.value)
|
|
4746
4746
|
}, [
|
|
4747
|
-
v(
|
|
4747
|
+
v(h) || b.mandateLevel ? (_(), D("div", {
|
|
4748
4748
|
key: 0,
|
|
4749
4749
|
class: j([`${i.value}`, "dark:base-dark"])
|
|
4750
4750
|
}, [
|
|
4751
4751
|
w("h3", null, [
|
|
4752
|
-
v(
|
|
4752
|
+
v(f) ? R("", !0) : (_(), X(oe, {
|
|
4753
4753
|
key: 0,
|
|
4754
4754
|
iconPath: n.value,
|
|
4755
4755
|
size: "24"
|
|
4756
4756
|
}, null, 8, ["iconPath"])),
|
|
4757
4757
|
ce(),
|
|
4758
|
-
w("span", Kc, B(v(
|
|
4758
|
+
w("span", Kc, B(v(h)), 1)
|
|
4759
4759
|
]),
|
|
4760
4760
|
b.mandateLevel ? (_(), X(Yc, {
|
|
4761
4761
|
key: 0,
|
|
@@ -4811,8 +4811,8 @@ const sc = {
|
|
|
4811
4811
|
enabled: !1
|
|
4812
4812
|
}
|
|
4813
4813
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4814
|
-
return (c,
|
|
4815
|
-
const
|
|
4814
|
+
return (c, h) => {
|
|
4815
|
+
const f = Jt("apexchart");
|
|
4816
4816
|
return _(), X(ze, {
|
|
4817
4817
|
title: c.title,
|
|
4818
4818
|
type: c.type,
|
|
@@ -4825,7 +4825,7 @@ const sc = {
|
|
|
4825
4825
|
key: 0,
|
|
4826
4826
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4827
4827
|
}, [
|
|
4828
|
-
Z(
|
|
4828
|
+
Z(f, {
|
|
4829
4829
|
width: v(o),
|
|
4830
4830
|
type: "bar",
|
|
4831
4831
|
options: a.value,
|
|
@@ -4892,8 +4892,8 @@ const sc = {
|
|
|
4892
4892
|
}
|
|
4893
4893
|
}
|
|
4894
4894
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4895
|
-
return (c,
|
|
4896
|
-
const
|
|
4895
|
+
return (c, h) => {
|
|
4896
|
+
const f = Jt("apexchart");
|
|
4897
4897
|
return _(), X(ze, {
|
|
4898
4898
|
title: c.title,
|
|
4899
4899
|
type: c.type,
|
|
@@ -4906,7 +4906,7 @@ const sc = {
|
|
|
4906
4906
|
key: 0,
|
|
4907
4907
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4908
4908
|
}, [
|
|
4909
|
-
Z(
|
|
4909
|
+
Z(f, {
|
|
4910
4910
|
width: v(o),
|
|
4911
4911
|
type: "line",
|
|
4912
4912
|
options: a.value,
|
|
@@ -4963,8 +4963,8 @@ const sc = {
|
|
|
4963
4963
|
background: "transparent"
|
|
4964
4964
|
}
|
|
4965
4965
|
})), { center: n, series: i, source: s, width: o } = ae(e);
|
|
4966
|
-
return (c,
|
|
4967
|
-
const
|
|
4966
|
+
return (c, h) => {
|
|
4967
|
+
const f = Jt("apexchart");
|
|
4968
4968
|
return _(), X(ze, {
|
|
4969
4969
|
title: c.title,
|
|
4970
4970
|
type: c.type,
|
|
@@ -4977,7 +4977,7 @@ const sc = {
|
|
|
4977
4977
|
key: 0,
|
|
4978
4978
|
class: j(`p-4 ${v(n) ? "flex justify-center" : ""}`)
|
|
4979
4979
|
}, [
|
|
4980
|
-
Z(
|
|
4980
|
+
Z(f, {
|
|
4981
4981
|
width: v(o),
|
|
4982
4982
|
type: "pie",
|
|
4983
4983
|
options: a.value,
|
|
@@ -5055,9 +5055,9 @@ const sc = {
|
|
|
5055
5055
|
colors: e.colors,
|
|
5056
5056
|
dataLabels: {
|
|
5057
5057
|
enabled: !0,
|
|
5058
|
-
formatter: function(
|
|
5058
|
+
formatter: function(h, f) {
|
|
5059
5059
|
let b = "";
|
|
5060
|
-
return
|
|
5060
|
+
return f.w.globals.labels[f.dataPointIndex] && (b = f.w.globals.labels[f.dataPointIndex] + " "), b + h;
|
|
5061
5061
|
},
|
|
5062
5062
|
dropShadow: {
|
|
5063
5063
|
enabled: !0
|
|
@@ -5070,14 +5070,14 @@ const sc = {
|
|
|
5070
5070
|
show: !1
|
|
5071
5071
|
}
|
|
5072
5072
|
})), { center: n, series: i, source: s, labels: o, width: c } = ae(e);
|
|
5073
|
-
return (
|
|
5073
|
+
return (h, f) => {
|
|
5074
5074
|
const b = Jt("apexchart");
|
|
5075
5075
|
return _(), X(ze, {
|
|
5076
|
-
title:
|
|
5077
|
-
type:
|
|
5078
|
-
hideIcon:
|
|
5076
|
+
title: h.title,
|
|
5077
|
+
type: h.type,
|
|
5078
|
+
hideIcon: h.hideIcon,
|
|
5079
5079
|
icon: v(ic),
|
|
5080
|
-
mandateLevel:
|
|
5080
|
+
mandateLevel: h.mandateLevel
|
|
5081
5081
|
}, Te({
|
|
5082
5082
|
content: O(() => [
|
|
5083
5083
|
v(o) && v(i) ? (_(), D("div", {
|
|
@@ -5087,7 +5087,7 @@ const sc = {
|
|
|
5087
5087
|
Z(b, {
|
|
5088
5088
|
type: "bar",
|
|
5089
5089
|
width: v(c),
|
|
5090
|
-
height:
|
|
5090
|
+
height: h.height,
|
|
5091
5091
|
options: a.value,
|
|
5092
5092
|
series: v(i)
|
|
5093
5093
|
}, null, 8, ["width", "height", "options", "series"])
|
|
@@ -5211,8 +5211,8 @@ const sc = {
|
|
|
5211
5211
|
hideCover: s,
|
|
5212
5212
|
year: o,
|
|
5213
5213
|
author: c,
|
|
5214
|
-
container:
|
|
5215
|
-
editor:
|
|
5214
|
+
container: h,
|
|
5215
|
+
editor: f,
|
|
5216
5216
|
pages: b,
|
|
5217
5217
|
type: g,
|
|
5218
5218
|
mandateLevel: x,
|
|
@@ -5284,12 +5284,12 @@ const sc = {
|
|
|
5284
5284
|
v(c) ? (_(), D("span", U2, B(v(S).par), 1)) : R("", !0),
|
|
5285
5285
|
v(c) ? (_(), D("span", Z2, B(v(c)), 1)) : R("", !0),
|
|
5286
5286
|
v(o) ? (_(), D("span", W2, " (" + B(v(o)) + ")", 1)) : R("", !0),
|
|
5287
|
-
v(o) && v(
|
|
5288
|
-
v(
|
|
5287
|
+
v(o) && v(f) ? (_(), D("span", X2, ", ")) : R("", !0),
|
|
5288
|
+
v(f) ? (_(), D("span", Y2, B(v(f)), 1)) : R("", !0)
|
|
5289
5289
|
]),
|
|
5290
|
-
v(
|
|
5290
|
+
v(h) ? (_(), D("p", K2, [
|
|
5291
5291
|
w("span", Q2, B(v(S).dans), 1),
|
|
5292
|
-
w("span", null, B(v(
|
|
5292
|
+
w("span", null, B(v(h)), 1)
|
|
5293
5293
|
])) : R("", !0)
|
|
5294
5294
|
])) : R("", !0),
|
|
5295
5295
|
v(b) ? (_(), D("div", {
|
|
@@ -5387,12 +5387,12 @@ const sc = {
|
|
|
5387
5387
|
v(c) ? (_(), D("span", y2, B(v(S).par), 1)) : R("", !0),
|
|
5388
5388
|
v(c) ? (_(), D("span", k2, B(v(c)), 1)) : R("", !0),
|
|
5389
5389
|
v(o) ? (_(), D("span", w2, "(" + B(v(o)) + ")", 1)) : R("", !0),
|
|
5390
|
-
v(o) && v(
|
|
5391
|
-
v(
|
|
5390
|
+
v(o) && v(f) ? (_(), D("span", _2, ", ")) : R("", !0),
|
|
5391
|
+
v(f) ? (_(), D("span", C2, B(v(f)), 1)) : R("", !0)
|
|
5392
5392
|
]),
|
|
5393
|
-
v(
|
|
5393
|
+
v(h) ? (_(), D("p", A2, [
|
|
5394
5394
|
w("span", S2, B(v(S).dans), 1),
|
|
5395
|
-
w("span", E2, B(v(
|
|
5395
|
+
w("span", E2, B(v(h)), 1)
|
|
5396
5396
|
])) : R("", !0)
|
|
5397
5397
|
])) : R("", !0),
|
|
5398
5398
|
v(b) ? (_(), D("div", {
|
|
@@ -5469,7 +5469,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5469
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;
|
|
5470
5470
|
}), u = (s) => {
|
|
5471
5471
|
const o = mu(s);
|
|
5472
|
-
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));
|
|
5473
5473
|
}, { mandateLevel: a, type: n, pages: i } = ae(e);
|
|
5474
5474
|
return (s, o) => (_(), X(Ot(u(r.value.type)), Wi({ ...r.value }, {
|
|
5475
5475
|
mandateLevel: v(a),
|
|
@@ -5499,29 +5499,29 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5499
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(() => {
|
|
5500
5500
|
var b;
|
|
5501
5501
|
if (u.value.img)
|
|
5502
|
-
return E0(() => import("./EpImg-
|
|
5502
|
+
return E0(() => import("./EpImg-C-0Z-znf.js"));
|
|
5503
5503
|
if (u.value.component) {
|
|
5504
5504
|
const g = mu((b = u.value.component) == null ? void 0 : b.type);
|
|
5505
|
-
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));
|
|
5506
5506
|
}
|
|
5507
5507
|
return null;
|
|
5508
5508
|
}), i = L(() => r.value + 1 < e.slides.length), s = L(() => r.value + 1 > 1), o = () => {
|
|
5509
5509
|
i.value && (r.value += 1);
|
|
5510
5510
|
}, c = () => {
|
|
5511
5511
|
s.value && (r.value -= 1);
|
|
5512
|
-
},
|
|
5512
|
+
}, h = (b) => {
|
|
5513
5513
|
r.value = b;
|
|
5514
|
-
}, { slides:
|
|
5514
|
+
}, { slides: f } = ae(e);
|
|
5515
5515
|
return (b, g) => (_(), D("div", ad, [
|
|
5516
5516
|
w("div", nd, [
|
|
5517
5517
|
w("h5", id, B(u.value.title), 1),
|
|
5518
|
-
v(
|
|
5519
|
-
(_(!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", {
|
|
5520
5520
|
key: `slide-index-${A}`,
|
|
5521
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"}`),
|
|
5522
|
-
onClick: (S) =>
|
|
5522
|
+
onClick: (S) => h(A)
|
|
5523
5523
|
}, null, 10, od))), 128)),
|
|
5524
|
-
w("span", ld, "(" + B(r.value + 1) + "/" + B(v(
|
|
5524
|
+
w("span", ld, "(" + B(r.value + 1) + "/" + B(v(f).length) + ")", 1),
|
|
5525
5525
|
w("button", {
|
|
5526
5526
|
class: j(`px-2 ${s.value ? "" : "opacity-5"}`),
|
|
5527
5527
|
onClick: c
|
|
@@ -5608,9 +5608,9 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5608
5608
|
},
|
|
5609
5609
|
emits: ["update:modelValue"],
|
|
5610
5610
|
setup(t, { emit: e }) {
|
|
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),
|
|
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) => {
|
|
5612
5612
|
const g = b.target;
|
|
5613
|
-
|
|
5613
|
+
h("update:modelValue", g.value);
|
|
5614
5614
|
};
|
|
5615
5615
|
return (b, g) => (_(), D("span", bd, [
|
|
5616
5616
|
w("input", {
|
|
@@ -5622,7 +5622,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5622
5622
|
readonly: v(o),
|
|
5623
5623
|
value: v(c),
|
|
5624
5624
|
checked: a.value,
|
|
5625
|
-
onChange:
|
|
5625
|
+
onChange: f
|
|
5626
5626
|
}, null, 42, vd),
|
|
5627
5627
|
w("label", {
|
|
5628
5628
|
for: n.value,
|
|
@@ -5709,13 +5709,13 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5709
5709
|
},
|
|
5710
5710
|
setup(t) {
|
|
5711
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(() => {
|
|
5712
|
-
var
|
|
5713
|
-
return `${(
|
|
5712
|
+
var h;
|
|
5713
|
+
return `${(h = yd[a.value]) == null ? void 0 : h[u.value]}`;
|
|
5714
5714
|
}), i = L(() => {
|
|
5715
|
-
let
|
|
5716
|
-
return e.noIcon ? null :
|
|
5715
|
+
let h = kd[a.value].icon;
|
|
5716
|
+
return e.noIcon ? null : h;
|
|
5717
5717
|
}), { title: s, compact: o, outlined: c } = ae(e);
|
|
5718
|
-
return (
|
|
5718
|
+
return (h, f) => v(o) ? (_(), X(cu, {
|
|
5719
5719
|
key: 1,
|
|
5720
5720
|
type: a.value,
|
|
5721
5721
|
outlined: r.value,
|
|
@@ -5723,7 +5723,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5723
5723
|
title: v(s)
|
|
5724
5724
|
}, {
|
|
5725
5725
|
default: O(() => [
|
|
5726
|
-
ke(
|
|
5726
|
+
ke(h.$slots, "default")
|
|
5727
5727
|
]),
|
|
5728
5728
|
_: 3
|
|
5729
5729
|
}, 8, ["type", "outlined", "icon", "title"])) : (_(), D("div", {
|
|
@@ -5745,7 +5745,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5745
5745
|
key: 1,
|
|
5746
5746
|
size: "border"
|
|
5747
5747
|
})) : R("", !0),
|
|
5748
|
-
ke(
|
|
5748
|
+
ke(h.$slots, "default")
|
|
5749
5749
|
])
|
|
5750
5750
|
], 2)
|
|
5751
5751
|
], 2));
|
|
@@ -5785,14 +5785,14 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5785
5785
|
M[z] = M[F], M[F] = I;
|
|
5786
5786
|
}
|
|
5787
5787
|
return M;
|
|
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: "" }),
|
|
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 = () => {
|
|
5789
5789
|
if (i.value === "") {
|
|
5790
5790
|
o.value = !1;
|
|
5791
5791
|
return;
|
|
5792
5792
|
}
|
|
5793
5793
|
const M = e.answers.find((z) => z.uid === i.value);
|
|
5794
5794
|
M && (c.value = M, s.value = !0);
|
|
5795
|
-
},
|
|
5795
|
+
}, f = () => {
|
|
5796
5796
|
s.value = !1, i.value = "";
|
|
5797
5797
|
};
|
|
5798
5798
|
I0(i, (M) => {
|
|
@@ -5800,7 +5800,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5800
5800
|
});
|
|
5801
5801
|
const b = (M) => {
|
|
5802
5802
|
const z = mu(M);
|
|
5803
|
-
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));
|
|
5804
5804
|
}, { title: g, intentions: x, hideIcon: A, question: S, src: T } = ae(e);
|
|
5805
5805
|
return (M, z) => (_(), X(ze, {
|
|
5806
5806
|
title: v(g),
|
|
@@ -5871,7 +5871,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5871
5871
|
])) : R("", !0),
|
|
5872
5872
|
Z(Be, {
|
|
5873
5873
|
type: M.type,
|
|
5874
|
-
onClick:
|
|
5874
|
+
onClick: h,
|
|
5875
5875
|
disabled: s.value,
|
|
5876
5876
|
outlined: "",
|
|
5877
5877
|
extraClass: "mr-2"
|
|
@@ -5884,7 +5884,7 @@ const k5 = /* @__PURE__ */ ee({
|
|
|
5884
5884
|
s.value ? (_(), X(Be, {
|
|
5885
5885
|
key: 3,
|
|
5886
5886
|
type: M.type,
|
|
5887
|
-
onClick:
|
|
5887
|
+
onClick: f,
|
|
5888
5888
|
outlined: ""
|
|
5889
5889
|
}, {
|
|
5890
5890
|
default: O(() => [
|
|
@@ -5927,11 +5927,11 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5927
5927
|
},
|
|
5928
5928
|
emits: ["update:modelValue"],
|
|
5929
5929
|
setup(t, { emit: e }) {
|
|
5930
|
-
const r = t, u = L(() => r.modelValue === r.value), { label: a, disabled: n, readonly: i, value: s, id: o } = ae(r), c = e,
|
|
5931
|
-
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;
|
|
5932
5932
|
c("update:modelValue", g);
|
|
5933
5933
|
};
|
|
5934
|
-
return (
|
|
5934
|
+
return (f, b) => (_(), D("label", Rd, [
|
|
5935
5935
|
w("input", {
|
|
5936
5936
|
type: "radio",
|
|
5937
5937
|
id: v(o),
|
|
@@ -5940,7 +5940,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5940
5940
|
readonly: v(i),
|
|
5941
5941
|
value: v(s),
|
|
5942
5942
|
checked: u.value,
|
|
5943
|
-
onChange:
|
|
5943
|
+
onChange: h,
|
|
5944
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"
|
|
5945
5945
|
}, null, 40, Nd),
|
|
5946
5946
|
w("span", Vd, B(v(a)), 1)
|
|
@@ -5962,19 +5962,19 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
5962
5962
|
};
|
|
5963
5963
|
return (s, o) => (_(), D("div", Pd, [
|
|
5964
5964
|
v(u) ? (_(), D("h4", jd, B(v(u)), 1)) : R("", !0),
|
|
5965
|
-
(_(!0), D(xe, null, $e(v(a), (c,
|
|
5966
|
-
key: `item-question-${
|
|
5965
|
+
(_(!0), D(xe, null, $e(v(a), (c, h) => (_(), D(xe, {
|
|
5966
|
+
key: `item-question-${h}`
|
|
5967
5967
|
}, [
|
|
5968
5968
|
w("p", Gd, B(c.label), 1),
|
|
5969
5969
|
w("div", Ud, [
|
|
5970
|
-
(_(!0), D(xe, null, $e(c.options, (
|
|
5970
|
+
(_(!0), D(xe, null, $e(c.options, (f, b) => (_(), X(Od, {
|
|
5971
5971
|
key: `option-question-${b}`,
|
|
5972
|
-
id: `option-${
|
|
5973
|
-
name: `option-${
|
|
5974
|
-
label:
|
|
5975
|
-
value: i(
|
|
5976
|
-
modelValue: e.value[
|
|
5977
|
-
"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
|
|
5978
5978
|
}, null, 8, ["id", "name", "label", "value", "modelValue", "onUpdate:modelValue"]))), 128))
|
|
5979
5979
|
]),
|
|
5980
5980
|
Z(Q0)
|
|
@@ -6055,15 +6055,15 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6055
6055
|
},
|
|
6056
6056
|
setup(t) {
|
|
6057
6057
|
const e = t, r = /\.mp4\?/, u = L(() => {
|
|
6058
|
-
let
|
|
6059
|
-
return r.test(e.src) && (
|
|
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:
|
|
6061
|
-
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, {
|
|
6062
6062
|
title: v(o),
|
|
6063
|
-
type:
|
|
6063
|
+
type: f.type,
|
|
6064
6064
|
hideIcon: v(c),
|
|
6065
6065
|
icon: v(Jl),
|
|
6066
|
-
mandateLevel: v(
|
|
6066
|
+
mandateLevel: v(h)
|
|
6067
6067
|
}, Te({
|
|
6068
6068
|
content: O(() => [
|
|
6069
6069
|
w("div", r4, [
|
|
@@ -6080,7 +6080,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6080
6080
|
outlined: ""
|
|
6081
6081
|
}, {
|
|
6082
6082
|
default: O(() => [
|
|
6083
|
-
w("p", null, B(
|
|
6083
|
+
w("p", null, B(f.labels.messageError), 1)
|
|
6084
6084
|
]),
|
|
6085
6085
|
_: 1
|
|
6086
6086
|
}))
|
|
@@ -6113,27 +6113,29 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6113
6113
|
gallery: { type: Boolean, default: !1 },
|
|
6114
6114
|
labelRef: { default: "Référence" },
|
|
6115
6115
|
labelClose: { default: "Fermer" },
|
|
6116
|
-
sizeThumbnail: { default: "medium" }
|
|
6116
|
+
sizeThumbnail: { default: "medium" },
|
|
6117
|
+
locale: { default: "fr" }
|
|
6117
6118
|
},
|
|
6118
6119
|
setup(t) {
|
|
6119
6120
|
const e = t, r = le(0), u = le(!1), a = () => {
|
|
6120
|
-
const
|
|
6121
|
-
r.value =
|
|
6121
|
+
const f = r.value === 0 ? e.carrouselImg.length - 1 : r.value - 1;
|
|
6122
|
+
r.value = f;
|
|
6122
6123
|
}, n = () => {
|
|
6123
|
-
const
|
|
6124
|
-
r.value =
|
|
6124
|
+
const f = r.value === e.carrouselImg.length - 1 ? 0 : r.value + 1;
|
|
6125
|
+
r.value = f;
|
|
6125
6126
|
}, { carrouselImg: i, labelClose: s, labelRef: o, sizeThumbnail: c } = ae(e);
|
|
6126
|
-
return (
|
|
6127
|
+
return (h, f) => {
|
|
6127
6128
|
var b, g;
|
|
6128
|
-
return
|
|
6129
|
+
return h.gallery ? (_(), D("div", h4, [
|
|
6129
6130
|
(_(!0), D(xe, null, $e(v(i), (x) => (_(), X(mt, {
|
|
6130
6131
|
key: `image-${x == null ? void 0 : x.uid}`,
|
|
6131
6132
|
src: x.src,
|
|
6132
6133
|
bib: x.bib,
|
|
6133
6134
|
caption: x.caption,
|
|
6134
6135
|
thumbnail: "",
|
|
6135
|
-
"size-thumbnail": v(c)
|
|
6136
|
-
|
|
6136
|
+
"size-thumbnail": v(c),
|
|
6137
|
+
locale: h.locale
|
|
6138
|
+
}, null, 8, ["src", "bib", "caption", "size-thumbnail", "locale"]))), 128))
|
|
6137
6139
|
])) : (_(), D("div", a4, [
|
|
6138
6140
|
w("div", n4, [
|
|
6139
6141
|
w("button", { onClick: a }, [
|
|
@@ -6154,7 +6156,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6154
6156
|
(g = v(i)[r.value]) != null && g.bib ? (_(), D("div", l4, [
|
|
6155
6157
|
Z(Be, {
|
|
6156
6158
|
type: "primary",
|
|
6157
|
-
onClick:
|
|
6159
|
+
onClick: f[0] || (f[0] = (x) => u.value = !0),
|
|
6158
6160
|
dark: ""
|
|
6159
6161
|
}, {
|
|
6160
6162
|
default: O(() => [
|
|
@@ -6166,7 +6168,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6166
6168
|
]),
|
|
6167
6169
|
Z(Ut, {
|
|
6168
6170
|
modelValue: u.value,
|
|
6169
|
-
"onUpdate:modelValue":
|
|
6171
|
+
"onUpdate:modelValue": f[2] || (f[2] = (x) => u.value = x),
|
|
6170
6172
|
title: "Référence"
|
|
6171
6173
|
}, {
|
|
6172
6174
|
default: O(() => [
|
|
@@ -6175,7 +6177,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6175
6177
|
}, null, 8, c4),
|
|
6176
6178
|
w("div", d4, [
|
|
6177
6179
|
Z(Be, {
|
|
6178
|
-
onClick:
|
|
6180
|
+
onClick: f[1] || (f[1] = (x) => u.value = !1),
|
|
6179
6181
|
type: "primary",
|
|
6180
6182
|
dark: ""
|
|
6181
6183
|
}, {
|
|
@@ -6191,7 +6193,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6191
6193
|
]));
|
|
6192
6194
|
};
|
|
6193
6195
|
}
|
|
6194
|
-
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-
|
|
6196
|
+
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-57ddb82d"]]), bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6195
6197
|
__proto__: null,
|
|
6196
6198
|
default: m4
|
|
6197
6199
|
}, Symbol.toStringTag, { value: "Module" })), p4 = ["innerHTML"], b4 = ["src", "height"], v4 = /* @__PURE__ */ ee({
|
|
@@ -6283,11 +6285,11 @@ class H {
|
|
|
6283
6285
|
a = i.start, n = i.end, a === s.length ? u += " at end of input: " : u += " at position " + (a + 1) + ": ";
|
|
6284
6286
|
var o = s.slice(a, n).replace(/[^]/g, "$&̲"), c;
|
|
6285
6287
|
a > 15 ? c = "…" + s.slice(a - 15, a) : c = s.slice(0, a);
|
|
6286
|
-
var
|
|
6287
|
-
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;
|
|
6288
6290
|
}
|
|
6289
|
-
var
|
|
6290
|
-
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;
|
|
6291
6293
|
}
|
|
6292
6294
|
}
|
|
6293
6295
|
H.prototype.__proto__ = Error.prototype;
|
|
@@ -10561,8 +10563,8 @@ var Bt = [
|
|
|
10561
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);
|
|
10562
10564
|
if (a) {
|
|
10563
10565
|
o.maxFontSize = a.sizeMultiplier, a.style.isTight() && o.classes.push("mtight");
|
|
10564
|
-
var
|
|
10565
|
-
|
|
10566
|
+
var h = a.getColor();
|
|
10567
|
+
h && (o.style.color = h);
|
|
10566
10568
|
}
|
|
10567
10569
|
return o;
|
|
10568
10570
|
}, r3 = function(e, r, u, a) {
|
|
@@ -10576,20 +10578,20 @@ var Bt = [
|
|
|
10576
10578
|
fontClass: "mathbf"
|
|
10577
10579
|
};
|
|
10578
10580
|
}, a3 = function(e, r, u) {
|
|
10579
|
-
var a = e.mode, n = e.text, i = ["mord"], s = a === "math" || a === "text" && r.font, o = s ? r.font : r.fontFamily, c = "",
|
|
10580
|
-
if (n.charCodeAt(0) === 55349 && ([c,
|
|
10581
|
-
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));
|
|
10582
10584
|
if (o) {
|
|
10583
|
-
var
|
|
10585
|
+
var f, b;
|
|
10584
10586
|
if (o === "boldsymbol") {
|
|
10585
10587
|
var g = u3(n, a, r, i, u);
|
|
10586
|
-
|
|
10587
|
-
} else s ? (
|
|
10588
|
-
if (ir(n,
|
|
10589
|
-
return We(n,
|
|
10590
|
-
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") {
|
|
10591
10593
|
for (var x = [], A = 0; A < n.length; A++)
|
|
10592
|
-
x.push(We(n[A],
|
|
10594
|
+
x.push(We(n[A], f, a, r, i.concat(b)));
|
|
10593
10595
|
return Gn(x);
|
|
10594
10596
|
}
|
|
10595
10597
|
}
|
|
@@ -10666,11 +10668,11 @@ var Bt = [
|
|
|
10666
10668
|
}
|
|
10667
10669
|
var c;
|
|
10668
10670
|
if (e.positionType === "top") {
|
|
10669
|
-
for (var
|
|
10670
|
-
var b = e.children[
|
|
10671
|
-
|
|
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;
|
|
10672
10674
|
}
|
|
10673
|
-
c =
|
|
10675
|
+
c = h;
|
|
10674
10676
|
} else if (e.positionType === "bottom")
|
|
10675
10677
|
c = -e.positionData;
|
|
10676
10678
|
else {
|
|
@@ -10702,28 +10704,28 @@ var Bt = [
|
|
|
10702
10704
|
n += 2;
|
|
10703
10705
|
var c = Le(["pstrut"], []);
|
|
10704
10706
|
c.style.height = N(n);
|
|
10705
|
-
for (var
|
|
10707
|
+
for (var h = [], f = a, b = a, g = a, x = 0; x < u.length; x++) {
|
|
10706
10708
|
var A = u[x];
|
|
10707
10709
|
if (A.type === "kern")
|
|
10708
10710
|
g += A.size;
|
|
10709
10711
|
else {
|
|
10710
10712
|
var S = A.elem, T = A.wrapperClasses || [], M = A.wrapperStyle || {}, z = Le(T, [c, S], void 0, M);
|
|
10711
|
-
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;
|
|
10712
10714
|
}
|
|
10713
|
-
|
|
10715
|
+
f = Math.min(f, g), b = Math.max(b, g);
|
|
10714
10716
|
}
|
|
10715
|
-
var F = Le(["vlist"],
|
|
10717
|
+
var F = Le(["vlist"], h);
|
|
10716
10718
|
F.style.height = N(b);
|
|
10717
10719
|
var I;
|
|
10718
|
-
if (
|
|
10720
|
+
if (f < 0) {
|
|
10719
10721
|
var V = Le([], []), U = Le(["vlist"], [V]);
|
|
10720
|
-
U.style.height = N(-
|
|
10722
|
+
U.style.height = N(-f);
|
|
10721
10723
|
var te = Le(["vlist-s"], [new Ue("")]);
|
|
10722
10724
|
I = [Le(["vlist-r"], [F, te]), Le(["vlist-r"], [U])];
|
|
10723
10725
|
} else
|
|
10724
10726
|
I = [Le(["vlist-r"], [F])];
|
|
10725
10727
|
var re = Le(["vlist-t"], I);
|
|
10726
|
-
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;
|
|
10727
10729
|
}, h3 = (t, e) => {
|
|
10728
10730
|
var r = Le(["mspace"], [], e), u = be(t, e);
|
|
10729
10731
|
return r.style.marginRight = N(u), r;
|
|
@@ -10984,21 +10986,21 @@ var Kt = function(e) {
|
|
|
10984
10986
|
return n;
|
|
10985
10987
|
var c = r;
|
|
10986
10988
|
if (e.length === 1) {
|
|
10987
|
-
var
|
|
10988
|
-
|
|
10989
|
+
var h = e[0];
|
|
10990
|
+
h.type === "sizing" ? c = r.havingSize(h.size) : h.type === "styling" && (c = r.havingStyle(g3[h.style]));
|
|
10989
10991
|
}
|
|
10990
|
-
var
|
|
10992
|
+
var f = b0([a[0] || "leftmost"], [], r), b = b0([a[1] || "rightmost"], [], r), g = u === "root";
|
|
10991
10993
|
return Aa(n, (x, A) => {
|
|
10992
10994
|
var S = A.classes[0], T = x.classes[0];
|
|
10993
10995
|
S === "mbin" && W.contains(v3, T) ? A.classes[0] = "mord" : T === "mbin" && W.contains(b3, S) && (x.classes[0] = "mord");
|
|
10994
10996
|
}, {
|
|
10995
|
-
node:
|
|
10997
|
+
node: f
|
|
10996
10998
|
}, b, g), Aa(n, (x, A) => {
|
|
10997
10999
|
var S = Kr(A), T = Kr(x), M = S && T ? x.hasClass("mtight") ? p3[S][T] : m3[S][T] : null;
|
|
10998
11000
|
if (M)
|
|
10999
11001
|
return E.makeGlue(M, c);
|
|
11000
11002
|
}, {
|
|
11001
|
-
node:
|
|
11003
|
+
node: f
|
|
11002
11004
|
}, b, g), n;
|
|
11003
11005
|
}, Aa = function t(e, r, u, a, n) {
|
|
11004
11006
|
a && e.push(a);
|
|
@@ -11010,11 +11012,11 @@ var Kt = function(e) {
|
|
|
11010
11012
|
}
|
|
11011
11013
|
var c = !s.hasClass("mspace");
|
|
11012
11014
|
if (c) {
|
|
11013
|
-
var
|
|
11014
|
-
|
|
11015
|
+
var h = r(s, u.node);
|
|
11016
|
+
h && (u.insertAfter ? u.insertAfter(h) : (e.unshift(h), i++));
|
|
11015
11017
|
}
|
|
11016
|
-
c ? u.node = s : n && s.hasClass("newline") && (u.node = b0(["leftmost"])), u.insertAfter = /* @__PURE__ */ ((
|
|
11017
|
-
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++;
|
|
11018
11020
|
})(i);
|
|
11019
11021
|
}
|
|
11020
11022
|
a && e.pop();
|
|
@@ -11069,12 +11071,12 @@ function Qr(t, e) {
|
|
|
11069
11071
|
i.length > 0 && n.push(It(i, e));
|
|
11070
11072
|
var c;
|
|
11071
11073
|
r ? (c = It(we(r, e, !0)), c.classes = ["tag"], n.push(c)) : a && n.push(a);
|
|
11072
|
-
var
|
|
11073
|
-
if (
|
|
11074
|
-
var
|
|
11075
|
-
|
|
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));
|
|
11076
11078
|
}
|
|
11077
|
-
return
|
|
11079
|
+
return h;
|
|
11078
11080
|
}
|
|
11079
11081
|
function Yn(t) {
|
|
11080
11082
|
return new yt(t);
|
|
@@ -11248,10 +11250,10 @@ var q = {
|
|
|
11248
11250
|
continue;
|
|
11249
11251
|
}
|
|
11250
11252
|
} else if (i.type === "mi" && i.children.length === 1) {
|
|
11251
|
-
var
|
|
11252
|
-
if (
|
|
11253
|
-
var
|
|
11254
|
-
|
|
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());
|
|
11255
11257
|
}
|
|
11256
11258
|
}
|
|
11257
11259
|
}
|
|
@@ -11276,8 +11278,8 @@ function Sa(t, e, r, u, a) {
|
|
|
11276
11278
|
s.setAttribute("encoding", "application/x-tex");
|
|
11277
11279
|
var o = new q.MathNode("semantics", [i, s]), c = new q.MathNode("math", [o]);
|
|
11278
11280
|
c.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), u && c.setAttribute("display", "block");
|
|
11279
|
-
var
|
|
11280
|
-
return E.makeSpan([
|
|
11281
|
+
var h = a ? "katex" : "katex-mathml";
|
|
11282
|
+
return E.makeSpan([h], [c]);
|
|
11281
11283
|
}
|
|
11282
11284
|
var Kn = function(e) {
|
|
11283
11285
|
return new h0({
|
|
@@ -11407,17 +11409,17 @@ var Kn = function(e) {
|
|
|
11407
11409
|
function u() {
|
|
11408
11410
|
var s = 4e5, o = e.label.slice(1);
|
|
11409
11411
|
if (W.contains(["widehat", "widecheck", "widetilde", "utilde"], o)) {
|
|
11410
|
-
var c = e,
|
|
11411
|
-
if (
|
|
11412
|
-
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");
|
|
11413
11415
|
else {
|
|
11414
|
-
var x = [1, 1, 2, 2, 3, 3][
|
|
11415
|
-
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);
|
|
11416
11418
|
}
|
|
11417
11419
|
var A = new T0(b), S = new p0([A], {
|
|
11418
11420
|
width: "100%",
|
|
11419
11421
|
height: N(g),
|
|
11420
|
-
viewBox: "0 0 " + s + " " +
|
|
11422
|
+
viewBox: "0 0 " + s + " " + f,
|
|
11421
11423
|
preserveAspectRatio: "none"
|
|
11422
11424
|
});
|
|
11423
11425
|
return {
|
|
@@ -11487,11 +11489,11 @@ var Kn = function(e) {
|
|
|
11487
11489
|
y2: "0",
|
|
11488
11490
|
"stroke-width": "0.046em"
|
|
11489
11491
|
}));
|
|
11490
|
-
var
|
|
11492
|
+
var h = new p0(c, {
|
|
11491
11493
|
width: "100%",
|
|
11492
11494
|
height: N(s)
|
|
11493
11495
|
});
|
|
11494
|
-
i = E.makeSvgSpan([], [
|
|
11496
|
+
i = E.makeSvgSpan([], [h], n);
|
|
11495
11497
|
}
|
|
11496
11498
|
return i.height = s, i.style.height = N(s), i;
|
|
11497
11499
|
}, v0 = {
|
|
@@ -11521,7 +11523,7 @@ var Au = (t, e) => {
|
|
|
11521
11523
|
var o = W.getBaseElem(r), c = ie(o, e.havingCrampedStyle());
|
|
11522
11524
|
s = xa(c).skew;
|
|
11523
11525
|
}
|
|
11524
|
-
var
|
|
11526
|
+
var h = u.label === "\\c", f = h ? n.height + n.depth : Math.min(n.height, e.fontMetrics().xHeight), b;
|
|
11525
11527
|
if (u.isStretchy)
|
|
11526
11528
|
b = v0.svgSpan(u, e), b = E.makeVList({
|
|
11527
11529
|
positionType: "firstBaseline",
|
|
@@ -11543,9 +11545,9 @@ var Au = (t, e) => {
|
|
|
11543
11545
|
u.label === "\\vec" ? (g = E.staticSvg("vec", e), x = E.svgData.vec[1]) : (g = E.makeOrd({
|
|
11544
11546
|
mode: u.mode,
|
|
11545
11547
|
text: u.label
|
|
11546
|
-
}, 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]);
|
|
11547
11549
|
var A = u.label === "\\textcircled";
|
|
11548
|
-
A && (b.classes.push("accent-full"),
|
|
11550
|
+
A && (b.classes.push("accent-full"), f = n.height);
|
|
11549
11551
|
var S = s;
|
|
11550
11552
|
A || (S -= x / 2), b.style.left = N(S), u.label === "\\textcircled" && (b.style.top = ".2em"), b = E.makeVList({
|
|
11551
11553
|
positionType: "firstBaseline",
|
|
@@ -11554,7 +11556,7 @@ var Au = (t, e) => {
|
|
|
11554
11556
|
elem: n
|
|
11555
11557
|
}, {
|
|
11556
11558
|
type: "kern",
|
|
11557
|
-
size: -
|
|
11559
|
+
size: -f
|
|
11558
11560
|
}, {
|
|
11559
11561
|
type: "elem",
|
|
11560
11562
|
elem: b
|
|
@@ -11714,10 +11716,10 @@ P({
|
|
|
11714
11716
|
t.below && (u = e.havingStyle(r.sub()), i = E.wrapFragment(ie(t.below, u, e), e), i.classes.push(n + "-arrow-pad"));
|
|
11715
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;
|
|
11716
11718
|
(a.depth > 0.25 || t.label === "\\xleftequilibrium") && (c -= a.depth);
|
|
11717
|
-
var
|
|
11719
|
+
var h;
|
|
11718
11720
|
if (i) {
|
|
11719
|
-
var
|
|
11720
|
-
|
|
11721
|
+
var f = -e.fontMetrics().axisHeight + i.height + 0.5 * s.height + 0.111;
|
|
11722
|
+
h = E.makeVList({
|
|
11721
11723
|
positionType: "individualShift",
|
|
11722
11724
|
children: [{
|
|
11723
11725
|
type: "elem",
|
|
@@ -11730,11 +11732,11 @@ P({
|
|
|
11730
11732
|
}, {
|
|
11731
11733
|
type: "elem",
|
|
11732
11734
|
elem: i,
|
|
11733
|
-
shift:
|
|
11735
|
+
shift: f
|
|
11734
11736
|
}]
|
|
11735
11737
|
}, e);
|
|
11736
11738
|
} else
|
|
11737
|
-
|
|
11739
|
+
h = E.makeVList({
|
|
11738
11740
|
positionType: "individualShift",
|
|
11739
11741
|
children: [{
|
|
11740
11742
|
type: "elem",
|
|
@@ -11746,7 +11748,7 @@ P({
|
|
|
11746
11748
|
shift: o
|
|
11747
11749
|
}]
|
|
11748
11750
|
}, e);
|
|
11749
|
-
return
|
|
11751
|
+
return h.children[0].children[0].children[1].classes.push("svg-align"), E.makeSpan(["mrel", "x-arrow"], [h], e);
|
|
11750
11752
|
},
|
|
11751
11753
|
mathmlBuilder(t, e) {
|
|
11752
11754
|
var r = v0.mathMLnode(t.label);
|
|
@@ -11960,17 +11962,17 @@ function $3(t) {
|
|
|
11960
11962
|
s.body.push(i[o]);
|
|
11961
11963
|
else {
|
|
11962
11964
|
u.push(s), o += 1;
|
|
11963
|
-
var c = Cu(i[o]).text,
|
|
11964
|
-
if (
|
|
11965
|
+
var c = Cu(i[o]).text, h = new Array(2);
|
|
11966
|
+
if (h[0] = {
|
|
11965
11967
|
type: "ordgroup",
|
|
11966
11968
|
mode: "math",
|
|
11967
11969
|
body: []
|
|
11968
|
-
},
|
|
11970
|
+
}, h[1] = {
|
|
11969
11971
|
type: "ordgroup",
|
|
11970
11972
|
mode: "math",
|
|
11971
11973
|
body: []
|
|
11972
11974
|
}, !("=|.".indexOf(c) > -1)) if ("<>AV".indexOf(c) > -1)
|
|
11973
|
-
for (var
|
|
11975
|
+
for (var f = 0; f < 2; f++) {
|
|
11974
11976
|
for (var b = !0, g = o + 1; g < i.length; g++) {
|
|
11975
11977
|
if (L3(i[g], c)) {
|
|
11976
11978
|
b = !1, o = g;
|
|
@@ -11978,14 +11980,14 @@ function $3(t) {
|
|
|
11978
11980
|
}
|
|
11979
11981
|
if (Ma(i[g]))
|
|
11980
11982
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[g]);
|
|
11981
|
-
f
|
|
11983
|
+
h[f].body.push(i[g]);
|
|
11982
11984
|
}
|
|
11983
11985
|
if (b)
|
|
11984
11986
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[o]);
|
|
11985
11987
|
}
|
|
11986
11988
|
else
|
|
11987
11989
|
throw new H('Expected one of "<>AV=|." after @', i[o]);
|
|
11988
|
-
var x = B3(c,
|
|
11990
|
+
var x = B3(c, h, t), A = {
|
|
11989
11991
|
type: "styling",
|
|
11990
11992
|
body: [x],
|
|
11991
11993
|
mode: "math",
|
|
@@ -12365,11 +12367,11 @@ var it = function(e, r, u) {
|
|
|
12365
12367
|
type: "kern",
|
|
12366
12368
|
size: -1 * eu
|
|
12367
12369
|
}, R3 = ["|", "\\lvert", "\\rvert", "\\vert"], N3 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], oi = function(e, r, u, a, n, i) {
|
|
12368
|
-
var s, o, c,
|
|
12369
|
-
s = c =
|
|
12370
|
+
var s, o, c, h, f = "", b = 0;
|
|
12371
|
+
s = c = h = e, o = null;
|
|
12370
12372
|
var g = "Size1-Regular";
|
|
12371
|
-
e === "\\uparrow" ? c =
|
|
12372
|
-
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;
|
|
12373
12375
|
if (o !== null) {
|
|
12374
12376
|
var V = it(o, g, n);
|
|
12375
12377
|
F = V.height + V.depth, I = 2;
|
|
@@ -12377,8 +12379,8 @@ var it = function(e, r, u) {
|
|
|
12377
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;
|
|
12378
12380
|
u && (Q *= a.sizeMultiplier);
|
|
12379
12381
|
var ne = re / 2 - Q, se = [];
|
|
12380
|
-
if (
|
|
12381
|
-
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], {
|
|
12382
12384
|
width: H0,
|
|
12383
12385
|
height: R0,
|
|
12384
12386
|
viewBox: "0 0 " + b + " " + Se
|
|
@@ -12388,7 +12390,7 @@ var it = function(e, r, u) {
|
|
|
12388
12390
|
elem: x0
|
|
12389
12391
|
});
|
|
12390
12392
|
} else {
|
|
12391
|
-
if (se.push(Dr(
|
|
12393
|
+
if (se.push(Dr(h, g, n)), se.push(Ht), o === null) {
|
|
12392
12394
|
var y0 = re - A - z + 2 * eu;
|
|
12393
12395
|
se.push(Tr(c, y0, a));
|
|
12394
12396
|
} else {
|
|
@@ -12413,10 +12415,10 @@ var it = function(e, r, u) {
|
|
|
12413
12415
|
});
|
|
12414
12416
|
return E.makeSvgSpan(["hide-tail"], [o], n);
|
|
12415
12417
|
}, V3 = function(e, r) {
|
|
12416
|
-
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,
|
|
12417
|
-
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), {
|
|
12418
12420
|
span: s,
|
|
12419
|
-
advanceWidth:
|
|
12421
|
+
advanceWidth: f,
|
|
12420
12422
|
// Calculate the actual line width.
|
|
12421
12423
|
// This actually should depend on the chosen font -- e.g. \boldmath
|
|
12422
12424
|
// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
|
|
@@ -12510,7 +12512,7 @@ var it = function(e, r, u) {
|
|
|
12510
12512
|
var o = hi(e, r, s, a);
|
|
12511
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);
|
|
12512
12514
|
}, Z3 = function(e, r, u, a, n, i) {
|
|
12513
|
-
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(
|
|
12514
12516
|
// In real TeX, calculations are done using integral values which are
|
|
12515
12517
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
12516
12518
|
// TeX but doesn't here, producing different results. If we wanted to
|
|
@@ -12520,10 +12522,10 @@ var it = function(e, r, u) {
|
|
|
12520
12522
|
// (To see the difference, compare
|
|
12521
12523
|
// x^{x^{\left(\rule{0.1em}{0.68em}\right)}}
|
|
12522
12524
|
// in TeX and KaTeX)
|
|
12523
|
-
|
|
12524
|
-
2 *
|
|
12525
|
+
h / 500 * o,
|
|
12526
|
+
2 * h - c
|
|
12525
12527
|
);
|
|
12526
|
-
return fi(e,
|
|
12528
|
+
return fi(e, f, !0, a, n, i);
|
|
12527
12529
|
}, m0 = {
|
|
12528
12530
|
sqrtImage: V3,
|
|
12529
12531
|
sizedDelim: P3,
|
|
@@ -12683,17 +12685,17 @@ P({
|
|
|
12683
12685
|
var s;
|
|
12684
12686
|
if (t.left === "." ? s = bt(e, ["mopen"]) : s = m0.leftRightDelim(t.left, u, a, e, t.mode, ["mopen"]), r.unshift(s), n)
|
|
12685
12687
|
for (var o = 1; o < r.length; o++) {
|
|
12686
|
-
var c = r[o],
|
|
12687
|
-
|
|
12688
|
+
var c = r[o], h = c.isMiddle;
|
|
12689
|
+
h && (r[o] = m0.leftRightDelim(h.delim, u, a, h.options, t.mode, []));
|
|
12688
12690
|
}
|
|
12689
|
-
var
|
|
12691
|
+
var f;
|
|
12690
12692
|
if (t.right === ".")
|
|
12691
|
-
|
|
12693
|
+
f = bt(e, ["mclose"]);
|
|
12692
12694
|
else {
|
|
12693
12695
|
var b = t.rightColor ? e.withColor(t.rightColor) : e;
|
|
12694
|
-
|
|
12696
|
+
f = m0.leftRightDelim(t.right, u, a, b, t.mode, ["mclose"]);
|
|
12695
12697
|
}
|
|
12696
|
-
return r.push(
|
|
12698
|
+
return r.push(f), E.makeSpan(["minner"], r, e);
|
|
12697
12699
|
},
|
|
12698
12700
|
mathmlBuilder: (t, e) => {
|
|
12699
12701
|
Ta(t);
|
|
@@ -12756,17 +12758,17 @@ var Eu = (t, e) => {
|
|
|
12756
12758
|
}, e), c = be({
|
|
12757
12759
|
number: 0.35,
|
|
12758
12760
|
unit: "ex"
|
|
12759
|
-
}, e),
|
|
12760
|
-
a = a /
|
|
12761
|
-
var
|
|
12762
|
-
r.style.paddingLeft = N(
|
|
12763
|
-
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)], {
|
|
12764
12766
|
width: "400em",
|
|
12765
12767
|
height: N(b / 1e3),
|
|
12766
12768
|
viewBox: "0 0 400000 " + b,
|
|
12767
12769
|
preserveAspectRatio: "xMinYMin slice"
|
|
12768
12770
|
});
|
|
12769
|
-
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;
|
|
12770
12772
|
} else {
|
|
12771
12773
|
/cancel/.test(u) ? s || r.classes.push("cancel-pad") : u === "angl" ? r.classes.push("anglpad") : r.classes.push("boxpad");
|
|
12772
12774
|
var A = 0, S = 0, T = 0;
|
|
@@ -13014,8 +13016,8 @@ function F0(t, e, r) {
|
|
|
13014
13016
|
colSeparationType: s,
|
|
13015
13017
|
autoTag: o,
|
|
13016
13018
|
singleRow: c,
|
|
13017
|
-
emptySingleRow:
|
|
13018
|
-
maxNumCols:
|
|
13019
|
+
emptySingleRow: h,
|
|
13020
|
+
maxNumCols: f,
|
|
13019
13021
|
leqno: b
|
|
13020
13022
|
} = e;
|
|
13021
13023
|
if (t.gullet.beginGroup(), c || t.gullet.macros.set("\\cr", "\\\\\\relax"), !i) {
|
|
@@ -13047,14 +13049,14 @@ function F0(t, e, r) {
|
|
|
13047
13049
|
}), x.push(I);
|
|
13048
13050
|
var V = t.fetch().text;
|
|
13049
13051
|
if (V === "&") {
|
|
13050
|
-
if (
|
|
13052
|
+
if (f && x.length === f) {
|
|
13051
13053
|
if (c || s)
|
|
13052
13054
|
throw new H("Too many tab characters: &", t.nextToken);
|
|
13053
13055
|
t.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
13054
13056
|
}
|
|
13055
13057
|
t.consume();
|
|
13056
13058
|
} else if (V === "\\end") {
|
|
13057
|
-
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([]);
|
|
13058
13060
|
break;
|
|
13059
13061
|
} else if (V === "\\\\") {
|
|
13060
13062
|
t.consume();
|
|
@@ -13082,12 +13084,12 @@ function Tu(t) {
|
|
|
13082
13084
|
return t.slice(0, 1) === "d" ? "display" : "text";
|
|
13083
13085
|
}
|
|
13084
13086
|
var o0 = function(e, r) {
|
|
13085
|
-
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(
|
|
13086
13088
|
// From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
|
|
13087
13089
|
r.fontMetrics().arrayRuleWidth,
|
|
13088
13090
|
r.minRuleThickness
|
|
13089
13091
|
// User override.
|
|
13090
|
-
),
|
|
13092
|
+
), f = 1 / r.fontMetrics().ptPerEm, b = 5 * f;
|
|
13091
13093
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
13092
13094
|
var g = r.havingStyle(K.SCRIPT).sizeMultiplier;
|
|
13093
13095
|
b = 0.2778 * (g / r.sizeMultiplier);
|
|
@@ -13095,7 +13097,7 @@ var o0 = function(e, r) {
|
|
|
13095
13097
|
var x = e.colSeparationType === "CD" ? be({
|
|
13096
13098
|
number: 3,
|
|
13097
13099
|
unit: "ex"
|
|
13098
|
-
}, r) : 12 *
|
|
13100
|
+
}, r) : 12 * f, A = 3 * f, S = e.arraystretch * x, T = 0.7 * S, M = 0.3 * S, z = 0;
|
|
13099
13101
|
function F(At) {
|
|
13100
13102
|
for (var St = 0; St < At.length; ++St)
|
|
13101
13103
|
St > 0 && (z += 0.25), c.push({
|
|
@@ -13134,7 +13136,7 @@ var o0 = function(e, r) {
|
|
|
13134
13136
|
for (var Ve = c0[Je] || {}, nt = !0; Ve.type === "separator"; ) {
|
|
13135
13137
|
if (nt || (_e = E.makeSpan(["arraycolsep"], []), _e.style.width = N(r.fontMetrics().doubleRuleSep), Se.push(_e)), Ve.separator === "|" || Ve.separator === ":") {
|
|
13136
13138
|
var fr = Ve.separator === "|" ? "solid" : "dashed", N0 = E.makeSpan(["vertical-separator"], [], r);
|
|
13137
|
-
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);
|
|
13138
13140
|
var Nu = z - se;
|
|
13139
13141
|
Nu && (N0.style.verticalAlign = N(-Nu)), Se.push(N0);
|
|
13140
13142
|
} else
|
|
@@ -13163,7 +13165,7 @@ var o0 = function(e, r) {
|
|
|
13163
13165
|
}
|
|
13164
13166
|
}
|
|
13165
13167
|
if (o = E.makeSpan(["mtable"], Se), c.length > 0) {
|
|
13166
|
-
for (var $i = E.makeLineSpan("hline", r,
|
|
13168
|
+
for (var $i = E.makeLineSpan("hline", r, h), Ii = E.makeLineSpan("hdashline", r, h), mr = [{
|
|
13167
13169
|
type: "elem",
|
|
13168
13170
|
elem: o,
|
|
13169
13171
|
shift: 0
|
|
@@ -13201,26 +13203,26 @@ var o0 = function(e, r) {
|
|
|
13201
13203
|
o.push(new q.MathNode("mtd", [de(s[c], r)]));
|
|
13202
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));
|
|
13203
13205
|
}
|
|
13204
|
-
var
|
|
13205
|
-
|
|
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));
|
|
13206
13208
|
var b = "", g = "";
|
|
13207
13209
|
if (e.cols && e.cols.length > 0) {
|
|
13208
13210
|
var x = e.cols, A = "", S = !1, T = 0, M = x.length;
|
|
13209
13211
|
x[0].type === "separator" && (b += "top ", T = 1), x[x.length - 1].type === "separator" && (b += "bottom ", M -= 1);
|
|
13210
13212
|
for (var z = T; z < M; z++)
|
|
13211
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);
|
|
13212
|
-
|
|
13214
|
+
h.setAttribute("columnalign", g.trim()), /[sd]/.test(A) && h.setAttribute("columnlines", A.trim());
|
|
13213
13215
|
}
|
|
13214
13216
|
if (e.colSeparationType === "align") {
|
|
13215
13217
|
for (var F = e.cols || [], I = "", V = 1; V < F.length; V++)
|
|
13216
13218
|
I += V % 2 ? "0em " : "1em ";
|
|
13217
|
-
|
|
13218
|
-
} 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");
|
|
13219
13221
|
var U = "", te = e.hLinesBeforeRow;
|
|
13220
13222
|
b += te[0].length > 0 ? "left " : "", b += te[te.length - 1].length > 0 ? "right " : "";
|
|
13221
13223
|
for (var re = 1; re < te.length - 1; re++)
|
|
13222
13224
|
U += te[re].length === 0 ? "none " : te[re][0] ? "dashed " : "solid ";
|
|
13223
|
-
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;
|
|
13224
13226
|
}, bi = function(e, r) {
|
|
13225
13227
|
e.envName.indexOf("ed") === -1 && cr(e);
|
|
13226
13228
|
var u = [], a = e.envName.indexOf("at") > -1 ? "alignat" : "align", n = e.envName === "split", i = F0(e.parser, {
|
|
@@ -13237,11 +13239,11 @@ var o0 = function(e, r) {
|
|
|
13237
13239
|
body: []
|
|
13238
13240
|
};
|
|
13239
13241
|
if (r[0] && r[0].type === "ordgroup") {
|
|
13240
|
-
for (var
|
|
13241
|
-
var b = ue(r[0].body[
|
|
13242
|
-
|
|
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;
|
|
13243
13245
|
}
|
|
13244
|
-
s = Number(
|
|
13246
|
+
s = Number(h), o = s * 2;
|
|
13245
13247
|
}
|
|
13246
13248
|
var g = !o;
|
|
13247
13249
|
i.body.forEach(function(T) {
|
|
@@ -13550,16 +13552,16 @@ P({
|
|
|
13550
13552
|
var s = Fa[n], {
|
|
13551
13553
|
args: o,
|
|
13552
13554
|
optArgs: c
|
|
13553
|
-
} = r.parseArguments("\\begin{" + n + "}", s),
|
|
13555
|
+
} = r.parseArguments("\\begin{" + n + "}", s), h = {
|
|
13554
13556
|
mode: r.mode,
|
|
13555
13557
|
envName: n,
|
|
13556
13558
|
parser: r
|
|
13557
|
-
},
|
|
13559
|
+
}, f = s.handler(h, o, c);
|
|
13558
13560
|
r.expect("\\end", !1);
|
|
13559
13561
|
var b = r.nextToken, g = ue(r.parseFunction(), "environment");
|
|
13560
13562
|
if (g.name !== n)
|
|
13561
13563
|
throw new H("Mismatch: \\begin{" + n + "} matched by \\end{" + g.name + "}", b);
|
|
13562
|
-
return
|
|
13564
|
+
return f;
|
|
13563
13565
|
}
|
|
13564
13566
|
return {
|
|
13565
13567
|
type: "environment",
|
|
@@ -13685,15 +13687,15 @@ var xi = (t, e) => {
|
|
|
13685
13687
|
i.height = i.height < s ? s : i.height, i.depth = i.depth < o ? o : i.depth;
|
|
13686
13688
|
}
|
|
13687
13689
|
n = e.havingStyle(a);
|
|
13688
|
-
var c = ie(t.denom, n, e),
|
|
13689
|
-
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);
|
|
13690
13692
|
var g, x, A;
|
|
13691
|
-
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);
|
|
13692
13694
|
var S;
|
|
13693
|
-
if (
|
|
13695
|
+
if (h) {
|
|
13694
13696
|
var M = e.fontMetrics().axisHeight;
|
|
13695
|
-
g - i.depth - (M + 0.5 *
|
|
13696
|
-
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);
|
|
13697
13699
|
S = E.makeVList({
|
|
13698
13700
|
positionType: "individualShift",
|
|
13699
13701
|
children: [{
|
|
@@ -13702,7 +13704,7 @@ var xi = (t, e) => {
|
|
|
13702
13704
|
shift: A
|
|
13703
13705
|
}, {
|
|
13704
13706
|
type: "elem",
|
|
13705
|
-
elem:
|
|
13707
|
+
elem: h,
|
|
13706
13708
|
shift: z
|
|
13707
13709
|
}, {
|
|
13708
13710
|
type: "elem",
|
|
@@ -13911,8 +13913,8 @@ P({
|
|
|
13911
13913
|
handler(t, e) {
|
|
13912
13914
|
var {
|
|
13913
13915
|
parser: r
|
|
13914
|
-
} = 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"),
|
|
13915
|
-
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);
|
|
13916
13918
|
var b = "auto", g = e[3];
|
|
13917
13919
|
if (g.type === "ordgroup") {
|
|
13918
13920
|
if (g.body.length > 0) {
|
|
@@ -13927,8 +13929,8 @@ P({
|
|
|
13927
13929
|
numer: u,
|
|
13928
13930
|
denom: a,
|
|
13929
13931
|
continued: !1,
|
|
13930
|
-
hasBarLine:
|
|
13931
|
-
barSize:
|
|
13932
|
+
hasBarLine: h,
|
|
13933
|
+
barSize: f,
|
|
13932
13934
|
leftDelim: i,
|
|
13933
13935
|
rightDelim: o,
|
|
13934
13936
|
size: b
|
|
@@ -14206,11 +14208,11 @@ P({
|
|
|
14206
14208
|
};
|
|
14207
14209
|
break;
|
|
14208
14210
|
case "\\htmlData": {
|
|
14209
|
-
for (var c = n.split(","),
|
|
14210
|
-
var
|
|
14211
|
-
if (
|
|
14211
|
+
for (var c = n.split(","), h = 0; h < c.length; h++) {
|
|
14212
|
+
var f = c[h].split("=");
|
|
14213
|
+
if (f.length !== 2)
|
|
14212
14214
|
throw new H("Error parsing key-value for \\htmlData");
|
|
14213
|
-
o["data-" +
|
|
14215
|
+
o["data-" + f[0].trim()] = f[1].trim();
|
|
14214
14216
|
}
|
|
14215
14217
|
s = {
|
|
14216
14218
|
command: "\\htmlData",
|
|
@@ -14303,11 +14305,11 @@ P({
|
|
|
14303
14305
|
unit: "em"
|
|
14304
14306
|
}, s = "";
|
|
14305
14307
|
if (r[0])
|
|
14306
|
-
for (var o = ue(r[0], "raw").string, c = o.split(","),
|
|
14307
|
-
var
|
|
14308
|
-
if (
|
|
14309
|
-
var b =
|
|
14310
|
-
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()) {
|
|
14311
14313
|
case "alt":
|
|
14312
14314
|
s = b;
|
|
14313
14315
|
break;
|
|
@@ -14321,7 +14323,7 @@ P({
|
|
|
14321
14323
|
i = Br(b);
|
|
14322
14324
|
break;
|
|
14323
14325
|
default:
|
|
14324
|
-
throw new H("Invalid key: '" +
|
|
14326
|
+
throw new H("Invalid key: '" + f[0] + "' in \\includegraphics.");
|
|
14325
14327
|
}
|
|
14326
14328
|
}
|
|
14327
14329
|
}
|
|
@@ -14511,17 +14513,17 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14511
14513
|
t = E.makeSpan([], [t]);
|
|
14512
14514
|
var s = r && W.isCharacterBox(r), o, c;
|
|
14513
14515
|
if (e) {
|
|
14514
|
-
var
|
|
14516
|
+
var h = ie(e, u.havingStyle(a.sup()), u);
|
|
14515
14517
|
c = {
|
|
14516
|
-
elem:
|
|
14517
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 -
|
|
14518
|
+
elem: h,
|
|
14519
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 - h.depth)
|
|
14518
14520
|
};
|
|
14519
14521
|
}
|
|
14520
14522
|
if (r) {
|
|
14521
|
-
var
|
|
14523
|
+
var f = ie(r, u.havingStyle(a.sub()), u);
|
|
14522
14524
|
o = {
|
|
14523
|
-
elem:
|
|
14524
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 -
|
|
14525
|
+
elem: f,
|
|
14526
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 - f.height)
|
|
14525
14527
|
};
|
|
14526
14528
|
}
|
|
14527
14529
|
var b;
|
|
@@ -14610,9 +14612,9 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14610
14612
|
i.size === K.DISPLAY.size && n.symbol && !W.contains(wi, n.name) && (s = !0);
|
|
14611
14613
|
var o;
|
|
14612
14614
|
if (n.symbol) {
|
|
14613
|
-
var c = s ? "Size2-Regular" : "Size1-Regular",
|
|
14614
|
-
if ((n.name === "\\oiint" || n.name === "\\oiiint") && (
|
|
14615
|
-
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);
|
|
14616
14618
|
o = E.makeVList({
|
|
14617
14619
|
positionType: "individualShift",
|
|
14618
14620
|
children: [{
|
|
@@ -14624,7 +14626,7 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14624
14626
|
elem: b,
|
|
14625
14627
|
shift: s ? 0.08 : 0
|
|
14626
14628
|
}]
|
|
14627
|
-
}, e), n.name = "\\" +
|
|
14629
|
+
}, e), n.name = "\\" + h, o.classes.unshift("mop"), o.italic = f;
|
|
14628
14630
|
}
|
|
14629
14631
|
} else if (n.body) {
|
|
14630
14632
|
var g = we(n.body, e, !0);
|
|
@@ -14790,16 +14792,16 @@ var _i = (t, e) => {
|
|
|
14790
14792
|
t.type === "supsub" ? (r = t.sup, u = t.sub, n = ue(t.base, "operatorname"), a = !0) : n = ue(t, "operatorname");
|
|
14791
14793
|
var i;
|
|
14792
14794
|
if (n.body.length > 0) {
|
|
14793
|
-
for (var s = n.body.map((
|
|
14794
|
-
var b =
|
|
14795
|
+
for (var s = n.body.map((f) => {
|
|
14796
|
+
var b = f.text;
|
|
14795
14797
|
return typeof b == "string" ? {
|
|
14796
14798
|
type: "textord",
|
|
14797
|
-
mode:
|
|
14799
|
+
mode: f.mode,
|
|
14798
14800
|
text: b
|
|
14799
|
-
} :
|
|
14801
|
+
} : f;
|
|
14800
14802
|
}), o = we(s, e.withFont("mathrm"), !0), c = 0; c < o.length; c++) {
|
|
14801
|
-
var
|
|
14802
|
-
|
|
14803
|
+
var h = o[c];
|
|
14804
|
+
h instanceof Ue && (h.text = h.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
14803
14805
|
}
|
|
14804
14806
|
i = E.makeSpan(["mop"], o, e);
|
|
14805
14807
|
} else
|
|
@@ -14828,7 +14830,7 @@ var _i = (t, e) => {
|
|
|
14828
14830
|
u = !1;
|
|
14829
14831
|
}
|
|
14830
14832
|
if (u) {
|
|
14831
|
-
var s = r.map((
|
|
14833
|
+
var s = r.map((h) => h.toText()).join("");
|
|
14832
14834
|
r = [new q.TextNode(s)];
|
|
14833
14835
|
}
|
|
14834
14836
|
var o = new q.MathNode("mi", r);
|
|
@@ -15145,11 +15147,11 @@ P({
|
|
|
15145
15147
|
}
|
|
15146
15148
|
else
|
|
15147
15149
|
a = !0, n = !0;
|
|
15148
|
-
var
|
|
15150
|
+
var h = e[0];
|
|
15149
15151
|
return {
|
|
15150
15152
|
type: "smash",
|
|
15151
15153
|
mode: u.mode,
|
|
15152
|
-
body:
|
|
15154
|
+
body: h,
|
|
15153
15155
|
smashHeight: a,
|
|
15154
15156
|
smashDepth: n
|
|
15155
15157
|
};
|
|
@@ -15204,11 +15206,11 @@ P({
|
|
|
15204
15206
|
var i = a + n / 4, s = r.height + r.depth + i + a, {
|
|
15205
15207
|
span: o,
|
|
15206
15208
|
ruleWidth: c,
|
|
15207
|
-
advanceWidth:
|
|
15208
|
-
} = m0.sqrtImage(s, e),
|
|
15209
|
-
|
|
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);
|
|
15210
15212
|
var b = o.height - r.height - i - c;
|
|
15211
|
-
r.style.paddingLeft = N(
|
|
15213
|
+
r.style.paddingLeft = N(h);
|
|
15212
15214
|
var g = E.makeVList({
|
|
15213
15215
|
positionType: "firstBaseline",
|
|
15214
15216
|
children: [{
|
|
@@ -15320,14 +15322,14 @@ q0({
|
|
|
15320
15322
|
base: u,
|
|
15321
15323
|
sup: a,
|
|
15322
15324
|
sub: n
|
|
15323
|
-
} = 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);
|
|
15324
15326
|
if (a) {
|
|
15325
15327
|
var g = e.havingStyle(e.style.sup());
|
|
15326
|
-
s = ie(a, g, e), b || (
|
|
15328
|
+
s = ie(a, g, e), b || (h = i.height - g.fontMetrics().supDrop * g.sizeMultiplier / e.sizeMultiplier);
|
|
15327
15329
|
}
|
|
15328
15330
|
if (n) {
|
|
15329
15331
|
var x = e.havingStyle(e.style.sub());
|
|
15330
|
-
o = ie(n, x, e), b || (
|
|
15332
|
+
o = ie(n, x, e), b || (f = i.depth + x.fontMetrics().subDrop * x.sizeMultiplier / e.sizeMultiplier);
|
|
15331
15333
|
}
|
|
15332
15334
|
var A;
|
|
15333
15335
|
e.style === K.DISPLAY ? A = c.sup1 : e.style.cramped ? A = c.sup3 : A = c.sup2;
|
|
@@ -15338,23 +15340,23 @@ q0({
|
|
|
15338
15340
|
}
|
|
15339
15341
|
var F;
|
|
15340
15342
|
if (s && o) {
|
|
15341
|
-
|
|
15343
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), f = Math.max(f, c.sub2);
|
|
15342
15344
|
var I = c.defaultRuleThickness, V = 4 * I;
|
|
15343
|
-
if (
|
|
15344
|
-
|
|
15345
|
-
var U = 0.8 * c.xHeight - (
|
|
15346
|
-
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);
|
|
15347
15349
|
}
|
|
15348
15350
|
var te = [{
|
|
15349
15351
|
type: "elem",
|
|
15350
15352
|
elem: o,
|
|
15351
|
-
shift:
|
|
15353
|
+
shift: f,
|
|
15352
15354
|
marginRight: T,
|
|
15353
15355
|
marginLeft: M
|
|
15354
15356
|
}, {
|
|
15355
15357
|
type: "elem",
|
|
15356
15358
|
elem: s,
|
|
15357
|
-
shift: -
|
|
15359
|
+
shift: -h,
|
|
15358
15360
|
marginRight: T
|
|
15359
15361
|
}];
|
|
15360
15362
|
F = E.makeVList({
|
|
@@ -15362,7 +15364,7 @@ q0({
|
|
|
15362
15364
|
children: te
|
|
15363
15365
|
}, e);
|
|
15364
15366
|
} else if (o) {
|
|
15365
|
-
|
|
15367
|
+
f = Math.max(f, c.sub1, o.height - 0.8 * c.xHeight);
|
|
15366
15368
|
var re = [{
|
|
15367
15369
|
type: "elem",
|
|
15368
15370
|
elem: o,
|
|
@@ -15371,13 +15373,13 @@ q0({
|
|
|
15371
15373
|
}];
|
|
15372
15374
|
F = E.makeVList({
|
|
15373
15375
|
positionType: "shift",
|
|
15374
|
-
positionData:
|
|
15376
|
+
positionData: f,
|
|
15375
15377
|
children: re
|
|
15376
15378
|
}, e);
|
|
15377
15379
|
} else if (s)
|
|
15378
|
-
|
|
15380
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), F = E.makeVList({
|
|
15379
15381
|
positionType: "shift",
|
|
15380
|
-
positionData: -
|
|
15382
|
+
positionData: -h,
|
|
15381
15383
|
children: [{
|
|
15382
15384
|
type: "elem",
|
|
15383
15385
|
elem: s,
|
|
@@ -16272,10 +16274,10 @@ p("\\Ket", "\\left|#1\\right\\rangle");
|
|
|
16272
16274
|
var Mi = (t) => (e) => {
|
|
16273
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("\\|");
|
|
16274
16276
|
e.macros.beginGroup();
|
|
16275
|
-
var o = (
|
|
16277
|
+
var o = (f) => (b) => {
|
|
16276
16278
|
t && (b.macros.set("|", i), a.length && b.macros.set("\\|", s));
|
|
16277
|
-
var g =
|
|
16278
|
-
if (!
|
|
16279
|
+
var g = f;
|
|
16280
|
+
if (!f && a.length) {
|
|
16279
16281
|
var x = b.future();
|
|
16280
16282
|
x.text === "|" && (b.popToken(), g = !0);
|
|
16281
16283
|
}
|
|
@@ -16285,14 +16287,14 @@ var Mi = (t) => (e) => {
|
|
|
16285
16287
|
};
|
|
16286
16288
|
};
|
|
16287
16289
|
e.macros.set("|", o(!1)), a.length && e.macros.set("\\|", o(!0));
|
|
16288
|
-
var c = e.consumeArg().tokens,
|
|
16290
|
+
var c = e.consumeArg().tokens, h = e.expandTokens([
|
|
16289
16291
|
...n,
|
|
16290
16292
|
...c,
|
|
16291
16293
|
...r
|
|
16292
16294
|
// reversed
|
|
16293
16295
|
]);
|
|
16294
16296
|
return e.macros.endGroup(), {
|
|
16295
|
-
tokens:
|
|
16297
|
+
tokens: h.reverse(),
|
|
16296
16298
|
numArgs: 0
|
|
16297
16299
|
};
|
|
16298
16300
|
};
|
|
@@ -16637,11 +16639,11 @@ class d6 {
|
|
|
16637
16639
|
for (var s = new ja(a, this.settings), o = [], c = s.lex(); c.text !== "EOF"; )
|
|
16638
16640
|
o.push(c), c = s.lex();
|
|
16639
16641
|
o.reverse();
|
|
16640
|
-
var
|
|
16642
|
+
var h = {
|
|
16641
16643
|
tokens: o,
|
|
16642
16644
|
numArgs: n
|
|
16643
16645
|
};
|
|
16644
|
-
return
|
|
16646
|
+
return h;
|
|
16645
16647
|
}
|
|
16646
16648
|
return a;
|
|
16647
16649
|
}
|
|
@@ -17346,14 +17348,14 @@ class dr {
|
|
|
17346
17348
|
body: o
|
|
17347
17349
|
};
|
|
17348
17350
|
} else if (Rt[n.text]) {
|
|
17349
|
-
var c = Za.test(n.text),
|
|
17350
|
-
for (
|
|
17351
|
-
var
|
|
17352
|
-
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)
|
|
17353
17355
|
break;
|
|
17354
|
-
|
|
17356
|
+
h.unshift(new je(Rt[f])), this.consume();
|
|
17355
17357
|
}
|
|
17356
|
-
var b = this.subparse(
|
|
17358
|
+
var b = this.subparse(h);
|
|
17357
17359
|
c ? a = {
|
|
17358
17360
|
type: "ordgroup",
|
|
17359
17361
|
mode: "math",
|
|
@@ -17677,11 +17679,11 @@ class dr {
|
|
|
17677
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);
|
|
17678
17680
|
var s = fe[this.mode][r].group, o = He.range(e), c;
|
|
17679
17681
|
if (J4.hasOwnProperty(s)) {
|
|
17680
|
-
var
|
|
17682
|
+
var h = s;
|
|
17681
17683
|
c = {
|
|
17682
17684
|
type: "atom",
|
|
17683
17685
|
mode: this.mode,
|
|
17684
|
-
family:
|
|
17686
|
+
family: h,
|
|
17685
17687
|
loc: o,
|
|
17686
17688
|
text: r
|
|
17687
17689
|
};
|
|
@@ -17703,8 +17705,8 @@ class dr {
|
|
|
17703
17705
|
else
|
|
17704
17706
|
return null;
|
|
17705
17707
|
if (this.consume(), n)
|
|
17706
|
-
for (var
|
|
17707
|
-
var b = n[0][
|
|
17708
|
+
for (var f = 0; f < n[0].length; f++) {
|
|
17709
|
+
var b = n[0][f];
|
|
17708
17710
|
if (!qr[b])
|
|
17709
17711
|
throw new H("Unknown accent ' " + b + "'", e);
|
|
17710
17712
|
var g = qr[b][this.mode] || qr[b].text;
|
|
@@ -17931,7 +17933,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
17931
17933
|
"bg",
|
|
17932
17934
|
e.type + "dark"
|
|
17933
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);
|
|
17934
|
-
return (c,
|
|
17936
|
+
return (c, h) => (_(), X(ze, {
|
|
17935
17937
|
title: c.labelCard,
|
|
17936
17938
|
icon: r.value,
|
|
17937
17939
|
flat: "",
|
|
@@ -18025,14 +18027,14 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18025
18027
|
}) }
|
|
18026
18028
|
},
|
|
18027
18029
|
setup(t) {
|
|
18028
|
-
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);
|
|
18029
18031
|
return (b, g) => (_(), X(ze, {
|
|
18030
18032
|
title: v(o),
|
|
18031
18033
|
icon: v(fa),
|
|
18032
18034
|
flat: "",
|
|
18033
18035
|
type: b.type,
|
|
18034
18036
|
hideIcon: v(c),
|
|
18035
|
-
mandateLevel: v(
|
|
18037
|
+
mandateLevel: v(h)
|
|
18036
18038
|
}, Te({
|
|
18037
18039
|
content: O(() => [
|
|
18038
18040
|
w("div", M6, [
|
|
@@ -18065,12 +18067,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18065
18067
|
_: 1
|
|
18066
18068
|
})) : R("", !0)
|
|
18067
18069
|
]),
|
|
18068
|
-
v(
|
|
18070
|
+
v(f) ? (_(), X(Be, {
|
|
18069
18071
|
key: 0,
|
|
18070
18072
|
rounded: "",
|
|
18071
18073
|
type: "base",
|
|
18072
18074
|
prependIcon: v($n),
|
|
18073
|
-
href: v(
|
|
18075
|
+
href: v(f)
|
|
18074
18076
|
}, {
|
|
18075
18077
|
default: O(() => [
|
|
18076
18078
|
ce(B(b.labels.acceder), 1)
|
|
@@ -18197,7 +18199,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18197
18199
|
i.hasRoute("glossary") && i.push({ path: "/glossary", query: { word: x } });
|
|
18198
18200
|
}, o = L(() => e.domain === "null" ? null : e.domain), c = () => {
|
|
18199
18201
|
r.value = !r.value;
|
|
18200
|
-
}, { term:
|
|
18202
|
+
}, { term: h, graminfo: f, labels: b, src: g } = ae(e);
|
|
18201
18203
|
return (x, A) => (_(), D(xe, null, [
|
|
18202
18204
|
w("span", {
|
|
18203
18205
|
onClick: c,
|
|
@@ -18221,8 +18223,8 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18221
18223
|
w("div", N6, [
|
|
18222
18224
|
w("div", null, [
|
|
18223
18225
|
w("h3", V6, [
|
|
18224
|
-
ce(B(v(
|
|
18225
|
-
w("span", O6, B(v(
|
|
18226
|
+
ce(B(v(h)) + " ", 1),
|
|
18227
|
+
w("span", O6, B(v(f)), 1)
|
|
18226
18228
|
]),
|
|
18227
18229
|
u.value ? (_(), D("h4", P6, B(u.value), 1)) : R("", !0)
|
|
18228
18230
|
]),
|
|
@@ -18335,22 +18337,22 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18335
18337
|
setup(t) {
|
|
18336
18338
|
const e = t, r = le(!0), u = le();
|
|
18337
18339
|
et(() => {
|
|
18338
|
-
var
|
|
18339
|
-
r.value && (
|
|
18340
|
+
var f = u.value;
|
|
18341
|
+
r.value && (f.style.maxHeight = f.scrollHeight + "px");
|
|
18340
18342
|
});
|
|
18341
18343
|
function a() {
|
|
18342
18344
|
r.value = !r.value;
|
|
18343
|
-
var
|
|
18344
|
-
|
|
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");
|
|
18345
18347
|
}
|
|
18346
|
-
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 = (
|
|
18347
|
-
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}` : "";
|
|
18348
18350
|
return {
|
|
18349
18351
|
date: b + g + x,
|
|
18350
18352
|
hour: A + S
|
|
18351
18353
|
};
|
|
18352
|
-
}, { event:
|
|
18353
|
-
return (
|
|
18354
|
+
}, { event: h } = ae(e);
|
|
18355
|
+
return (f, b) => {
|
|
18354
18356
|
var g, x, A, S, T, M, z;
|
|
18355
18357
|
return _(), D("div", {
|
|
18356
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`),
|
|
@@ -18374,7 +18376,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18374
18376
|
], 2),
|
|
18375
18377
|
w("h2", {
|
|
18376
18378
|
class: j(`text-2xl ${o.value.text}`)
|
|
18377
|
-
}, B((M = v(
|
|
18379
|
+
}, B((M = v(h).text) == null ? void 0 : M.headline), 3),
|
|
18378
18380
|
w("div", {
|
|
18379
18381
|
ref_key: "collapsible",
|
|
18380
18382
|
ref: u,
|
|
@@ -18388,12 +18390,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18388
18390
|
noModal: "",
|
|
18389
18391
|
cols: "8",
|
|
18390
18392
|
src: s.value,
|
|
18391
|
-
alt: (z = v(
|
|
18393
|
+
alt: (z = v(h).text) == null ? void 0 : z.headline
|
|
18392
18394
|
}, null, 8, ["src", "alt"])
|
|
18393
18395
|
])) : R("", !0),
|
|
18394
18396
|
w("div", {
|
|
18395
18397
|
class: "flex-1",
|
|
18396
|
-
innerHTML: v(Ee)(v(
|
|
18398
|
+
innerHTML: v(Ee)(v(h).text.text)
|
|
18397
18399
|
}, null, 8, nh)
|
|
18398
18400
|
], 2)
|
|
18399
18401
|
], 512)
|
|
@@ -18424,19 +18426,19 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18424
18426
|
return ((o = r.value) == null ? void 0 : o.filter((c) => c.active)) || [];
|
|
18425
18427
|
}), n = L(() => a.value.length === 0 ? e.events : e.events.filter((c) => {
|
|
18426
18428
|
if (c.tag)
|
|
18427
|
-
return a.value.some((
|
|
18428
|
-
var
|
|
18429
|
-
return
|
|
18429
|
+
return a.value.some((h) => {
|
|
18430
|
+
var f;
|
|
18431
|
+
return h.id === ((f = c.tag) == null ? void 0 : f.id);
|
|
18430
18432
|
});
|
|
18431
18433
|
})), i = (o) => {
|
|
18432
18434
|
o.active = !o.active;
|
|
18433
18435
|
}, { title: s } = ae(e);
|
|
18434
18436
|
return (o, c) => {
|
|
18435
|
-
var
|
|
18437
|
+
var h, f;
|
|
18436
18438
|
return _(), D("div", null, [
|
|
18437
18439
|
w("div", sh, [
|
|
18438
|
-
w("h3", oh, B((
|
|
18439
|
-
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),
|
|
18440
18442
|
w("div", lh, [
|
|
18441
18443
|
(_(!0), D(xe, null, $e(r.value, (b) => (_(), D("span", {
|
|
18442
18444
|
key: b.id,
|
|
@@ -18484,27 +18486,27 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18484
18486
|
},
|
|
18485
18487
|
setup(t) {
|
|
18486
18488
|
const e = t, r = le(), u = L(() => !!(e.src.endsWith(".mp4") || e.src.endsWith(".ogg") || e.src.endsWith(".webm"))), a = L(() => {
|
|
18487
|
-
const
|
|
18488
|
-
if (!u.value &&
|
|
18489
|
-
return
|
|
18490
|
-
if (!u.value &&
|
|
18491
|
-
return
|
|
18492
|
-
if (!u.value &&
|
|
18493
|
-
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);
|
|
18494
18496
|
if (b)
|
|
18495
18497
|
return `https://www.youtube.com/embed/${b}`;
|
|
18496
18498
|
}
|
|
18497
|
-
return
|
|
18498
|
-
}), n = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), i = (
|
|
18499
|
-
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(/\/([^\/]+)$/);
|
|
18500
18502
|
return b ? b[1] : null;
|
|
18501
|
-
}, { src: s, title: o, hideIcon: c, type:
|
|
18502
|
-
return (
|
|
18503
|
+
}, { src: s, title: o, hideIcon: c, type: h } = ae(e);
|
|
18504
|
+
return (f, b) => (_(), X(ze, {
|
|
18503
18505
|
title: v(o),
|
|
18504
|
-
type: v(
|
|
18506
|
+
type: v(h),
|
|
18505
18507
|
hideIcon: v(c),
|
|
18506
18508
|
icon: v(In),
|
|
18507
|
-
mandateLevel:
|
|
18509
|
+
mandateLevel: f.mandateLevel
|
|
18508
18510
|
}, Te({
|
|
18509
18511
|
content: O(() => [
|
|
18510
18512
|
w("div", fh, [
|
|
@@ -18600,10 +18602,10 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18600
18602
|
}) }
|
|
18601
18603
|
},
|
|
18602
18604
|
setup(t) {
|
|
18603
|
-
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) => {
|
|
18604
18606
|
s.hasRoute("glossary") && s.push({ path: "/glossary", query: { word: c } });
|
|
18605
18607
|
};
|
|
18606
|
-
return (c,
|
|
18608
|
+
return (c, h) => (_(), D("div", gh, [
|
|
18607
18609
|
r.value ? (_(), D("div", xh, [
|
|
18608
18610
|
w("div", yh, [
|
|
18609
18611
|
w("h2", kh, B(r.value.term), 1),
|
|
@@ -18627,9 +18629,9 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18627
18629
|
}, [
|
|
18628
18630
|
w("p", Eh, B(c.labels.variations), 1),
|
|
18629
18631
|
w("div", Mh, [
|
|
18630
|
-
(_(!0), D(xe, null, $e(r.value.variation, (
|
|
18632
|
+
(_(!0), D(xe, null, $e(r.value.variation, (f, b) => (_(), D("span", {
|
|
18631
18633
|
key: `v-${b}`
|
|
18632
|
-
}, B(
|
|
18634
|
+
}, B(f) + B(r.value.variation.length > b + 1 ? ", " : "."), 1))), 128))
|
|
18633
18635
|
])
|
|
18634
18636
|
], 2)) : R("", !0)
|
|
18635
18637
|
]),
|
|
@@ -18652,11 +18654,11 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18652
18654
|
r.value.relation.length > 0 ? (_(), D("div", Lh, [
|
|
18653
18655
|
w("p", Bh, B(c.labels.relations), 1),
|
|
18654
18656
|
w("div", $h, [
|
|
18655
|
-
(_(!0), D(xe, null, $e(i(r.value.relation), (
|
|
18657
|
+
(_(!0), D(xe, null, $e(i(r.value.relation), (f, b) => (_(), D("button", {
|
|
18656
18658
|
key: `relation-${b}`,
|
|
18657
18659
|
class: "p-1 border rounded mr-1",
|
|
18658
|
-
onClick: (g) => o(
|
|
18659
|
-
}, B(
|
|
18660
|
+
onClick: (g) => o(f.term)
|
|
18661
|
+
}, B(f.term), 9, Ih))), 128))
|
|
18660
18662
|
])
|
|
18661
18663
|
])) : R("", !0)
|
|
18662
18664
|
])
|
|
@@ -18762,7 +18764,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18762
18764
|
bg-center`), a = L(() => r.src ? r.src : "https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg"), n = e, i = () => {
|
|
18763
18765
|
n("clicked");
|
|
18764
18766
|
}, { title: s, headerImgColor: o, big: c } = ae(r);
|
|
18765
|
-
return (
|
|
18767
|
+
return (h, f) => (_(), D("section", {
|
|
18766
18768
|
class: j(`${v(c) ? "h-screen " : ""}items-center overflow-hidden relative `),
|
|
18767
18769
|
ref: "el"
|
|
18768
18770
|
}, [
|
|
@@ -18774,40 +18776,40 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18774
18776
|
class: j(`relative ${v(c) ? "mb-36" : ""} h-full items-end`)
|
|
18775
18777
|
}, [
|
|
18776
18778
|
w("div", Ph, [
|
|
18777
|
-
|
|
18779
|
+
h.synchrone ? (_(), X(st, {
|
|
18778
18780
|
key: 0,
|
|
18779
18781
|
prependIcon: v(Rl)
|
|
18780
18782
|
}, {
|
|
18781
18783
|
default: O(() => [
|
|
18782
|
-
ce(B(
|
|
18784
|
+
ce(B(h.labels.synchrone), 1)
|
|
18783
18785
|
]),
|
|
18784
18786
|
_: 1
|
|
18785
18787
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18786
|
-
|
|
18788
|
+
h.duration ? (_(), X(st, {
|
|
18787
18789
|
key: 1,
|
|
18788
18790
|
prependIcon: v(nc)
|
|
18789
18791
|
}, {
|
|
18790
18792
|
default: O(() => [
|
|
18791
|
-
ce(B(
|
|
18793
|
+
ce(B(h.duration), 1)
|
|
18792
18794
|
]),
|
|
18793
18795
|
_: 1
|
|
18794
18796
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18795
|
-
|
|
18797
|
+
h.assessment ? (_(), X(st, {
|
|
18796
18798
|
key: 2,
|
|
18797
18799
|
prependIcon: v(Nl)
|
|
18798
18800
|
}, {
|
|
18799
18801
|
default: O(() => [
|
|
18800
|
-
ce(B(
|
|
18802
|
+
ce(B(h.labels.formatif), 1)
|
|
18801
18803
|
]),
|
|
18802
18804
|
_: 1
|
|
18803
18805
|
}, 8, ["prependIcon"])) : R("", !0)
|
|
18804
18806
|
]),
|
|
18805
18807
|
w("div", jh, [
|
|
18806
18808
|
w("div", Gh, [
|
|
18807
|
-
v(s) ||
|
|
18809
|
+
v(s) || h.subtitle ? (_(), D("div", Uh, [
|
|
18808
18810
|
w("div", Zh, [
|
|
18809
18811
|
v(s) ? (_(), D("h1", Wh, B(v(s)), 1)) : R("", !0),
|
|
18810
|
-
|
|
18812
|
+
h.subtitle ? (_(), D("h2", Xh, B(h.subtitle), 1)) : R("", !0)
|
|
18811
18813
|
])
|
|
18812
18814
|
])) : R("", !0)
|
|
18813
18815
|
])
|
|
@@ -18848,7 +18850,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18848
18850
|
if (e.card)
|
|
18849
18851
|
return "text-white";
|
|
18850
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);
|
|
18851
|
-
return (c,
|
|
18853
|
+
return (c, h) => (_(), D("div", {
|
|
18852
18854
|
class: j(v(s) ? "w-4/6 mx-auto" : "")
|
|
18853
18855
|
}, [
|
|
18854
18856
|
Z(hu, {
|