ep-lib-ts 1.0.8 → 1.0.10
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-BW3s-J98.js +4 -0
- package/dist/DisplayBox-CTGmHWwp.js +4 -0
- package/dist/EpAlert-BN0uqZ19.js +4 -0
- package/dist/EpAudio-BatYrOnD.js +4 -0
- package/dist/EpBadge-BGSqBSRs.js +4 -0
- package/dist/EpBarChart-CpRALfka.js +4 -0
- package/dist/EpBtn-dmMQ5usp.js +4 -0
- package/dist/EpCard-C6yq5pOX.js +4 -0
- package/dist/EpChip-JDZ8plRZ.js +4 -0
- package/dist/EpContentSlider-D2QTS76x.js +4 -0
- package/dist/{EpDarkmode-BYMjBRp5.js → EpDarkmode-DnxTsZo2.js} +1 -1
- package/dist/EpDivider-BTRLX4uO.js +4 -0
- package/dist/EpEdu-BPZ8diE3.js +4 -0
- package/dist/EpFlex-B6jt6IJL.js +4 -0
- package/dist/EpFunnelChart-BDykK5Fg.js +4 -0
- package/dist/EpHeader-CE3fYJ-C.js +4 -0
- package/dist/{EpHover-BOo9CvO_.js → EpHover-_kbMSGB8.js} +1 -1
- package/dist/EpIcon-CBcuOH9F.js +4 -0
- package/dist/EpIframe-CiD_e4j9.js +4 -0
- package/dist/EpImg-OLyp1jJ4.js +4 -0
- package/dist/{EpInput-BfzuHWWf.js → EpInput-CihbhRGX.js} +1 -1
- package/dist/EpLineChart-Dh57xs6L.js +4 -0
- package/dist/EpLink-DpAhC-uq.js +4 -0
- package/dist/EpLinkVersion-B2pIY94q.js +4 -0
- package/dist/{EpList-DpKFBR8d.js → EpList-CB22CmY8.js} +1 -1
- package/dist/EpModal-BbATSSDb.js +4 -0
- package/dist/{EpNothing-ZOBK_3UX.js → EpNothing-MqKlL_sl.js} +1 -1
- package/dist/EpPieChart-CzmVi1TJ.js +4 -0
- package/dist/EpQuestion-BnPf-UwT.js +4 -0
- package/dist/EpQuote-d5nIk798.js +4 -0
- package/dist/EpRadio-Cxyqrks9.js +4 -0
- package/dist/EpRadioSummative-DdAdhUFe.js +4 -0
- package/dist/EpReading-CkvcH2_P.js +4 -0
- package/dist/EpResource-JpEcWeoK.js +4 -0
- package/dist/EpScope-CWzFv0aU.js +4 -0
- package/dist/EpSection-D3WscaqH.js +4 -0
- package/dist/{EpSelect-bYMPzTYw.js → EpSelect-isfNnCbF.js} +1 -1
- package/dist/EpSkeleton-BRtycdpA.js +4 -0
- package/dist/EpSoftware-DI6MiEIG.js +4 -0
- package/dist/EpSpinner-DqUNijR1.js +4 -0
- package/dist/EpSummativeTable-BuJpeyxj.js +4 -0
- package/dist/EpSvg-CRtx3-5P.js +4 -0
- package/dist/EpTable-CZ-r5nWa.js +4 -0
- package/dist/EpTerm-DOmG7W3J.js +4 -0
- package/dist/EpText-DbX-WbJM.js +4 -0
- package/dist/EpTimeLine-CPw17O46.js +4 -0
- package/dist/EpVideo-CGPt8Ugn.js +4 -0
- package/dist/EpVideoPanopto-D5V6BQYj.js +4 -0
- package/dist/EpWordDef-CROrAIKr.js +4 -0
- package/dist/components/medias/EpCarousel.vue.d.ts +4 -8
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +1 -1
- package/dist/{index-CCDb-LD7.js → index-D_DTIT-h.js} +598 -578
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/medias/EpCarousel.vue +54 -13
- 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-DOmG7W3J.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-MqKlL_sl.js")) : o.name === "EpReading" ? E0(() => import("./EpReading-CkvcH2_P.js")) : E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-BGSqBSRs.js"), "../basics/EpBtn.vue": () => import("./EpBtn-dmMQ5usp.js"), "../basics/EpCard.vue": () => import("./EpCard-C6yq5pOX.js"), "../basics/EpChip.vue": () => import("./EpChip-JDZ8plRZ.js"), "../basics/EpDivider.vue": () => import("./EpDivider-BTRLX4uO.js"), "../basics/EpFlex.vue": () => import("./EpFlex-B6jt6IJL.js"), "../basics/EpHover.vue": () => import("./EpHover-_kbMSGB8.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CBcuOH9F.js"), "../basics/EpImg.vue": () => import("./EpImg-OLyp1jJ4.js"), "../basics/EpList.vue": () => import("./EpList-CB22CmY8.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-D3WscaqH.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-DqUNijR1.js"), "../basics/EpTable.vue": () => import("./EpTable-CZ-r5nWa.js"), "../basics/EpText.vue": () => import("./EpText-DbX-WbJM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-CpRALfka.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-BDykK5Fg.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-Dh57xs6L.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CzmVi1TJ.js"), "./EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((c) => c.E), "./EpEdu.vue": () => import("./EpEdu-BPZ8diE3.js"), "./EpReading.vue": () => import("./EpReading-CkvcH2_P.js"), "./EpResource.vue": () => import("./EpResource-JpEcWeoK.js"), "./EpScope.vue": () => import("./EpScope-CWzFv0aU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-CihbhRGX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-Cxyqrks9.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DdAdhUFe.js"), "../forms/EpSelect.vue": () => import("./EpSelect-isfNnCbF.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-D2QTS76x.js"), "../interactions/EpDarkmode.vue": () => import("./EpDarkmode-DnxTsZo2.js"), "../interactions/EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "../interactions/EpModal.vue": () => import("./EpModal-BbATSSDb.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-BnPf-UwT.js"), "../interactions/EpSummativeTable.vue": () => import("./EpSummativeTable-BuJpeyxj.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => pu), "../interactions/EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-BatYrOnD.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-CiD_e4j9.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-DpAhC-uq.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-B2pIY94q.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-DI6MiEIG.js"), "../medias/EpSvg.vue": () => import("./EpSvg-CRtx3-5P.js"), "../medias/EpTerm.vue": () => import("./EpTerm-DOmG7W3J.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CPw17O46.js"), "../medias/EpVideo.vue": () => import("./EpVideo-CGPt8Ugn.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-D5V6BQYj.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CROrAIKr.js"), "../signages/EpAlert.vue": () => import("./EpAlert-BN0uqZ19.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CE3fYJ-C.js"), "../signages/EpNothing.vue": () => import("./EpNothing-MqKlL_sl.js"), "../signages/EpQuote.vue": () => import("./EpQuote-d5nIk798.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-BRtycdpA.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BW3s-J98.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-CTGmHWwp.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-OLyp1jJ4.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-BGSqBSRs.js"), "../basics/EpBtn.vue": () => import("./EpBtn-dmMQ5usp.js"), "../basics/EpCard.vue": () => import("./EpCard-C6yq5pOX.js"), "../basics/EpChip.vue": () => import("./EpChip-JDZ8plRZ.js"), "../basics/EpDivider.vue": () => import("./EpDivider-BTRLX4uO.js"), "../basics/EpFlex.vue": () => import("./EpFlex-B6jt6IJL.js"), "../basics/EpHover.vue": () => import("./EpHover-_kbMSGB8.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CBcuOH9F.js"), "../basics/EpImg.vue": () => import("./EpImg-OLyp1jJ4.js"), "../basics/EpList.vue": () => import("./EpList-CB22CmY8.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-D3WscaqH.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-DqUNijR1.js"), "../basics/EpTable.vue": () => import("./EpTable-CZ-r5nWa.js"), "../basics/EpText.vue": () => import("./EpText-DbX-WbJM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-CpRALfka.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-BDykK5Fg.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-Dh57xs6L.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CzmVi1TJ.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((x) => x.E), "../educationals/EpEdu.vue": () => import("./EpEdu-BPZ8diE3.js"), "../educationals/EpReading.vue": () => import("./EpReading-CkvcH2_P.js"), "../educationals/EpResource.vue": () => import("./EpResource-JpEcWeoK.js"), "../educationals/EpScope.vue": () => import("./EpScope-CWzFv0aU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-CihbhRGX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-Cxyqrks9.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DdAdhUFe.js"), "../forms/EpSelect.vue": () => import("./EpSelect-isfNnCbF.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-D2QTS76x.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-DnxTsZo2.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-BbATSSDb.js"), "./EpQuestion.vue": () => import("./EpQuestion-BnPf-UwT.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-BuJpeyxj.js"), "./EpTabs.vue": () => Promise.resolve().then(() => pu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-BatYrOnD.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-CiD_e4j9.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-DpAhC-uq.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-B2pIY94q.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-DI6MiEIG.js"), "../medias/EpSvg.vue": () => import("./EpSvg-CRtx3-5P.js"), "../medias/EpTerm.vue": () => import("./EpTerm-DOmG7W3J.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CPw17O46.js"), "../medias/EpVideo.vue": () => import("./EpVideo-CGPt8Ugn.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-D5V6BQYj.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CROrAIKr.js"), "../signages/EpAlert.vue": () => import("./EpAlert-BN0uqZ19.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CE3fYJ-C.js"), "../signages/EpNothing.vue": () => import("./EpNothing-MqKlL_sl.js"), "../signages/EpQuote.vue": () => import("./EpQuote-d5nIk798.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-BRtycdpA.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BW3s-J98.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-CTGmHWwp.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-MqKlL_sl.js")) : E0(() => fu(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-BGSqBSRs.js"), "../basics/EpBtn.vue": () => import("./EpBtn-dmMQ5usp.js"), "../basics/EpCard.vue": () => import("./EpCard-C6yq5pOX.js"), "../basics/EpChip.vue": () => import("./EpChip-JDZ8plRZ.js"), "../basics/EpDivider.vue": () => import("./EpDivider-BTRLX4uO.js"), "../basics/EpFlex.vue": () => import("./EpFlex-B6jt6IJL.js"), "../basics/EpHover.vue": () => import("./EpHover-_kbMSGB8.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CBcuOH9F.js"), "../basics/EpImg.vue": () => import("./EpImg-OLyp1jJ4.js"), "../basics/EpList.vue": () => import("./EpList-CB22CmY8.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-D3WscaqH.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-DqUNijR1.js"), "../basics/EpTable.vue": () => import("./EpTable-CZ-r5nWa.js"), "../basics/EpText.vue": () => import("./EpText-DbX-WbJM.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-CpRALfka.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-BDykK5Fg.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-Dh57xs6L.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CzmVi1TJ.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-C4BqtKtL.js").then((F) => F.E), "../educationals/EpEdu.vue": () => import("./EpEdu-BPZ8diE3.js"), "../educationals/EpReading.vue": () => import("./EpReading-CkvcH2_P.js"), "../educationals/EpResource.vue": () => import("./EpResource-JpEcWeoK.js"), "../educationals/EpScope.vue": () => import("./EpScope-CWzFv0aU.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-CihbhRGX.js"), "../forms/EpRadio.vue": () => import("./EpRadio-Cxyqrks9.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DdAdhUFe.js"), "../forms/EpSelect.vue": () => import("./EpSelect-isfNnCbF.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-D2QTS76x.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-DnxTsZo2.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-BbATSSDb.js"), "./EpQuestion.vue": () => import("./EpQuestion-BnPf-UwT.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-BuJpeyxj.js"), "./EpTabs.vue": () => Promise.resolve().then(() => pu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-BatYrOnD.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bu), "../medias/EpIframe.vue": () => import("./EpIframe-CiD_e4j9.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => qu), "../medias/EpLink.vue": () => import("./EpLink-DpAhC-uq.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-B2pIY94q.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-DI6MiEIG.js"), "../medias/EpSvg.vue": () => import("./EpSvg-CRtx3-5P.js"), "../medias/EpTerm.vue": () => import("./EpTerm-DOmG7W3J.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CPw17O46.js"), "../medias/EpVideo.vue": () => import("./EpVideo-CGPt8Ugn.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-D5V6BQYj.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-CROrAIKr.js"), "../signages/EpAlert.vue": () => import("./EpAlert-BN0uqZ19.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-CE3fYJ-C.js"), "../signages/EpNothing.vue": () => import("./EpNothing-MqKlL_sl.js"), "../signages/EpQuote.vue": () => import("./EpQuote-d5nIk798.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-BRtycdpA.js"), "../tools/BgAudio.vue": () => import("./BgAudio-BW3s-J98.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-CTGmHWwp.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
|
}))
|
|
@@ -6111,76 +6111,96 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6111
6111
|
props: {
|
|
6112
6112
|
carrouselImg: {},
|
|
6113
6113
|
gallery: { type: Boolean, default: !1 },
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
sizeThumbnail: { default: "medium" }
|
|
6114
|
+
sizeThumbnail: { default: "medium" },
|
|
6115
|
+
locale: { default: "fr" }
|
|
6117
6116
|
},
|
|
6118
6117
|
setup(t) {
|
|
6119
|
-
const e = t, r =
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6118
|
+
const e = t, r = () => {
|
|
6119
|
+
switch (e.locale) {
|
|
6120
|
+
case "es":
|
|
6121
|
+
return "Referencia";
|
|
6122
|
+
case "en":
|
|
6123
|
+
return "Reference";
|
|
6124
|
+
case "fr":
|
|
6125
|
+
default:
|
|
6126
|
+
return "Référence";
|
|
6127
|
+
}
|
|
6128
|
+
}, u = () => {
|
|
6129
|
+
switch (e.locale) {
|
|
6130
|
+
case "es":
|
|
6131
|
+
return "Cerrar";
|
|
6132
|
+
case "en":
|
|
6133
|
+
return "Close";
|
|
6134
|
+
case "fr":
|
|
6135
|
+
default:
|
|
6136
|
+
return "Fermer";
|
|
6137
|
+
}
|
|
6138
|
+
}, a = le(0), n = le(!1), i = () => {
|
|
6139
|
+
const f = a.value === 0 ? e.carrouselImg.length - 1 : a.value - 1;
|
|
6140
|
+
a.value = f;
|
|
6141
|
+
}, s = () => {
|
|
6142
|
+
const f = a.value === e.carrouselImg.length - 1 ? 0 : a.value + 1;
|
|
6143
|
+
a.value = f;
|
|
6144
|
+
}, { carrouselImg: o, sizeThumbnail: c } = ae(e);
|
|
6145
|
+
return (h, f) => {
|
|
6127
6146
|
var b, g;
|
|
6128
|
-
return
|
|
6129
|
-
(_(!0), D(xe, null, $e(v(
|
|
6147
|
+
return h.gallery ? (_(), D("div", h4, [
|
|
6148
|
+
(_(!0), D(xe, null, $e(v(o), (x) => (_(), X(mt, {
|
|
6130
6149
|
key: `image-${x == null ? void 0 : x.uid}`,
|
|
6131
6150
|
src: x.src,
|
|
6132
6151
|
bib: x.bib,
|
|
6133
6152
|
caption: x.caption,
|
|
6134
6153
|
thumbnail: "",
|
|
6135
|
-
"size-thumbnail": v(c)
|
|
6136
|
-
|
|
6154
|
+
"size-thumbnail": v(c),
|
|
6155
|
+
locale: h.locale
|
|
6156
|
+
}, null, 8, ["src", "bib", "caption", "size-thumbnail", "locale"]))), 128))
|
|
6137
6157
|
])) : (_(), D("div", a4, [
|
|
6138
6158
|
w("div", n4, [
|
|
6139
|
-
w("button", { onClick:
|
|
6159
|
+
w("button", { onClick: i }, [
|
|
6140
6160
|
Z(oe, { "icon-path": v(Wl) }, null, 8, ["icon-path"])
|
|
6141
6161
|
]),
|
|
6142
|
-
ce(" " + B(
|
|
6143
|
-
w("button", { onClick:
|
|
6162
|
+
ce(" " + B(a.value + 1) + "/" + B(v(o).length) + " ", 1),
|
|
6163
|
+
w("button", { onClick: s }, [
|
|
6144
6164
|
Z(oe, { "icon-path": v(Xl) }, null, 8, ["icon-path"])
|
|
6145
6165
|
])
|
|
6146
6166
|
]),
|
|
6147
6167
|
w("div", i4, [
|
|
6148
6168
|
w("img", {
|
|
6149
|
-
src: v(
|
|
6169
|
+
src: v(o)[a.value].src,
|
|
6150
6170
|
alt: "image",
|
|
6151
6171
|
class: "rounded-sm"
|
|
6152
6172
|
}, null, 8, s4),
|
|
6153
|
-
(b = v(
|
|
6154
|
-
(g = v(
|
|
6173
|
+
(b = v(o)[a.value]) != null && b.caption ? (_(), D("div", o4, B(v(o)[a.value].caption), 1)) : R("", !0),
|
|
6174
|
+
(g = v(o)[a.value]) != null && g.bib ? (_(), D("div", l4, [
|
|
6155
6175
|
Z(Be, {
|
|
6156
6176
|
type: "primary",
|
|
6157
|
-
onClick:
|
|
6177
|
+
onClick: f[0] || (f[0] = (x) => n.value = !0),
|
|
6158
6178
|
dark: ""
|
|
6159
6179
|
}, {
|
|
6160
6180
|
default: O(() => [
|
|
6161
|
-
ce(B(
|
|
6181
|
+
ce(B(r))
|
|
6162
6182
|
]),
|
|
6163
6183
|
_: 1
|
|
6164
6184
|
})
|
|
6165
6185
|
])) : R("", !0)
|
|
6166
6186
|
]),
|
|
6167
6187
|
Z(Ut, {
|
|
6168
|
-
modelValue:
|
|
6169
|
-
"onUpdate:modelValue":
|
|
6188
|
+
modelValue: n.value,
|
|
6189
|
+
"onUpdate:modelValue": f[2] || (f[2] = (x) => n.value = x),
|
|
6170
6190
|
title: "Référence"
|
|
6171
6191
|
}, {
|
|
6172
6192
|
default: O(() => [
|
|
6173
6193
|
w("div", {
|
|
6174
|
-
innerHTML: v(
|
|
6194
|
+
innerHTML: v(o)[a.value].bib
|
|
6175
6195
|
}, null, 8, c4),
|
|
6176
6196
|
w("div", d4, [
|
|
6177
6197
|
Z(Be, {
|
|
6178
|
-
onClick:
|
|
6198
|
+
onClick: f[1] || (f[1] = (x) => n.value = !1),
|
|
6179
6199
|
type: "primary",
|
|
6180
6200
|
dark: ""
|
|
6181
6201
|
}, {
|
|
6182
6202
|
default: O(() => [
|
|
6183
|
-
ce(B(
|
|
6203
|
+
ce(B(u))
|
|
6184
6204
|
]),
|
|
6185
6205
|
_: 1
|
|
6186
6206
|
})
|
|
@@ -6191,7 +6211,7 @@ const Hd = /* @__PURE__ */ rt(Ld, [["render", qd]]), pu = /* @__PURE__ */ Object
|
|
|
6191
6211
|
]));
|
|
6192
6212
|
};
|
|
6193
6213
|
}
|
|
6194
|
-
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-
|
|
6214
|
+
}), m4 = /* @__PURE__ */ rt(f4, [["__scopeId", "data-v-db3c7dcb"]]), bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6195
6215
|
__proto__: null,
|
|
6196
6216
|
default: m4
|
|
6197
6217
|
}, Symbol.toStringTag, { value: "Module" })), p4 = ["innerHTML"], b4 = ["src", "height"], v4 = /* @__PURE__ */ ee({
|
|
@@ -6283,11 +6303,11 @@ class H {
|
|
|
6283
6303
|
a = i.start, n = i.end, a === s.length ? u += " at end of input: " : u += " at position " + (a + 1) + ": ";
|
|
6284
6304
|
var o = s.slice(a, n).replace(/[^]/g, "$&̲"), c;
|
|
6285
6305
|
a > 15 ? c = "…" + s.slice(a - 15, a) : c = s.slice(0, a);
|
|
6286
|
-
var
|
|
6287
|
-
n + 15 < s.length ?
|
|
6306
|
+
var h;
|
|
6307
|
+
n + 15 < s.length ? h = s.slice(n, n + 15) + "…" : h = s.slice(n), u += c + o + h;
|
|
6288
6308
|
}
|
|
6289
|
-
var
|
|
6290
|
-
return
|
|
6309
|
+
var f = new Error(u);
|
|
6310
|
+
return f.name = "ParseError", f.__proto__ = H.prototype, f.position = a, a != null && n != null && (f.length = n - a), f.rawMessage = e, f;
|
|
6291
6311
|
}
|
|
6292
6312
|
}
|
|
6293
6313
|
H.prototype.__proto__ = Error.prototype;
|
|
@@ -10561,8 +10581,8 @@ var Bt = [
|
|
|
10561
10581
|
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
10582
|
if (a) {
|
|
10563
10583
|
o.maxFontSize = a.sizeMultiplier, a.style.isTight() && o.classes.push("mtight");
|
|
10564
|
-
var
|
|
10565
|
-
|
|
10584
|
+
var h = a.getColor();
|
|
10585
|
+
h && (o.style.color = h);
|
|
10566
10586
|
}
|
|
10567
10587
|
return o;
|
|
10568
10588
|
}, r3 = function(e, r, u, a) {
|
|
@@ -10576,20 +10596,20 @@ var Bt = [
|
|
|
10576
10596
|
fontClass: "mathbf"
|
|
10577
10597
|
};
|
|
10578
10598
|
}, 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(
|
|
10599
|
+
var a = e.mode, n = e.text, i = ["mord"], s = a === "math" || a === "text" && r.font, o = s ? r.font : r.fontFamily, c = "", h = "";
|
|
10600
|
+
if (n.charCodeAt(0) === 55349 && ([c, h] = t3(n, a)), c.length > 0)
|
|
10601
|
+
return We(n, c, a, r, i.concat(h));
|
|
10582
10602
|
if (o) {
|
|
10583
|
-
var
|
|
10603
|
+
var f, b;
|
|
10584
10604
|
if (o === "boldsymbol") {
|
|
10585
10605
|
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) &&
|
|
10606
|
+
f = g.fontName, b = [g.fontClass];
|
|
10607
|
+
} else s ? (f = Un[o].fontName, b = [o]) : (f = $t(o, r.fontWeight, r.fontShape), b = [o, r.fontWeight, r.fontShape]);
|
|
10608
|
+
if (ir(n, f, a).metrics)
|
|
10609
|
+
return We(n, f, a, r, i.concat(b));
|
|
10610
|
+
if (Pn.hasOwnProperty(n) && f.slice(0, 10) === "Typewriter") {
|
|
10591
10611
|
for (var x = [], A = 0; A < n.length; A++)
|
|
10592
|
-
x.push(We(n[A],
|
|
10612
|
+
x.push(We(n[A], f, a, r, i.concat(b)));
|
|
10593
10613
|
return Gn(x);
|
|
10594
10614
|
}
|
|
10595
10615
|
}
|
|
@@ -10666,11 +10686,11 @@ var Bt = [
|
|
|
10666
10686
|
}
|
|
10667
10687
|
var c;
|
|
10668
10688
|
if (e.positionType === "top") {
|
|
10669
|
-
for (var
|
|
10670
|
-
var b = e.children[
|
|
10671
|
-
|
|
10689
|
+
for (var h = e.positionData, f = 0; f < e.children.length; f++) {
|
|
10690
|
+
var b = e.children[f];
|
|
10691
|
+
h -= b.type === "kern" ? b.size : b.elem.height + b.elem.depth;
|
|
10672
10692
|
}
|
|
10673
|
-
c =
|
|
10693
|
+
c = h;
|
|
10674
10694
|
} else if (e.positionType === "bottom")
|
|
10675
10695
|
c = -e.positionData;
|
|
10676
10696
|
else {
|
|
@@ -10702,28 +10722,28 @@ var Bt = [
|
|
|
10702
10722
|
n += 2;
|
|
10703
10723
|
var c = Le(["pstrut"], []);
|
|
10704
10724
|
c.style.height = N(n);
|
|
10705
|
-
for (var
|
|
10725
|
+
for (var h = [], f = a, b = a, g = a, x = 0; x < u.length; x++) {
|
|
10706
10726
|
var A = u[x];
|
|
10707
10727
|
if (A.type === "kern")
|
|
10708
10728
|
g += A.size;
|
|
10709
10729
|
else {
|
|
10710
10730
|
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),
|
|
10731
|
+
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
10732
|
}
|
|
10713
|
-
|
|
10733
|
+
f = Math.min(f, g), b = Math.max(b, g);
|
|
10714
10734
|
}
|
|
10715
|
-
var F = Le(["vlist"],
|
|
10735
|
+
var F = Le(["vlist"], h);
|
|
10716
10736
|
F.style.height = N(b);
|
|
10717
10737
|
var I;
|
|
10718
|
-
if (
|
|
10738
|
+
if (f < 0) {
|
|
10719
10739
|
var V = Le([], []), U = Le(["vlist"], [V]);
|
|
10720
|
-
U.style.height = N(-
|
|
10740
|
+
U.style.height = N(-f);
|
|
10721
10741
|
var te = Le(["vlist-s"], [new Ue("")]);
|
|
10722
10742
|
I = [Le(["vlist-r"], [F, te]), Le(["vlist-r"], [U])];
|
|
10723
10743
|
} else
|
|
10724
10744
|
I = [Le(["vlist-r"], [F])];
|
|
10725
10745
|
var re = Le(["vlist-t"], I);
|
|
10726
|
-
return I.length === 2 && re.classes.push("vlist-t2"), re.height = b, re.depth = -
|
|
10746
|
+
return I.length === 2 && re.classes.push("vlist-t2"), re.height = b, re.depth = -f, re;
|
|
10727
10747
|
}, h3 = (t, e) => {
|
|
10728
10748
|
var r = Le(["mspace"], [], e), u = be(t, e);
|
|
10729
10749
|
return r.style.marginRight = N(u), r;
|
|
@@ -10984,21 +11004,21 @@ var Kt = function(e) {
|
|
|
10984
11004
|
return n;
|
|
10985
11005
|
var c = r;
|
|
10986
11006
|
if (e.length === 1) {
|
|
10987
|
-
var
|
|
10988
|
-
|
|
11007
|
+
var h = e[0];
|
|
11008
|
+
h.type === "sizing" ? c = r.havingSize(h.size) : h.type === "styling" && (c = r.havingStyle(g3[h.style]));
|
|
10989
11009
|
}
|
|
10990
|
-
var
|
|
11010
|
+
var f = b0([a[0] || "leftmost"], [], r), b = b0([a[1] || "rightmost"], [], r), g = u === "root";
|
|
10991
11011
|
return Aa(n, (x, A) => {
|
|
10992
11012
|
var S = A.classes[0], T = x.classes[0];
|
|
10993
11013
|
S === "mbin" && W.contains(v3, T) ? A.classes[0] = "mord" : T === "mbin" && W.contains(b3, S) && (x.classes[0] = "mord");
|
|
10994
11014
|
}, {
|
|
10995
|
-
node:
|
|
11015
|
+
node: f
|
|
10996
11016
|
}, b, g), Aa(n, (x, A) => {
|
|
10997
11017
|
var S = Kr(A), T = Kr(x), M = S && T ? x.hasClass("mtight") ? p3[S][T] : m3[S][T] : null;
|
|
10998
11018
|
if (M)
|
|
10999
11019
|
return E.makeGlue(M, c);
|
|
11000
11020
|
}, {
|
|
11001
|
-
node:
|
|
11021
|
+
node: f
|
|
11002
11022
|
}, b, g), n;
|
|
11003
11023
|
}, Aa = function t(e, r, u, a, n) {
|
|
11004
11024
|
a && e.push(a);
|
|
@@ -11010,11 +11030,11 @@ var Kt = function(e) {
|
|
|
11010
11030
|
}
|
|
11011
11031
|
var c = !s.hasClass("mspace");
|
|
11012
11032
|
if (c) {
|
|
11013
|
-
var
|
|
11014
|
-
|
|
11033
|
+
var h = r(s, u.node);
|
|
11034
|
+
h && (u.insertAfter ? u.insertAfter(h) : (e.unshift(h), i++));
|
|
11015
11035
|
}
|
|
11016
|
-
c ? u.node = s : n && s.hasClass("newline") && (u.node = b0(["leftmost"])), u.insertAfter = /* @__PURE__ */ ((
|
|
11017
|
-
e.splice(
|
|
11036
|
+
c ? u.node = s : n && s.hasClass("newline") && (u.node = b0(["leftmost"])), u.insertAfter = /* @__PURE__ */ ((f) => (b) => {
|
|
11037
|
+
e.splice(f + 1, 0, b), i++;
|
|
11018
11038
|
})(i);
|
|
11019
11039
|
}
|
|
11020
11040
|
a && e.pop();
|
|
@@ -11069,12 +11089,12 @@ function Qr(t, e) {
|
|
|
11069
11089
|
i.length > 0 && n.push(It(i, e));
|
|
11070
11090
|
var c;
|
|
11071
11091
|
r ? (c = It(we(r, e, !0)), c.classes = ["tag"], n.push(c)) : a && n.push(a);
|
|
11072
|
-
var
|
|
11073
|
-
if (
|
|
11074
|
-
var
|
|
11075
|
-
|
|
11092
|
+
var h = b0(["katex-html"], n);
|
|
11093
|
+
if (h.setAttribute("aria-hidden", "true"), c) {
|
|
11094
|
+
var f = c.children[0];
|
|
11095
|
+
f.style.height = N(h.height + h.depth), h.depth && (f.style.verticalAlign = N(-h.depth));
|
|
11076
11096
|
}
|
|
11077
|
-
return
|
|
11097
|
+
return h;
|
|
11078
11098
|
}
|
|
11079
11099
|
function Yn(t) {
|
|
11080
11100
|
return new yt(t);
|
|
@@ -11248,10 +11268,10 @@ var q = {
|
|
|
11248
11268
|
continue;
|
|
11249
11269
|
}
|
|
11250
11270
|
} else if (i.type === "mi" && i.children.length === 1) {
|
|
11251
|
-
var
|
|
11252
|
-
if (
|
|
11253
|
-
var
|
|
11254
|
-
|
|
11271
|
+
var h = i.children[0];
|
|
11272
|
+
if (h instanceof ot && h.text === "̸" && (o.type === "mo" || o.type === "mi" || o.type === "mn")) {
|
|
11273
|
+
var f = o.children[0];
|
|
11274
|
+
f instanceof ot && f.text.length > 0 && (f.text = f.text.slice(0, 1) + "̸" + f.text.slice(1), n.pop());
|
|
11255
11275
|
}
|
|
11256
11276
|
}
|
|
11257
11277
|
}
|
|
@@ -11276,8 +11296,8 @@ function Sa(t, e, r, u, a) {
|
|
|
11276
11296
|
s.setAttribute("encoding", "application/x-tex");
|
|
11277
11297
|
var o = new q.MathNode("semantics", [i, s]), c = new q.MathNode("math", [o]);
|
|
11278
11298
|
c.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), u && c.setAttribute("display", "block");
|
|
11279
|
-
var
|
|
11280
|
-
return E.makeSpan([
|
|
11299
|
+
var h = a ? "katex" : "katex-mathml";
|
|
11300
|
+
return E.makeSpan([h], [c]);
|
|
11281
11301
|
}
|
|
11282
11302
|
var Kn = function(e) {
|
|
11283
11303
|
return new h0({
|
|
@@ -11407,17 +11427,17 @@ var Kn = function(e) {
|
|
|
11407
11427
|
function u() {
|
|
11408
11428
|
var s = 4e5, o = e.label.slice(1);
|
|
11409
11429
|
if (W.contains(["widehat", "widecheck", "widetilde", "utilde"], o)) {
|
|
11410
|
-
var c = e,
|
|
11411
|
-
if (
|
|
11412
|
-
o === "widehat" || o === "widecheck" ? (
|
|
11430
|
+
var c = e, h = E3(c.base), f, b, g;
|
|
11431
|
+
if (h > 5)
|
|
11432
|
+
o === "widehat" || o === "widecheck" ? (f = 420, s = 2364, g = 0.42, b = o + "4") : (f = 312, s = 2340, g = 0.34, b = "tilde4");
|
|
11413
11433
|
else {
|
|
11414
|
-
var x = [1, 1, 2, 2, 3, 3][
|
|
11415
|
-
o === "widehat" || o === "widecheck" ? (s = [0, 1062, 2364, 2364, 2364][x],
|
|
11434
|
+
var x = [1, 1, 2, 2, 3, 3][h];
|
|
11435
|
+
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
11436
|
}
|
|
11417
11437
|
var A = new T0(b), S = new p0([A], {
|
|
11418
11438
|
width: "100%",
|
|
11419
11439
|
height: N(g),
|
|
11420
|
-
viewBox: "0 0 " + s + " " +
|
|
11440
|
+
viewBox: "0 0 " + s + " " + f,
|
|
11421
11441
|
preserveAspectRatio: "none"
|
|
11422
11442
|
});
|
|
11423
11443
|
return {
|
|
@@ -11487,11 +11507,11 @@ var Kn = function(e) {
|
|
|
11487
11507
|
y2: "0",
|
|
11488
11508
|
"stroke-width": "0.046em"
|
|
11489
11509
|
}));
|
|
11490
|
-
var
|
|
11510
|
+
var h = new p0(c, {
|
|
11491
11511
|
width: "100%",
|
|
11492
11512
|
height: N(s)
|
|
11493
11513
|
});
|
|
11494
|
-
i = E.makeSvgSpan([], [
|
|
11514
|
+
i = E.makeSvgSpan([], [h], n);
|
|
11495
11515
|
}
|
|
11496
11516
|
return i.height = s, i.style.height = N(s), i;
|
|
11497
11517
|
}, v0 = {
|
|
@@ -11521,7 +11541,7 @@ var Au = (t, e) => {
|
|
|
11521
11541
|
var o = W.getBaseElem(r), c = ie(o, e.havingCrampedStyle());
|
|
11522
11542
|
s = xa(c).skew;
|
|
11523
11543
|
}
|
|
11524
|
-
var
|
|
11544
|
+
var h = u.label === "\\c", f = h ? n.height + n.depth : Math.min(n.height, e.fontMetrics().xHeight), b;
|
|
11525
11545
|
if (u.isStretchy)
|
|
11526
11546
|
b = v0.svgSpan(u, e), b = E.makeVList({
|
|
11527
11547
|
positionType: "firstBaseline",
|
|
@@ -11543,9 +11563,9 @@ var Au = (t, e) => {
|
|
|
11543
11563
|
u.label === "\\vec" ? (g = E.staticSvg("vec", e), x = E.svgData.vec[1]) : (g = E.makeOrd({
|
|
11544
11564
|
mode: u.mode,
|
|
11545
11565
|
text: u.label
|
|
11546
|
-
}, e, "textord"), g = xa(g), g.italic = 0, x = g.width,
|
|
11566
|
+
}, e, "textord"), g = xa(g), g.italic = 0, x = g.width, h && (f += g.depth)), b = E.makeSpan(["accent-body"], [g]);
|
|
11547
11567
|
var A = u.label === "\\textcircled";
|
|
11548
|
-
A && (b.classes.push("accent-full"),
|
|
11568
|
+
A && (b.classes.push("accent-full"), f = n.height);
|
|
11549
11569
|
var S = s;
|
|
11550
11570
|
A || (S -= x / 2), b.style.left = N(S), u.label === "\\textcircled" && (b.style.top = ".2em"), b = E.makeVList({
|
|
11551
11571
|
positionType: "firstBaseline",
|
|
@@ -11554,7 +11574,7 @@ var Au = (t, e) => {
|
|
|
11554
11574
|
elem: n
|
|
11555
11575
|
}, {
|
|
11556
11576
|
type: "kern",
|
|
11557
|
-
size: -
|
|
11577
|
+
size: -f
|
|
11558
11578
|
}, {
|
|
11559
11579
|
type: "elem",
|
|
11560
11580
|
elem: b
|
|
@@ -11714,10 +11734,10 @@ P({
|
|
|
11714
11734
|
t.below && (u = e.havingStyle(r.sub()), i = E.wrapFragment(ie(t.below, u, e), e), i.classes.push(n + "-arrow-pad"));
|
|
11715
11735
|
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
11736
|
(a.depth > 0.25 || t.label === "\\xleftequilibrium") && (c -= a.depth);
|
|
11717
|
-
var
|
|
11737
|
+
var h;
|
|
11718
11738
|
if (i) {
|
|
11719
|
-
var
|
|
11720
|
-
|
|
11739
|
+
var f = -e.fontMetrics().axisHeight + i.height + 0.5 * s.height + 0.111;
|
|
11740
|
+
h = E.makeVList({
|
|
11721
11741
|
positionType: "individualShift",
|
|
11722
11742
|
children: [{
|
|
11723
11743
|
type: "elem",
|
|
@@ -11730,11 +11750,11 @@ P({
|
|
|
11730
11750
|
}, {
|
|
11731
11751
|
type: "elem",
|
|
11732
11752
|
elem: i,
|
|
11733
|
-
shift:
|
|
11753
|
+
shift: f
|
|
11734
11754
|
}]
|
|
11735
11755
|
}, e);
|
|
11736
11756
|
} else
|
|
11737
|
-
|
|
11757
|
+
h = E.makeVList({
|
|
11738
11758
|
positionType: "individualShift",
|
|
11739
11759
|
children: [{
|
|
11740
11760
|
type: "elem",
|
|
@@ -11746,7 +11766,7 @@ P({
|
|
|
11746
11766
|
shift: o
|
|
11747
11767
|
}]
|
|
11748
11768
|
}, e);
|
|
11749
|
-
return
|
|
11769
|
+
return h.children[0].children[0].children[1].classes.push("svg-align"), E.makeSpan(["mrel", "x-arrow"], [h], e);
|
|
11750
11770
|
},
|
|
11751
11771
|
mathmlBuilder(t, e) {
|
|
11752
11772
|
var r = v0.mathMLnode(t.label);
|
|
@@ -11960,17 +11980,17 @@ function $3(t) {
|
|
|
11960
11980
|
s.body.push(i[o]);
|
|
11961
11981
|
else {
|
|
11962
11982
|
u.push(s), o += 1;
|
|
11963
|
-
var c = Cu(i[o]).text,
|
|
11964
|
-
if (
|
|
11983
|
+
var c = Cu(i[o]).text, h = new Array(2);
|
|
11984
|
+
if (h[0] = {
|
|
11965
11985
|
type: "ordgroup",
|
|
11966
11986
|
mode: "math",
|
|
11967
11987
|
body: []
|
|
11968
|
-
},
|
|
11988
|
+
}, h[1] = {
|
|
11969
11989
|
type: "ordgroup",
|
|
11970
11990
|
mode: "math",
|
|
11971
11991
|
body: []
|
|
11972
11992
|
}, !("=|.".indexOf(c) > -1)) if ("<>AV".indexOf(c) > -1)
|
|
11973
|
-
for (var
|
|
11993
|
+
for (var f = 0; f < 2; f++) {
|
|
11974
11994
|
for (var b = !0, g = o + 1; g < i.length; g++) {
|
|
11975
11995
|
if (L3(i[g], c)) {
|
|
11976
11996
|
b = !1, o = g;
|
|
@@ -11978,14 +11998,14 @@ function $3(t) {
|
|
|
11978
11998
|
}
|
|
11979
11999
|
if (Ma(i[g]))
|
|
11980
12000
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[g]);
|
|
11981
|
-
f
|
|
12001
|
+
h[f].body.push(i[g]);
|
|
11982
12002
|
}
|
|
11983
12003
|
if (b)
|
|
11984
12004
|
throw new H("Missing a " + c + " character to complete a CD arrow.", i[o]);
|
|
11985
12005
|
}
|
|
11986
12006
|
else
|
|
11987
12007
|
throw new H('Expected one of "<>AV=|." after @', i[o]);
|
|
11988
|
-
var x = B3(c,
|
|
12008
|
+
var x = B3(c, h, t), A = {
|
|
11989
12009
|
type: "styling",
|
|
11990
12010
|
body: [x],
|
|
11991
12011
|
mode: "math",
|
|
@@ -12365,11 +12385,11 @@ var it = function(e, r, u) {
|
|
|
12365
12385
|
type: "kern",
|
|
12366
12386
|
size: -1 * eu
|
|
12367
12387
|
}, R3 = ["|", "\\lvert", "\\rvert", "\\vert"], N3 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], oi = function(e, r, u, a, n, i) {
|
|
12368
|
-
var s, o, c,
|
|
12369
|
-
s = c =
|
|
12388
|
+
var s, o, c, h, f = "", b = 0;
|
|
12389
|
+
s = c = h = e, o = null;
|
|
12370
12390
|
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(
|
|
12391
|
+
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");
|
|
12392
|
+
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
12393
|
if (o !== null) {
|
|
12374
12394
|
var V = it(o, g, n);
|
|
12375
12395
|
F = V.height + V.depth, I = 2;
|
|
@@ -12377,8 +12397,8 @@ var it = function(e, r, u) {
|
|
|
12377
12397
|
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
12398
|
u && (Q *= a.sizeMultiplier);
|
|
12379
12399
|
var ne = re / 2 - Q, se = [];
|
|
12380
|
-
if (
|
|
12381
|
-
var c0 = re - A - z, Se = Math.round(re * 1e3), _e = G4(
|
|
12400
|
+
if (f.length > 0) {
|
|
12401
|
+
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
12402
|
width: H0,
|
|
12383
12403
|
height: R0,
|
|
12384
12404
|
viewBox: "0 0 " + b + " " + Se
|
|
@@ -12388,7 +12408,7 @@ var it = function(e, r, u) {
|
|
|
12388
12408
|
elem: x0
|
|
12389
12409
|
});
|
|
12390
12410
|
} else {
|
|
12391
|
-
if (se.push(Dr(
|
|
12411
|
+
if (se.push(Dr(h, g, n)), se.push(Ht), o === null) {
|
|
12392
12412
|
var y0 = re - A - z + 2 * eu;
|
|
12393
12413
|
se.push(Tr(c, y0, a));
|
|
12394
12414
|
} else {
|
|
@@ -12413,10 +12433,10 @@ var it = function(e, r, u) {
|
|
|
12413
12433
|
});
|
|
12414
12434
|
return E.makeSvgSpan(["hide-tail"], [o], n);
|
|
12415
12435
|
}, 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" ? (
|
|
12436
|
+
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;
|
|
12437
|
+
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
12438
|
span: s,
|
|
12419
|
-
advanceWidth:
|
|
12439
|
+
advanceWidth: f,
|
|
12420
12440
|
// Calculate the actual line width.
|
|
12421
12441
|
// This actually should depend on the chosen font -- e.g. \boldmath
|
|
12422
12442
|
// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
|
|
@@ -12510,7 +12530,7 @@ var it = function(e, r, u) {
|
|
|
12510
12530
|
var o = hi(e, r, s, a);
|
|
12511
12531
|
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
12532
|
}, Z3 = function(e, r, u, a, n, i) {
|
|
12513
|
-
var s = a.fontMetrics().axisHeight * a.sizeMultiplier, o = 901, c = 5 / a.fontMetrics().ptPerEm,
|
|
12533
|
+
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
12534
|
// In real TeX, calculations are done using integral values which are
|
|
12515
12535
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
12516
12536
|
// TeX but doesn't here, producing different results. If we wanted to
|
|
@@ -12520,10 +12540,10 @@ var it = function(e, r, u) {
|
|
|
12520
12540
|
// (To see the difference, compare
|
|
12521
12541
|
// x^{x^{\left(\rule{0.1em}{0.68em}\right)}}
|
|
12522
12542
|
// in TeX and KaTeX)
|
|
12523
|
-
|
|
12524
|
-
2 *
|
|
12543
|
+
h / 500 * o,
|
|
12544
|
+
2 * h - c
|
|
12525
12545
|
);
|
|
12526
|
-
return fi(e,
|
|
12546
|
+
return fi(e, f, !0, a, n, i);
|
|
12527
12547
|
}, m0 = {
|
|
12528
12548
|
sqrtImage: V3,
|
|
12529
12549
|
sizedDelim: P3,
|
|
@@ -12683,17 +12703,17 @@ P({
|
|
|
12683
12703
|
var s;
|
|
12684
12704
|
if (t.left === "." ? s = bt(e, ["mopen"]) : s = m0.leftRightDelim(t.left, u, a, e, t.mode, ["mopen"]), r.unshift(s), n)
|
|
12685
12705
|
for (var o = 1; o < r.length; o++) {
|
|
12686
|
-
var c = r[o],
|
|
12687
|
-
|
|
12706
|
+
var c = r[o], h = c.isMiddle;
|
|
12707
|
+
h && (r[o] = m0.leftRightDelim(h.delim, u, a, h.options, t.mode, []));
|
|
12688
12708
|
}
|
|
12689
|
-
var
|
|
12709
|
+
var f;
|
|
12690
12710
|
if (t.right === ".")
|
|
12691
|
-
|
|
12711
|
+
f = bt(e, ["mclose"]);
|
|
12692
12712
|
else {
|
|
12693
12713
|
var b = t.rightColor ? e.withColor(t.rightColor) : e;
|
|
12694
|
-
|
|
12714
|
+
f = m0.leftRightDelim(t.right, u, a, b, t.mode, ["mclose"]);
|
|
12695
12715
|
}
|
|
12696
|
-
return r.push(
|
|
12716
|
+
return r.push(f), E.makeSpan(["minner"], r, e);
|
|
12697
12717
|
},
|
|
12698
12718
|
mathmlBuilder: (t, e) => {
|
|
12699
12719
|
Ta(t);
|
|
@@ -12756,17 +12776,17 @@ var Eu = (t, e) => {
|
|
|
12756
12776
|
}, e), c = be({
|
|
12757
12777
|
number: 0.35,
|
|
12758
12778
|
unit: "ex"
|
|
12759
|
-
}, e),
|
|
12760
|
-
a = a /
|
|
12761
|
-
var
|
|
12762
|
-
r.style.paddingLeft = N(
|
|
12763
|
-
var b = Math.floor(1e3 *
|
|
12779
|
+
}, e), h = e.havingBaseSizing();
|
|
12780
|
+
a = a / h.sizeMultiplier;
|
|
12781
|
+
var f = r.height + r.depth + o + c;
|
|
12782
|
+
r.style.paddingLeft = N(f / 2 + o);
|
|
12783
|
+
var b = Math.floor(1e3 * f * a), g = V4(b), x = new p0([new T0("phase", g)], {
|
|
12764
12784
|
width: "400em",
|
|
12765
12785
|
height: N(b / 1e3),
|
|
12766
12786
|
viewBox: "0 0 400000 " + b,
|
|
12767
12787
|
preserveAspectRatio: "xMinYMin slice"
|
|
12768
12788
|
});
|
|
12769
|
-
n = E.makeSvgSpan(["hide-tail"], [x], e), n.style.height = N(
|
|
12789
|
+
n = E.makeSvgSpan(["hide-tail"], [x], e), n.style.height = N(f), i = r.depth + o + c;
|
|
12770
12790
|
} else {
|
|
12771
12791
|
/cancel/.test(u) ? s || r.classes.push("cancel-pad") : u === "angl" ? r.classes.push("anglpad") : r.classes.push("boxpad");
|
|
12772
12792
|
var A = 0, S = 0, T = 0;
|
|
@@ -13014,8 +13034,8 @@ function F0(t, e, r) {
|
|
|
13014
13034
|
colSeparationType: s,
|
|
13015
13035
|
autoTag: o,
|
|
13016
13036
|
singleRow: c,
|
|
13017
|
-
emptySingleRow:
|
|
13018
|
-
maxNumCols:
|
|
13037
|
+
emptySingleRow: h,
|
|
13038
|
+
maxNumCols: f,
|
|
13019
13039
|
leqno: b
|
|
13020
13040
|
} = e;
|
|
13021
13041
|
if (t.gullet.beginGroup(), c || t.gullet.macros.set("\\cr", "\\\\\\relax"), !i) {
|
|
@@ -13047,14 +13067,14 @@ function F0(t, e, r) {
|
|
|
13047
13067
|
}), x.push(I);
|
|
13048
13068
|
var V = t.fetch().text;
|
|
13049
13069
|
if (V === "&") {
|
|
13050
|
-
if (
|
|
13070
|
+
if (f && x.length === f) {
|
|
13051
13071
|
if (c || s)
|
|
13052
13072
|
throw new H("Too many tab characters: &", t.nextToken);
|
|
13053
13073
|
t.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
13054
13074
|
}
|
|
13055
13075
|
t.consume();
|
|
13056
13076
|
} else if (V === "\\end") {
|
|
13057
|
-
F(), x.length === 1 && I.type === "styling" && I.body[0].body.length === 0 && (A.length > 1 || !
|
|
13077
|
+
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
13078
|
break;
|
|
13059
13079
|
} else if (V === "\\\\") {
|
|
13060
13080
|
t.consume();
|
|
@@ -13082,12 +13102,12 @@ function Tu(t) {
|
|
|
13082
13102
|
return t.slice(0, 1) === "d" ? "display" : "text";
|
|
13083
13103
|
}
|
|
13084
13104
|
var o0 = function(e, r) {
|
|
13085
|
-
var u, a, n = e.body.length, i = e.hLinesBeforeRow, s = 0, o = new Array(n), c = [],
|
|
13105
|
+
var u, a, n = e.body.length, i = e.hLinesBeforeRow, s = 0, o = new Array(n), c = [], h = Math.max(
|
|
13086
13106
|
// From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
|
|
13087
13107
|
r.fontMetrics().arrayRuleWidth,
|
|
13088
13108
|
r.minRuleThickness
|
|
13089
13109
|
// User override.
|
|
13090
|
-
),
|
|
13110
|
+
), f = 1 / r.fontMetrics().ptPerEm, b = 5 * f;
|
|
13091
13111
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
13092
13112
|
var g = r.havingStyle(K.SCRIPT).sizeMultiplier;
|
|
13093
13113
|
b = 0.2778 * (g / r.sizeMultiplier);
|
|
@@ -13095,7 +13115,7 @@ var o0 = function(e, r) {
|
|
|
13095
13115
|
var x = e.colSeparationType === "CD" ? be({
|
|
13096
13116
|
number: 3,
|
|
13097
13117
|
unit: "ex"
|
|
13098
|
-
}, r) : 12 *
|
|
13118
|
+
}, r) : 12 * f, A = 3 * f, S = e.arraystretch * x, T = 0.7 * S, M = 0.3 * S, z = 0;
|
|
13099
13119
|
function F(At) {
|
|
13100
13120
|
for (var St = 0; St < At.length; ++St)
|
|
13101
13121
|
St > 0 && (z += 0.25), c.push({
|
|
@@ -13134,7 +13154,7 @@ var o0 = function(e, r) {
|
|
|
13134
13154
|
for (var Ve = c0[Je] || {}, nt = !0; Ve.type === "separator"; ) {
|
|
13135
13155
|
if (nt || (_e = E.makeSpan(["arraycolsep"], []), _e.style.width = N(r.fontMetrics().doubleRuleSep), Se.push(_e)), Ve.separator === "|" || Ve.separator === ":") {
|
|
13136
13156
|
var fr = Ve.separator === "|" ? "solid" : "dashed", N0 = E.makeSpan(["vertical-separator"], [], r);
|
|
13137
|
-
N0.style.height = N(z), N0.style.borderRightWidth = N(
|
|
13157
|
+
N0.style.height = N(z), N0.style.borderRightWidth = N(h), N0.style.borderRightStyle = fr, N0.style.margin = "0 " + N(-h / 2);
|
|
13138
13158
|
var Nu = z - se;
|
|
13139
13159
|
Nu && (N0.style.verticalAlign = N(-Nu)), Se.push(N0);
|
|
13140
13160
|
} else
|
|
@@ -13163,7 +13183,7 @@ var o0 = function(e, r) {
|
|
|
13163
13183
|
}
|
|
13164
13184
|
}
|
|
13165
13185
|
if (o = E.makeSpan(["mtable"], Se), c.length > 0) {
|
|
13166
|
-
for (var $i = E.makeLineSpan("hline", r,
|
|
13186
|
+
for (var $i = E.makeLineSpan("hline", r, h), Ii = E.makeLineSpan("hdashline", r, h), mr = [{
|
|
13167
13187
|
type: "elem",
|
|
13168
13188
|
elem: o,
|
|
13169
13189
|
shift: 0
|
|
@@ -13201,26 +13221,26 @@ var o0 = function(e, r) {
|
|
|
13201
13221
|
o.push(new q.MathNode("mtd", [de(s[c], r)]));
|
|
13202
13222
|
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
13223
|
}
|
|
13204
|
-
var
|
|
13205
|
-
|
|
13224
|
+
var h = new q.MathNode("mtable", u), f = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
13225
|
+
h.setAttribute("rowspacing", N(f));
|
|
13206
13226
|
var b = "", g = "";
|
|
13207
13227
|
if (e.cols && e.cols.length > 0) {
|
|
13208
13228
|
var x = e.cols, A = "", S = !1, T = 0, M = x.length;
|
|
13209
13229
|
x[0].type === "separator" && (b += "top ", T = 1), x[x.length - 1].type === "separator" && (b += "bottom ", M -= 1);
|
|
13210
13230
|
for (var z = T; z < M; z++)
|
|
13211
13231
|
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
|
-
|
|
13232
|
+
h.setAttribute("columnalign", g.trim()), /[sd]/.test(A) && h.setAttribute("columnlines", A.trim());
|
|
13213
13233
|
}
|
|
13214
13234
|
if (e.colSeparationType === "align") {
|
|
13215
13235
|
for (var F = e.cols || [], I = "", V = 1; V < F.length; V++)
|
|
13216
13236
|
I += V % 2 ? "0em " : "1em ";
|
|
13217
|
-
|
|
13218
|
-
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ?
|
|
13237
|
+
h.setAttribute("columnspacing", I.trim());
|
|
13238
|
+
} 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
13239
|
var U = "", te = e.hLinesBeforeRow;
|
|
13220
13240
|
b += te[0].length > 0 ? "left " : "", b += te[te.length - 1].length > 0 ? "right " : "";
|
|
13221
13241
|
for (var re = 1; re < te.length - 1; re++)
|
|
13222
13242
|
U += te[re].length === 0 ? "none " : te[re][0] ? "dashed " : "solid ";
|
|
13223
|
-
return /[sd]/.test(U) &&
|
|
13243
|
+
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
13244
|
}, bi = function(e, r) {
|
|
13225
13245
|
e.envName.indexOf("ed") === -1 && cr(e);
|
|
13226
13246
|
var u = [], a = e.envName.indexOf("at") > -1 ? "alignat" : "align", n = e.envName === "split", i = F0(e.parser, {
|
|
@@ -13237,11 +13257,11 @@ var o0 = function(e, r) {
|
|
|
13237
13257
|
body: []
|
|
13238
13258
|
};
|
|
13239
13259
|
if (r[0] && r[0].type === "ordgroup") {
|
|
13240
|
-
for (var
|
|
13241
|
-
var b = ue(r[0].body[
|
|
13242
|
-
|
|
13260
|
+
for (var h = "", f = 0; f < r[0].body.length; f++) {
|
|
13261
|
+
var b = ue(r[0].body[f], "textord");
|
|
13262
|
+
h += b.text;
|
|
13243
13263
|
}
|
|
13244
|
-
s = Number(
|
|
13264
|
+
s = Number(h), o = s * 2;
|
|
13245
13265
|
}
|
|
13246
13266
|
var g = !o;
|
|
13247
13267
|
i.body.forEach(function(T) {
|
|
@@ -13550,16 +13570,16 @@ P({
|
|
|
13550
13570
|
var s = Fa[n], {
|
|
13551
13571
|
args: o,
|
|
13552
13572
|
optArgs: c
|
|
13553
|
-
} = r.parseArguments("\\begin{" + n + "}", s),
|
|
13573
|
+
} = r.parseArguments("\\begin{" + n + "}", s), h = {
|
|
13554
13574
|
mode: r.mode,
|
|
13555
13575
|
envName: n,
|
|
13556
13576
|
parser: r
|
|
13557
|
-
},
|
|
13577
|
+
}, f = s.handler(h, o, c);
|
|
13558
13578
|
r.expect("\\end", !1);
|
|
13559
13579
|
var b = r.nextToken, g = ue(r.parseFunction(), "environment");
|
|
13560
13580
|
if (g.name !== n)
|
|
13561
13581
|
throw new H("Mismatch: \\begin{" + n + "} matched by \\end{" + g.name + "}", b);
|
|
13562
|
-
return
|
|
13582
|
+
return f;
|
|
13563
13583
|
}
|
|
13564
13584
|
return {
|
|
13565
13585
|
type: "environment",
|
|
@@ -13685,15 +13705,15 @@ var xi = (t, e) => {
|
|
|
13685
13705
|
i.height = i.height < s ? s : i.height, i.depth = i.depth < o ? o : i.depth;
|
|
13686
13706
|
}
|
|
13687
13707
|
n = e.havingStyle(a);
|
|
13688
|
-
var c = ie(t.denom, n, e),
|
|
13689
|
-
t.hasBarLine ? (t.barSize ? (
|
|
13708
|
+
var c = ie(t.denom, n, e), h, f, b;
|
|
13709
|
+
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
13710
|
var g, x, A;
|
|
13691
|
-
r.size === K.DISPLAY.size || t.size === "display" ? (g = e.fontMetrics().num1,
|
|
13711
|
+
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
13712
|
var S;
|
|
13693
|
-
if (
|
|
13713
|
+
if (h) {
|
|
13694
13714
|
var M = e.fontMetrics().axisHeight;
|
|
13695
|
-
g - i.depth - (M + 0.5 *
|
|
13696
|
-
var z = -(M - 0.5 *
|
|
13715
|
+
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)));
|
|
13716
|
+
var z = -(M - 0.5 * f);
|
|
13697
13717
|
S = E.makeVList({
|
|
13698
13718
|
positionType: "individualShift",
|
|
13699
13719
|
children: [{
|
|
@@ -13702,7 +13722,7 @@ var xi = (t, e) => {
|
|
|
13702
13722
|
shift: A
|
|
13703
13723
|
}, {
|
|
13704
13724
|
type: "elem",
|
|
13705
|
-
elem:
|
|
13725
|
+
elem: h,
|
|
13706
13726
|
shift: z
|
|
13707
13727
|
}, {
|
|
13708
13728
|
type: "elem",
|
|
@@ -13911,8 +13931,8 @@ P({
|
|
|
13911
13931
|
handler(t, e) {
|
|
13912
13932
|
var {
|
|
13913
13933
|
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 ?
|
|
13934
|
+
} = 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;
|
|
13935
|
+
c.isBlank ? h = !0 : (f = c.value, h = f.number > 0);
|
|
13916
13936
|
var b = "auto", g = e[3];
|
|
13917
13937
|
if (g.type === "ordgroup") {
|
|
13918
13938
|
if (g.body.length > 0) {
|
|
@@ -13927,8 +13947,8 @@ P({
|
|
|
13927
13947
|
numer: u,
|
|
13928
13948
|
denom: a,
|
|
13929
13949
|
continued: !1,
|
|
13930
|
-
hasBarLine:
|
|
13931
|
-
barSize:
|
|
13950
|
+
hasBarLine: h,
|
|
13951
|
+
barSize: f,
|
|
13932
13952
|
leftDelim: i,
|
|
13933
13953
|
rightDelim: o,
|
|
13934
13954
|
size: b
|
|
@@ -14206,11 +14226,11 @@ P({
|
|
|
14206
14226
|
};
|
|
14207
14227
|
break;
|
|
14208
14228
|
case "\\htmlData": {
|
|
14209
|
-
for (var c = n.split(","),
|
|
14210
|
-
var
|
|
14211
|
-
if (
|
|
14229
|
+
for (var c = n.split(","), h = 0; h < c.length; h++) {
|
|
14230
|
+
var f = c[h].split("=");
|
|
14231
|
+
if (f.length !== 2)
|
|
14212
14232
|
throw new H("Error parsing key-value for \\htmlData");
|
|
14213
|
-
o["data-" +
|
|
14233
|
+
o["data-" + f[0].trim()] = f[1].trim();
|
|
14214
14234
|
}
|
|
14215
14235
|
s = {
|
|
14216
14236
|
command: "\\htmlData",
|
|
@@ -14303,11 +14323,11 @@ P({
|
|
|
14303
14323
|
unit: "em"
|
|
14304
14324
|
}, s = "";
|
|
14305
14325
|
if (r[0])
|
|
14306
|
-
for (var o = ue(r[0], "raw").string, c = o.split(","),
|
|
14307
|
-
var
|
|
14308
|
-
if (
|
|
14309
|
-
var b =
|
|
14310
|
-
switch (
|
|
14326
|
+
for (var o = ue(r[0], "raw").string, c = o.split(","), h = 0; h < c.length; h++) {
|
|
14327
|
+
var f = c[h].split("=");
|
|
14328
|
+
if (f.length === 2) {
|
|
14329
|
+
var b = f[1].trim();
|
|
14330
|
+
switch (f[0].trim()) {
|
|
14311
14331
|
case "alt":
|
|
14312
14332
|
s = b;
|
|
14313
14333
|
break;
|
|
@@ -14321,7 +14341,7 @@ P({
|
|
|
14321
14341
|
i = Br(b);
|
|
14322
14342
|
break;
|
|
14323
14343
|
default:
|
|
14324
|
-
throw new H("Invalid key: '" +
|
|
14344
|
+
throw new H("Invalid key: '" + f[0] + "' in \\includegraphics.");
|
|
14325
14345
|
}
|
|
14326
14346
|
}
|
|
14327
14347
|
}
|
|
@@ -14511,17 +14531,17 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14511
14531
|
t = E.makeSpan([], [t]);
|
|
14512
14532
|
var s = r && W.isCharacterBox(r), o, c;
|
|
14513
14533
|
if (e) {
|
|
14514
|
-
var
|
|
14534
|
+
var h = ie(e, u.havingStyle(a.sup()), u);
|
|
14515
14535
|
c = {
|
|
14516
|
-
elem:
|
|
14517
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 -
|
|
14536
|
+
elem: h,
|
|
14537
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing1, u.fontMetrics().bigOpSpacing3 - h.depth)
|
|
14518
14538
|
};
|
|
14519
14539
|
}
|
|
14520
14540
|
if (r) {
|
|
14521
|
-
var
|
|
14541
|
+
var f = ie(r, u.havingStyle(a.sub()), u);
|
|
14522
14542
|
o = {
|
|
14523
|
-
elem:
|
|
14524
|
-
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 -
|
|
14543
|
+
elem: f,
|
|
14544
|
+
kern: Math.max(u.fontMetrics().bigOpSpacing2, u.fontMetrics().bigOpSpacing4 - f.height)
|
|
14525
14545
|
};
|
|
14526
14546
|
}
|
|
14527
14547
|
var b;
|
|
@@ -14610,9 +14630,9 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14610
14630
|
i.size === K.DISPLAY.size && n.symbol && !W.contains(wi, n.name) && (s = !0);
|
|
14611
14631
|
var o;
|
|
14612
14632
|
if (n.symbol) {
|
|
14613
|
-
var c = s ? "Size2-Regular" : "Size1-Regular",
|
|
14614
|
-
if ((n.name === "\\oiint" || n.name === "\\oiiint") && (
|
|
14615
|
-
var
|
|
14633
|
+
var c = s ? "Size2-Regular" : "Size1-Regular", h = "";
|
|
14634
|
+
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) {
|
|
14635
|
+
var f = o.italic, b = E.staticSvg(h + "Size" + (s ? "2" : "1"), e);
|
|
14616
14636
|
o = E.makeVList({
|
|
14617
14637
|
positionType: "individualShift",
|
|
14618
14638
|
children: [{
|
|
@@ -14624,7 +14644,7 @@ var ki = (t, e, r, u, a, n, i) => {
|
|
|
14624
14644
|
elem: b,
|
|
14625
14645
|
shift: s ? 0.08 : 0
|
|
14626
14646
|
}]
|
|
14627
|
-
}, e), n.name = "\\" +
|
|
14647
|
+
}, e), n.name = "\\" + h, o.classes.unshift("mop"), o.italic = f;
|
|
14628
14648
|
}
|
|
14629
14649
|
} else if (n.body) {
|
|
14630
14650
|
var g = we(n.body, e, !0);
|
|
@@ -14790,16 +14810,16 @@ var _i = (t, e) => {
|
|
|
14790
14810
|
t.type === "supsub" ? (r = t.sup, u = t.sub, n = ue(t.base, "operatorname"), a = !0) : n = ue(t, "operatorname");
|
|
14791
14811
|
var i;
|
|
14792
14812
|
if (n.body.length > 0) {
|
|
14793
|
-
for (var s = n.body.map((
|
|
14794
|
-
var b =
|
|
14813
|
+
for (var s = n.body.map((f) => {
|
|
14814
|
+
var b = f.text;
|
|
14795
14815
|
return typeof b == "string" ? {
|
|
14796
14816
|
type: "textord",
|
|
14797
|
-
mode:
|
|
14817
|
+
mode: f.mode,
|
|
14798
14818
|
text: b
|
|
14799
|
-
} :
|
|
14819
|
+
} : f;
|
|
14800
14820
|
}), o = we(s, e.withFont("mathrm"), !0), c = 0; c < o.length; c++) {
|
|
14801
|
-
var
|
|
14802
|
-
|
|
14821
|
+
var h = o[c];
|
|
14822
|
+
h instanceof Ue && (h.text = h.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
14803
14823
|
}
|
|
14804
14824
|
i = E.makeSpan(["mop"], o, e);
|
|
14805
14825
|
} else
|
|
@@ -14828,7 +14848,7 @@ var _i = (t, e) => {
|
|
|
14828
14848
|
u = !1;
|
|
14829
14849
|
}
|
|
14830
14850
|
if (u) {
|
|
14831
|
-
var s = r.map((
|
|
14851
|
+
var s = r.map((h) => h.toText()).join("");
|
|
14832
14852
|
r = [new q.TextNode(s)];
|
|
14833
14853
|
}
|
|
14834
14854
|
var o = new q.MathNode("mi", r);
|
|
@@ -15145,11 +15165,11 @@ P({
|
|
|
15145
15165
|
}
|
|
15146
15166
|
else
|
|
15147
15167
|
a = !0, n = !0;
|
|
15148
|
-
var
|
|
15168
|
+
var h = e[0];
|
|
15149
15169
|
return {
|
|
15150
15170
|
type: "smash",
|
|
15151
15171
|
mode: u.mode,
|
|
15152
|
-
body:
|
|
15172
|
+
body: h,
|
|
15153
15173
|
smashHeight: a,
|
|
15154
15174
|
smashDepth: n
|
|
15155
15175
|
};
|
|
@@ -15204,11 +15224,11 @@ P({
|
|
|
15204
15224
|
var i = a + n / 4, s = r.height + r.depth + i + a, {
|
|
15205
15225
|
span: o,
|
|
15206
15226
|
ruleWidth: c,
|
|
15207
|
-
advanceWidth:
|
|
15208
|
-
} = m0.sqrtImage(s, e),
|
|
15209
|
-
|
|
15227
|
+
advanceWidth: h
|
|
15228
|
+
} = m0.sqrtImage(s, e), f = o.height - c;
|
|
15229
|
+
f > r.height + r.depth + i && (i = (i + f - r.height - r.depth) / 2);
|
|
15210
15230
|
var b = o.height - r.height - i - c;
|
|
15211
|
-
r.style.paddingLeft = N(
|
|
15231
|
+
r.style.paddingLeft = N(h);
|
|
15212
15232
|
var g = E.makeVList({
|
|
15213
15233
|
positionType: "firstBaseline",
|
|
15214
15234
|
children: [{
|
|
@@ -15320,14 +15340,14 @@ q0({
|
|
|
15320
15340
|
base: u,
|
|
15321
15341
|
sup: a,
|
|
15322
15342
|
sub: n
|
|
15323
|
-
} = t, i = ie(u, e), s, o, c = e.fontMetrics(),
|
|
15343
|
+
} = t, i = ie(u, e), s, o, c = e.fontMetrics(), h = 0, f = 0, b = u && W.isCharacterBox(u);
|
|
15324
15344
|
if (a) {
|
|
15325
15345
|
var g = e.havingStyle(e.style.sup());
|
|
15326
|
-
s = ie(a, g, e), b || (
|
|
15346
|
+
s = ie(a, g, e), b || (h = i.height - g.fontMetrics().supDrop * g.sizeMultiplier / e.sizeMultiplier);
|
|
15327
15347
|
}
|
|
15328
15348
|
if (n) {
|
|
15329
15349
|
var x = e.havingStyle(e.style.sub());
|
|
15330
|
-
o = ie(n, x, e), b || (
|
|
15350
|
+
o = ie(n, x, e), b || (f = i.depth + x.fontMetrics().subDrop * x.sizeMultiplier / e.sizeMultiplier);
|
|
15331
15351
|
}
|
|
15332
15352
|
var A;
|
|
15333
15353
|
e.style === K.DISPLAY ? A = c.sup1 : e.style.cramped ? A = c.sup3 : A = c.sup2;
|
|
@@ -15338,23 +15358,23 @@ q0({
|
|
|
15338
15358
|
}
|
|
15339
15359
|
var F;
|
|
15340
15360
|
if (s && o) {
|
|
15341
|
-
|
|
15361
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), f = Math.max(f, c.sub2);
|
|
15342
15362
|
var I = c.defaultRuleThickness, V = 4 * I;
|
|
15343
|
-
if (
|
|
15344
|
-
|
|
15345
|
-
var U = 0.8 * c.xHeight - (
|
|
15346
|
-
U > 0 && (
|
|
15363
|
+
if (h - s.depth - (o.height - f) < V) {
|
|
15364
|
+
f = V - (h - s.depth) + o.height;
|
|
15365
|
+
var U = 0.8 * c.xHeight - (h - s.depth);
|
|
15366
|
+
U > 0 && (h += U, f -= U);
|
|
15347
15367
|
}
|
|
15348
15368
|
var te = [{
|
|
15349
15369
|
type: "elem",
|
|
15350
15370
|
elem: o,
|
|
15351
|
-
shift:
|
|
15371
|
+
shift: f,
|
|
15352
15372
|
marginRight: T,
|
|
15353
15373
|
marginLeft: M
|
|
15354
15374
|
}, {
|
|
15355
15375
|
type: "elem",
|
|
15356
15376
|
elem: s,
|
|
15357
|
-
shift: -
|
|
15377
|
+
shift: -h,
|
|
15358
15378
|
marginRight: T
|
|
15359
15379
|
}];
|
|
15360
15380
|
F = E.makeVList({
|
|
@@ -15362,7 +15382,7 @@ q0({
|
|
|
15362
15382
|
children: te
|
|
15363
15383
|
}, e);
|
|
15364
15384
|
} else if (o) {
|
|
15365
|
-
|
|
15385
|
+
f = Math.max(f, c.sub1, o.height - 0.8 * c.xHeight);
|
|
15366
15386
|
var re = [{
|
|
15367
15387
|
type: "elem",
|
|
15368
15388
|
elem: o,
|
|
@@ -15371,13 +15391,13 @@ q0({
|
|
|
15371
15391
|
}];
|
|
15372
15392
|
F = E.makeVList({
|
|
15373
15393
|
positionType: "shift",
|
|
15374
|
-
positionData:
|
|
15394
|
+
positionData: f,
|
|
15375
15395
|
children: re
|
|
15376
15396
|
}, e);
|
|
15377
15397
|
} else if (s)
|
|
15378
|
-
|
|
15398
|
+
h = Math.max(h, A, s.depth + 0.25 * c.xHeight), F = E.makeVList({
|
|
15379
15399
|
positionType: "shift",
|
|
15380
|
-
positionData: -
|
|
15400
|
+
positionData: -h,
|
|
15381
15401
|
children: [{
|
|
15382
15402
|
type: "elem",
|
|
15383
15403
|
elem: s,
|
|
@@ -16272,10 +16292,10 @@ p("\\Ket", "\\left|#1\\right\\rangle");
|
|
|
16272
16292
|
var Mi = (t) => (e) => {
|
|
16273
16293
|
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
16294
|
e.macros.beginGroup();
|
|
16275
|
-
var o = (
|
|
16295
|
+
var o = (f) => (b) => {
|
|
16276
16296
|
t && (b.macros.set("|", i), a.length && b.macros.set("\\|", s));
|
|
16277
|
-
var g =
|
|
16278
|
-
if (!
|
|
16297
|
+
var g = f;
|
|
16298
|
+
if (!f && a.length) {
|
|
16279
16299
|
var x = b.future();
|
|
16280
16300
|
x.text === "|" && (b.popToken(), g = !0);
|
|
16281
16301
|
}
|
|
@@ -16285,14 +16305,14 @@ var Mi = (t) => (e) => {
|
|
|
16285
16305
|
};
|
|
16286
16306
|
};
|
|
16287
16307
|
e.macros.set("|", o(!1)), a.length && e.macros.set("\\|", o(!0));
|
|
16288
|
-
var c = e.consumeArg().tokens,
|
|
16308
|
+
var c = e.consumeArg().tokens, h = e.expandTokens([
|
|
16289
16309
|
...n,
|
|
16290
16310
|
...c,
|
|
16291
16311
|
...r
|
|
16292
16312
|
// reversed
|
|
16293
16313
|
]);
|
|
16294
16314
|
return e.macros.endGroup(), {
|
|
16295
|
-
tokens:
|
|
16315
|
+
tokens: h.reverse(),
|
|
16296
16316
|
numArgs: 0
|
|
16297
16317
|
};
|
|
16298
16318
|
};
|
|
@@ -16637,11 +16657,11 @@ class d6 {
|
|
|
16637
16657
|
for (var s = new ja(a, this.settings), o = [], c = s.lex(); c.text !== "EOF"; )
|
|
16638
16658
|
o.push(c), c = s.lex();
|
|
16639
16659
|
o.reverse();
|
|
16640
|
-
var
|
|
16660
|
+
var h = {
|
|
16641
16661
|
tokens: o,
|
|
16642
16662
|
numArgs: n
|
|
16643
16663
|
};
|
|
16644
|
-
return
|
|
16664
|
+
return h;
|
|
16645
16665
|
}
|
|
16646
16666
|
return a;
|
|
16647
16667
|
}
|
|
@@ -17346,14 +17366,14 @@ class dr {
|
|
|
17346
17366
|
body: o
|
|
17347
17367
|
};
|
|
17348
17368
|
} else if (Rt[n.text]) {
|
|
17349
|
-
var c = Za.test(n.text),
|
|
17350
|
-
for (
|
|
17351
|
-
var
|
|
17352
|
-
if (!Rt[
|
|
17369
|
+
var c = Za.test(n.text), h = [];
|
|
17370
|
+
for (h.push(new je(Rt[n.text])), this.consume(); ; ) {
|
|
17371
|
+
var f = this.fetch().text;
|
|
17372
|
+
if (!Rt[f] || Za.test(f) !== c)
|
|
17353
17373
|
break;
|
|
17354
|
-
|
|
17374
|
+
h.unshift(new je(Rt[f])), this.consume();
|
|
17355
17375
|
}
|
|
17356
|
-
var b = this.subparse(
|
|
17376
|
+
var b = this.subparse(h);
|
|
17357
17377
|
c ? a = {
|
|
17358
17378
|
type: "ordgroup",
|
|
17359
17379
|
mode: "math",
|
|
@@ -17677,11 +17697,11 @@ class dr {
|
|
|
17677
17697
|
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
17698
|
var s = fe[this.mode][r].group, o = He.range(e), c;
|
|
17679
17699
|
if (J4.hasOwnProperty(s)) {
|
|
17680
|
-
var
|
|
17700
|
+
var h = s;
|
|
17681
17701
|
c = {
|
|
17682
17702
|
type: "atom",
|
|
17683
17703
|
mode: this.mode,
|
|
17684
|
-
family:
|
|
17704
|
+
family: h,
|
|
17685
17705
|
loc: o,
|
|
17686
17706
|
text: r
|
|
17687
17707
|
};
|
|
@@ -17703,8 +17723,8 @@ class dr {
|
|
|
17703
17723
|
else
|
|
17704
17724
|
return null;
|
|
17705
17725
|
if (this.consume(), n)
|
|
17706
|
-
for (var
|
|
17707
|
-
var b = n[0][
|
|
17726
|
+
for (var f = 0; f < n[0].length; f++) {
|
|
17727
|
+
var b = n[0][f];
|
|
17708
17728
|
if (!qr[b])
|
|
17709
17729
|
throw new H("Unknown accent ' " + b + "'", e);
|
|
17710
17730
|
var g = qr[b][this.mode] || qr[b].text;
|
|
@@ -17931,7 +17951,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
17931
17951
|
"bg",
|
|
17932
17952
|
e.type + "dark"
|
|
17933
17953
|
)} 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,
|
|
17954
|
+
return (c, h) => (_(), X(ze, {
|
|
17935
17955
|
title: c.labelCard,
|
|
17936
17956
|
icon: r.value,
|
|
17937
17957
|
flat: "",
|
|
@@ -18025,14 +18045,14 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18025
18045
|
}) }
|
|
18026
18046
|
},
|
|
18027
18047
|
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:
|
|
18048
|
+
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
18049
|
return (b, g) => (_(), X(ze, {
|
|
18030
18050
|
title: v(o),
|
|
18031
18051
|
icon: v(fa),
|
|
18032
18052
|
flat: "",
|
|
18033
18053
|
type: b.type,
|
|
18034
18054
|
hideIcon: v(c),
|
|
18035
|
-
mandateLevel: v(
|
|
18055
|
+
mandateLevel: v(h)
|
|
18036
18056
|
}, Te({
|
|
18037
18057
|
content: O(() => [
|
|
18038
18058
|
w("div", M6, [
|
|
@@ -18065,12 +18085,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18065
18085
|
_: 1
|
|
18066
18086
|
})) : R("", !0)
|
|
18067
18087
|
]),
|
|
18068
|
-
v(
|
|
18088
|
+
v(f) ? (_(), X(Be, {
|
|
18069
18089
|
key: 0,
|
|
18070
18090
|
rounded: "",
|
|
18071
18091
|
type: "base",
|
|
18072
18092
|
prependIcon: v($n),
|
|
18073
|
-
href: v(
|
|
18093
|
+
href: v(f)
|
|
18074
18094
|
}, {
|
|
18075
18095
|
default: O(() => [
|
|
18076
18096
|
ce(B(b.labels.acceder), 1)
|
|
@@ -18197,7 +18217,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18197
18217
|
i.hasRoute("glossary") && i.push({ path: "/glossary", query: { word: x } });
|
|
18198
18218
|
}, o = L(() => e.domain === "null" ? null : e.domain), c = () => {
|
|
18199
18219
|
r.value = !r.value;
|
|
18200
|
-
}, { term:
|
|
18220
|
+
}, { term: h, graminfo: f, labels: b, src: g } = ae(e);
|
|
18201
18221
|
return (x, A) => (_(), D(xe, null, [
|
|
18202
18222
|
w("span", {
|
|
18203
18223
|
onClick: c,
|
|
@@ -18221,8 +18241,8 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18221
18241
|
w("div", N6, [
|
|
18222
18242
|
w("div", null, [
|
|
18223
18243
|
w("h3", V6, [
|
|
18224
|
-
ce(B(v(
|
|
18225
|
-
w("span", O6, B(v(
|
|
18244
|
+
ce(B(v(h)) + " ", 1),
|
|
18245
|
+
w("span", O6, B(v(f)), 1)
|
|
18226
18246
|
]),
|
|
18227
18247
|
u.value ? (_(), D("h4", P6, B(u.value), 1)) : R("", !0)
|
|
18228
18248
|
]),
|
|
@@ -18335,22 +18355,22 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18335
18355
|
setup(t) {
|
|
18336
18356
|
const e = t, r = le(!0), u = le();
|
|
18337
18357
|
et(() => {
|
|
18338
|
-
var
|
|
18339
|
-
r.value && (
|
|
18358
|
+
var f = u.value;
|
|
18359
|
+
r.value && (f.style.maxHeight = f.scrollHeight + "px");
|
|
18340
18360
|
});
|
|
18341
18361
|
function a() {
|
|
18342
18362
|
r.value = !r.value;
|
|
18343
|
-
var
|
|
18344
|
-
|
|
18363
|
+
var f = u.value;
|
|
18364
|
+
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
18365
|
}
|
|
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 =
|
|
18366
|
+
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) => {
|
|
18367
|
+
const b = f.day ? `${f.day}/` : "", g = f.month ? `${f.month}/` : "", x = f.year, A = f.hour, S = f.minute ? `:${f.minute}` : "";
|
|
18348
18368
|
return {
|
|
18349
18369
|
date: b + g + x,
|
|
18350
18370
|
hour: A + S
|
|
18351
18371
|
};
|
|
18352
|
-
}, { event:
|
|
18353
|
-
return (
|
|
18372
|
+
}, { event: h } = ae(e);
|
|
18373
|
+
return (f, b) => {
|
|
18354
18374
|
var g, x, A, S, T, M, z;
|
|
18355
18375
|
return _(), D("div", {
|
|
18356
18376
|
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 +18394,7 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18374
18394
|
], 2),
|
|
18375
18395
|
w("h2", {
|
|
18376
18396
|
class: j(`text-2xl ${o.value.text}`)
|
|
18377
|
-
}, B((M = v(
|
|
18397
|
+
}, B((M = v(h).text) == null ? void 0 : M.headline), 3),
|
|
18378
18398
|
w("div", {
|
|
18379
18399
|
ref_key: "collapsible",
|
|
18380
18400
|
ref: u,
|
|
@@ -18388,12 +18408,12 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18388
18408
|
noModal: "",
|
|
18389
18409
|
cols: "8",
|
|
18390
18410
|
src: s.value,
|
|
18391
|
-
alt: (z = v(
|
|
18411
|
+
alt: (z = v(h).text) == null ? void 0 : z.headline
|
|
18392
18412
|
}, null, 8, ["src", "alt"])
|
|
18393
18413
|
])) : R("", !0),
|
|
18394
18414
|
w("div", {
|
|
18395
18415
|
class: "flex-1",
|
|
18396
|
-
innerHTML: v(Ee)(v(
|
|
18416
|
+
innerHTML: v(Ee)(v(h).text.text)
|
|
18397
18417
|
}, null, 8, nh)
|
|
18398
18418
|
], 2)
|
|
18399
18419
|
], 512)
|
|
@@ -18424,19 +18444,19 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18424
18444
|
return ((o = r.value) == null ? void 0 : o.filter((c) => c.active)) || [];
|
|
18425
18445
|
}), n = L(() => a.value.length === 0 ? e.events : e.events.filter((c) => {
|
|
18426
18446
|
if (c.tag)
|
|
18427
|
-
return a.value.some((
|
|
18428
|
-
var
|
|
18429
|
-
return
|
|
18447
|
+
return a.value.some((h) => {
|
|
18448
|
+
var f;
|
|
18449
|
+
return h.id === ((f = c.tag) == null ? void 0 : f.id);
|
|
18430
18450
|
});
|
|
18431
18451
|
})), i = (o) => {
|
|
18432
18452
|
o.active = !o.active;
|
|
18433
18453
|
}, { title: s } = ae(e);
|
|
18434
18454
|
return (o, c) => {
|
|
18435
|
-
var
|
|
18455
|
+
var h, f;
|
|
18436
18456
|
return _(), D("div", null, [
|
|
18437
18457
|
w("div", sh, [
|
|
18438
|
-
w("h3", oh, B((
|
|
18439
|
-
w("p", null, B((
|
|
18458
|
+
w("h3", oh, B((h = v(s)) == null ? void 0 : h.text.headline), 1),
|
|
18459
|
+
w("p", null, B((f = v(s)) == null ? void 0 : f.text.text), 1),
|
|
18440
18460
|
w("div", lh, [
|
|
18441
18461
|
(_(!0), D(xe, null, $e(r.value, (b) => (_(), D("span", {
|
|
18442
18462
|
key: b.id,
|
|
@@ -18484,27 +18504,27 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18484
18504
|
},
|
|
18485
18505
|
setup(t) {
|
|
18486
18506
|
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(
|
|
18507
|
+
const f = e.src;
|
|
18508
|
+
if (!u.value && f.includes("https://vimeo.com/"))
|
|
18509
|
+
return f.replace("https://vimeo.com/", "https://player.vimeo.com/video/");
|
|
18510
|
+
if (!u.value && f.includes("https://www.youtube.com/watch?"))
|
|
18511
|
+
return f.replace("https://www.youtube.com/watch?v=", "https://www.youtube.com/embed/");
|
|
18512
|
+
if (!u.value && f.includes("https://youtu.be/")) {
|
|
18513
|
+
const b = i(f);
|
|
18494
18514
|
if (b)
|
|
18495
18515
|
return `https://www.youtube.com/embed/${b}`;
|
|
18496
18516
|
}
|
|
18497
|
-
return
|
|
18498
|
-
}), n = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), i = (
|
|
18499
|
-
const b =
|
|
18517
|
+
return f;
|
|
18518
|
+
}), n = L(() => e.intentions ? Ye(e.intentions) ? e.intentions : Qe(e.intentions) : null), i = (f) => {
|
|
18519
|
+
const b = f.match(/\/([^\/]+)$/);
|
|
18500
18520
|
return b ? b[1] : null;
|
|
18501
|
-
}, { src: s, title: o, hideIcon: c, type:
|
|
18502
|
-
return (
|
|
18521
|
+
}, { src: s, title: o, hideIcon: c, type: h } = ae(e);
|
|
18522
|
+
return (f, b) => (_(), X(ze, {
|
|
18503
18523
|
title: v(o),
|
|
18504
|
-
type: v(
|
|
18524
|
+
type: v(h),
|
|
18505
18525
|
hideIcon: v(c),
|
|
18506
18526
|
icon: v(In),
|
|
18507
|
-
mandateLevel:
|
|
18527
|
+
mandateLevel: f.mandateLevel
|
|
18508
18528
|
}, Te({
|
|
18509
18529
|
content: O(() => [
|
|
18510
18530
|
w("div", fh, [
|
|
@@ -18600,10 +18620,10 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18600
18620
|
}) }
|
|
18601
18621
|
},
|
|
18602
18622
|
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((
|
|
18623
|
+
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
18624
|
s.hasRoute("glossary") && s.push({ path: "/glossary", query: { word: c } });
|
|
18605
18625
|
};
|
|
18606
|
-
return (c,
|
|
18626
|
+
return (c, h) => (_(), D("div", gh, [
|
|
18607
18627
|
r.value ? (_(), D("div", xh, [
|
|
18608
18628
|
w("div", yh, [
|
|
18609
18629
|
w("h2", kh, B(r.value.term), 1),
|
|
@@ -18627,9 +18647,9 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18627
18647
|
}, [
|
|
18628
18648
|
w("p", Eh, B(c.labels.variations), 1),
|
|
18629
18649
|
w("div", Mh, [
|
|
18630
|
-
(_(!0), D(xe, null, $e(r.value.variation, (
|
|
18650
|
+
(_(!0), D(xe, null, $e(r.value.variation, (f, b) => (_(), D("span", {
|
|
18631
18651
|
key: `v-${b}`
|
|
18632
|
-
}, B(
|
|
18652
|
+
}, B(f) + B(r.value.variation.length > b + 1 ? ", " : "."), 1))), 128))
|
|
18633
18653
|
])
|
|
18634
18654
|
], 2)) : R("", !0)
|
|
18635
18655
|
]),
|
|
@@ -18652,11 +18672,11 @@ const b6 = ["innerHTML"], v6 = /* @__PURE__ */ ee({
|
|
|
18652
18672
|
r.value.relation.length > 0 ? (_(), D("div", Lh, [
|
|
18653
18673
|
w("p", Bh, B(c.labels.relations), 1),
|
|
18654
18674
|
w("div", $h, [
|
|
18655
|
-
(_(!0), D(xe, null, $e(i(r.value.relation), (
|
|
18675
|
+
(_(!0), D(xe, null, $e(i(r.value.relation), (f, b) => (_(), D("button", {
|
|
18656
18676
|
key: `relation-${b}`,
|
|
18657
18677
|
class: "p-1 border rounded mr-1",
|
|
18658
|
-
onClick: (g) => o(
|
|
18659
|
-
}, B(
|
|
18678
|
+
onClick: (g) => o(f.term)
|
|
18679
|
+
}, B(f.term), 9, Ih))), 128))
|
|
18660
18680
|
])
|
|
18661
18681
|
])) : R("", !0)
|
|
18662
18682
|
])
|
|
@@ -18762,7 +18782,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18762
18782
|
bg-center`), a = L(() => r.src ? r.src : "https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg"), n = e, i = () => {
|
|
18763
18783
|
n("clicked");
|
|
18764
18784
|
}, { title: s, headerImgColor: o, big: c } = ae(r);
|
|
18765
|
-
return (
|
|
18785
|
+
return (h, f) => (_(), D("section", {
|
|
18766
18786
|
class: j(`${v(c) ? "h-screen " : ""}items-center overflow-hidden relative `),
|
|
18767
18787
|
ref: "el"
|
|
18768
18788
|
}, [
|
|
@@ -18774,40 +18794,40 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18774
18794
|
class: j(`relative ${v(c) ? "mb-36" : ""} h-full items-end`)
|
|
18775
18795
|
}, [
|
|
18776
18796
|
w("div", Ph, [
|
|
18777
|
-
|
|
18797
|
+
h.synchrone ? (_(), X(st, {
|
|
18778
18798
|
key: 0,
|
|
18779
18799
|
prependIcon: v(Rl)
|
|
18780
18800
|
}, {
|
|
18781
18801
|
default: O(() => [
|
|
18782
|
-
ce(B(
|
|
18802
|
+
ce(B(h.labels.synchrone), 1)
|
|
18783
18803
|
]),
|
|
18784
18804
|
_: 1
|
|
18785
18805
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18786
|
-
|
|
18806
|
+
h.duration ? (_(), X(st, {
|
|
18787
18807
|
key: 1,
|
|
18788
18808
|
prependIcon: v(nc)
|
|
18789
18809
|
}, {
|
|
18790
18810
|
default: O(() => [
|
|
18791
|
-
ce(B(
|
|
18811
|
+
ce(B(h.duration), 1)
|
|
18792
18812
|
]),
|
|
18793
18813
|
_: 1
|
|
18794
18814
|
}, 8, ["prependIcon"])) : R("", !0),
|
|
18795
|
-
|
|
18815
|
+
h.assessment ? (_(), X(st, {
|
|
18796
18816
|
key: 2,
|
|
18797
18817
|
prependIcon: v(Nl)
|
|
18798
18818
|
}, {
|
|
18799
18819
|
default: O(() => [
|
|
18800
|
-
ce(B(
|
|
18820
|
+
ce(B(h.labels.formatif), 1)
|
|
18801
18821
|
]),
|
|
18802
18822
|
_: 1
|
|
18803
18823
|
}, 8, ["prependIcon"])) : R("", !0)
|
|
18804
18824
|
]),
|
|
18805
18825
|
w("div", jh, [
|
|
18806
18826
|
w("div", Gh, [
|
|
18807
|
-
v(s) ||
|
|
18827
|
+
v(s) || h.subtitle ? (_(), D("div", Uh, [
|
|
18808
18828
|
w("div", Zh, [
|
|
18809
18829
|
v(s) ? (_(), D("h1", Wh, B(v(s)), 1)) : R("", !0),
|
|
18810
|
-
|
|
18830
|
+
h.subtitle ? (_(), D("h2", Xh, B(h.subtitle), 1)) : R("", !0)
|
|
18811
18831
|
])
|
|
18812
18832
|
])) : R("", !0)
|
|
18813
18833
|
])
|
|
@@ -18848,7 +18868,7 @@ const Li = /* @__PURE__ */ rt(Hh, [["render", Oh]]), Ru = /* @__PURE__ */ Object
|
|
|
18848
18868
|
if (e.card)
|
|
18849
18869
|
return "text-white";
|
|
18850
18870
|
}), 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,
|
|
18871
|
+
return (c, h) => (_(), D("div", {
|
|
18852
18872
|
class: j(v(s) ? "w-4/6 mx-auto" : "")
|
|
18853
18873
|
}, [
|
|
18854
18874
|
Z(hu, {
|