@2uinc/frontend-component-xpert-chatbot 1.1.1 → 1.1.3
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/README.md +13 -6
- package/dist/lib/index.min.js +602 -566
- package/package.json +10 -2
package/dist/lib/index.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import ue, { useState as ge, useEffect as
|
1
|
+
import ue, { useState as ge, useEffect as Ce, useCallback as Go, useRef as Ye, forwardRef as _n, useLayoutEffect as fr } from "react";
|
2
2
|
const Ko = {
|
3
3
|
xpertKey: "edx",
|
4
4
|
chatApiEndpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chat",
|
@@ -42,6 +42,7 @@ const Ko = {
|
|
42
42
|
marginLeft: "1.5rem"
|
43
43
|
},
|
44
44
|
privacyPolicyLink: "https://www.edx.org/edx-privacy-policy",
|
45
|
+
disableDisclaimerPage: !0,
|
45
46
|
disclaimerText: "This chat is AI generated (powered by ChatGPT), mistakes are possible. By using it you agree that edX may create a record of this chat. Your personal data will be used as described in our",
|
46
47
|
disclaimerSections: [
|
47
48
|
{
|
@@ -149,7 +150,7 @@ object-assign
|
|
149
150
|
(c) Sindre Sorhus
|
150
151
|
@license MIT
|
151
152
|
*/
|
152
|
-
var
|
153
|
+
var pr = Object.getOwnPropertySymbols, Jo = Object.prototype.hasOwnProperty, el = Object.prototype.propertyIsEnumerable;
|
153
154
|
function tl(e) {
|
154
155
|
if (e == null)
|
155
156
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
@@ -262,7 +263,7 @@ function Dt(e) {
|
|
262
263
|
}
|
263
264
|
return e;
|
264
265
|
}
|
265
|
-
var
|
266
|
+
var fl = {
|
266
267
|
read: function(e) {
|
267
268
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
268
269
|
},
|
@@ -323,20 +324,22 @@ function bn(e, t) {
|
|
323
324
|
}
|
324
325
|
);
|
325
326
|
}
|
326
|
-
var it = bn(
|
327
|
-
function
|
327
|
+
var it = bn(fl, { path: "/" });
|
328
|
+
function pl(e) {
|
328
329
|
const [t, n] = ge(null);
|
329
|
-
return
|
330
|
+
return Ce(() => {
|
330
331
|
console.log("Chatbot - optimizely mount");
|
331
332
|
try {
|
332
333
|
(() => {
|
333
334
|
var i, o, l;
|
334
335
|
(i = window.experiments) != null && i[e] ? (console.log("Chatbot - optimizely mount experiment variation exist"), n((l = (o = window.experiments) == null ? void 0 : o[e]) == null ? void 0 : l.variation)) : (console.log("Chatbot - optimizely mount experiment variation does not exist"), window.experiments = window.experiments || {}, window.experiments[e] = {}, window.experiments[e].handleLoaded = () => {
|
335
336
|
var a, u;
|
337
|
+
/* istanbul ignore next @preserve */
|
336
338
|
n((u = (a = window.experiments) == null ? void 0 : a[e]) == null ? void 0 : u.variation);
|
337
339
|
});
|
338
340
|
})();
|
339
341
|
} catch (r) {
|
342
|
+
/* istanbul ignore next @preserve */
|
340
343
|
console.error(r.message);
|
341
344
|
}
|
342
345
|
return () => {
|
@@ -349,7 +352,7 @@ const dl = 576, hl = (e) => {
|
|
349
352
|
const [t, n] = ge(), r = Go(() => {
|
350
353
|
n(window.matchMedia(`(max-width: ${e || dl}px)`).matches);
|
351
354
|
}, [e]);
|
352
|
-
return
|
355
|
+
return Ce(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
353
356
|
}, ht = hl, lt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n, r = "") => {
|
354
357
|
const i = e.split(":");
|
355
358
|
if (e.slice(0, 1) === "@") {
|
@@ -520,19 +523,19 @@ function bl(e, t, n) {
|
|
520
523
|
}
|
521
524
|
return !1;
|
522
525
|
}
|
523
|
-
let
|
526
|
+
let ft = !1;
|
524
527
|
function Si(e) {
|
525
|
-
return typeof e == "boolean" && (
|
528
|
+
return typeof e == "boolean" && (ft = e), ft;
|
526
529
|
}
|
527
530
|
function Dl(e) {
|
528
|
-
const t = typeof e == "string" ? _t(e, !0,
|
531
|
+
const t = typeof e == "string" ? _t(e, !0, ft) : e;
|
529
532
|
if (t) {
|
530
533
|
const n = _e(t.provider, t.prefix), r = t.name;
|
531
534
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
532
535
|
}
|
533
536
|
}
|
534
537
|
function Nl(e, t) {
|
535
|
-
const n = _t(e, !0,
|
538
|
+
const n = _t(e, !0, ft);
|
536
539
|
if (!n)
|
537
540
|
return !1;
|
538
541
|
const r = _e(n.provider, n.prefix);
|
@@ -541,7 +544,7 @@ function Nl(e, t) {
|
|
541
544
|
function wl(e, t) {
|
542
545
|
if (typeof e != "object")
|
543
546
|
return !1;
|
544
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
547
|
+
if (typeof t != "string" && (t = e.provider || ""), ft && !t && !e.prefix) {
|
545
548
|
let i = !1;
|
546
549
|
return Ai(e) && (e.prefix = "", zi(e, (o, l) => {
|
547
550
|
l && Nl(o, l) && (i = !0);
|
@@ -633,12 +636,12 @@ function jl(e, t) {
|
|
633
636
|
z % 2 === 1 && (i.left !== i.top && (E = i.left, i.left = i.top, i.top = E), i.width !== i.height && (E = i.width, i.width = i.height, i.height = E)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
|
634
637
|
});
|
635
638
|
const l = r.width, a = r.height, u = i.width, s = i.height;
|
636
|
-
let c,
|
637
|
-
l === null ? (
|
638
|
-
const m = {},
|
639
|
+
let c, f;
|
640
|
+
l === null ? (f = a === null ? "1em" : a === "auto" ? s : a, c = mr(f, u / s)) : (c = l === "auto" ? u : l, f = a === null ? mr(c, s / u) : a === "auto" ? s : a);
|
641
|
+
const m = {}, p = (w, x) => {
|
639
642
|
kl(x) || (m[w] = x.toString());
|
640
643
|
};
|
641
|
-
return
|
644
|
+
return p("width", c), p("height", f), m.viewBox = i.left.toString() + " " + i.top.toString() + " " + u.toString() + " " + s.toString(), {
|
642
645
|
attributes: m,
|
643
646
|
body: o
|
644
647
|
};
|
@@ -834,12 +837,12 @@ function Ql(e) {
|
|
834
837
|
const o = i.provider, l = i.prefix, a = i.name, u = n[o] || (n[o] = /* @__PURE__ */ Object.create(null)), s = u[l] || (u[l] = _e(o, l));
|
835
838
|
let c;
|
836
839
|
a in s.icons ? c = t.loaded : l === "" || s.missing.has(a) ? c = t.missing : c = t.pending;
|
837
|
-
const
|
840
|
+
const f = {
|
838
841
|
provider: o,
|
839
842
|
prefix: l,
|
840
843
|
name: a
|
841
844
|
};
|
842
|
-
c.push(
|
845
|
+
c.push(f);
|
843
846
|
}), t;
|
844
847
|
}
|
845
848
|
function Li(e, t) {
|
@@ -929,10 +932,10 @@ function Vl(e, t, n, r) {
|
|
929
932
|
} else
|
930
933
|
l = e.resources.slice(o).concat(e.resources.slice(0, o));
|
931
934
|
const a = Date.now();
|
932
|
-
let u = "pending", s = 0, c,
|
933
|
-
typeof r == "function" &&
|
935
|
+
let u = "pending", s = 0, c, f = null, m = [], p = [];
|
936
|
+
typeof r == "function" && p.push(r);
|
934
937
|
function w() {
|
935
|
-
|
938
|
+
f && (clearTimeout(f), f = null);
|
936
939
|
}
|
937
940
|
function x() {
|
938
941
|
u === "pending" && (u = "aborted"), w(), m.forEach((y) => {
|
@@ -940,7 +943,7 @@ function Vl(e, t, n, r) {
|
|
940
943
|
}), m = [];
|
941
944
|
}
|
942
945
|
function k(y, S) {
|
943
|
-
S && (
|
946
|
+
S && (p = []), typeof y == "function" && p.push(y);
|
944
947
|
}
|
945
948
|
function b() {
|
946
949
|
return {
|
@@ -954,7 +957,7 @@ function Vl(e, t, n, r) {
|
|
954
957
|
};
|
955
958
|
}
|
956
959
|
function z() {
|
957
|
-
u = "failed",
|
960
|
+
u = "failed", p.forEach((y) => {
|
958
961
|
y(void 0, c);
|
959
962
|
});
|
960
963
|
}
|
@@ -987,7 +990,7 @@ function Vl(e, t, n, r) {
|
|
987
990
|
const H = e.resources.indexOf(y.resource);
|
988
991
|
H !== -1 && H !== e.index && (e.index = H);
|
989
992
|
}
|
990
|
-
u = "completed",
|
993
|
+
u = "completed", p.forEach((H) => {
|
991
994
|
H(U);
|
992
995
|
});
|
993
996
|
}
|
@@ -998,7 +1001,7 @@ function Vl(e, t, n, r) {
|
|
998
1001
|
const y = l.shift();
|
999
1002
|
if (y === void 0) {
|
1000
1003
|
if (m.length) {
|
1001
|
-
|
1004
|
+
f = setTimeout(() => {
|
1002
1005
|
w(), u === "pending" && (E(), z());
|
1003
1006
|
}, e.timeout);
|
1004
1007
|
return;
|
@@ -1013,7 +1016,7 @@ function Vl(e, t, n, r) {
|
|
1013
1016
|
B(S, U, Y);
|
1014
1017
|
}
|
1015
1018
|
};
|
1016
|
-
m.push(S), s++,
|
1019
|
+
m.push(S), s++, f = setTimeout(_, e.rotate), n(y, t, S.callback);
|
1017
1020
|
}
|
1018
1021
|
return setTimeout(_), b;
|
1019
1022
|
}
|
@@ -1031,8 +1034,8 @@ function Pi(e) {
|
|
1031
1034
|
t,
|
1032
1035
|
a,
|
1033
1036
|
u,
|
1034
|
-
(
|
1035
|
-
r(), s && s(
|
1037
|
+
(f, m) => {
|
1038
|
+
r(), s && s(f, m);
|
1036
1039
|
}
|
1037
1040
|
);
|
1038
1041
|
return n.push(c), c;
|
@@ -1085,7 +1088,7 @@ function Zl(e, t, n) {
|
|
1085
1088
|
}
|
1086
1089
|
return !r || !i ? (n(void 0, 424), Mr) : r.query(t, i, n)().abort;
|
1087
1090
|
}
|
1088
|
-
const xr = "iconify2",
|
1091
|
+
const xr = "iconify2", pt = "iconify", Fi = pt + "-count", br = pt + "-version", Ri = 36e5, Gl = 168;
|
1089
1092
|
function In(e, t) {
|
1090
1093
|
try {
|
1091
1094
|
return e.getItem(t);
|
@@ -1140,13 +1143,13 @@ function Qi(e, t) {
|
|
1140
1143
|
if (r) {
|
1141
1144
|
const a = kn(n);
|
1142
1145
|
for (let u = 0; u < a; u++)
|
1143
|
-
Dr(n,
|
1146
|
+
Dr(n, pt + u.toString());
|
1144
1147
|
}
|
1145
1148
|
$n(n, br, xr), Tn(n, 0);
|
1146
1149
|
return;
|
1147
1150
|
}
|
1148
1151
|
const i = Math.floor(Date.now() / Ri) - Gl, o = (a) => {
|
1149
|
-
const u =
|
1152
|
+
const u = pt + a.toString(), s = In(n, u);
|
1150
1153
|
if (typeof s == "string") {
|
1151
1154
|
try {
|
1152
1155
|
const c = JSON.parse(s);
|
@@ -1212,7 +1215,7 @@ function Jl(e, t) {
|
|
1212
1215
|
};
|
1213
1216
|
return $n(
|
1214
1217
|
i,
|
1215
|
-
|
1218
|
+
pt + l.toString(),
|
1216
1219
|
JSON.stringify(a)
|
1217
1220
|
);
|
1218
1221
|
}
|
@@ -1248,8 +1251,8 @@ function ta(e, t) {
|
|
1248
1251
|
if (!s.length)
|
1249
1252
|
return;
|
1250
1253
|
const c = e.pendingIcons;
|
1251
|
-
c && s.forEach((
|
1252
|
-
c.delete(
|
1254
|
+
c && s.forEach((f) => {
|
1255
|
+
c.delete(f);
|
1253
1256
|
}), Jl(e, u);
|
1254
1257
|
} catch (s) {
|
1255
1258
|
console.error(s);
|
@@ -1281,11 +1284,11 @@ const na = (e, t) => {
|
|
1281
1284
|
if (c === a && s === l)
|
1282
1285
|
return;
|
1283
1286
|
l = s, a = c, o.push(_e(s, c));
|
1284
|
-
const
|
1285
|
-
|
1287
|
+
const f = i[s] || (i[s] = /* @__PURE__ */ Object.create(null));
|
1288
|
+
f[c] || (f[c] = []);
|
1286
1289
|
}), r.pending.forEach((u) => {
|
1287
|
-
const { provider: s, prefix: c, name:
|
1288
|
-
|
1290
|
+
const { provider: s, prefix: c, name: f } = u, m = _e(s, c), p = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
|
1291
|
+
p.has(f) || (p.add(f), i[s][c].push(f));
|
1289
1292
|
}), o.forEach((u) => {
|
1290
1293
|
const { provider: s, prefix: c } = u;
|
1291
1294
|
i[s][c].length && ta(u, i[s][c]);
|
@@ -1356,7 +1359,7 @@ function ca(e) {
|
|
1356
1359
|
return 'url("' + sa(e) + '")';
|
1357
1360
|
}
|
1358
1361
|
let at;
|
1359
|
-
function
|
1362
|
+
function fa() {
|
1360
1363
|
try {
|
1361
1364
|
at = window.trustedTypes.createPolicy("iconify", {
|
1362
1365
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
@@ -1366,8 +1369,8 @@ function pa() {
|
|
1366
1369
|
at = null;
|
1367
1370
|
}
|
1368
1371
|
}
|
1369
|
-
function
|
1370
|
-
return at === void 0 &&
|
1372
|
+
function pa(e) {
|
1373
|
+
return at === void 0 && fa(), at ? at.createHTML(e) : e;
|
1371
1374
|
}
|
1372
1375
|
const Yi = {
|
1373
1376
|
...Ci,
|
@@ -1443,27 +1446,27 @@ const ma = (e, t, n, r) => {
|
|
1443
1446
|
i[b] === void 0 && (s[b] = z);
|
1444
1447
|
}
|
1445
1448
|
}
|
1446
|
-
const c = jl(e, o),
|
1449
|
+
const c = jl(e, o), f = c.attributes;
|
1447
1450
|
if (o.inline && (a.verticalAlign = "-0.125em"), l === "svg") {
|
1448
1451
|
s.style = {
|
1449
1452
|
...a,
|
1450
1453
|
...u
|
1451
|
-
}, Object.assign(s,
|
1454
|
+
}, Object.assign(s, f);
|
1452
1455
|
let b = 0, z = t.id;
|
1453
1456
|
return typeof z == "string" && (z = z.replace(/-/g, "_")), s.dangerouslySetInnerHTML = {
|
1454
|
-
__html:
|
1457
|
+
__html: pa(Al(c.body, z ? () => z + "ID" + b++ : "iconifyReact"))
|
1455
1458
|
}, ue.createElement("svg", s);
|
1456
1459
|
}
|
1457
|
-
const { body: m, width:
|
1458
|
-
...
|
1459
|
-
width:
|
1460
|
+
const { body: m, width: p, height: w } = e, x = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), k = aa(m, {
|
1461
|
+
...f,
|
1462
|
+
width: p + "",
|
1460
1463
|
height: w + ""
|
1461
1464
|
});
|
1462
1465
|
return s.style = {
|
1463
1466
|
...a,
|
1464
1467
|
"--svg": ca(k),
|
1465
|
-
width: Tr(
|
1466
|
-
height: Tr(
|
1468
|
+
width: Tr(f.width),
|
1469
|
+
height: Tr(f.height),
|
1467
1470
|
...ha,
|
1468
1471
|
...x ? jn : qi,
|
1469
1472
|
...u
|
@@ -1592,7 +1595,7 @@ class $i extends ue.Component {
|
|
1592
1595
|
}, r, t._inline, t._ref);
|
1593
1596
|
}
|
1594
1597
|
}
|
1595
|
-
const
|
1598
|
+
const Le = ue.forwardRef(function(t, n) {
|
1596
1599
|
const r = {
|
1597
1600
|
...t,
|
1598
1601
|
_ref: n,
|
@@ -1616,13 +1619,16 @@ const kr = {
|
|
1616
1619
|
function Vn(e) {
|
1617
1620
|
var l;
|
1618
1621
|
const [t, n] = ge(!0), r = t && (!(window != null && window.OnetrustActiveGroups) || ((l = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : l.includes("C0003"))) && it.get(e.cookieName) === void 0;
|
1619
|
-
|
1620
|
-
var a
|
1621
|
-
(
|
1622
|
-
var
|
1623
|
-
!((
|
1622
|
+
Ce(() => {
|
1623
|
+
var a;
|
1624
|
+
(a = window == null ? void 0 : window.OneTrust) == null || a.OnConsentChanged(() => {
|
1625
|
+
var u;
|
1626
|
+
!((u = window == null ? void 0 : window.OnetrustActiveGroups) != null && u.includes("C0003")) && it.get(e.cookieName) !== void 0 && it.remove(e.cookieName);
|
1624
1627
|
});
|
1625
|
-
}, [])
|
1628
|
+
}, []), Ce(() => {
|
1629
|
+
var a;
|
1630
|
+
e.showMessage || (!(window != null && window.OnetrustActiveGroups) || (a = window == null ? void 0 : window.OnetrustActiveGroups) != null && a.includes("C0003")) && o(e.cookieName, 1, 1);
|
1631
|
+
}, [e.showMessage]);
|
1626
1632
|
const i = () => {
|
1627
1633
|
var a;
|
1628
1634
|
n(!1), (!(window != null && window.OnetrustActiveGroups) || (a = window == null ? void 0 : window.OnetrustActiveGroups) != null && a.includes("C0003")) && o(e.cookieName, 1, 1), e.onClose();
|
@@ -1633,11 +1639,10 @@ function Vn(e) {
|
|
1633
1639
|
};
|
1634
1640
|
it.set(a, u, c);
|
1635
1641
|
};
|
1636
|
-
return /* @__PURE__ */ I.jsx("div", { children: r && /* @__PURE__ */ I.jsxs("div", { className: "xpert_chatbot__proactive-message", style: e.style, children: [
|
1642
|
+
return /* @__PURE__ */ I.jsx("div", { children: r && /* @__PURE__ */ I.jsxs("div", { role: "alertdialog", className: "xpert_chatbot__proactive-message", style: e.style, children: [
|
1637
1643
|
/* @__PURE__ */ I.jsx("div", { children: /* @__PURE__ */ I.jsx(
|
1638
1644
|
"button",
|
1639
1645
|
{
|
1640
|
-
"data-testid": "proactive-message-button-close",
|
1641
1646
|
className: "xpert_chatbot__proactive-message__close",
|
1642
1647
|
style: {
|
1643
1648
|
border: "none",
|
@@ -1648,7 +1653,7 @@ function Vn(e) {
|
|
1648
1653
|
"aria-label": kr["popup.buttons.close"],
|
1649
1654
|
type: "button",
|
1650
1655
|
children: /* @__PURE__ */ I.jsx(
|
1651
|
-
|
1656
|
+
Le,
|
1652
1657
|
{
|
1653
1658
|
style: { color: "#707070", fontSize: "1.25rem", borderRadius: "100px", backgroundColor: "#fff" },
|
1654
1659
|
icon: "carbon:close-filled",
|
@@ -1660,7 +1665,6 @@ function Vn(e) {
|
|
1660
1665
|
/* @__PURE__ */ I.jsx(
|
1661
1666
|
"button",
|
1662
1667
|
{
|
1663
|
-
"data-testid": "proactive-message-button",
|
1664
1668
|
className: "xpert_chatbot__proactive-message__body-container",
|
1665
1669
|
onClick: e.onClick,
|
1666
1670
|
"aria-label": kr["proactive-message.message"],
|
@@ -1737,7 +1741,6 @@ function Wn({
|
|
1737
1741
|
return /* @__PURE__ */ I.jsx(
|
1738
1742
|
"button",
|
1739
1743
|
{
|
1740
|
-
"data-testid": "floating-action-button",
|
1741
1744
|
type: "button",
|
1742
1745
|
"aria-label": e,
|
1743
1746
|
className: Vi({
|
@@ -1798,13 +1801,13 @@ var Wi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
1798
1801
|
} else {
|
1799
1802
|
var c = Ue.call(l, Ot);
|
1800
1803
|
c && r.filter(l) && (n || !t.includes(l)) && i.push(l);
|
1801
|
-
var
|
1802
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(l), m = !Lt(
|
1803
|
-
if (
|
1804
|
-
var
|
1805
|
-
r.flatten ? i.push.apply(i,
|
1804
|
+
var f = l.shadowRoot || // check for an undisclosed shadow
|
1805
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(l), m = !Lt(f, !1) && (!r.shadowRootFilter || r.shadowRootFilter(l));
|
1806
|
+
if (f && m) {
|
1807
|
+
var p = e(f === !0 ? l.children : f.children, !0, r);
|
1808
|
+
r.flatten ? i.push.apply(i, p) : i.push({
|
1806
1809
|
scopeParent: l,
|
1807
|
-
candidates:
|
1810
|
+
candidates: p
|
1808
1811
|
});
|
1809
1812
|
} else
|
1810
1813
|
o.unshift.apply(o, l.children);
|
@@ -1860,8 +1863,8 @@ var Wi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
1860
1863
|
if (r && r !== t) {
|
1861
1864
|
var l, a, u;
|
1862
1865
|
for (o = !!((l = i) !== null && l !== void 0 && (a = l.ownerDocument) !== null && a !== void 0 && a.contains(i) || t != null && (u = t.ownerDocument) !== null && u !== void 0 && u.contains(t)); !o && i; ) {
|
1863
|
-
var s, c,
|
1864
|
-
r = Ct(i), i = (s = r) === null || s === void 0 ? void 0 : s.host, o = !!((c = i) !== null && c !== void 0 && (
|
1866
|
+
var s, c, f;
|
1867
|
+
r = Ct(i), i = (s = r) === null || s === void 0 ? void 0 : s.host, o = !!((c = i) !== null && c !== void 0 && (f = c.ownerDocument) !== null && f !== void 0 && f.contains(i));
|
1865
1868
|
}
|
1866
1869
|
}
|
1867
1870
|
return o;
|
@@ -1948,7 +1951,7 @@ var Wi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
1948
1951
|
flatten: !0,
|
1949
1952
|
getShadowRoot: n.getShadowRoot
|
1950
1953
|
}) : r = Gi(t, n.includeContainer, Pt.bind(null, n)), r;
|
1951
|
-
},
|
1954
|
+
}, Fe = function(t, n) {
|
1952
1955
|
if (n = n || {}, !t)
|
1953
1956
|
throw new Error("No node provided");
|
1954
1957
|
return Ue.call(t, Ot) === !1 ? !1 : En(n, t);
|
@@ -1962,7 +1965,7 @@ const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1962
1965
|
focusable: to,
|
1963
1966
|
getTabIndex: Oe,
|
1964
1967
|
isFocusable: vt,
|
1965
|
-
isTabbable:
|
1968
|
+
isTabbable: Fe,
|
1966
1969
|
tabbable: eo
|
1967
1970
|
}, Symbol.toStringTag, { value: "Module" }));
|
1968
1971
|
/*!
|
@@ -2123,7 +2126,7 @@ var zr = {
|
|
2123
2126
|
if (typeof N == "string" && (Q = r.querySelector(N), !Q))
|
2124
2127
|
throw new Error("`".concat(M, "` as selector refers to no known node"));
|
2125
2128
|
return Q;
|
2126
|
-
},
|
2129
|
+
}, f = function() {
|
2127
2130
|
var M = c("initialFocus");
|
2128
2131
|
if (M === !1)
|
2129
2132
|
return !1;
|
@@ -2140,9 +2143,9 @@ var zr = {
|
|
2140
2143
|
}, m = function() {
|
2141
2144
|
if (l.containerGroups = l.containers.map(function(M) {
|
2142
2145
|
var N = eo(M, o.tabbableOptions), A = to(M, o.tabbableOptions), O = N.length > 0 ? N[0] : void 0, F = N.length > 0 ? N[N.length - 1] : void 0, Q = A.find(function(d) {
|
2143
|
-
return
|
2146
|
+
return Fe(d);
|
2144
2147
|
}), $ = A.slice().reverse().find(function(d) {
|
2145
|
-
return
|
2148
|
+
return Fe(d);
|
2146
2149
|
}), Z = !!N.find(function(d) {
|
2147
2150
|
return Oe(d) > 0;
|
2148
2151
|
});
|
@@ -2178,9 +2181,9 @@ var zr = {
|
|
2178
2181
|
nextTabbableNode: function(te) {
|
2179
2182
|
var X = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = N.indexOf(te);
|
2180
2183
|
return h < 0 ? X ? A.slice(A.indexOf(te) + 1).find(function(ie) {
|
2181
|
-
return
|
2184
|
+
return Fe(ie);
|
2182
2185
|
}) : A.slice(0, A.indexOf(te)).reverse().find(function(ie) {
|
2183
|
-
return
|
2186
|
+
return Fe(ie);
|
2184
2187
|
}) : N[h + (X ? 1 : -1)];
|
2185
2188
|
}
|
2186
2189
|
};
|
@@ -2192,14 +2195,14 @@ var zr = {
|
|
2192
2195
|
return M.posTabIndexesFound;
|
2193
2196
|
}) && l.containerGroups.length > 1)
|
2194
2197
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
2195
|
-
},
|
2198
|
+
}, p = function j(M) {
|
2196
2199
|
var N = M.activeElement;
|
2197
2200
|
if (N)
|
2198
2201
|
return N.shadowRoot && N.shadowRoot.activeElement !== null ? j(N.shadowRoot) : N;
|
2199
2202
|
}, w = function j(M) {
|
2200
|
-
if (M !== !1 && M !==
|
2203
|
+
if (M !== !1 && M !== p(document)) {
|
2201
2204
|
if (!M || !M.focus) {
|
2202
|
-
j(
|
2205
|
+
j(f());
|
2203
2206
|
return;
|
2204
2207
|
}
|
2205
2208
|
M.focus({
|
@@ -2222,7 +2225,7 @@ var zr = {
|
|
2222
2225
|
var he = ne.firstTabbableNode;
|
2223
2226
|
return N === he;
|
2224
2227
|
});
|
2225
|
-
if (d < 0 && (Z.container === N || vt(N, o.tabbableOptions) && !
|
2228
|
+
if (d < 0 && (Z.container === N || vt(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !Z.nextTabbableNode(N, !1)) && (d = $), d >= 0) {
|
2226
2229
|
var te = d === 0 ? l.tabbableGroups.length - 1 : d - 1, X = l.tabbableGroups[te];
|
2227
2230
|
Q = Oe(N) >= 0 ? X.lastTabbableNode : X.lastDomTabbableNode;
|
2228
2231
|
} else
|
@@ -2232,7 +2235,7 @@ var zr = {
|
|
2232
2235
|
var he = ne.lastTabbableNode;
|
2233
2236
|
return N === he;
|
2234
2237
|
});
|
2235
|
-
if (h < 0 && (Z.container === N || vt(N, o.tabbableOptions) && !
|
2238
|
+
if (h < 0 && (Z.container === N || vt(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !Z.nextTabbableNode(N)) && (h = $), h >= 0) {
|
2236
2239
|
var ie = h === l.tabbableGroups.length - 1 ? 0 : h + 1, re = l.tabbableGroups[ie];
|
2237
2240
|
Q = Oe(N) >= 0 ? re.firstTabbableNode : re.firstDomTabbableNode;
|
2238
2241
|
} else
|
@@ -2287,7 +2290,7 @@ var zr = {
|
|
2287
2290
|
// outside the trap causing the focus escape we're trying to fix)
|
2288
2291
|
target: l.mostRecentlyFocusedNode,
|
2289
2292
|
isBackward: o.isKeyBackward(l.recentNavEvent)
|
2290
|
-
})), w(O || l.mostRecentlyFocusedNode ||
|
2293
|
+
})), w(O || l.mostRecentlyFocusedNode || f());
|
2291
2294
|
}
|
2292
2295
|
l.recentNavEvent = void 0;
|
2293
2296
|
}, E = function(M) {
|
@@ -2310,8 +2313,8 @@ var zr = {
|
|
2310
2313
|
}, y = function() {
|
2311
2314
|
if (l.active)
|
2312
2315
|
return zr.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? Ar(function() {
|
2313
|
-
w(
|
2314
|
-
}) : w(
|
2316
|
+
w(f());
|
2317
|
+
}) : w(f()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", b, {
|
2315
2318
|
capture: !0,
|
2316
2319
|
passive: !1
|
2317
2320
|
}), r.addEventListener("touchstart", b, {
|
@@ -2334,7 +2337,7 @@ var zr = {
|
|
2334
2337
|
return F === l.mostRecentlyFocusedNode;
|
2335
2338
|
});
|
2336
2339
|
});
|
2337
|
-
N && w(
|
2340
|
+
N && w(f());
|
2338
2341
|
}, Y = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(U) : void 0, H = function() {
|
2339
2342
|
Y && (Y.disconnect(), l.active && !l.paused && l.containers.map(function(M) {
|
2340
2343
|
Y.observe(M, {
|
@@ -2501,22 +2504,22 @@ var It = ue, P = Ei, tu = $a, nu = tu.createFocusTrap, ru = Ha, iu = ru.isFocusa
|
|
2501
2504
|
Va(this, n), i = t.call(this, r), Ja(ot(i), "getNodeForOption", function(a) {
|
2502
2505
|
var u, s = (u = this.internalOptions[a]) !== null && u !== void 0 ? u : this.originalOptions[a];
|
2503
2506
|
if (typeof s == "function") {
|
2504
|
-
for (var c = arguments.length,
|
2505
|
-
|
2506
|
-
s = s.apply(void 0,
|
2507
|
+
for (var c = arguments.length, f = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
|
2508
|
+
f[m - 1] = arguments[m];
|
2509
|
+
s = s.apply(void 0, f);
|
2507
2510
|
}
|
2508
2511
|
if (s === !0 && (s = void 0), !s) {
|
2509
2512
|
if (s === void 0 || s === !1)
|
2510
2513
|
return s;
|
2511
2514
|
throw new Error("`".concat(a, "` was specified but was not a node, or did not return a node"));
|
2512
2515
|
}
|
2513
|
-
var
|
2516
|
+
var p = s;
|
2514
2517
|
if (typeof s == "string") {
|
2515
2518
|
var w;
|
2516
|
-
if (
|
2519
|
+
if (p = (w = this.getDocument()) === null || w === void 0 ? void 0 : w.querySelector(s), !p)
|
2517
2520
|
throw new Error("`".concat(a, "` as selector refers to no known node"));
|
2518
2521
|
}
|
2519
|
-
return
|
2522
|
+
return p;
|
2520
2523
|
}), i.handleDeactivate = i.handleDeactivate.bind(ot(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(ot(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(ot(i)), i.internalOptions = {
|
2521
2524
|
// We need to hijack the returnFocusOnDeactivate option,
|
2522
2525
|
// because React can move focus into the element before we arrived at
|
@@ -2742,7 +2745,7 @@ const lu = /* @__PURE__ */ Qe(ou), au = (e) => {
|
|
2742
2745
|
}, n = () => {
|
2743
2746
|
document.body.style.overflow = "unset";
|
2744
2747
|
};
|
2745
|
-
|
2748
|
+
Ce(() => {
|
2746
2749
|
var r, i;
|
2747
2750
|
return (r = e == null ? void 0 : e.current) == null || r.addEventListener("mouseover", t), (i = e == null ? void 0 : e.current) == null || i.addEventListener("mouseout", n), () => {
|
2748
2751
|
var o, l;
|
@@ -2763,7 +2766,10 @@ function Qt({
|
|
2763
2766
|
lu,
|
2764
2767
|
{
|
2765
2768
|
focusTrapOptions: {
|
2766
|
-
clickOutsideDeactivates: !0
|
2769
|
+
clickOutsideDeactivates: !0,
|
2770
|
+
tabbableOptions: {
|
2771
|
+
displayCheck: void 0
|
2772
|
+
}
|
2767
2773
|
},
|
2768
2774
|
children: /* @__PURE__ */ I.jsx(
|
2769
2775
|
"div",
|
@@ -2772,7 +2778,6 @@ function Qt({
|
|
2772
2778
|
tabIndex: -1,
|
2773
2779
|
role: "dialog",
|
2774
2780
|
"aria-modal": !0,
|
2775
|
-
"data-testid": "floating-action-popup",
|
2776
2781
|
className: Vi(
|
2777
2782
|
{
|
2778
2783
|
"xpert_chatbot__floating-popup": !o,
|
@@ -2806,7 +2811,7 @@ function cu(e) {
|
|
2806
2811
|
const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm, n = e.match(t);
|
2807
2812
|
return (n == null ? void 0 : n.length) || 0;
|
2808
2813
|
}
|
2809
|
-
function
|
2814
|
+
function fu(e, t) {
|
2810
2815
|
if (!(e instanceof Date && t instanceof Date))
|
2811
2816
|
throw new Error(`Both start and end must be valid Date objects: start=${e} end=${t}`);
|
2812
2817
|
return (t.getTime() - e.getTime()) / 1e3;
|
@@ -2840,7 +2845,8 @@ function ro({ onClose: e, configurations: t }) {
|
|
2840
2845
|
/* @__PURE__ */ I.jsx(
|
2841
2846
|
"button",
|
2842
2847
|
{
|
2843
|
-
"aria-label": "Close",
|
2848
|
+
"aria-label": "Close Xpert disclaimer dialog",
|
2849
|
+
type: "button",
|
2844
2850
|
style: {
|
2845
2851
|
margin: "0 0 0 auto",
|
2846
2852
|
padding: "0",
|
@@ -2850,8 +2856,7 @@ function ro({ onClose: e, configurations: t }) {
|
|
2850
2856
|
cursor: "pointer"
|
2851
2857
|
},
|
2852
2858
|
onClick: e,
|
2853
|
-
"
|
2854
|
-
children: /* @__PURE__ */ I.jsx(Ce, { icon: "material-symbols:close", alt: "Close", style: { fontSize: "1.75rem" } })
|
2859
|
+
children: /* @__PURE__ */ I.jsx(Le, { icon: "material-symbols:close", alt: "Close", style: { fontSize: "1.75rem" } })
|
2855
2860
|
}
|
2856
2861
|
)
|
2857
2862
|
]
|
@@ -2876,7 +2881,7 @@ function Bt({
|
|
2876
2881
|
containerStyle: u,
|
2877
2882
|
configurations: s
|
2878
2883
|
}) {
|
2879
|
-
return
|
2884
|
+
return Ce(() => {
|
2880
2885
|
var c;
|
2881
2886
|
(c = t == null ? void 0 : t.current) == null || c.focus();
|
2882
2887
|
}, [e, n, t]), /* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: u, children: [
|
@@ -2905,8 +2910,7 @@ function Bt({
|
|
2905
2910
|
lineHeight: "1.56rem",
|
2906
2911
|
boxSizing: "border-box",
|
2907
2912
|
resize: "none"
|
2908
|
-
}
|
2909
|
-
"data-testid": "xpert-chatbot-popup-input"
|
2913
|
+
}
|
2910
2914
|
}
|
2911
2915
|
),
|
2912
2916
|
/* @__PURE__ */ I.jsx(
|
@@ -2918,8 +2922,7 @@ function Bt({
|
|
2918
2922
|
c.preventDefault(), i(r);
|
2919
2923
|
},
|
2920
2924
|
"aria-label": "Send message",
|
2921
|
-
"
|
2922
|
-
children: /* @__PURE__ */ I.jsx(Ce, { icon: "material-symbols:send", style: { fontSize: "1.75rem" } })
|
2925
|
+
children: /* @__PURE__ */ I.jsx(Le, { icon: "material-symbols:send", style: { fontSize: "1.75rem" } })
|
2923
2926
|
}
|
2924
2927
|
)
|
2925
2928
|
] });
|
@@ -2941,7 +2944,7 @@ Bt.propTypes = {
|
|
2941
2944
|
Bt.defaultProps = {
|
2942
2945
|
containerStyle: void 0
|
2943
2946
|
};
|
2944
|
-
const
|
2947
|
+
const pu = {
|
2945
2948
|
Groups: "material-symbols:groups",
|
2946
2949
|
Compass: "mdi:compass-outline",
|
2947
2950
|
InfoOutline: "material-symbols:info-outline"
|
@@ -2959,20 +2962,34 @@ function io({
|
|
2959
2962
|
configurations: s
|
2960
2963
|
}) {
|
2961
2964
|
return /* @__PURE__ */ I.jsxs(Qt, { children: [
|
2962
|
-
/* @__PURE__ */ I.jsx(
|
2965
|
+
/* @__PURE__ */ I.jsx(
|
2966
|
+
ro,
|
2967
|
+
{
|
2968
|
+
onClose: e,
|
2969
|
+
configurations: s
|
2970
|
+
}
|
2971
|
+
),
|
2963
2972
|
/* @__PURE__ */ I.jsxs(
|
2964
2973
|
"div",
|
2965
2974
|
{
|
2966
|
-
|
2975
|
+
role: "alert",
|
2976
|
+
"aria-live": "assertive",
|
2967
2977
|
className: "xpert-chatbot-popup__disclaimer",
|
2968
2978
|
style: { backgroundColor: s.primaryColor },
|
2969
2979
|
children: [
|
2970
|
-
/* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-popup__disclaimer--info", children: (s.disclaimerSections
|
2980
|
+
/* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-popup__disclaimer--info", children: (s.disclaimerSections.length && s.disclaimerSections).map((c) => /* @__PURE__ */ I.jsxs(
|
2971
2981
|
"div",
|
2972
2982
|
{
|
2983
|
+
"data-testid": "disclaimer-section",
|
2973
2984
|
className: "xpert-chatbot-popup__disclaimer--instruction",
|
2974
2985
|
children: [
|
2975
|
-
/* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-popup__disclaimer__compass-icon", children: /* @__PURE__ */ I.jsx(
|
2986
|
+
/* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-popup__disclaimer__compass-icon", children: /* @__PURE__ */ I.jsx(
|
2987
|
+
Le,
|
2988
|
+
{
|
2989
|
+
icon: pu[c.icon],
|
2990
|
+
style: { fontSize: "1.75rem" }
|
2991
|
+
}
|
2992
|
+
) }),
|
2976
2993
|
/* @__PURE__ */ I.jsxs("div", { children: [
|
2977
2994
|
/* @__PURE__ */ I.jsx("h3", { className: "xpert-chatbot-popup__disclaimer--instruction-title", children: c.title }),
|
2978
2995
|
/* @__PURE__ */ I.jsx("span", { className: "xpert-chatbot-popup__disclaimer--instruction-text", children: c.text })
|
@@ -3046,7 +3063,7 @@ io.propTypes = {
|
|
3046
3063
|
}).isRequired
|
3047
3064
|
};
|
3048
3065
|
function du() {
|
3049
|
-
return /* @__PURE__ */ I.jsx("div", { className: "xpert_chatbot__loader__wrapper", children: /* @__PURE__ */ I.jsxs("div", { className: "xpert_chatbot__loader__ellipsis", children: [
|
3066
|
+
return /* @__PURE__ */ I.jsx("div", { role: "progressbar", className: "xpert_chatbot__loader__wrapper", children: /* @__PURE__ */ I.jsxs("div", { className: "xpert_chatbot__loader__ellipsis", children: [
|
3050
3067
|
/* @__PURE__ */ I.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--first" }),
|
3051
3068
|
/* @__PURE__ */ I.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--second" }),
|
3052
3069
|
/* @__PURE__ */ I.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--third" })
|
@@ -3056,7 +3073,7 @@ function oo({ errorRef: e }) {
|
|
3056
3073
|
return /* @__PURE__ */ I.jsxs(
|
3057
3074
|
"div",
|
3058
3075
|
{
|
3059
|
-
role: "
|
3076
|
+
role: "alert",
|
3060
3077
|
ref: e,
|
3061
3078
|
style: {
|
3062
3079
|
maxWidth: "18.375rem",
|
@@ -3071,7 +3088,7 @@ function oo({ errorRef: e }) {
|
|
3071
3088
|
"aria-describedby": "Oops! Something went wrong. Try again later.",
|
3072
3089
|
children: [
|
3073
3090
|
/* @__PURE__ */ I.jsx(
|
3074
|
-
|
3091
|
+
Le,
|
3075
3092
|
{
|
3076
3093
|
icon: "material-symbols:thunderstorm",
|
3077
3094
|
style: {
|
@@ -3117,10 +3134,14 @@ const Gn = _n(
|
|
3117
3134
|
({ content: e, isNormalSize: t, configurations: n }, r) => /* @__PURE__ */ I.jsx(
|
3118
3135
|
"div",
|
3119
3136
|
{
|
3120
|
-
|
3137
|
+
role: "status",
|
3121
3138
|
className: "xpert-chatbot-popup__bubble--user",
|
3122
3139
|
ref: r,
|
3123
|
-
style: {
|
3140
|
+
style: {
|
3141
|
+
backgroundColor: n.primaryColor,
|
3142
|
+
maxWidth: t ? "85%" : "67%",
|
3143
|
+
...n.userMessageBubbleStyle
|
3144
|
+
},
|
3124
3145
|
children: e
|
3125
3146
|
}
|
3126
3147
|
)
|
@@ -3429,7 +3450,7 @@ class ao {
|
|
3429
3450
|
* @param {string | URL} path
|
3430
3451
|
*/
|
3431
3452
|
set path(t) {
|
3432
|
-
An(t) && (t = Tu(t)),
|
3453
|
+
An(t) && (t = Tu(t)), pn(t, "path"), this.path !== t && this.history.push(t);
|
3433
3454
|
}
|
3434
3455
|
/**
|
3435
3456
|
* Get the parent path (example: `'~'`).
|
@@ -3459,7 +3480,7 @@ class ao {
|
|
3459
3480
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
3460
3481
|
*/
|
3461
3482
|
set basename(t) {
|
3462
|
-
|
3483
|
+
pn(t, "basename"), fn(t, "basename"), this.path = we.join(this.dirname || "", t);
|
3463
3484
|
}
|
3464
3485
|
/**
|
3465
3486
|
* Get the extname (including dot) (example: `'.js'`).
|
@@ -3475,7 +3496,7 @@ class ao {
|
|
3475
3496
|
* Cannot be set if there’s no `path` yet.
|
3476
3497
|
*/
|
3477
3498
|
set extname(t) {
|
3478
|
-
if (
|
3499
|
+
if (fn(t, "extname"), Fr(this.dirname, "extname"), t) {
|
3479
3500
|
if (t.charCodeAt(0) !== 46)
|
3480
3501
|
throw new Error("`extname` must start with `.`");
|
3481
3502
|
if (t.includes(".", 1))
|
@@ -3497,7 +3518,7 @@ class ao {
|
|
3497
3518
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
3498
3519
|
*/
|
3499
3520
|
set stem(t) {
|
3500
|
-
|
3521
|
+
pn(t, "stem"), fn(t, "stem"), this.path = we.join(this.dirname || "", t + (this.extname || ""));
|
3501
3522
|
}
|
3502
3523
|
/**
|
3503
3524
|
* Serialize the file.
|
@@ -3576,13 +3597,13 @@ class ao {
|
|
3576
3597
|
throw i.fatal = !0, i;
|
3577
3598
|
}
|
3578
3599
|
}
|
3579
|
-
function
|
3600
|
+
function fn(e, t) {
|
3580
3601
|
if (e && e.includes(we.sep))
|
3581
3602
|
throw new Error(
|
3582
3603
|
"`" + t + "` cannot be a path: did not expect `" + we.sep + "`"
|
3583
3604
|
);
|
3584
3605
|
}
|
3585
|
-
function
|
3606
|
+
function pn(e, t) {
|
3586
3607
|
if (!e)
|
3587
3608
|
throw new Error("`" + t + "` cannot be empty");
|
3588
3609
|
}
|
@@ -3650,13 +3671,13 @@ function vu() {
|
|
3650
3671
|
a(null, ...i);
|
3651
3672
|
function a(u, ...s) {
|
3652
3673
|
const c = e[++o];
|
3653
|
-
let
|
3674
|
+
let f = -1;
|
3654
3675
|
if (u) {
|
3655
3676
|
l(u);
|
3656
3677
|
return;
|
3657
3678
|
}
|
3658
|
-
for (; ++
|
3659
|
-
(s[
|
3679
|
+
for (; ++f < i.length; )
|
3680
|
+
(s[f] === null || s[f] === void 0) && (s[f] = i[f]);
|
3660
3681
|
i = s, c ? zu(c, a)(...s) : l(null, ...s);
|
3661
3682
|
}
|
3662
3683
|
}
|
@@ -3699,7 +3720,7 @@ const Au = co().freeze(), so = {}.hasOwnProperty;
|
|
3699
3720
|
function co() {
|
3700
3721
|
const e = vu(), t = [];
|
3701
3722
|
let n = {}, r, i = -1;
|
3702
|
-
return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = u, o.parse = s, o.stringify = c, o.run =
|
3723
|
+
return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = u, o.parse = s, o.stringify = c, o.run = f, o.runSync = m, o.process = p, o.processSync = w, o;
|
3703
3724
|
function o() {
|
3704
3725
|
const x = co();
|
3705
3726
|
let k = -1;
|
@@ -3779,7 +3800,7 @@ function co() {
|
|
3779
3800
|
const b = rt(k), z = o.Compiler;
|
3780
3801
|
return hn("stringify", z), Vr(x), Hr(z, "compile") ? new z(x, b).compile() : z(x, b);
|
3781
3802
|
}
|
3782
|
-
function
|
3803
|
+
function f(x, k, b) {
|
3783
3804
|
if (Vr(x), o.freeze(), !b && typeof k == "function" && (b = k, k = void 0), !b)
|
3784
3805
|
return new Promise(z);
|
3785
3806
|
z(null, b);
|
@@ -3797,7 +3818,7 @@ function co() {
|
|
3797
3818
|
Rr(B), b = _, z = !0;
|
3798
3819
|
}
|
3799
3820
|
}
|
3800
|
-
function
|
3821
|
+
function p(x, k) {
|
3801
3822
|
if (o.freeze(), dn("process", o.Parser), hn("process", o.Compiler), !k)
|
3802
3823
|
return new Promise(b);
|
3803
3824
|
b(null, k);
|
@@ -3878,9 +3899,9 @@ function Cu(e) {
|
|
3878
3899
|
const Lu = {};
|
3879
3900
|
function Pu(e, t) {
|
3880
3901
|
const n = t || Lu, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
3881
|
-
return
|
3902
|
+
return fo(e, r, i);
|
3882
3903
|
}
|
3883
|
-
function
|
3904
|
+
function fo(e, t, n) {
|
3884
3905
|
if (Fu(e)) {
|
3885
3906
|
if ("value" in e)
|
3886
3907
|
return e.type === "html" && !n ? "" : e.value;
|
@@ -3895,7 +3916,7 @@ function Zr(e, t, n) {
|
|
3895
3916
|
const r = [];
|
3896
3917
|
let i = -1;
|
3897
3918
|
for (; ++i < e.length; )
|
3898
|
-
r[i] =
|
3919
|
+
r[i] = fo(e[i], t, n);
|
3899
3920
|
return r.join("");
|
3900
3921
|
}
|
3901
3922
|
function Fu(e) {
|
@@ -3945,7 +3966,7 @@ function Uu(e, t) {
|
|
3945
3966
|
(t[n].add === "after" ? e : r).push(t[n]);
|
3946
3967
|
Te(e, 0, 0, r);
|
3947
3968
|
}
|
3948
|
-
const Qu = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ie =
|
3969
|
+
const Qu = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ie = Pe(/[A-Za-z]/), de = Pe(/[\dA-Za-z]/), Bu = Pe(/[#-'*+\--9=?A-Z^-~]/);
|
3949
3970
|
function On(e) {
|
3950
3971
|
return (
|
3951
3972
|
// Special whitespace codes (which have negative values), C0 and Control
|
@@ -3953,18 +3974,18 @@ function On(e) {
|
|
3953
3974
|
e !== null && (e < 32 || e === 127)
|
3954
3975
|
);
|
3955
3976
|
}
|
3956
|
-
const Cn =
|
3977
|
+
const Cn = Pe(/\d/), Yu = Pe(/[\dA-Fa-f]/), qu = Pe(/[!-/:-@[-`{-~]/);
|
3957
3978
|
function R(e) {
|
3958
3979
|
return e !== null && e < -2;
|
3959
3980
|
}
|
3960
|
-
function
|
3981
|
+
function fe(e) {
|
3961
3982
|
return e !== null && (e < 0 || e === 32);
|
3962
3983
|
}
|
3963
3984
|
function V(e) {
|
3964
3985
|
return e === -2 || e === -1 || e === 32;
|
3965
3986
|
}
|
3966
|
-
const $u =
|
3967
|
-
function
|
3987
|
+
const $u = Pe(Qu), Hu = Pe(/\s/);
|
3988
|
+
function Pe(e) {
|
3968
3989
|
return t;
|
3969
3990
|
function t(n) {
|
3970
3991
|
return n !== null && e.test(String.fromCharCode(n));
|
@@ -4071,23 +4092,23 @@ function Gu(e) {
|
|
4071
4092
|
return t.containerState = {}, e.check(
|
4072
4093
|
Kr,
|
4073
4094
|
c,
|
4074
|
-
|
4095
|
+
f
|
4075
4096
|
)(E);
|
4076
4097
|
}
|
4077
4098
|
function c(E) {
|
4078
4099
|
return i && z(), b(r), m(E);
|
4079
4100
|
}
|
4080
|
-
function
|
4101
|
+
function f(E) {
|
4081
4102
|
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, w(E);
|
4082
4103
|
}
|
4083
4104
|
function m(E) {
|
4084
4105
|
return t.containerState = {}, e.attempt(
|
4085
4106
|
Kr,
|
4086
|
-
|
4107
|
+
p,
|
4087
4108
|
w
|
4088
4109
|
)(E);
|
4089
4110
|
}
|
4090
|
-
function
|
4111
|
+
function p(E) {
|
4091
4112
|
return r++, n.push([t.currentConstruct, t.containerState]), m(E);
|
4092
4113
|
}
|
4093
4114
|
function w(E) {
|
@@ -4161,7 +4182,7 @@ function Ku(e, t, n) {
|
|
4161
4182
|
);
|
4162
4183
|
}
|
4163
4184
|
function Xr(e) {
|
4164
|
-
if (e === null ||
|
4185
|
+
if (e === null || fe(e) || Hu(e))
|
4165
4186
|
return 1;
|
4166
4187
|
if ($u(e))
|
4167
4188
|
return 2;
|
@@ -4190,10 +4211,10 @@ function Xu(e, t) {
|
|
4190
4211
|
if ((e[r][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[r][1].end.offset - e[r][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3))
|
4191
4212
|
continue;
|
4192
4213
|
u = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
|
4193
|
-
const
|
4194
|
-
Jr(
|
4214
|
+
const f = Object.assign({}, e[r][1].end), m = Object.assign({}, e[n][1].start);
|
4215
|
+
Jr(f, -u), Jr(m, u), l = {
|
4195
4216
|
type: u > 1 ? "strongSequence" : "emphasisSequence",
|
4196
|
-
start:
|
4217
|
+
start: f,
|
4197
4218
|
end: Object.assign({}, e[r][1].end)
|
4198
4219
|
}, a = {
|
4199
4220
|
type: u > 1 ? "strongSequence" : "emphasisSequence",
|
@@ -4248,8 +4269,8 @@ function Ju(e, t) {
|
|
4248
4269
|
function a(u) {
|
4249
4270
|
if (u === o)
|
4250
4271
|
return e.consume(u), a;
|
4251
|
-
const s = e.exit("attentionSequence"), c = Xr(u),
|
4252
|
-
return s._open = !!(o === 42 ?
|
4272
|
+
const s = e.exit("attentionSequence"), c = Xr(u), f = !c || c === 2 && i || n.includes(u), m = !i || i === 2 && c || n.includes(r);
|
4273
|
+
return s._open = !!(o === 42 ? f : f && (i || !m)), s._close = !!(o === 42 ? m : m && (c || !f)), t(u);
|
4253
4274
|
}
|
4254
4275
|
}
|
4255
4276
|
function Jr(e, t) {
|
@@ -4262,36 +4283,36 @@ const es = {
|
|
4262
4283
|
function ts(e, t, n) {
|
4263
4284
|
let r = 0;
|
4264
4285
|
return i;
|
4265
|
-
function i(
|
4266
|
-
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(
|
4286
|
+
function i(p) {
|
4287
|
+
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
|
4267
4288
|
}
|
4268
|
-
function o(
|
4269
|
-
return Ie(
|
4289
|
+
function o(p) {
|
4290
|
+
return Ie(p) ? (e.consume(p), l) : s(p);
|
4270
4291
|
}
|
4271
|
-
function l(
|
4272
|
-
return
|
4292
|
+
function l(p) {
|
4293
|
+
return p === 43 || p === 45 || p === 46 || de(p) ? (r = 1, a(p)) : s(p);
|
4273
4294
|
}
|
4274
|
-
function a(
|
4275
|
-
return
|
4295
|
+
function a(p) {
|
4296
|
+
return p === 58 ? (e.consume(p), r = 0, u) : (p === 43 || p === 45 || p === 46 || de(p)) && r++ < 32 ? (e.consume(p), a) : (r = 0, s(p));
|
4276
4297
|
}
|
4277
|
-
function u(
|
4278
|
-
return
|
4298
|
+
function u(p) {
|
4299
|
+
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || On(p) ? n(p) : (e.consume(p), u);
|
4279
4300
|
}
|
4280
|
-
function s(
|
4281
|
-
return
|
4301
|
+
function s(p) {
|
4302
|
+
return p === 64 ? (e.consume(p), c) : Bu(p) ? (e.consume(p), s) : n(p);
|
4282
4303
|
}
|
4283
|
-
function c(
|
4284
|
-
return de(
|
4304
|
+
function c(p) {
|
4305
|
+
return de(p) ? f(p) : n(p);
|
4285
4306
|
}
|
4286
|
-
function p
|
4287
|
-
return
|
4307
|
+
function f(p) {
|
4308
|
+
return p === 46 ? (e.consume(p), r = 0, c) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(p);
|
4288
4309
|
}
|
4289
|
-
function m(
|
4290
|
-
if ((
|
4291
|
-
const w =
|
4292
|
-
return e.consume(
|
4310
|
+
function m(p) {
|
4311
|
+
if ((p === 45 || de(p)) && r++ < 63) {
|
4312
|
+
const w = p === 45 ? m : f;
|
4313
|
+
return e.consume(p), w;
|
4293
4314
|
}
|
4294
|
-
return n(
|
4315
|
+
return n(p);
|
4295
4316
|
}
|
4296
4317
|
}
|
4297
4318
|
const Yt = {
|
@@ -4307,7 +4328,7 @@ function ns(e, t, n) {
|
|
4307
4328
|
return o === null || R(o) ? t(o) : n(o);
|
4308
4329
|
}
|
4309
4330
|
}
|
4310
|
-
const
|
4331
|
+
const po = {
|
4311
4332
|
name: "blockQuote",
|
4312
4333
|
tokenize: rs,
|
4313
4334
|
continuation: {
|
@@ -4343,7 +4364,7 @@ function is(e, t, n) {
|
|
4343
4364
|
)(l) : o(l);
|
4344
4365
|
}
|
4345
4366
|
function o(l) {
|
4346
|
-
return e.attempt(
|
4367
|
+
return e.attempt(po, t, n)(l);
|
4347
4368
|
}
|
4348
4369
|
}
|
4349
4370
|
function os(e) {
|
@@ -4377,21 +4398,21 @@ function as(e, t, n) {
|
|
4377
4398
|
const r = this;
|
4378
4399
|
let i = 0, o, l;
|
4379
4400
|
return a;
|
4380
|
-
function a(
|
4381
|
-
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(
|
4401
|
+
function a(f) {
|
4402
|
+
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), u;
|
4382
4403
|
}
|
4383
|
-
function u(
|
4384
|
-
return
|
4404
|
+
function u(f) {
|
4405
|
+
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), s) : (e.enter("characterReferenceValue"), o = 31, l = de, c(f));
|
4385
4406
|
}
|
4386
|
-
function s(
|
4387
|
-
return
|
4407
|
+
function s(f) {
|
4408
|
+
return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Yu, c) : (e.enter("characterReferenceValue"), o = 7, l = Cn, c(f));
|
4388
4409
|
}
|
4389
|
-
function c(
|
4390
|
-
if (
|
4410
|
+
function c(f) {
|
4411
|
+
if (f === 59 && i) {
|
4391
4412
|
const m = e.exit("characterReferenceValue");
|
4392
|
-
return l === de && !Xn(r.sliceSerialize(m)) ? n(
|
4413
|
+
return l === de && !Xn(r.sliceSerialize(m)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
4393
4414
|
}
|
4394
|
-
return l(
|
4415
|
+
return l(f) && i++ < o ? (e.consume(f), c) : n(f);
|
4395
4416
|
}
|
4396
4417
|
}
|
4397
4418
|
const ti = {
|
@@ -4417,23 +4438,23 @@ function us(e, t, n) {
|
|
4417
4438
|
return o = S && S[1].type === "linePrefix" ? S[2].sliceSerialize(S[1], !0).length : 0, a = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(y);
|
4418
4439
|
}
|
4419
4440
|
function c(y) {
|
4420
|
-
return y === a ? (l++, e.consume(y), c) : l < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), V(y) ? ee(e,
|
4441
|
+
return y === a ? (l++, e.consume(y), c) : l < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), V(y) ? ee(e, f, "whitespace")(y) : f(y));
|
4421
4442
|
}
|
4422
|
-
function
|
4443
|
+
function f(y) {
|
4423
4444
|
return y === null || R(y) ? (e.exit("codeFencedFence"), r.interrupt ? t(y) : e.check(ti, x, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
4424
4445
|
contentType: "string"
|
4425
4446
|
}), m(y));
|
4426
4447
|
}
|
4427
4448
|
function m(y) {
|
4428
|
-
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
4449
|
+
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(y)) : V(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ee(e, p, "whitespace")(y)) : y === 96 && y === a ? n(y) : (e.consume(y), m);
|
4429
4450
|
}
|
4430
|
-
function
|
4431
|
-
return y === null || R(y) ?
|
4451
|
+
function p(y) {
|
4452
|
+
return y === null || R(y) ? f(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
4432
4453
|
contentType: "string"
|
4433
4454
|
}), w(y));
|
4434
4455
|
}
|
4435
4456
|
function w(y) {
|
4436
|
-
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"),
|
4457
|
+
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(y)) : y === 96 && y === a ? n(y) : (e.consume(y), w);
|
4437
4458
|
}
|
4438
4459
|
function x(y) {
|
4439
4460
|
return e.attempt(i, B, k)(y);
|
@@ -4495,12 +4516,12 @@ function ss(e, t, n) {
|
|
4495
4516
|
}
|
4496
4517
|
const mn = {
|
4497
4518
|
name: "codeIndented",
|
4498
|
-
tokenize:
|
4519
|
+
tokenize: fs
|
4499
4520
|
}, cs = {
|
4500
|
-
tokenize:
|
4521
|
+
tokenize: ps,
|
4501
4522
|
partial: !0
|
4502
4523
|
};
|
4503
|
-
function
|
4524
|
+
function fs(e, t, n) {
|
4504
4525
|
const r = this;
|
4505
4526
|
return i;
|
4506
4527
|
function i(s) {
|
@@ -4520,7 +4541,7 @@ function ps(e, t, n) {
|
|
4520
4541
|
return e.exit("codeIndented"), t(s);
|
4521
4542
|
}
|
4522
4543
|
}
|
4523
|
-
function
|
4544
|
+
function ps(e, t, n) {
|
4524
4545
|
const r = this;
|
4525
4546
|
return i;
|
4526
4547
|
function i(l) {
|
@@ -4556,20 +4577,20 @@ function gs(e) {
|
|
4556
4577
|
function ms(e, t, n) {
|
4557
4578
|
let r = 0, i, o;
|
4558
4579
|
return l;
|
4559
|
-
function l(
|
4560
|
-
return e.enter("codeText"), e.enter("codeTextSequence"), a(
|
4580
|
+
function l(f) {
|
4581
|
+
return e.enter("codeText"), e.enter("codeTextSequence"), a(f);
|
4561
4582
|
}
|
4562
|
-
function a(
|
4563
|
-
return
|
4583
|
+
function a(f) {
|
4584
|
+
return f === 96 ? (e.consume(f), r++, a) : (e.exit("codeTextSequence"), u(f));
|
4564
4585
|
}
|
4565
|
-
function u(
|
4566
|
-
return
|
4586
|
+
function u(f) {
|
4587
|
+
return f === null ? n(f) : f === 32 ? (e.enter("space"), e.consume(f), e.exit("space"), u) : f === 96 ? (o = e.enter("codeTextSequence"), i = 0, c(f)) : R(f) ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), u) : (e.enter("codeTextData"), s(f));
|
4567
4588
|
}
|
4568
|
-
function s(
|
4569
|
-
return
|
4589
|
+
function s(f) {
|
4590
|
+
return f === null || f === 32 || f === 96 || R(f) ? (e.exit("codeTextData"), u(f)) : (e.consume(f), s);
|
4570
4591
|
}
|
4571
|
-
function c(
|
4572
|
-
return
|
4592
|
+
function c(f) {
|
4593
|
+
return f === 96 ? (e.consume(f), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(f)) : (o.type = "codeTextData", s(f));
|
4573
4594
|
}
|
4574
4595
|
}
|
4575
4596
|
function mo(e) {
|
@@ -4595,17 +4616,17 @@ function ys(e, t) {
|
|
4595
4616
|
const n = e[t][1], r = e[t][2];
|
4596
4617
|
let i = t - 1;
|
4597
4618
|
const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, u = [], s = {};
|
4598
|
-
let c,
|
4619
|
+
let c, f, m = -1, p = n, w = 0, x = 0;
|
4599
4620
|
const k = [x];
|
4600
|
-
for (;
|
4601
|
-
for (; e[++i][1] !==
|
4621
|
+
for (; p; ) {
|
4622
|
+
for (; e[++i][1] !== p; )
|
4602
4623
|
;
|
4603
|
-
o.push(i),
|
4624
|
+
o.push(i), p._tokenizer || (c = r.sliceStream(p), p.next || c.push(null), f && l.defineSkip(p.start), p._isInFirstContentOfListItem && (l._gfmTasklistFirstContentOfListItem = !0), l.write(c), p._isInFirstContentOfListItem && (l._gfmTasklistFirstContentOfListItem = void 0)), f = p, p = p.next;
|
4604
4625
|
}
|
4605
|
-
for (
|
4626
|
+
for (p = n; ++m < a.length; )
|
4606
4627
|
// Find a void token that includes a break.
|
4607
|
-
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1, k.push(x),
|
4608
|
-
for (l.events = [],
|
4628
|
+
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1, k.push(x), p._tokenizer = void 0, p.previous = void 0, p = p.next);
|
4629
|
+
for (l.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : k.pop(), m = k.length; m--; ) {
|
4609
4630
|
const b = a.slice(k[m], k[m + 1]), z = o.pop();
|
4610
4631
|
u.unshift([z, z + b.length - 1]), Te(e, z, 2, b);
|
4611
4632
|
}
|
@@ -4664,8 +4685,8 @@ function Ns(e, t, n) {
|
|
4664
4685
|
function yo(e, t, n, r, i, o, l, a, u) {
|
4665
4686
|
const s = u || Number.POSITIVE_INFINITY;
|
4666
4687
|
let c = 0;
|
4667
|
-
return
|
4668
|
-
function
|
4688
|
+
return f;
|
4689
|
+
function f(b) {
|
4669
4690
|
return b === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(b), e.exit(o), m) : b === null || b === 32 || b === 41 || On(b) ? n(b) : (e.enter(r), e.enter(l), e.enter(a), e.enter("chunkString", {
|
4670
4691
|
contentType: "string"
|
4671
4692
|
}), x(b));
|
@@ -4673,16 +4694,16 @@ function yo(e, t, n, r, i, o, l, a, u) {
|
|
4673
4694
|
function m(b) {
|
4674
4695
|
return b === 62 ? (e.enter(o), e.consume(b), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(a), e.enter("chunkString", {
|
4675
4696
|
contentType: "string"
|
4676
|
-
}),
|
4697
|
+
}), p(b));
|
4677
4698
|
}
|
4678
|
-
function
|
4679
|
-
return b === 62 ? (e.exit("chunkString"), e.exit(a), m(b)) : b === null || b === 60 || R(b) ? n(b) : (e.consume(b), b === 92 ? w :
|
4699
|
+
function p(b) {
|
4700
|
+
return b === 62 ? (e.exit("chunkString"), e.exit(a), m(b)) : b === null || b === 60 || R(b) ? n(b) : (e.consume(b), b === 92 ? w : p);
|
4680
4701
|
}
|
4681
4702
|
function w(b) {
|
4682
|
-
return b === 60 || b === 62 || b === 92 ? (e.consume(b),
|
4703
|
+
return b === 60 || b === 62 || b === 92 ? (e.consume(b), p) : p(b);
|
4683
4704
|
}
|
4684
4705
|
function x(b) {
|
4685
|
-
return !c && (b === null || b === 41 ||
|
4706
|
+
return !c && (b === null || b === 41 || fe(b)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(b)) : c < s && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || On(b) ? n(b) : (e.consume(b), b === 92 ? k : x);
|
4686
4707
|
}
|
4687
4708
|
function k(b) {
|
4688
4709
|
return b === 40 || b === 41 || b === 92 ? (e.consume(b), x) : x(b);
|
@@ -4692,24 +4713,24 @@ function Mo(e, t, n, r, i, o) {
|
|
4692
4713
|
const l = this;
|
4693
4714
|
let a = 0, u;
|
4694
4715
|
return s;
|
4695
|
-
function s(
|
4696
|
-
return e.enter(r), e.enter(i), e.consume(
|
4716
|
+
function s(p) {
|
4717
|
+
return e.enter(r), e.enter(i), e.consume(p), e.exit(i), e.enter(o), c;
|
4697
4718
|
}
|
4698
|
-
function c(
|
4699
|
-
return a > 999 ||
|
4719
|
+
function c(p) {
|
4720
|
+
return a > 999 || p === null || p === 91 || p === 93 && !u || // To do: remove in the future once we’ve switched from
|
4700
4721
|
// `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
|
4701
4722
|
// which doesn’t need this.
|
4702
4723
|
// Hidden footnotes hook.
|
4703
4724
|
/* c8 ignore next 3 */
|
4704
|
-
|
4725
|
+
p === 94 && !a && "_hiddenFootnoteSupport" in l.parser.constructs ? n(p) : p === 93 ? (e.exit(o), e.enter(i), e.consume(p), e.exit(i), e.exit(r), t) : R(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), c) : (e.enter("chunkString", {
|
4705
4726
|
contentType: "string"
|
4706
|
-
}), p
|
4727
|
+
}), f(p));
|
4707
4728
|
}
|
4708
|
-
function p
|
4709
|
-
return
|
4729
|
+
function f(p) {
|
4730
|
+
return p === null || p === 91 || p === 93 || R(p) || a++ > 999 ? (e.exit("chunkString"), c(p)) : (e.consume(p), u || (u = !V(p)), p === 92 ? m : f);
|
4710
4731
|
}
|
4711
|
-
function m(
|
4712
|
-
return
|
4732
|
+
function m(p) {
|
4733
|
+
return p === 91 || p === 92 || p === 93 ? (e.consume(p), a++, f) : f(p);
|
4713
4734
|
}
|
4714
4735
|
}
|
4715
4736
|
function xo(e, t, n, r, i, o) {
|
@@ -4727,9 +4748,9 @@ function xo(e, t, n, r, i, o) {
|
|
4727
4748
|
}), c(m));
|
4728
4749
|
}
|
4729
4750
|
function c(m) {
|
4730
|
-
return m === l || m === null || R(m) ? (e.exit("chunkString"), s(m)) : (e.consume(m), m === 92 ?
|
4751
|
+
return m === l || m === null || R(m) ? (e.exit("chunkString"), s(m)) : (e.consume(m), m === 92 ? f : c);
|
4731
4752
|
}
|
4732
|
-
function
|
4753
|
+
function f(m) {
|
4733
4754
|
return m === l || m === 92 ? (e.consume(m), c) : c(m);
|
4734
4755
|
}
|
4735
4756
|
}
|
@@ -4758,10 +4779,10 @@ function Ts(e, t, n) {
|
|
4758
4779
|
const r = this;
|
4759
4780
|
let i;
|
4760
4781
|
return o;
|
4761
|
-
function o(
|
4762
|
-
return e.enter("definition"), l(
|
4782
|
+
function o(p) {
|
4783
|
+
return e.enter("definition"), l(p);
|
4763
4784
|
}
|
4764
|
-
function l(
|
4785
|
+
function l(p) {
|
4765
4786
|
return Mo.call(
|
4766
4787
|
r,
|
4767
4788
|
e,
|
@@ -4771,17 +4792,17 @@ function Ts(e, t, n) {
|
|
4771
4792
|
"definitionLabel",
|
4772
4793
|
"definitionLabelMarker",
|
4773
4794
|
"definitionLabelString"
|
4774
|
-
)(
|
4795
|
+
)(p);
|
4775
4796
|
}
|
4776
|
-
function a(
|
4797
|
+
function a(p) {
|
4777
4798
|
return i = qe(
|
4778
4799
|
r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
|
4779
|
-
),
|
4800
|
+
), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), u) : n(p);
|
4780
4801
|
}
|
4781
|
-
function u(
|
4782
|
-
return
|
4802
|
+
function u(p) {
|
4803
|
+
return fe(p) ? ct(e, s)(p) : s(p);
|
4783
4804
|
}
|
4784
|
-
function s(
|
4805
|
+
function s(p) {
|
4785
4806
|
return yo(
|
4786
4807
|
e,
|
4787
4808
|
c,
|
@@ -4792,22 +4813,22 @@ function Ts(e, t, n) {
|
|
4792
4813
|
"definitionDestinationLiteralMarker",
|
4793
4814
|
"definitionDestinationRaw",
|
4794
4815
|
"definitionDestinationString"
|
4795
|
-
)(
|
4816
|
+
)(p);
|
4796
4817
|
}
|
4797
|
-
function c(
|
4798
|
-
return e.attempt(Is,
|
4818
|
+
function c(p) {
|
4819
|
+
return e.attempt(Is, f, f)(p);
|
4799
4820
|
}
|
4800
|
-
function p
|
4801
|
-
return V(
|
4821
|
+
function f(p) {
|
4822
|
+
return V(p) ? ee(e, m, "whitespace")(p) : m(p);
|
4802
4823
|
}
|
4803
|
-
function m(
|
4804
|
-
return
|
4824
|
+
function m(p) {
|
4825
|
+
return p === null || R(p) ? (e.exit("definition"), r.parser.defined.push(i), t(p)) : n(p);
|
4805
4826
|
}
|
4806
4827
|
}
|
4807
4828
|
function ks(e, t, n) {
|
4808
4829
|
return r;
|
4809
4830
|
function r(a) {
|
4810
|
-
return
|
4831
|
+
return fe(a) ? ct(e, i)(a) : n(a);
|
4811
4832
|
}
|
4812
4833
|
function i(a) {
|
4813
4834
|
return xo(
|
@@ -4872,7 +4893,7 @@ function As(e, t, n) {
|
|
4872
4893
|
return e.enter("atxHeadingSequence"), l(c);
|
4873
4894
|
}
|
4874
4895
|
function l(c) {
|
4875
|
-
return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null ||
|
4896
|
+
return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || fe(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
|
4876
4897
|
}
|
4877
4898
|
function a(c) {
|
4878
4899
|
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || R(c) ? (e.exit("atxHeading"), t(c)) : V(c) ? ee(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), s(c));
|
@@ -4881,7 +4902,7 @@ function As(e, t, n) {
|
|
4881
4902
|
return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), a(c));
|
4882
4903
|
}
|
4883
4904
|
function s(c) {
|
4884
|
-
return c === null || c === 35 ||
|
4905
|
+
return c === null || c === 35 || fe(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), s);
|
4885
4906
|
}
|
4886
4907
|
}
|
4887
4908
|
const Ss = [
|
@@ -4973,15 +4994,15 @@ function Fs(e, t, n) {
|
|
4973
4994
|
return c(h);
|
4974
4995
|
}
|
4975
4996
|
function c(h) {
|
4976
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h),
|
4997
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), f;
|
4977
4998
|
}
|
4978
|
-
function
|
4999
|
+
function f(h) {
|
4979
5000
|
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : Ie(h) ? (e.consume(h), l = String.fromCharCode(h), k) : n(h);
|
4980
5001
|
}
|
4981
5002
|
function m(h) {
|
4982
|
-
return h === 45 ? (e.consume(h), i = 2,
|
5003
|
+
return h === 45 ? (e.consume(h), i = 2, p) : h === 91 ? (e.consume(h), i = 5, a = 0, w) : Ie(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
|
4983
5004
|
}
|
4984
|
-
function
|
5005
|
+
function p(h) {
|
4985
5006
|
return h === 45 ? (e.consume(h), r.interrupt ? t : d) : n(h);
|
4986
5007
|
}
|
4987
5008
|
function w(h) {
|
@@ -4992,7 +5013,7 @@ function Fs(e, t, n) {
|
|
4992
5013
|
return Ie(h) ? (e.consume(h), l = String.fromCharCode(h), k) : n(h);
|
4993
5014
|
}
|
4994
5015
|
function k(h) {
|
4995
|
-
if (h === null || h === 47 || h === 62 ||
|
5016
|
+
if (h === null || h === 47 || h === 62 || fe(h)) {
|
4996
5017
|
const ie = h === 47, re = l.toLowerCase();
|
4997
5018
|
return !ie && !o && ri.includes(re) ? (i = 1, r.interrupt ? t(h) : M(h)) : Ss.includes(l.toLowerCase()) ? (i = 6, ie ? (e.consume(h), b) : r.interrupt ? t(h) : M(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? z(h) : E(h));
|
4998
5019
|
}
|
@@ -5020,7 +5041,7 @@ function Fs(e, t, n) {
|
|
5020
5041
|
return h === u ? (e.consume(h), u = null, Y) : h === null || R(h) ? n(h) : (e.consume(h), S);
|
5021
5042
|
}
|
5022
5043
|
function U(h) {
|
5023
|
-
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 ||
|
5044
|
+
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || fe(h) ? _(h) : (e.consume(h), U);
|
5024
5045
|
}
|
5025
5046
|
function Y(h) {
|
5026
5047
|
return h === 47 || h === 62 || V(h) ? E(h) : n(h);
|
@@ -5111,16 +5132,16 @@ function Qs(e, t, n) {
|
|
5111
5132
|
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, w) : Ie(d) ? (e.consume(d), z) : n(d);
|
5112
5133
|
}
|
5113
5134
|
function c(d) {
|
5114
|
-
return d === 45 ? (e.consume(d),
|
5135
|
+
return d === 45 ? (e.consume(d), p) : n(d);
|
5115
5136
|
}
|
5116
|
-
function
|
5117
|
-
return d === null ? n(d) : d === 45 ? (e.consume(d), m) : R(d) ? (l =
|
5137
|
+
function f(d) {
|
5138
|
+
return d === null ? n(d) : d === 45 ? (e.consume(d), m) : R(d) ? (l = f, Q(d)) : (e.consume(d), f);
|
5118
5139
|
}
|
5119
5140
|
function m(d) {
|
5120
|
-
return d === 45 ? (e.consume(d),
|
5141
|
+
return d === 45 ? (e.consume(d), p) : f(d);
|
5121
5142
|
}
|
5122
|
-
function
|
5123
|
-
return d === 62 ? F(d) : d === 45 ? m(d) :
|
5143
|
+
function p(d) {
|
5144
|
+
return d === 62 ? F(d) : d === 45 ? m(d) : f(d);
|
5124
5145
|
}
|
5125
5146
|
function w(d) {
|
5126
5147
|
const te = "CDATA[";
|
@@ -5154,7 +5175,7 @@ function Qs(e, t, n) {
|
|
5154
5175
|
return R(d) ? (l = S, Q(d)) : V(d) ? (e.consume(d), S) : F(d);
|
5155
5176
|
}
|
5156
5177
|
function U(d) {
|
5157
|
-
return d === 45 || de(d) ? (e.consume(d), U) : d === 47 || d === 62 ||
|
5178
|
+
return d === 45 || de(d) ? (e.consume(d), U) : d === 47 || d === 62 || fe(d) ? Y(d) : n(d);
|
5158
5179
|
}
|
5159
5180
|
function Y(d) {
|
5160
5181
|
return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Ie(d) ? (e.consume(d), H) : R(d) ? (l = Y, Q(d)) : V(d) ? (e.consume(d), Y) : F(d);
|
@@ -5172,10 +5193,10 @@ function Qs(e, t, n) {
|
|
5172
5193
|
return d === i ? (e.consume(d), i = void 0, O) : d === null ? n(d) : R(d) ? (l = N, Q(d)) : (e.consume(d), N);
|
5173
5194
|
}
|
5174
5195
|
function A(d) {
|
5175
|
-
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 ||
|
5196
|
+
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || fe(d) ? Y(d) : (e.consume(d), A);
|
5176
5197
|
}
|
5177
5198
|
function O(d) {
|
5178
|
-
return d === 47 || d === 62 ||
|
5199
|
+
return d === 47 || d === 62 || fe(d) ? Y(d) : n(d);
|
5179
5200
|
}
|
5180
5201
|
function F(d) {
|
5181
5202
|
return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(d);
|
@@ -5269,7 +5290,7 @@ function Vs(e, t, n) {
|
|
5269
5290
|
}
|
5270
5291
|
return a;
|
5271
5292
|
function a(m) {
|
5272
|
-
return o ? o._inactive ?
|
5293
|
+
return o ? o._inactive ? f(m) : (l = r.parser.defined.includes(
|
5273
5294
|
qe(
|
5274
5295
|
r.sliceSerialize({
|
5275
5296
|
start: o.end,
|
@@ -5282,37 +5303,37 @@ function Vs(e, t, n) {
|
|
5282
5303
|
return m === 40 ? e.attempt(
|
5283
5304
|
Bs,
|
5284
5305
|
c,
|
5285
|
-
l ? c :
|
5306
|
+
l ? c : f
|
5286
5307
|
)(m) : m === 91 ? e.attempt(
|
5287
5308
|
Ys,
|
5288
5309
|
c,
|
5289
|
-
l ? s :
|
5290
|
-
)(m) : l ? c(m) :
|
5310
|
+
l ? s : f
|
5311
|
+
)(m) : l ? c(m) : f(m);
|
5291
5312
|
}
|
5292
5313
|
function s(m) {
|
5293
5314
|
return e.attempt(
|
5294
5315
|
qs,
|
5295
5316
|
c,
|
5296
|
-
|
5317
|
+
f
|
5297
5318
|
)(m);
|
5298
5319
|
}
|
5299
5320
|
function c(m) {
|
5300
5321
|
return t(m);
|
5301
5322
|
}
|
5302
|
-
function
|
5323
|
+
function f(m) {
|
5303
5324
|
return o._balanced = !0, n(m);
|
5304
5325
|
}
|
5305
5326
|
}
|
5306
5327
|
function Ws(e, t, n) {
|
5307
5328
|
return r;
|
5308
|
-
function r(
|
5309
|
-
return e.enter("resource"), e.enter("resourceMarker"), e.consume(
|
5329
|
+
function r(f) {
|
5330
|
+
return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
|
5310
5331
|
}
|
5311
|
-
function i(
|
5312
|
-
return
|
5332
|
+
function i(f) {
|
5333
|
+
return fe(f) ? ct(e, o)(f) : o(f);
|
5313
5334
|
}
|
5314
|
-
function o(
|
5315
|
-
return
|
5335
|
+
function o(f) {
|
5336
|
+
return f === 41 ? c(f) : yo(
|
5316
5337
|
e,
|
5317
5338
|
l,
|
5318
5339
|
a,
|
@@ -5322,29 +5343,29 @@ function Ws(e, t, n) {
|
|
5322
5343
|
"resourceDestinationRaw",
|
5323
5344
|
"resourceDestinationString",
|
5324
5345
|
32
|
5325
|
-
)(
|
5346
|
+
)(f);
|
5326
5347
|
}
|
5327
|
-
function l(
|
5328
|
-
return
|
5348
|
+
function l(f) {
|
5349
|
+
return fe(f) ? ct(e, u)(f) : c(f);
|
5329
5350
|
}
|
5330
|
-
function a(
|
5331
|
-
return n(
|
5351
|
+
function a(f) {
|
5352
|
+
return n(f);
|
5332
5353
|
}
|
5333
|
-
function u(
|
5334
|
-
return
|
5354
|
+
function u(f) {
|
5355
|
+
return f === 34 || f === 39 || f === 40 ? xo(
|
5335
5356
|
e,
|
5336
5357
|
s,
|
5337
5358
|
n,
|
5338
5359
|
"resourceTitle",
|
5339
5360
|
"resourceTitleMarker",
|
5340
5361
|
"resourceTitleString"
|
5341
|
-
)(
|
5362
|
+
)(f) : c(f);
|
5342
5363
|
}
|
5343
|
-
function s(
|
5344
|
-
return
|
5364
|
+
function s(f) {
|
5365
|
+
return fe(f) ? ct(e, c)(f) : c(f);
|
5345
5366
|
}
|
5346
|
-
function c(
|
5347
|
-
return
|
5367
|
+
function c(f) {
|
5368
|
+
return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), t) : n(f);
|
5348
5369
|
}
|
5349
5370
|
}
|
5350
5371
|
function Zs(e, t, n) {
|
@@ -5462,41 +5483,41 @@ function oc(e, t, n) {
|
|
5462
5483
|
const r = this, i = r.events[r.events.length - 1];
|
5463
5484
|
let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, l = 0;
|
5464
5485
|
return a;
|
5465
|
-
function a(
|
5466
|
-
const w = r.containerState.type || (
|
5467
|
-
if (w === "listUnordered" ? !r.containerState.marker ||
|
5486
|
+
function a(p) {
|
5487
|
+
const w = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
|
5488
|
+
if (w === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Cn(p)) {
|
5468
5489
|
if (r.containerState.type || (r.containerState.type = w, e.enter(w, {
|
5469
5490
|
_container: !0
|
5470
5491
|
})), w === "listUnordered")
|
5471
|
-
return e.enter("listItemPrefix"),
|
5472
|
-
if (!r.interrupt ||
|
5473
|
-
return e.enter("listItemPrefix"), e.enter("listItemValue"), u(
|
5492
|
+
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(At, n, s)(p) : s(p);
|
5493
|
+
if (!r.interrupt || p === 49)
|
5494
|
+
return e.enter("listItemPrefix"), e.enter("listItemValue"), u(p);
|
5474
5495
|
}
|
5475
|
-
return n(
|
5496
|
+
return n(p);
|
5476
5497
|
}
|
5477
|
-
function u(
|
5478
|
-
return Cn(
|
5498
|
+
function u(p) {
|
5499
|
+
return Cn(p) && ++l < 10 ? (e.consume(p), u) : (!r.interrupt || l < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), s(p)) : n(p);
|
5479
5500
|
}
|
5480
|
-
function s(
|
5481
|
-
return e.enter("listItemMarker"), e.consume(
|
5501
|
+
function s(p) {
|
5502
|
+
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
5482
5503
|
Yt,
|
5483
5504
|
// Can’t be empty when interrupting.
|
5484
5505
|
r.interrupt ? n : c,
|
5485
5506
|
e.attempt(
|
5486
5507
|
rc,
|
5487
5508
|
m,
|
5488
|
-
|
5509
|
+
f
|
5489
5510
|
)
|
5490
5511
|
);
|
5491
5512
|
}
|
5492
|
-
function c(
|
5493
|
-
return r.containerState.initialBlankLine = !0, o++, m(
|
5513
|
+
function c(p) {
|
5514
|
+
return r.containerState.initialBlankLine = !0, o++, m(p);
|
5494
5515
|
}
|
5495
|
-
function p
|
5496
|
-
return V(
|
5516
|
+
function f(p) {
|
5517
|
+
return V(p) ? (e.enter("listItemPrefixWhitespace"), e.consume(p), e.exit("listItemPrefixWhitespace"), m) : n(p);
|
5497
5518
|
}
|
5498
|
-
function m(
|
5499
|
-
return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(
|
5519
|
+
function m(p) {
|
5520
|
+
return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(p);
|
5500
5521
|
}
|
5501
5522
|
}
|
5502
5523
|
function lc(e, t, n) {
|
@@ -5553,7 +5574,7 @@ function sc(e, t, n) {
|
|
5553
5574
|
}
|
5554
5575
|
const ii = {
|
5555
5576
|
name: "setextUnderline",
|
5556
|
-
tokenize:
|
5577
|
+
tokenize: fc,
|
5557
5578
|
resolveTo: cc
|
5558
5579
|
};
|
5559
5580
|
function cc(e, t) {
|
@@ -5574,18 +5595,18 @@ function cc(e, t) {
|
|
5574
5595
|
};
|
5575
5596
|
return e[i][1].type = "setextHeadingText", o ? (e.splice(i, 0, ["enter", l, t]), e.splice(o + 1, 0, ["exit", e[r][1], t]), e[r][1].end = Object.assign({}, e[o][1].end)) : e[r][1] = l, e.push(["exit", l, t]), e;
|
5576
5597
|
}
|
5577
|
-
function
|
5598
|
+
function fc(e, t, n) {
|
5578
5599
|
const r = this;
|
5579
5600
|
let i;
|
5580
5601
|
return o;
|
5581
5602
|
function o(s) {
|
5582
|
-
let c = r.events.length,
|
5603
|
+
let c = r.events.length, f;
|
5583
5604
|
for (; c--; )
|
5584
5605
|
if (r.events[c][1].type !== "lineEnding" && r.events[c][1].type !== "linePrefix" && r.events[c][1].type !== "content") {
|
5585
|
-
|
5606
|
+
f = r.events[c][1].type === "paragraph";
|
5586
5607
|
break;
|
5587
5608
|
}
|
5588
|
-
return !r.parser.lazy[r.now().line] && (r.interrupt ||
|
5609
|
+
return !r.parser.lazy[r.now().line] && (r.interrupt || f) ? (e.enter("setextHeadingLine"), i = s, l(s)) : n(s);
|
5589
5610
|
}
|
5590
5611
|
function l(s) {
|
5591
5612
|
return e.enter("setextHeadingLineSequence"), a(s);
|
@@ -5597,7 +5618,7 @@ function pc(e, t, n) {
|
|
5597
5618
|
return s === null || R(s) ? (e.exit("setextHeadingLine"), t(s)) : n(s);
|
5598
5619
|
}
|
5599
5620
|
}
|
5600
|
-
const
|
5621
|
+
const pc = {
|
5601
5622
|
tokenize: dc
|
5602
5623
|
};
|
5603
5624
|
function dc(e) {
|
@@ -5665,12 +5686,12 @@ function bo(e) {
|
|
5665
5686
|
function s(c) {
|
5666
5687
|
if (c === null)
|
5667
5688
|
return !0;
|
5668
|
-
const
|
5689
|
+
const f = i[c];
|
5669
5690
|
let m = -1;
|
5670
|
-
if (
|
5671
|
-
for (; ++m <
|
5672
|
-
const
|
5673
|
-
if (!
|
5691
|
+
if (f)
|
5692
|
+
for (; ++m < f.length; ) {
|
5693
|
+
const p = f[m];
|
5694
|
+
if (!p.previous || p.previous.call(r, r.previous))
|
5674
5695
|
return !0;
|
5675
5696
|
}
|
5676
5697
|
return !1;
|
@@ -5759,21 +5780,21 @@ function Mc(e, t, n) {
|
|
5759
5780
|
containerState: {},
|
5760
5781
|
events: [],
|
5761
5782
|
parser: e,
|
5762
|
-
sliceStream:
|
5783
|
+
sliceStream: p,
|
5763
5784
|
sliceSerialize: m,
|
5764
5785
|
now: w,
|
5765
5786
|
defineSkip: x,
|
5766
|
-
write:
|
5787
|
+
write: f
|
5767
5788
|
};
|
5768
5789
|
let c = t.tokenize.call(s, u);
|
5769
5790
|
return t.resolveAll && o.push(t), s;
|
5770
|
-
function
|
5791
|
+
function f(j) {
|
5771
5792
|
return l = me(l, j), k(), l[l.length - 1] !== null ? [] : (U(t, 0), s.events = Kn(o, s.events, s), s.events);
|
5772
5793
|
}
|
5773
5794
|
function m(j, M) {
|
5774
|
-
return bc(
|
5795
|
+
return bc(p(j), M);
|
5775
5796
|
}
|
5776
|
-
function
|
5797
|
+
function p(j) {
|
5777
5798
|
return xc(l, j);
|
5778
5799
|
}
|
5779
5800
|
function w() {
|
@@ -5957,7 +5978,7 @@ const Dc = {
|
|
5957
5978
|
55: ce,
|
5958
5979
|
56: ce,
|
5959
5980
|
57: ce,
|
5960
|
-
62:
|
5981
|
+
62: po
|
5961
5982
|
}, Nc = {
|
5962
5983
|
91: ws
|
5963
5984
|
}, wc = {
|
@@ -6017,7 +6038,7 @@ function Ac(e) {
|
|
6017
6038
|
constructs: n,
|
6018
6039
|
content: i(Vu),
|
6019
6040
|
document: i(Zu),
|
6020
|
-
flow: i(
|
6041
|
+
flow: i(pc),
|
6021
6042
|
string: i(gc),
|
6022
6043
|
text: i(mc)
|
6023
6044
|
};
|
@@ -6035,16 +6056,16 @@ function Sc() {
|
|
6035
6056
|
return i;
|
6036
6057
|
function i(o, l, a) {
|
6037
6058
|
const u = [];
|
6038
|
-
let s, c,
|
6039
|
-
for (o = t + o.toString(l),
|
6040
|
-
if (oi.lastIndex =
|
6041
|
-
t = o.slice(
|
6059
|
+
let s, c, f, m, p;
|
6060
|
+
for (o = t + o.toString(l), f = 0, t = "", n && (o.charCodeAt(0) === 65279 && f++, n = void 0); f < o.length; ) {
|
6061
|
+
if (oi.lastIndex = f, s = oi.exec(o), m = s && s.index !== void 0 ? s.index : o.length, p = o.charCodeAt(m), !s) {
|
6062
|
+
t = o.slice(f);
|
6042
6063
|
break;
|
6043
6064
|
}
|
6044
|
-
if (
|
6065
|
+
if (p === 10 && f === m && r)
|
6045
6066
|
u.push(-3), r = void 0;
|
6046
6067
|
else
|
6047
|
-
switch (r && (u.push(-5), r = void 0),
|
6068
|
+
switch (r && (u.push(-5), r = void 0), f < m && (u.push(o.slice(f, m)), e += m - f), p) {
|
6048
6069
|
case 0: {
|
6049
6070
|
u.push(65533), e++;
|
6050
6071
|
break;
|
@@ -6061,7 +6082,7 @@ function Sc() {
|
|
6061
6082
|
default:
|
6062
6083
|
r = !0, e = 1;
|
6063
6084
|
}
|
6064
|
-
|
6085
|
+
f = m + 1;
|
6065
6086
|
}
|
6066
6087
|
return a && (r && u.push(-5), t && u.push(t), u.push(null)), u;
|
6067
6088
|
}
|
@@ -6152,7 +6173,7 @@ function Rc(e) {
|
|
6152
6173
|
link: a(xt),
|
6153
6174
|
listItem: a(C),
|
6154
6175
|
listItemValue: w,
|
6155
|
-
listOrdered: a(Ke,
|
6176
|
+
listOrdered: a(Ke, p),
|
6156
6177
|
listUnordered: a(Ke),
|
6157
6178
|
paragraph: a(le),
|
6158
6179
|
reference: re,
|
@@ -6227,7 +6248,7 @@ function Rc(e) {
|
|
6227
6248
|
tokenStack: [],
|
6228
6249
|
config: t,
|
6229
6250
|
enter: s,
|
6230
|
-
exit:
|
6251
|
+
exit: f,
|
6231
6252
|
buffer: u,
|
6232
6253
|
resume: m,
|
6233
6254
|
setData: o,
|
@@ -6335,10 +6356,10 @@ function Rc(e) {
|
|
6335
6356
|
function c(D) {
|
6336
6357
|
return v;
|
6337
6358
|
function v(L) {
|
6338
|
-
D && D.call(this, L),
|
6359
|
+
D && D.call(this, L), f.call(this, L);
|
6339
6360
|
}
|
6340
6361
|
}
|
6341
|
-
function
|
6362
|
+
function f(D, v) {
|
6342
6363
|
const L = this.stack.pop(), G = this.tokenStack.pop();
|
6343
6364
|
if (G)
|
6344
6365
|
G[0].type !== D.type && (v ? v.call(this, D, G[0]) : (G[1] || li).call(this, D, G[0]));
|
@@ -6354,7 +6375,7 @@ function Rc(e) {
|
|
6354
6375
|
function m() {
|
6355
6376
|
return Pu(this.stack.pop());
|
6356
6377
|
}
|
6357
|
-
function
|
6378
|
+
function p() {
|
6358
6379
|
o("expectingFirstListItemValue", !0);
|
6359
6380
|
}
|
6360
6381
|
function w(D) {
|
@@ -6876,12 +6897,12 @@ function Jc(e, t) {
|
|
6876
6897
|
};
|
6877
6898
|
return e.patch(t, r), e.applyData(t, r);
|
6878
6899
|
}
|
6879
|
-
function
|
6880
|
-
const r = e.all(t), i = n ?
|
6900
|
+
function ef(e, t, n) {
|
6901
|
+
const r = e.all(t), i = n ? tf(n) : jo(t), o = {}, l = [];
|
6881
6902
|
if (typeof t.checked == "boolean") {
|
6882
6903
|
const c = r[0];
|
6883
|
-
let
|
6884
|
-
c && c.type === "element" && c.tagName === "p" ?
|
6904
|
+
let f;
|
6905
|
+
c && c.type === "element" && c.tagName === "p" ? f = c : (f = { type: "element", tagName: "p", properties: {}, children: [] }, r.unshift(f)), f.children.length > 0 && f.children.unshift({ type: "text", value: " " }), f.children.unshift({
|
6885
6906
|
type: "element",
|
6886
6907
|
tagName: "input",
|
6887
6908
|
properties: { type: "checkbox", checked: t.checked, disabled: !0 },
|
@@ -6900,7 +6921,7 @@ function ep(e, t, n) {
|
|
6900
6921
|
const s = { type: "element", tagName: "li", properties: o, children: l };
|
6901
6922
|
return e.patch(t, s), e.applyData(t, s);
|
6902
6923
|
}
|
6903
|
-
function
|
6924
|
+
function tf(e) {
|
6904
6925
|
let t = !1;
|
6905
6926
|
if (e.type === "list") {
|
6906
6927
|
t = e.spread || !1;
|
@@ -6915,7 +6936,7 @@ function jo(e) {
|
|
6915
6936
|
const t = e.spread;
|
6916
6937
|
return t ?? e.children.length > 1;
|
6917
6938
|
}
|
6918
|
-
function
|
6939
|
+
function nf(e, t) {
|
6919
6940
|
const n = {}, r = e.all(t);
|
6920
6941
|
let i = -1;
|
6921
6942
|
for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++i < r.length; ) {
|
@@ -6933,7 +6954,7 @@ function np(e, t) {
|
|
6933
6954
|
};
|
6934
6955
|
return e.patch(t, o), e.applyData(t, o);
|
6935
6956
|
}
|
6936
|
-
function
|
6957
|
+
function rf(e, t) {
|
6937
6958
|
const n = {
|
6938
6959
|
type: "element",
|
6939
6960
|
tagName: "p",
|
@@ -6942,11 +6963,11 @@ function rp(e, t) {
|
|
6942
6963
|
};
|
6943
6964
|
return e.patch(t, n), e.applyData(t, n);
|
6944
6965
|
}
|
6945
|
-
function
|
6966
|
+
function of(e, t) {
|
6946
6967
|
const n = { type: "root", children: e.wrap(e.all(t)) };
|
6947
6968
|
return e.patch(t, n), e.applyData(t, n);
|
6948
6969
|
}
|
6949
|
-
function
|
6970
|
+
function lf(e, t) {
|
6950
6971
|
const n = {
|
6951
6972
|
type: "element",
|
6952
6973
|
tagName: "strong",
|
@@ -6956,7 +6977,7 @@ function op(e, t) {
|
|
6956
6977
|
return e.patch(t, n), e.applyData(t, n);
|
6957
6978
|
}
|
6958
6979
|
const er = Eo("start"), tr = Eo("end");
|
6959
|
-
function
|
6980
|
+
function af(e) {
|
6960
6981
|
return { start: er(e), end: tr(e) };
|
6961
6982
|
}
|
6962
6983
|
function Eo(e) {
|
@@ -6973,7 +6994,7 @@ function Eo(e) {
|
|
6973
6994
|
};
|
6974
6995
|
}
|
6975
6996
|
}
|
6976
|
-
function
|
6997
|
+
function uf(e, t) {
|
6977
6998
|
const n = e.all(t), r = n.shift(), i = [];
|
6978
6999
|
if (r) {
|
6979
7000
|
const l = {
|
@@ -7001,15 +7022,15 @@ function ap(e, t) {
|
|
7001
7022
|
};
|
7002
7023
|
return e.patch(t, o), e.applyData(t, o);
|
7003
7024
|
}
|
7004
|
-
function
|
7025
|
+
function sf(e, t, n) {
|
7005
7026
|
const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", l = n && n.type === "table" ? n.align : void 0, a = l ? l.length : t.children.length;
|
7006
7027
|
let u = -1;
|
7007
7028
|
const s = [];
|
7008
7029
|
for (; ++u < a; ) {
|
7009
|
-
const
|
7010
|
-
|
7030
|
+
const f = t.children[u], m = {}, p = l ? l[u] : void 0;
|
7031
|
+
p && (m.align = p);
|
7011
7032
|
let w = { type: "element", tagName: o, properties: m, children: [] };
|
7012
|
-
|
7033
|
+
f && (w.children = e.all(f), e.patch(f, w), w = e.applyData(t, w)), s.push(w);
|
7013
7034
|
}
|
7014
7035
|
const c = {
|
7015
7036
|
type: "element",
|
@@ -7019,7 +7040,7 @@ function up(e, t, n) {
|
|
7019
7040
|
};
|
7020
7041
|
return e.patch(t, c), e.applyData(t, c);
|
7021
7042
|
}
|
7022
|
-
function
|
7043
|
+
function cf(e, t) {
|
7023
7044
|
const n = {
|
7024
7045
|
type: "element",
|
7025
7046
|
tagName: "td",
|
@@ -7030,7 +7051,7 @@ function sp(e, t) {
|
|
7030
7051
|
return e.patch(t, n), e.applyData(t, n);
|
7031
7052
|
}
|
7032
7053
|
const ai = 9, ui = 32;
|
7033
|
-
function
|
7054
|
+
function ff(e) {
|
7034
7055
|
const t = String(e), n = /\r?\n|\r/g;
|
7035
7056
|
let r = n.exec(t), i = 0;
|
7036
7057
|
const o = [];
|
@@ -7055,11 +7076,11 @@ function si(e, t, n) {
|
|
7055
7076
|
}
|
7056
7077
|
return i > r ? e.slice(r, i) : "";
|
7057
7078
|
}
|
7058
|
-
function
|
7059
|
-
const n = { type: "text", value:
|
7079
|
+
function pf(e, t) {
|
7080
|
+
const n = { type: "text", value: ff(String(t.value)) };
|
7060
7081
|
return e.patch(t, n), e.applyData(t, n);
|
7061
7082
|
}
|
7062
|
-
function
|
7083
|
+
function df(e, t) {
|
7063
7084
|
const n = {
|
7064
7085
|
type: "element",
|
7065
7086
|
tagName: "hr",
|
@@ -7068,7 +7089,7 @@ function fp(e, t) {
|
|
7068
7089
|
};
|
7069
7090
|
return e.patch(t, n), e.applyData(t, n);
|
7070
7091
|
}
|
7071
|
-
const
|
7092
|
+
const hf = {
|
7072
7093
|
blockquote: Qc,
|
7073
7094
|
break: Bc,
|
7074
7095
|
code: Yc,
|
@@ -7083,16 +7104,16 @@ const dp = {
|
|
7083
7104
|
inlineCode: Kc,
|
7084
7105
|
linkReference: Xc,
|
7085
7106
|
link: Jc,
|
7086
|
-
listItem:
|
7087
|
-
list:
|
7088
|
-
paragraph:
|
7089
|
-
root:
|
7090
|
-
strong:
|
7091
|
-
table:
|
7092
|
-
tableCell:
|
7093
|
-
tableRow:
|
7094
|
-
text:
|
7095
|
-
thematicBreak:
|
7107
|
+
listItem: ef,
|
7108
|
+
list: nf,
|
7109
|
+
paragraph: rf,
|
7110
|
+
root: of,
|
7111
|
+
strong: lf,
|
7112
|
+
table: uf,
|
7113
|
+
tableCell: cf,
|
7114
|
+
tableRow: sf,
|
7115
|
+
text: pf,
|
7116
|
+
thematicBreak: df,
|
7096
7117
|
toml: Tt,
|
7097
7118
|
yaml: Tt,
|
7098
7119
|
definition: Tt,
|
@@ -7114,17 +7135,17 @@ const vo = (
|
|
7114
7135
|
*/
|
7115
7136
|
function(e) {
|
7116
7137
|
if (e == null)
|
7117
|
-
return
|
7138
|
+
return Mf;
|
7118
7139
|
if (typeof e == "string")
|
7119
|
-
return
|
7140
|
+
return yf(e);
|
7120
7141
|
if (typeof e == "object")
|
7121
|
-
return Array.isArray(e) ?
|
7142
|
+
return Array.isArray(e) ? gf(e) : mf(e);
|
7122
7143
|
if (typeof e == "function")
|
7123
7144
|
return qt(e);
|
7124
7145
|
throw new Error("Expected function, string, or object as test");
|
7125
7146
|
}
|
7126
7147
|
);
|
7127
|
-
function
|
7148
|
+
function gf(e) {
|
7128
7149
|
const t = [];
|
7129
7150
|
let n = -1;
|
7130
7151
|
for (; ++n < e.length; )
|
@@ -7138,7 +7159,7 @@ function hp(e) {
|
|
7138
7159
|
return !1;
|
7139
7160
|
}
|
7140
7161
|
}
|
7141
|
-
function
|
7162
|
+
function mf(e) {
|
7142
7163
|
return qt(t);
|
7143
7164
|
function t(n) {
|
7144
7165
|
let r;
|
@@ -7148,7 +7169,7 @@ function gp(e) {
|
|
7148
7169
|
return !0;
|
7149
7170
|
}
|
7150
7171
|
}
|
7151
|
-
function
|
7172
|
+
function yf(e) {
|
7152
7173
|
return qt(t);
|
7153
7174
|
function t(n) {
|
7154
7175
|
return n && n.type === e;
|
@@ -7160,10 +7181,10 @@ function qt(e) {
|
|
7160
7181
|
return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...r));
|
7161
7182
|
}
|
7162
7183
|
}
|
7163
|
-
function
|
7184
|
+
function Mf() {
|
7164
7185
|
return !0;
|
7165
7186
|
}
|
7166
|
-
const
|
7187
|
+
const xf = !0, ci = !1, bf = "skip", Df = (
|
7167
7188
|
/**
|
7168
7189
|
* @type {(
|
7169
7190
|
* (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
|
@@ -7191,28 +7212,28 @@ const Mp = !0, ci = !1, xp = "skip", bp = (
|
|
7191
7212
|
typeof c.name == "string" ? c.name : void 0
|
7192
7213
|
)
|
7193
7214
|
);
|
7194
|
-
Object.defineProperty(
|
7215
|
+
Object.defineProperty(f, "name", {
|
7195
7216
|
value: "node (" + (a.type + (m ? "<" + m + ">" : "")) + ")"
|
7196
7217
|
});
|
7197
7218
|
}
|
7198
|
-
return
|
7199
|
-
function
|
7200
|
-
let m = [],
|
7201
|
-
if ((!t || i(a, u, s[s.length - 1] || null)) && (m =
|
7219
|
+
return f;
|
7220
|
+
function f() {
|
7221
|
+
let m = [], p, w, x;
|
7222
|
+
if ((!t || i(a, u, s[s.length - 1] || null)) && (m = Nf(n(a, s)), m[0] === ci))
|
7202
7223
|
return m;
|
7203
|
-
if (a.children && m[0] !==
|
7224
|
+
if (a.children && m[0] !== bf)
|
7204
7225
|
for (w = (r ? a.children.length : -1) + o, x = s.concat(a); w > -1 && w < a.children.length; ) {
|
7205
|
-
if (
|
7206
|
-
return
|
7207
|
-
w = typeof
|
7226
|
+
if (p = l(a.children[w], w, x)(), p[0] === ci)
|
7227
|
+
return p;
|
7228
|
+
w = typeof p[1] == "number" ? p[1] : w + o;
|
7208
7229
|
}
|
7209
7230
|
return m;
|
7210
7231
|
}
|
7211
7232
|
}
|
7212
7233
|
}
|
7213
7234
|
);
|
7214
|
-
function
|
7215
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [
|
7235
|
+
function Nf(e) {
|
7236
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [xf, e] : [e];
|
7216
7237
|
}
|
7217
7238
|
const nr = (
|
7218
7239
|
/**
|
@@ -7229,7 +7250,7 @@ const nr = (
|
|
7229
7250
|
* @returns {void}
|
7230
7251
|
*/
|
7231
7252
|
function(e, t, n, r) {
|
7232
|
-
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null),
|
7253
|
+
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Df(e, t, i, r);
|
7233
7254
|
function i(o, l) {
|
7234
7255
|
const a = l[l.length - 1];
|
7235
7256
|
return n(
|
@@ -7240,56 +7261,56 @@ const nr = (
|
|
7240
7261
|
}
|
7241
7262
|
}
|
7242
7263
|
);
|
7243
|
-
function
|
7264
|
+
function wf(e) {
|
7244
7265
|
return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
|
7245
7266
|
}
|
7246
|
-
const
|
7247
|
-
function
|
7267
|
+
const fi = {}.hasOwnProperty;
|
7268
|
+
function If(e) {
|
7248
7269
|
const t = /* @__PURE__ */ Object.create(null);
|
7249
7270
|
if (!e || !e.type)
|
7250
7271
|
throw new Error("mdast-util-definitions expected node");
|
7251
7272
|
return nr(e, "definition", (r) => {
|
7252
|
-
const i =
|
7253
|
-
i && !
|
7273
|
+
const i = pi(r.identifier);
|
7274
|
+
i && !fi.call(t, i) && (t[i] = r);
|
7254
7275
|
}), n;
|
7255
7276
|
function n(r) {
|
7256
|
-
const i =
|
7257
|
-
return i &&
|
7277
|
+
const i = pi(r);
|
7278
|
+
return i && fi.call(t, i) ? t[i] : null;
|
7258
7279
|
}
|
7259
7280
|
}
|
7260
|
-
function
|
7281
|
+
function pi(e) {
|
7261
7282
|
return String(e || "").toUpperCase();
|
7262
7283
|
}
|
7263
7284
|
const Rt = {}.hasOwnProperty;
|
7264
|
-
function
|
7285
|
+
function Tf(e, t) {
|
7265
7286
|
const n = t || {}, r = n.allowDangerousHtml || !1, i = {};
|
7266
7287
|
return l.dangerous = r, l.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, l.footnoteLabel = n.footnoteLabel || "Footnotes", l.footnoteLabelTagName = n.footnoteLabelTagName || "h2", l.footnoteLabelProperties = n.footnoteLabelProperties || {
|
7267
7288
|
className: ["sr-only"]
|
7268
|
-
}, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...
|
7289
|
+
}, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...hf, ...n.handlers }, l.definition = If(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = kf, l.applyData = jf, l.one = a, l.all = u, l.wrap = vf, l.augment = o, nr(e, "footnoteDefinition", (s) => {
|
7269
7290
|
const c = String(s.identifier).toUpperCase();
|
7270
7291
|
Rt.call(i, c) || (i[c] = s);
|
7271
7292
|
}), l;
|
7272
7293
|
function o(s, c) {
|
7273
7294
|
if (s && "data" in s && s.data) {
|
7274
|
-
const
|
7275
|
-
|
7295
|
+
const f = s.data;
|
7296
|
+
f.hName && (c.type !== "element" && (c = {
|
7276
7297
|
type: "element",
|
7277
7298
|
tagName: "",
|
7278
7299
|
properties: {},
|
7279
7300
|
children: []
|
7280
|
-
}), c.tagName =
|
7301
|
+
}), c.tagName = f.hName), c.type === "element" && f.hProperties && (c.properties = { ...c.properties, ...f.hProperties }), "children" in c && c.children && f.hChildren && (c.children = f.hChildren);
|
7281
7302
|
}
|
7282
7303
|
if (s) {
|
7283
|
-
const
|
7284
|
-
|
7304
|
+
const f = "type" in s ? s : { position: s };
|
7305
|
+
wf(f) || (c.position = { start: er(f), end: tr(f) });
|
7285
7306
|
}
|
7286
7307
|
return c;
|
7287
7308
|
}
|
7288
|
-
function l(s, c,
|
7289
|
-
return Array.isArray(
|
7309
|
+
function l(s, c, f, m) {
|
7310
|
+
return Array.isArray(f) && (m = f, f = {}), o(s, {
|
7290
7311
|
type: "element",
|
7291
7312
|
tagName: c,
|
7292
|
-
properties:
|
7313
|
+
properties: f || {},
|
7293
7314
|
children: m || []
|
7294
7315
|
});
|
7295
7316
|
}
|
@@ -7300,10 +7321,10 @@ function Ip(e, t) {
|
|
7300
7321
|
return rr(l, s);
|
7301
7322
|
}
|
7302
7323
|
}
|
7303
|
-
function
|
7304
|
-
e.position && (t.position =
|
7324
|
+
function kf(e, t) {
|
7325
|
+
e.position && (t.position = af(e));
|
7305
7326
|
}
|
7306
|
-
function
|
7327
|
+
function jf(e, t) {
|
7307
7328
|
let n = t;
|
7308
7329
|
if (e && e.data) {
|
7309
7330
|
const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties;
|
@@ -7320,7 +7341,7 @@ function zo(e, t, n) {
|
|
7320
7341
|
const r = t && t.type;
|
7321
7342
|
if (!r)
|
7322
7343
|
throw new Error("Expected node, got `" + t + "`");
|
7323
|
-
return Rt.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: rr(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) :
|
7344
|
+
return Rt.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: rr(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Ef(e, t);
|
7324
7345
|
}
|
7325
7346
|
function rr(e, t) {
|
7326
7347
|
const n = [];
|
@@ -7340,7 +7361,7 @@ function rr(e, t) {
|
|
7340
7361
|
}
|
7341
7362
|
return n;
|
7342
7363
|
}
|
7343
|
-
function
|
7364
|
+
function Ef(e, t) {
|
7344
7365
|
const n = t.data || {}, r = "value" in t && !(Rt.call(n, "hProperties") || Rt.call(n, "hChildren")) ? { type: "text", value: t.value } : {
|
7345
7366
|
type: "element",
|
7346
7367
|
tagName: "div",
|
@@ -7349,7 +7370,7 @@ function jp(e, t) {
|
|
7349
7370
|
};
|
7350
7371
|
return e.patch(t, r), e.applyData(t, r);
|
7351
7372
|
}
|
7352
|
-
function
|
7373
|
+
function vf(e, t) {
|
7353
7374
|
const n = [];
|
7354
7375
|
let r = -1;
|
7355
7376
|
for (t && n.push({ type: "text", value: `
|
@@ -7359,7 +7380,7 @@ function Ep(e, t) {
|
|
7359
7380
|
return t && e.length > 0 && n.push({ type: "text", value: `
|
7360
7381
|
` }), n;
|
7361
7382
|
}
|
7362
|
-
function
|
7383
|
+
function zf(e) {
|
7363
7384
|
const t = [];
|
7364
7385
|
let n = -1;
|
7365
7386
|
for (; ++n < e.footnoteOrder.length; ) {
|
@@ -7370,7 +7391,7 @@ function vp(e) {
|
|
7370
7391
|
let a = 0;
|
7371
7392
|
const u = [];
|
7372
7393
|
for (; ++a <= e.footnoteCounts[o]; ) {
|
7373
|
-
const
|
7394
|
+
const f = {
|
7374
7395
|
type: "element",
|
7375
7396
|
tagName: "a",
|
7376
7397
|
properties: {
|
@@ -7381,16 +7402,16 @@ function vp(e) {
|
|
7381
7402
|
},
|
7382
7403
|
children: [{ type: "text", value: "↩" }]
|
7383
7404
|
};
|
7384
|
-
a > 1 &&
|
7405
|
+
a > 1 && f.children.push({
|
7385
7406
|
type: "element",
|
7386
7407
|
tagName: "sup",
|
7387
7408
|
children: [{ type: "text", value: String(a) }]
|
7388
|
-
}), u.length > 0 && u.push({ type: "text", value: " " }), u.push(
|
7409
|
+
}), u.length > 0 && u.push({ type: "text", value: " " }), u.push(f);
|
7389
7410
|
}
|
7390
7411
|
const s = i[i.length - 1];
|
7391
7412
|
if (s && s.type === "element" && s.tagName === "p") {
|
7392
|
-
const
|
7393
|
-
|
7413
|
+
const f = s.children[s.children.length - 1];
|
7414
|
+
f && f.type === "text" ? f.value += " " : s.children.push({ type: "text", value: " " }), s.children.push(...u);
|
7394
7415
|
} else
|
7395
7416
|
i.push(...u);
|
7396
7417
|
const c = {
|
@@ -7431,24 +7452,24 @@ function vp(e) {
|
|
7431
7452
|
};
|
7432
7453
|
}
|
7433
7454
|
function Ao(e, t) {
|
7434
|
-
const n =
|
7455
|
+
const n = Tf(e, t), r = n.one(e, null), i = zf(n);
|
7435
7456
|
return i && r.children.push({ type: "text", value: `
|
7436
7457
|
` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
|
7437
7458
|
}
|
7438
|
-
const
|
7459
|
+
const Af = (
|
7439
7460
|
/** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */
|
7440
7461
|
function(e, t) {
|
7441
|
-
return e && "run" in e ?
|
7462
|
+
return e && "run" in e ? Of(e, t) : Cf(e || t);
|
7442
7463
|
}
|
7443
|
-
),
|
7444
|
-
function
|
7464
|
+
), Sf = Af;
|
7465
|
+
function Of(e, t) {
|
7445
7466
|
return (n, r, i) => {
|
7446
7467
|
e.run(Ao(n, t), r, (o) => {
|
7447
7468
|
i(o);
|
7448
7469
|
});
|
7449
7470
|
};
|
7450
7471
|
}
|
7451
|
-
function
|
7472
|
+
function Cf(e) {
|
7452
7473
|
return (t) => Ao(t, e);
|
7453
7474
|
}
|
7454
7475
|
class mt {
|
@@ -7495,16 +7516,16 @@ Me.prototype.spaceSeparated = !1;
|
|
7495
7516
|
Me.prototype.commaOrSpaceSeparated = !1;
|
7496
7517
|
Me.prototype.mustUseProperty = !1;
|
7497
7518
|
Me.prototype.defined = !1;
|
7498
|
-
let
|
7499
|
-
const q = Be(), ae = Be(), Oo = Be(), T = Be(), J = Be(), $e = Be(),
|
7519
|
+
let Lf = 0;
|
7520
|
+
const q = Be(), ae = Be(), Oo = Be(), T = Be(), J = Be(), $e = Be(), pe = Be();
|
7500
7521
|
function Be() {
|
7501
|
-
return 2 ** ++
|
7522
|
+
return 2 ** ++Lf;
|
7502
7523
|
}
|
7503
7524
|
const Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
7504
7525
|
__proto__: null,
|
7505
7526
|
boolean: q,
|
7506
7527
|
booleanish: ae,
|
7507
|
-
commaOrSpaceSeparated:
|
7528
|
+
commaOrSpaceSeparated: pe,
|
7508
7529
|
commaSeparated: $e,
|
7509
7530
|
number: T,
|
7510
7531
|
overloadedBoolean: Oo,
|
@@ -7531,12 +7552,12 @@ ir.prototype.defined = !0;
|
|
7531
7552
|
function di(e, t, n) {
|
7532
7553
|
n && (e[t] = n);
|
7533
7554
|
}
|
7534
|
-
const
|
7555
|
+
const Pf = {}.hasOwnProperty;
|
7535
7556
|
function We(e) {
|
7536
7557
|
const t = {}, n = {};
|
7537
7558
|
let r;
|
7538
7559
|
for (r in e.properties)
|
7539
|
-
if (
|
7560
|
+
if (Pf.call(e.properties, r)) {
|
7540
7561
|
const i = e.properties[r], o = new ir(
|
7541
7562
|
r,
|
7542
7563
|
e.transform(e.attributes || {}, r),
|
@@ -7634,7 +7655,7 @@ const Ro = We({
|
|
7634
7655
|
ariaValueText: null,
|
7635
7656
|
role: null
|
7636
7657
|
}
|
7637
|
-
}),
|
7658
|
+
}), Ff = We({
|
7638
7659
|
space: "html",
|
7639
7660
|
attributes: {
|
7640
7661
|
acceptcharset: "accept-charset",
|
@@ -7993,7 +8014,7 @@ const Ro = We({
|
|
7993
8014
|
security: null,
|
7994
8015
|
unselectable: null
|
7995
8016
|
}
|
7996
|
-
}),
|
8017
|
+
}), Rf = We({
|
7997
8018
|
space: "svg",
|
7998
8019
|
attributes: {
|
7999
8020
|
accentHeight: "accent-height",
|
@@ -8172,7 +8193,7 @@ const Ro = We({
|
|
8172
8193
|
},
|
8173
8194
|
transform: Po,
|
8174
8195
|
properties: {
|
8175
|
-
about:
|
8196
|
+
about: pe,
|
8176
8197
|
accentHeight: T,
|
8177
8198
|
accumulate: null,
|
8178
8199
|
additive: null,
|
@@ -8284,7 +8305,7 @@ const Ro = We({
|
|
8284
8305
|
k2: T,
|
8285
8306
|
k3: T,
|
8286
8307
|
k4: T,
|
8287
|
-
kernelMatrix:
|
8308
|
+
kernelMatrix: pe,
|
8288
8309
|
kernelUnitLength: null,
|
8289
8310
|
keyPoints: null,
|
8290
8311
|
// SEMI_COLON_SEPARATED
|
@@ -8441,21 +8462,21 @@ const Ro = We({
|
|
8441
8462
|
preserveAspectRatio: null,
|
8442
8463
|
primitiveUnits: null,
|
8443
8464
|
propagate: null,
|
8444
|
-
property:
|
8465
|
+
property: pe,
|
8445
8466
|
r: null,
|
8446
8467
|
radius: null,
|
8447
8468
|
referrerPolicy: null,
|
8448
8469
|
refX: null,
|
8449
8470
|
refY: null,
|
8450
|
-
rel:
|
8451
|
-
rev:
|
8471
|
+
rel: pe,
|
8472
|
+
rev: pe,
|
8452
8473
|
renderingIntent: null,
|
8453
8474
|
repeatCount: null,
|
8454
8475
|
repeatDur: null,
|
8455
|
-
requiredExtensions:
|
8456
|
-
requiredFeatures:
|
8457
|
-
requiredFonts:
|
8458
|
-
requiredFormats:
|
8476
|
+
requiredExtensions: pe,
|
8477
|
+
requiredFeatures: pe,
|
8478
|
+
requiredFonts: pe,
|
8479
|
+
requiredFormats: pe,
|
8459
8480
|
resource: null,
|
8460
8481
|
restart: null,
|
8461
8482
|
result: null,
|
@@ -8483,7 +8504,7 @@ const Ro = We({
|
|
8483
8504
|
strikethroughThickness: T,
|
8484
8505
|
string: null,
|
8485
8506
|
stroke: null,
|
8486
|
-
strokeDashArray:
|
8507
|
+
strokeDashArray: pe,
|
8487
8508
|
strokeDashOffset: null,
|
8488
8509
|
strokeLineCap: null,
|
8489
8510
|
strokeLineJoin: null,
|
@@ -8497,7 +8518,7 @@ const Ro = We({
|
|
8497
8518
|
syncMaster: null,
|
8498
8519
|
syncTolerance: null,
|
8499
8520
|
syncToleranceDefault: null,
|
8500
|
-
systemLanguage:
|
8521
|
+
systemLanguage: pe,
|
8501
8522
|
tabIndex: T,
|
8502
8523
|
tableValues: null,
|
8503
8524
|
target: null,
|
@@ -8511,7 +8532,7 @@ const Ro = We({
|
|
8511
8532
|
title: null,
|
8512
8533
|
transformBehavior: null,
|
8513
8534
|
type: null,
|
8514
|
-
typeOf:
|
8535
|
+
typeOf: pe,
|
8515
8536
|
to: null,
|
8516
8537
|
transform: null,
|
8517
8538
|
transformOrigin: null,
|
@@ -8552,20 +8573,20 @@ const Ro = We({
|
|
8552
8573
|
z: null,
|
8553
8574
|
zoomAndPan: null
|
8554
8575
|
}
|
8555
|
-
}),
|
8556
|
-
function
|
8576
|
+
}), _f = /^data[-\w.:]+$/i, hi = /-[a-z]/g, Uf = /[A-Z]/g;
|
8577
|
+
function Qf(e, t) {
|
8557
8578
|
const n = Pn(t);
|
8558
8579
|
let r = t, i = Me;
|
8559
8580
|
if (n in e.normal)
|
8560
8581
|
return e.property[e.normal[n]];
|
8561
|
-
if (n.length > 4 && n.slice(0, 4) === "data" &&
|
8582
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && _f.test(t)) {
|
8562
8583
|
if (t.charAt(4) === "-") {
|
8563
|
-
const o = t.slice(5).replace(hi,
|
8584
|
+
const o = t.slice(5).replace(hi, Yf);
|
8564
8585
|
r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
|
8565
8586
|
} else {
|
8566
8587
|
const o = t.slice(4);
|
8567
8588
|
if (!hi.test(o)) {
|
8568
|
-
let l = o.replace(
|
8589
|
+
let l = o.replace(Uf, Bf);
|
8569
8590
|
l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l;
|
8570
8591
|
}
|
8571
8592
|
}
|
@@ -8573,10 +8594,10 @@ function Up(e, t) {
|
|
8573
8594
|
}
|
8574
8595
|
return new i(r, t);
|
8575
8596
|
}
|
8576
|
-
function
|
8597
|
+
function Bf(e) {
|
8577
8598
|
return "-" + e.toLowerCase();
|
8578
8599
|
}
|
8579
|
-
function
|
8600
|
+
function Yf(e) {
|
8580
8601
|
return e.charAt(1).toUpperCase();
|
8581
8602
|
}
|
8582
8603
|
const gi = {
|
@@ -8597,8 +8618,8 @@ const gi = {
|
|
8597
8618
|
xLinkTitle: "xlinkTitle",
|
8598
8619
|
xLinkType: "xlinkType",
|
8599
8620
|
xmlnsXLink: "xmlnsXlink"
|
8600
|
-
},
|
8601
|
-
function
|
8621
|
+
}, qf = So([Lo, Co, Ro, _o, Ff], "html"), $f = So([Lo, Co, Ro, _o, Rf], "svg");
|
8622
|
+
function Hf(e) {
|
8602
8623
|
if (e.allowedElements && e.disallowedElements)
|
8603
8624
|
throw new TypeError(
|
8604
8625
|
"Only one of `allowedElements` and `disallowedElements` should be defined"
|
@@ -8626,7 +8647,7 @@ var Uo = { exports: {} }, W = {};
|
|
8626
8647
|
* This source code is licensed under the MIT license found in the
|
8627
8648
|
* LICENSE file in the root directory of this source tree.
|
8628
8649
|
*/
|
8629
|
-
var or = Symbol.for("react.element"), lr = Symbol.for("react.portal"), $t = Symbol.for("react.fragment"), Ht = Symbol.for("react.strict_mode"), Vt = Symbol.for("react.profiler"), Wt = Symbol.for("react.provider"), Zt = Symbol.for("react.context"),
|
8650
|
+
var or = Symbol.for("react.element"), lr = Symbol.for("react.portal"), $t = Symbol.for("react.fragment"), Ht = Symbol.for("react.strict_mode"), Vt = Symbol.for("react.profiler"), Wt = Symbol.for("react.provider"), Zt = Symbol.for("react.context"), Vf = Symbol.for("react.server_context"), Gt = Symbol.for("react.forward_ref"), Kt = Symbol.for("react.suspense"), Xt = Symbol.for("react.suspense_list"), Jt = Symbol.for("react.memo"), en = Symbol.for("react.lazy"), Wf = Symbol.for("react.offscreen"), Qo;
|
8630
8651
|
Qo = Symbol.for("react.module.reference");
|
8631
8652
|
function xe(e) {
|
8632
8653
|
if (typeof e == "object" && e !== null) {
|
@@ -8642,7 +8663,7 @@ function xe(e) {
|
|
8642
8663
|
return e;
|
8643
8664
|
default:
|
8644
8665
|
switch (e = e && e.$$typeof, e) {
|
8645
|
-
case
|
8666
|
+
case Vf:
|
8646
8667
|
case Zt:
|
8647
8668
|
case Gt:
|
8648
8669
|
case en:
|
@@ -8713,13 +8734,13 @@ W.isSuspenseList = function(e) {
|
|
8713
8734
|
return xe(e) === Xt;
|
8714
8735
|
};
|
8715
8736
|
W.isValidElementType = function(e) {
|
8716
|
-
return typeof e == "string" || typeof e == "function" || e === $t || e === Vt || e === Ht || e === Kt || e === Xt || e ===
|
8737
|
+
return typeof e == "string" || typeof e == "function" || e === $t || e === Vt || e === Ht || e === Kt || e === Xt || e === Wf || typeof e == "object" && e !== null && (e.$$typeof === en || e.$$typeof === Jt || e.$$typeof === Wt || e.$$typeof === Zt || e.$$typeof === Gt || e.$$typeof === Qo || e.getModuleId !== void 0);
|
8717
8738
|
};
|
8718
8739
|
W.typeOf = xe;
|
8719
8740
|
Uo.exports = W;
|
8720
|
-
var
|
8721
|
-
const
|
8722
|
-
function
|
8741
|
+
var Zf = Uo.exports;
|
8742
|
+
const Gf = /* @__PURE__ */ Qe(Zf);
|
8743
|
+
function Kf(e) {
|
8723
8744
|
const t = (
|
8724
8745
|
// @ts-expect-error looks like a node.
|
8725
8746
|
e && typeof e == "object" && e.type === "text" ? (
|
@@ -8729,17 +8750,17 @@ function Gp(e) {
|
|
8729
8750
|
);
|
8730
8751
|
return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === "";
|
8731
8752
|
}
|
8732
|
-
function
|
8753
|
+
function Xf(e) {
|
8733
8754
|
return e.join(" ").trim();
|
8734
8755
|
}
|
8735
|
-
function
|
8756
|
+
function Jf(e, t) {
|
8736
8757
|
const n = t || {};
|
8737
8758
|
return (e[e.length - 1] === "" ? [...e, ""] : e).join(
|
8738
8759
|
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
8739
8760
|
).trim();
|
8740
8761
|
}
|
8741
|
-
var ar = { exports: {} }, mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,
|
8742
|
-
`, yi = "/", Mi = "*",
|
8762
|
+
var ar = { exports: {} }, mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ep = /\n/g, tp = /^\s*/, np = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, rp = /^:\s*/, ip = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, op = /^[;\s]*/, lp = /^\s+|\s+$/g, ap = `
|
8763
|
+
`, yi = "/", Mi = "*", Re = "", up = "comment", sp = "declaration", cp = function(e, t) {
|
8743
8764
|
if (typeof e != "string")
|
8744
8765
|
throw new TypeError("First argument must be a string");
|
8745
8766
|
if (!e)
|
@@ -8747,9 +8768,9 @@ var ar = { exports: {} }, mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Jp = /\n/g, ef
|
|
8747
8768
|
t = t || {};
|
8748
8769
|
var n = 1, r = 1;
|
8749
8770
|
function i(w) {
|
8750
|
-
var x = w.match(
|
8771
|
+
var x = w.match(ep);
|
8751
8772
|
x && (n += x.length);
|
8752
|
-
var k = w.lastIndexOf(
|
8773
|
+
var k = w.lastIndexOf(ap);
|
8753
8774
|
r = ~k ? w.length - k : r + w.length;
|
8754
8775
|
}
|
8755
8776
|
function o() {
|
@@ -8777,87 +8798,87 @@ var ar = { exports: {} }, mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Jp = /\n/g, ef
|
|
8777
8798
|
}
|
8778
8799
|
}
|
8779
8800
|
function s() {
|
8780
|
-
u(
|
8801
|
+
u(tp);
|
8781
8802
|
}
|
8782
8803
|
function c(w) {
|
8783
8804
|
var x;
|
8784
|
-
for (w = w || []; x =
|
8805
|
+
for (w = w || []; x = f(); )
|
8785
8806
|
x !== !1 && w.push(x);
|
8786
8807
|
return w;
|
8787
8808
|
}
|
8788
|
-
function
|
8809
|
+
function f() {
|
8789
8810
|
var w = o();
|
8790
8811
|
if (!(yi != e.charAt(0) || Mi != e.charAt(1))) {
|
8791
|
-
for (var x = 2;
|
8812
|
+
for (var x = 2; Re != e.charAt(x) && (Mi != e.charAt(x) || yi != e.charAt(x + 1)); )
|
8792
8813
|
++x;
|
8793
|
-
if (x += 2,
|
8814
|
+
if (x += 2, Re === e.charAt(x - 1))
|
8794
8815
|
return a("End of comment missing");
|
8795
8816
|
var k = e.slice(2, x - 2);
|
8796
8817
|
return r += 2, i(k), e = e.slice(x), r += 2, w({
|
8797
|
-
type:
|
8818
|
+
type: up,
|
8798
8819
|
comment: k
|
8799
8820
|
});
|
8800
8821
|
}
|
8801
8822
|
}
|
8802
8823
|
function m() {
|
8803
|
-
var w = o(), x = u(
|
8824
|
+
var w = o(), x = u(np);
|
8804
8825
|
if (x) {
|
8805
|
-
if (
|
8826
|
+
if (f(), !u(rp))
|
8806
8827
|
return a("property missing ':'");
|
8807
|
-
var k = u(
|
8808
|
-
type:
|
8809
|
-
property: xi(x[0].replace(mi,
|
8810
|
-
value: k ? xi(k[0].replace(mi,
|
8828
|
+
var k = u(ip), b = w({
|
8829
|
+
type: sp,
|
8830
|
+
property: xi(x[0].replace(mi, Re)),
|
8831
|
+
value: k ? xi(k[0].replace(mi, Re)) : Re
|
8811
8832
|
});
|
8812
|
-
return u(
|
8833
|
+
return u(op), b;
|
8813
8834
|
}
|
8814
8835
|
}
|
8815
|
-
function
|
8836
|
+
function p() {
|
8816
8837
|
var w = [];
|
8817
8838
|
c(w);
|
8818
8839
|
for (var x; x = m(); )
|
8819
8840
|
x !== !1 && (w.push(x), c(w));
|
8820
8841
|
return w;
|
8821
8842
|
}
|
8822
|
-
return s(),
|
8843
|
+
return s(), p();
|
8823
8844
|
};
|
8824
8845
|
function xi(e) {
|
8825
|
-
return e ? e.replace(
|
8846
|
+
return e ? e.replace(lp, Re) : Re;
|
8826
8847
|
}
|
8827
|
-
var
|
8848
|
+
var fp = cp;
|
8828
8849
|
function Bo(e, t) {
|
8829
8850
|
var n = null;
|
8830
8851
|
if (!e || typeof e != "string")
|
8831
8852
|
return n;
|
8832
|
-
for (var r, i =
|
8853
|
+
for (var r, i = fp(e), o = typeof t == "function", l, a, u = 0, s = i.length; u < s; u++)
|
8833
8854
|
r = i[u], l = r.property, a = r.value, o ? t(l, a, r) : a && (n || (n = {}), n[l] = a);
|
8834
8855
|
return n;
|
8835
8856
|
}
|
8836
8857
|
ar.exports = Bo;
|
8837
8858
|
ar.exports.default = Bo;
|
8838
|
-
var
|
8839
|
-
const
|
8859
|
+
var pp = ar.exports;
|
8860
|
+
const dp = /* @__PURE__ */ Qe(pp), Rn = {}.hasOwnProperty, hp = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8840
8861
|
function Yo(e, t) {
|
8841
8862
|
const n = [];
|
8842
8863
|
let r = -1, i;
|
8843
8864
|
for (; ++r < t.children.length; )
|
8844
|
-
i = t.children[r], i.type === "element" ? n.push(
|
8865
|
+
i = t.children[r], i.type === "element" ? n.push(gp(e, i, r, t)) : i.type === "text" ? (t.type !== "element" || !hp.has(t.tagName) || !Kf(i)) && n.push(i.value) : i.type === "raw" && !e.options.skipHtml && n.push(i.value);
|
8845
8866
|
return n;
|
8846
8867
|
}
|
8847
|
-
function
|
8868
|
+
function gp(e, t, n, r) {
|
8848
8869
|
const i = e.options, o = i.transformLinkUri === void 0 ? gu : i.transformLinkUri, l = e.schema, a = t.tagName, u = {};
|
8849
8870
|
let s = l, c;
|
8850
|
-
if (l.space === "html" && a === "svg" && (s =
|
8871
|
+
if (l.space === "html" && a === "svg" && (s = $f, e.schema = s), t.properties)
|
8851
8872
|
for (c in t.properties)
|
8852
|
-
Rn.call(t.properties, c) &&
|
8873
|
+
Rn.call(t.properties, c) && yp(u, c, t.properties[c], e);
|
8853
8874
|
(a === "ol" || a === "ul") && e.listDepth++;
|
8854
|
-
const
|
8875
|
+
const f = Yo(e, t);
|
8855
8876
|
(a === "ol" || a === "ul") && e.listDepth--, e.schema = l;
|
8856
8877
|
const m = t.position || {
|
8857
8878
|
start: { line: null, column: null, offset: null },
|
8858
8879
|
end: { line: null, column: null, offset: null }
|
8859
|
-
},
|
8860
|
-
if (!
|
8880
|
+
}, p = i.components && Rn.call(i.components, a) ? i.components[a] : a, w = typeof p == "string" || p === ue.Fragment;
|
8881
|
+
if (!Gf.isValidElementType(p))
|
8861
8882
|
throw new TypeError(
|
8862
8883
|
`Component for name \`${a}\` not defined or is not renderable`
|
8863
8884
|
);
|
@@ -8874,12 +8895,12 @@ function gf(e, t, n, r) {
|
|
8874
8895
|
String(u.alt || ""),
|
8875
8896
|
typeof u.title == "string" ? u.title : null
|
8876
8897
|
)), !w && a === "li" && r.type === "element") {
|
8877
|
-
const x =
|
8898
|
+
const x = mp(t);
|
8878
8899
|
u.checked = x && x.properties ? !!x.properties.checked : null, u.index = xn(r, t), u.ordered = r.tagName === "ol";
|
8879
8900
|
}
|
8880
|
-
return !w && (a === "ol" || a === "ul") && (u.ordered = a === "ol", u.depth = e.listDepth), (a === "td" || a === "th") && (u.align && (u.style || (u.style = {}), u.style.textAlign = u.align, delete u.align), w || (u.isHeader = a === "th")), !w && a === "tr" && r.type === "element" && (u.isHeader = r.tagName === "thead"), i.sourcePos && (u["data-sourcepos"] =
|
8901
|
+
return !w && (a === "ol" || a === "ul") && (u.ordered = a === "ol", u.depth = e.listDepth), (a === "td" || a === "th") && (u.align && (u.style || (u.style = {}), u.style.textAlign = u.align, delete u.align), w || (u.isHeader = a === "th")), !w && a === "tr" && r.type === "element" && (u.isHeader = r.tagName === "thead"), i.sourcePos && (u["data-sourcepos"] = bp(m)), !w && i.rawSourcePos && (u.sourcePosition = t.position), !w && i.includeElementIndex && (u.index = xn(r, t), u.siblingCount = xn(r)), w || (u.node = t), f.length > 0 ? ue.createElement(p, u, f) : ue.createElement(p, u);
|
8881
8902
|
}
|
8882
|
-
function
|
8903
|
+
function mp(e) {
|
8883
8904
|
let t = -1;
|
8884
8905
|
for (; ++t < e.children.length; ) {
|
8885
8906
|
const n = e.children[t];
|
@@ -8894,27 +8915,27 @@ function xn(e, t) {
|
|
8894
8915
|
e.children[n].type === "element" && r++;
|
8895
8916
|
return r;
|
8896
8917
|
}
|
8897
|
-
function
|
8898
|
-
const i =
|
8918
|
+
function yp(e, t, n, r) {
|
8919
|
+
const i = Qf(r.schema, t);
|
8899
8920
|
let o = n;
|
8900
|
-
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ?
|
8921
|
+
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? Jf(o) : Xf(o)), i.property === "style" && typeof o == "string" && (o = Mp(o)), i.space && i.property ? e[Rn.call(gi, i.property) ? gi[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o));
|
8901
8922
|
}
|
8902
|
-
function
|
8923
|
+
function Mp(e) {
|
8903
8924
|
const t = {};
|
8904
8925
|
try {
|
8905
|
-
|
8926
|
+
dp(e, n);
|
8906
8927
|
} catch {
|
8907
8928
|
}
|
8908
8929
|
return t;
|
8909
8930
|
function n(r, i) {
|
8910
8931
|
const o = r.slice(0, 4) === "-ms-" ? `ms-${r.slice(4)}` : r;
|
8911
|
-
t[o.replace(/-([a-z])/g,
|
8932
|
+
t[o.replace(/-([a-z])/g, xp)] = i;
|
8912
8933
|
}
|
8913
8934
|
}
|
8914
|
-
function
|
8935
|
+
function xp(e, t) {
|
8915
8936
|
return t.toUpperCase();
|
8916
8937
|
}
|
8917
|
-
function
|
8938
|
+
function bp(e) {
|
8918
8939
|
return [
|
8919
8940
|
e.start.line,
|
8920
8941
|
":",
|
@@ -8925,7 +8946,7 @@ function bf(e) {
|
|
8925
8946
|
e.end.column
|
8926
8947
|
].map(String).join("");
|
8927
8948
|
}
|
8928
|
-
const bi = {}.hasOwnProperty,
|
8949
|
+
const bi = {}.hasOwnProperty, Dp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
|
8929
8950
|
plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
|
8930
8951
|
renderers: { to: "components", id: "change-renderers-to-components" },
|
8931
8952
|
astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
|
@@ -8954,13 +8975,13 @@ function qo(e) {
|
|
8954
8975
|
if (bi.call(kt, o) && bi.call(e, o)) {
|
8955
8976
|
const l = kt[o];
|
8956
8977
|
console.warn(
|
8957
|
-
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${
|
8978
|
+
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Dp}#${l.id}> for more info)`
|
8958
8979
|
), delete kt[o];
|
8959
8980
|
}
|
8960
|
-
const t = Au().use(Uc).use(e.remarkPlugins || []).use(
|
8981
|
+
const t = Au().use(Uc).use(e.remarkPlugins || []).use(Sf, {
|
8961
8982
|
...e.remarkRehypeOptions,
|
8962
8983
|
allowDangerousHtml: !0
|
8963
|
-
}).use(e.rehypePlugins || []).use(
|
8984
|
+
}).use(e.rehypePlugins || []).use(Hf, e), n = new ao();
|
8964
8985
|
typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn(
|
8965
8986
|
`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`
|
8966
8987
|
);
|
@@ -8970,7 +8991,7 @@ function qo(e) {
|
|
8970
8991
|
let i = ue.createElement(
|
8971
8992
|
ue.Fragment,
|
8972
8993
|
{},
|
8973
|
-
Yo({ options: e, schema:
|
8994
|
+
Yo({ options: e, schema: qf, listDepth: 0 }, r)
|
8974
8995
|
);
|
8975
8996
|
return e.className && (i = ue.createElement("div", { className: e.className }, i)), i;
|
8976
8997
|
}
|
@@ -9033,19 +9054,19 @@ qo.propTypes = {
|
|
9033
9054
|
transformImageUri: g.func,
|
9034
9055
|
components: g.object
|
9035
9056
|
};
|
9036
|
-
const
|
9057
|
+
const Np = (e) => {
|
9037
9058
|
Array.from(e.entries()).forEach((n) => {
|
9038
9059
|
const r = n[0], i = n[1];
|
9039
9060
|
r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
|
9040
9061
|
});
|
9041
|
-
},
|
9062
|
+
}, wp = (e) => {
|
9042
9063
|
e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
|
9043
9064
|
};
|
9044
|
-
function
|
9065
|
+
function Ip(e) {
|
9045
9066
|
const t = new URL(e), n = t.host;
|
9046
9067
|
if (n == null ? void 0 : n.includes("edx.org")) {
|
9047
9068
|
const i = t.searchParams;
|
9048
|
-
|
9069
|
+
Np(i), wp(i), t.search = i;
|
9049
9070
|
}
|
9050
9071
|
return t.toString();
|
9051
9072
|
}
|
@@ -9053,18 +9074,19 @@ const ur = _n(
|
|
9053
9074
|
({ index: e, message: t, isNormalSize: n, onFeedbackThumbSelection: r }, i) => /* @__PURE__ */ I.jsx(
|
9054
9075
|
"div",
|
9055
9076
|
{
|
9056
|
-
|
9077
|
+
role: "status",
|
9057
9078
|
className: "xpert-chatbot-popup__bubble--group",
|
9058
9079
|
ref: i,
|
9059
9080
|
children: /* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: [
|
9060
|
-
/* @__PURE__ */ I.jsx(
|
9061
|
-
|
9081
|
+
/* @__PURE__ */ I.jsx(
|
9082
|
+
"div",
|
9062
9083
|
{
|
9063
|
-
|
9064
|
-
|
9065
|
-
|
9084
|
+
"data-testid": "message-container",
|
9085
|
+
className: "xpert-chatbot-popup__bubble--assistant",
|
9086
|
+
style: { maxWidth: n ? "85%" : "67%" },
|
9087
|
+
children: /* @__PURE__ */ I.jsx(qo, { linkTarget: "_blank", transformLinkUri: Ip, children: t.content })
|
9066
9088
|
}
|
9067
|
-
)
|
9089
|
+
),
|
9068
9090
|
/* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
|
9069
9091
|
/* @__PURE__ */ I.jsx(
|
9070
9092
|
"button",
|
@@ -9074,7 +9096,7 @@ const ur = _n(
|
|
9074
9096
|
onClick: () => r(e, "UP"),
|
9075
9097
|
"aria-label": "I like this response",
|
9076
9098
|
children: /* @__PURE__ */ I.jsx(
|
9077
|
-
|
9099
|
+
Le,
|
9078
9100
|
{
|
9079
9101
|
className: "xpert-chatbot-popup__feedback--btn-up-icon",
|
9080
9102
|
icon: t.feedbackThumbType === "UP" ? "material-symbols:thumb-up" : "material-symbols:thumb-up-outline"
|
@@ -9091,7 +9113,7 @@ const ur = _n(
|
|
9091
9113
|
onClick: () => r(e, "DOWN"),
|
9092
9114
|
"aria-label": "I do not like this response",
|
9093
9115
|
children: /* @__PURE__ */ I.jsx(
|
9094
|
-
|
9116
|
+
Le,
|
9095
9117
|
{
|
9096
9118
|
className: "xpert-chatbot-popup__feedback--btn-down-icon",
|
9097
9119
|
icon: t.feedbackThumbType === "DOWN" ? "material-symbols:thumb-down" : "material-symbols:thumb-down-outline"
|
@@ -9111,22 +9133,30 @@ ur.propTypes = {
|
|
9111
9133
|
isNormalSize: g.bool.isRequired
|
9112
9134
|
};
|
9113
9135
|
ur.displayName = "AssistantMessageBubble";
|
9114
|
-
const
|
9115
|
-
|
9116
|
-
|
9117
|
-
|
9118
|
-
|
9119
|
-
|
9120
|
-
|
9121
|
-
|
9122
|
-
|
9123
|
-
|
9124
|
-
|
9125
|
-
|
9126
|
-
|
9127
|
-
|
9128
|
-
|
9129
|
-
|
9136
|
+
const Tp = ur, sr = ({ configurations: e }) => /* @__PURE__ */ I.jsxs(
|
9137
|
+
"div",
|
9138
|
+
{
|
9139
|
+
role: "alert",
|
9140
|
+
"aria-live": "assertive",
|
9141
|
+
className: "xpert-chatbot-popup__conversations_disclaimer--text",
|
9142
|
+
children: [
|
9143
|
+
/* @__PURE__ */ I.jsx("span", { children: e.disclaimerText }),
|
9144
|
+
/* @__PURE__ */ I.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
|
9145
|
+
/* @__PURE__ */ I.jsx(
|
9146
|
+
"a",
|
9147
|
+
{
|
9148
|
+
href: e.privacyPolicyLink,
|
9149
|
+
target: "_blank",
|
9150
|
+
rel: "noopener noreferrer",
|
9151
|
+
className: "xpert-chatbot-popup__conversations_disclaimer--text__link",
|
9152
|
+
children: "privacy policy"
|
9153
|
+
}
|
9154
|
+
),
|
9155
|
+
"."
|
9156
|
+
] })
|
9157
|
+
]
|
9158
|
+
}
|
9159
|
+
);
|
9130
9160
|
sr.propTypes = {
|
9131
9161
|
configurations: g.shape({
|
9132
9162
|
disclaimerText: g.string.isRequired,
|
@@ -9134,14 +9164,14 @@ sr.propTypes = {
|
|
9134
9164
|
}).isRequired
|
9135
9165
|
};
|
9136
9166
|
sr.displayName = "ConversationScreenDisclaimer";
|
9137
|
-
const
|
9167
|
+
const kp = sr, cr = ({ configurations: e, loading: t, onPromptClick: n }) => /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
9138
9168
|
/* @__PURE__ */ I.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
|
9139
9169
|
e.prompts.map((r) => /* @__PURE__ */ I.jsx(
|
9140
9170
|
"div",
|
9141
9171
|
{
|
9142
9172
|
className: "xpert-chatbot-popup__bubble--prompt",
|
9143
9173
|
style: { fontWeight: "500", backgroundColor: e.primaryColor, ...e.userMessageBubbleStyle },
|
9144
|
-
onClick: (
|
9174
|
+
onClick: () => !t && n(r.text),
|
9145
9175
|
children: r.text
|
9146
9176
|
},
|
9147
9177
|
r.id
|
@@ -9160,18 +9190,18 @@ cr.propTypes = {
|
|
9160
9190
|
onPromptClick: g.func.isRequired
|
9161
9191
|
};
|
9162
9192
|
cr.displayName = "PromptList";
|
9163
|
-
const
|
9193
|
+
const jp = cr, tn = _n(
|
9164
9194
|
({ messages: e, loading: t, isNormalSize: n, onFeedbackThumbSelection: r, onPromptClick: i, showDisclaimerText: o, configurations: l }, a) => {
|
9165
9195
|
var u;
|
9166
9196
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
9167
9197
|
o && /* @__PURE__ */ I.jsx(
|
9168
|
-
|
9198
|
+
kp,
|
9169
9199
|
{
|
9170
9200
|
configurations: l
|
9171
9201
|
}
|
9172
9202
|
),
|
9173
9203
|
((u = l.prompts) == null ? void 0 : u.length) > 0 && /* @__PURE__ */ I.jsx(
|
9174
|
-
|
9204
|
+
jp,
|
9175
9205
|
{
|
9176
9206
|
loading: t,
|
9177
9207
|
onPromptClick: i,
|
@@ -9190,7 +9220,7 @@ const jf = cr, tn = _n(
|
|
9190
9220
|
style: { display: "flex", flexDirection: "column" },
|
9191
9221
|
children: e.map(
|
9192
9222
|
(s, c) => s.role === "assistant" ? /* @__PURE__ */ I.jsx(
|
9193
|
-
|
9223
|
+
Tp,
|
9194
9224
|
{
|
9195
9225
|
index: c,
|
9196
9226
|
message: s,
|
@@ -9249,13 +9279,13 @@ tn.defaultProps = {
|
|
9249
9279
|
showDisclaimerText: !1
|
9250
9280
|
};
|
9251
9281
|
tn.displayName = "XpertConversationsMessages";
|
9252
|
-
const
|
9282
|
+
const Ep = tn, vp = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", zp = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Ap = 991;
|
9253
9283
|
function $o({
|
9254
9284
|
isNormalSize: e,
|
9255
9285
|
setIsMounted: t,
|
9256
9286
|
setIsNormalSize: n
|
9257
9287
|
}) {
|
9258
|
-
return ht(
|
9288
|
+
return ht(Ap) ? null : e ? /* @__PURE__ */ I.jsx(
|
9259
9289
|
"button",
|
9260
9290
|
{
|
9261
9291
|
onClick: () => {
|
@@ -9276,7 +9306,7 @@ function $o({
|
|
9276
9306
|
"aria-hidden": !0,
|
9277
9307
|
height: "24px",
|
9278
9308
|
width: "24px",
|
9279
|
-
src:
|
9309
|
+
src: vp,
|
9280
9310
|
alt: "Expand xpert dialog width icon"
|
9281
9311
|
}
|
9282
9312
|
)
|
@@ -9301,7 +9331,7 @@ function $o({
|
|
9301
9331
|
"aria-hidden": !0,
|
9302
9332
|
height: "24px",
|
9303
9333
|
width: "24px",
|
9304
|
-
src:
|
9334
|
+
src: zp,
|
9305
9335
|
alt: "Shrink xpert dialog width icon"
|
9306
9336
|
}
|
9307
9337
|
)
|
@@ -9356,10 +9386,9 @@ function Ho({
|
|
9356
9386
|
},
|
9357
9387
|
className: "xpert-chatbot-popup__header--btn-outline",
|
9358
9388
|
onClick: r,
|
9359
|
-
"aria-label": "Close
|
9389
|
+
"aria-label": "Close Xpert dialog",
|
9360
9390
|
type: "button",
|
9361
|
-
"
|
9362
|
-
children: /* @__PURE__ */ I.jsx(Ce, { icon: "material-symbols:close", alt: "Close", style: { fontSize: "1.75rem" } })
|
9391
|
+
children: /* @__PURE__ */ I.jsx(Le, { icon: "material-symbols:close", alt: "Close", style: { fontSize: "1.75rem" } })
|
9363
9392
|
}
|
9364
9393
|
)
|
9365
9394
|
] });
|
@@ -9371,10 +9400,10 @@ Ho.propTypes = {
|
|
9371
9400
|
onClose: g.func.isRequired,
|
9372
9401
|
isMounted: g.bool.isRequired
|
9373
9402
|
};
|
9374
|
-
const Vo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg3MSIgaGVpZ2h0PSI1NjQiIHZpZXdCb3g9IjAgMCAxODcxIDU2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkyOCAxODhIMTg3MUwxODA4IDQ5MUg4NjVMOTI4IDE4OFoiIGZpbGw9IiNGMENDMDAiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEyM180MjgpIj4KPHBhdGggZD0iTTI1NS4yNzMgMTk3LjM4N0MyNTAuODUyIDE5Mi4yNTQgMjQ1LjM1MiAxODguMTg1IDIzOC43OTYgMTg1LjE4OEMyMzIuMjMyIDE4Mi4xOTEgMjI0LjU5NyAxODAuNjkyIDIxNS44OTggMTgwLjY5MkMyMDcuMDQ5IDE4MC42OTIgMTk4Ljc3NyAxODIuMjY2IDE5MS4wNzQgMTg1LjQwNUMxODMuMz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Dk3IDQ5LjU4NTkgOS41ODY2NSA0OS41MDM2IDkuMzkwNjJDNDkuNDIxMiA5LjE5MTc2IDQ5LjI3MiA5LjA0MTE5IDQ5LjA1NjEgOC45Mzg5MkM0OC44NDAyIDguODMzODEgNDguNTU2MSA4Ljc4MTI1IDQ4LjIwMzggOC43ODEyNUg0Ni45NTk1TDQ2LjUxODEgMTEuNDIzM1pNNTIuOTcwMiA3LjI3MjczTDUyLjcxNDUgOC43OTQwM0g1NS4zODY0TDU0LjE5MzIgMTZINTYuMDE3TDU3LjIxMDIgOC43OTQwM0g1OS44ODIxTDYwLjEzNzggNy4yNzI3M0g1Mi45NzAyWiIgZmlsbD0iI0YwQ0MwMCIvPgo8L3N2Zz4K", Op = {
|
9375
9404
|
edx: Vo,
|
9376
|
-
"speech-emerson":
|
9377
|
-
},
|
9405
|
+
"speech-emerson": Sp
|
9406
|
+
}, Cp = 991;
|
9378
9407
|
function Wo({
|
9379
9408
|
isNormalSize: e,
|
9380
9409
|
setIsNormalSize: t,
|
@@ -9383,10 +9412,11 @@ function Wo({
|
|
9383
9412
|
onClose: i,
|
9384
9413
|
configurations: o
|
9385
9414
|
}) {
|
9386
|
-
const l = ht(
|
9415
|
+
const l = ht(Cp);
|
9387
9416
|
return /* @__PURE__ */ I.jsxs(
|
9388
9417
|
"div",
|
9389
9418
|
{
|
9419
|
+
"data-testid": "xpert-conversations-header",
|
9390
9420
|
style: {
|
9391
9421
|
display: "flex",
|
9392
9422
|
alignItems: "center",
|
@@ -9400,7 +9430,7 @@ function Wo({
|
|
9400
9430
|
{
|
9401
9431
|
"data-ot-ignore": "",
|
9402
9432
|
className: "xpert-chatbot-popup__logo optanon-category-C0001",
|
9403
|
-
src:
|
9433
|
+
src: Op[o.xpertKey],
|
9404
9434
|
alt: "xpert logo",
|
9405
9435
|
"aria-hidden": !0,
|
9406
9436
|
style: o.headerLogoStyle
|
@@ -9433,11 +9463,11 @@ Wo.propTypes = {
|
|
9433
9463
|
headerLogoStyle: g.shape()
|
9434
9464
|
})
|
9435
9465
|
};
|
9436
|
-
const
|
9437
|
-
const
|
9466
|
+
const Lp = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+";
|
9467
|
+
const Pp = {
|
9438
9468
|
edx: Vo,
|
9439
|
-
"speech-emerson":
|
9440
|
-
},
|
9469
|
+
"speech-emerson": Lp
|
9470
|
+
}, Fp = 991, Rp = [];
|
9441
9471
|
console.log("Chatbot - load");
|
9442
9472
|
function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
9443
9473
|
var Ke;
|
@@ -9449,6 +9479,7 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9449
9479
|
if (e === "speech-emerson")
|
9450
9480
|
return Xo;
|
9451
9481
|
}
|
9482
|
+
/* istanbul ignore next @preserve */
|
9452
9483
|
return n;
|
9453
9484
|
})(), {
|
9454
9485
|
chatApiEndpoint: o,
|
@@ -9457,12 +9488,13 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9457
9488
|
userTrackingPrefix: u,
|
9458
9489
|
optimizelyExperimentName: s,
|
9459
9490
|
cookieDomainName: c,
|
9460
|
-
cookieNamePrefix:
|
9491
|
+
cookieNamePrefix: f,
|
9461
9492
|
proactiveMessagePrefix: m,
|
9462
|
-
proactiveMessage:
|
9493
|
+
proactiveMessage: p,
|
9463
9494
|
disableDisclaimerPage: w
|
9464
|
-
} = i, [, x] = ge(!1), [k, b] = ge(
|
9495
|
+
} = i, [, x] = ge(!1), [k, b] = ge(Rp), [z, E] = ge(!1), [B, _] = ge(!1), [y, S] = ge(""), [U, Y] = ge(!1), [H, j] = ge(!1), [M, N] = ge(!0), [A, O] = ge(!1), F = ht(Fp), Q = Ye(null), $ = Ye(null), Z = Ye(null), d = Ye(null), te = Ye(null), X = ({ name: C, payload: le }) => {
|
9465
9496
|
t ? t({ name: C, payload: le }) : te.current.track(
|
9497
|
+
// TODO: this is untestable - create a custom hook to get submit event function.
|
9466
9498
|
C,
|
9467
9499
|
le
|
9468
9500
|
);
|
@@ -9478,19 +9510,19 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9478
9510
|
}
|
9479
9511
|
});
|
9480
9512
|
};
|
9481
|
-
|
9513
|
+
fr(() => {
|
9482
9514
|
var C;
|
9483
9515
|
(C = Z.current) == null || C.scrollIntoView({ behavior: "smooth" });
|
9484
|
-
}, [k.length]),
|
9516
|
+
}, [k.length]), fr(() => {
|
9485
9517
|
var C;
|
9486
9518
|
(C = d.current) == null || C.scrollIntoView({ behavior: "smooth" });
|
9487
|
-
}, [H]),
|
9519
|
+
}, [H]), Ce(() => (Q.current && Q.current.addEventListener("click", h), () => {
|
9488
9520
|
var C;
|
9489
9521
|
(C = Q.current) == null || C.removeEventListener(
|
9490
9522
|
"click",
|
9491
9523
|
h
|
9492
9524
|
);
|
9493
|
-
}), [Q.current]),
|
9525
|
+
}), [Q.current]), Ce(() => {
|
9494
9526
|
console.log("Chatbot - mount");
|
9495
9527
|
let C, le;
|
9496
9528
|
return u && (C = setInterval(() => {
|
@@ -9502,15 +9534,15 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9502
9534
|
console.log("Chatbot - unmount"), clearInterval(C), clearTimeout(le);
|
9503
9535
|
};
|
9504
9536
|
}, []);
|
9505
|
-
const ie =
|
9537
|
+
const ie = pl(s);
|
9506
9538
|
if (!e && !i)
|
9507
9539
|
return console.log("Chatbot - xpertKey or configuration is required"), null;
|
9508
9540
|
if (!(i != null && i.xpertKey))
|
9509
9541
|
return console.log(`Chatbot - configuration not found for xpertkey: ${e}`), null;
|
9510
|
-
const re = it.get(`${
|
9542
|
+
const re = it.get(`${f}-test`) === "1";
|
9511
9543
|
if (s && ie !== "A" && !re)
|
9512
9544
|
return s && ie !== "A" && console.log(`Chatbot - Experiment not setup: ${i.xpertKey}, ${ie}, ${window.optimizely}`), re || console.log(`Chatbot - Test user not setup: ${i.xpertKey}, ${re}`), null;
|
9513
|
-
if (!
|
9545
|
+
if (!f)
|
9514
9546
|
return console.log(`Chatbot - Cookie name prefix not setup: ${i.xpertKey}, ${i.cookieNamePrefix}`), null;
|
9515
9547
|
if (u && !((Ke = te == null ? void 0 : te.current) != null && Ke.track) && !t)
|
9516
9548
|
return console.log(`Chatbot - Segment not setup: ${i.xpertKey}`), null;
|
@@ -9600,7 +9632,7 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9600
9632
|
conversationSize: k.length + 2,
|
9601
9633
|
userInputMessage: C,
|
9602
9634
|
apiResponseMessage: D,
|
9603
|
-
elapsedSeconds:
|
9635
|
+
elapsedSeconds: fu(le, v)
|
9604
9636
|
}), b((L) => [
|
9605
9637
|
...L,
|
9606
9638
|
{
|
@@ -9661,6 +9693,7 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9661
9693
|
});
|
9662
9694
|
}, Ze = () => {
|
9663
9695
|
var C;
|
9696
|
+
/* istanbul ignore next @preserve */
|
9664
9697
|
$.current && ($.current.style.height = "auto", $.current.style.height = `${Math.min(
|
9665
9698
|
(C = $.current) == null ? void 0 : C.scrollHeight,
|
9666
9699
|
120
|
@@ -9689,18 +9722,19 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9689
9722
|
return (
|
9690
9723
|
// do not remove this class as it's needed to turn off chatbot
|
9691
9724
|
/* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-frontend-killswitch", children: [
|
9692
|
-
|
9725
|
+
p && /* @__PURE__ */ I.jsx(
|
9693
9726
|
Vn,
|
9694
9727
|
{
|
9728
|
+
showMessage: !B,
|
9695
9729
|
style: F ? { ...l.mobile } : { ...l },
|
9696
9730
|
onClose: rn,
|
9697
9731
|
onClick: nn,
|
9698
|
-
cookieName: `${
|
9732
|
+
cookieName: `${f}-proactive-message-xpert-chatbot`,
|
9699
9733
|
cookieDomainName: c,
|
9700
9734
|
children: /* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
|
9701
9735
|
/* @__PURE__ */ I.jsx("span", { children: m }),
|
9702
9736
|
/* @__PURE__ */ I.jsx("span", { className: "xpert-chatbot-proactive-message__wave", children: "👋" }),
|
9703
|
-
/* @__PURE__ */ I.jsx("span", { children:
|
9737
|
+
/* @__PURE__ */ I.jsx("span", { children: p })
|
9704
9738
|
] }) })
|
9705
9739
|
}
|
9706
9740
|
),
|
@@ -9718,7 +9752,7 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9718
9752
|
{
|
9719
9753
|
"data-ot-ignore": "",
|
9720
9754
|
className: "xpert-chatbot-button__logo optanon-category-C0001",
|
9721
|
-
src:
|
9755
|
+
src: Pp[i.xpertKey],
|
9722
9756
|
alt: "xpert logo",
|
9723
9757
|
"aria-hidden": !0,
|
9724
9758
|
style: { width: a == null ? void 0 : a.iconWidth }
|
@@ -9731,6 +9765,8 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9731
9765
|
{
|
9732
9766
|
ref: Q,
|
9733
9767
|
style: { display: "flex", flexDirection: "column", height: "100%" },
|
9768
|
+
"aria-label": "XPERT Chatbot Popup",
|
9769
|
+
role: "dialog",
|
9734
9770
|
children: U || w ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
9735
9771
|
/* @__PURE__ */ I.jsx(
|
9736
9772
|
Wo,
|
@@ -9745,7 +9781,7 @@ function Zo({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9745
9781
|
),
|
9746
9782
|
/* @__PURE__ */ I.jsxs("div", { style: { padding: "0 1.5rem", overflow: "auto" }, children: [
|
9747
9783
|
/* @__PURE__ */ I.jsx(
|
9748
|
-
|
9784
|
+
Ep,
|
9749
9785
|
{
|
9750
9786
|
messages: k,
|
9751
9787
|
loading: z,
|