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