@2uinc/frontend-component-xpert-chatbot 1.3.11-beta.7 → 1.3.11-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/lib/index.min.js +292 -287
  2. package/package.json +1 -1
@@ -182,7 +182,7 @@ const tl = {
182
182
  function Ue(e) {
183
183
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
184
184
  }
185
- function Ti(e) {
185
+ function Ii(e) {
186
186
  if (e.__esModule)
187
187
  return e;
188
188
  var t = e.default;
@@ -203,7 +203,7 @@ function Ti(e) {
203
203
  });
204
204
  }), n;
205
205
  }
206
- var Ii = { exports: {} }, ct = {};
206
+ var Ti = { exports: {} }, ct = {};
207
207
  /*
208
208
  object-assign
209
209
  (c) Sindre Sorhus
@@ -265,8 +265,8 @@ function vi(e, t, n) {
265
265
  }
266
266
  ct.jsx = vi;
267
267
  ct.jsxs = vi;
268
- Ii.exports = ct;
269
- var D = Ii.exports, ji = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
268
+ Ti.exports = ct;
269
+ var D = Ti.exports, ji = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
270
270
  function Ei() {
271
271
  }
272
272
  function Si() {
@@ -569,7 +569,7 @@ function zi(e) {
569
569
  return t;
570
570
  }
571
571
  const yr = /* @__PURE__ */ Object.create(null);
572
- function Tl(e, t) {
572
+ function Il(e, t) {
573
573
  return {
574
574
  provider: e,
575
575
  prefix: t,
@@ -579,14 +579,14 @@ function Tl(e, t) {
579
579
  }
580
580
  function Re(e, t) {
581
581
  const n = yr[e] || (yr[e] = /* @__PURE__ */ Object.create(null));
582
- return n[t] || (n[t] = Tl(e, t));
582
+ return n[t] || (n[t] = Il(e, t));
583
583
  }
584
584
  function Bn(e, t) {
585
585
  return zi(t) ? Oi(t, (n, r) => {
586
586
  r ? e.icons[n] = r : e.missing.add(n);
587
587
  }) : [];
588
588
  }
589
- function Il(e, t, n) {
589
+ function Tl(e, t, n) {
590
590
  try {
591
591
  if (typeof n.body == "string")
592
592
  return e.icons[t] = { ...n }, !0;
@@ -610,7 +610,7 @@ function vl(e, t) {
610
610
  if (!n)
611
611
  return !1;
612
612
  const r = Re(n.provider, n.prefix);
613
- return Il(r, n.name, t);
613
+ return Tl(r, n.name, t);
614
614
  }
615
615
  function jl(e, t) {
616
616
  if (typeof e != "object")
@@ -678,9 +678,9 @@ function Al(e, t) {
678
678
  height: n.height
679
679
  };
680
680
  let o = n.body;
681
- [n, r].forEach((T) => {
682
- const b = [], S = T.hFlip, w = T.vFlip;
683
- let v = T.rotate;
681
+ [n, r].forEach((I) => {
682
+ const b = [], S = I.hFlip, w = I.vFlip;
683
+ let v = I.rotate;
684
684
  S ? w ? v += 2 : (b.push(
685
685
  "translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
686
686
  ), b.push("scale(-1 1)"), i.top = i.left = 0) : w && (b.push(
@@ -709,8 +709,8 @@ function Al(e, t) {
709
709
  const l = r.width, a = r.height, s = i.width, u = i.height;
710
710
  let c, p;
711
711
  l === null ? (p = a === null ? "1em" : a === "auto" ? u : a, c = Mr(p, s / u)) : (c = l === "auto" ? s : l, p = a === null ? Mr(c, u / s) : a === "auto" ? u : a);
712
- const m = {}, f = (T, b) => {
713
- Cl(b) || (m[T] = b.toString());
712
+ const m = {}, f = (I, b) => {
713
+ Cl(b) || (m[I] = b.toString());
714
714
  };
715
715
  return f("width", c), f("height", p), m.viewBox = i.left.toString() + " " + i.top.toString() + " " + s.toString() + " " + u.toString(), {
716
716
  attributes: m,
@@ -741,7 +741,7 @@ const Nn = /* @__PURE__ */ Object.create(null);
741
741
  function Fl(e, t) {
742
742
  Nn[e] = t;
743
743
  }
744
- function Tn(e) {
744
+ function In(e) {
745
745
  return Nn[e] || Nn[""];
746
746
  }
747
747
  function Qn(e) {
@@ -1005,11 +1005,11 @@ function Kl(e, t, n, r) {
1005
1005
  const a = Date.now();
1006
1006
  let s = "pending", u = 0, c, p = null, m = [], f = [];
1007
1007
  typeof r == "function" && f.push(r);
1008
- function T() {
1008
+ function I() {
1009
1009
  p && (clearTimeout(p), p = null);
1010
1010
  }
1011
1011
  function b() {
1012
- s === "pending" && (s = "aborted"), T(), m.forEach((y) => {
1012
+ s === "pending" && (s = "aborted"), I(), m.forEach((y) => {
1013
1013
  y.status === "pending" && (y.status = "aborted");
1014
1014
  }), m = [];
1015
1015
  }
@@ -1057,7 +1057,7 @@ function Kl(e, t, n, r) {
1057
1057
  c = U, m.length || (l.length ? _() : v());
1058
1058
  return;
1059
1059
  }
1060
- if (T(), j(), !e.random) {
1060
+ if (I(), j(), !e.random) {
1061
1061
  const q = e.resources.indexOf(y.resource);
1062
1062
  q !== -1 && q !== e.index && (e.index = q);
1063
1063
  }
@@ -1068,12 +1068,12 @@ function Kl(e, t, n, r) {
1068
1068
  function _() {
1069
1069
  if (s !== "pending")
1070
1070
  return;
1071
- T();
1071
+ I();
1072
1072
  const y = l.shift();
1073
1073
  if (y === void 0) {
1074
1074
  if (m.length) {
1075
1075
  p = setTimeout(() => {
1076
- T(), s === "pending" && (j(), v());
1076
+ I(), s === "pending" && (j(), v());
1077
1077
  }, e.timeout);
1078
1078
  return;
1079
1079
  }
@@ -1143,7 +1143,7 @@ function Jl(e) {
1143
1143
  function ea(e, t, n) {
1144
1144
  let r, i;
1145
1145
  if (typeof e == "string") {
1146
- const o = Tn(e);
1146
+ const o = In(e);
1147
1147
  if (!o)
1148
1148
  return n(void 0, 424), br;
1149
1149
  i = o.send;
@@ -1153,14 +1153,14 @@ function ea(e, t, n) {
1153
1153
  const o = Qn(e);
1154
1154
  if (o) {
1155
1155
  r = _i(o);
1156
- const l = e.resources ? e.resources[0] : "", a = Tn(l);
1156
+ const l = e.resources ? e.resources[0] : "", a = In(l);
1157
1157
  a && (i = a.send);
1158
1158
  }
1159
1159
  }
1160
1160
  return !r || !i ? (n(void 0, 424), br) : r.query(t, i, n)().abort;
1161
1161
  }
1162
1162
  const wr = "iconify2", st = "iconify", Ui = st + "-count", Dr = st + "-version", Bi = 36e5, ta = 168;
1163
- function In(e, t) {
1163
+ function Tn(e, t) {
1164
1164
  try {
1165
1165
  return e.getItem(t);
1166
1166
  } catch {
@@ -1182,7 +1182,7 @@ function kn(e, t) {
1182
1182
  return qn(e, Ui, t.toString());
1183
1183
  }
1184
1184
  function vn(e) {
1185
- return parseInt(In(e, Ui)) || 0;
1185
+ return parseInt(Tn(e, Ui)) || 0;
1186
1186
  }
1187
1187
  const Ut = {
1188
1188
  local: !0,
@@ -1209,7 +1209,7 @@ function Hi(e, t) {
1209
1209
  const n = Yi(e);
1210
1210
  if (!n)
1211
1211
  return;
1212
- const r = In(n, Dr);
1212
+ const r = Tn(n, Dr);
1213
1213
  if (r !== wr) {
1214
1214
  if (r) {
1215
1215
  const a = vn(n);
@@ -1220,7 +1220,7 @@ function Hi(e, t) {
1220
1220
  return;
1221
1221
  }
1222
1222
  const i = Math.floor(Date.now() / Bi) - ta, o = (a) => {
1223
- const s = st + a.toString(), u = In(n, s);
1223
+ const s = st + a.toString(), u = Tn(n, s);
1224
1224
  if (typeof u == "string") {
1225
1225
  try {
1226
1226
  const c = JSON.parse(u);
@@ -1292,7 +1292,7 @@ function ia(e, t) {
1292
1292
  }
1293
1293
  t.lastModified && !ra(e, t.lastModified) || Object.keys(t.icons).length && (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1294
1294
  }
1295
- function Tr() {
1295
+ function Ir() {
1296
1296
  }
1297
1297
  function oa(e) {
1298
1298
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
@@ -1305,7 +1305,7 @@ function la(e, t) {
1305
1305
  const { provider: n, prefix: r } = e, i = e.iconsToLoad;
1306
1306
  delete e.iconsToLoad;
1307
1307
  let o;
1308
- if (!i || !(o = Tn(n)))
1308
+ if (!i || !(o = In(n)))
1309
1309
  return;
1310
1310
  o.prepare(n, r, i).forEach((a) => {
1311
1311
  ea(n, a, (s) => {
@@ -1342,7 +1342,7 @@ const aa = (e, t) => {
1342
1342
  r.loaded,
1343
1343
  r.missing,
1344
1344
  r.pending,
1345
- Tr
1345
+ Ir
1346
1346
  );
1347
1347
  }), () => {
1348
1348
  s = !1;
@@ -1363,7 +1363,7 @@ const aa = (e, t) => {
1363
1363
  }), o.forEach((s) => {
1364
1364
  const { provider: u, prefix: c } = s;
1365
1365
  i[u][c].length && la(s, i[u][c]);
1366
- }), t ? Zl(t, r, o) : Tr;
1366
+ }), t ? Zl(t, r, o) : Ir;
1367
1367
  };
1368
1368
  function ua(e, t) {
1369
1369
  const n = {
@@ -1457,7 +1457,7 @@ const $i = {
1457
1457
  backgroundColor: "currentColor"
1458
1458
  }, Vi = {
1459
1459
  backgroundColor: "transparent"
1460
- }, Ir = {
1460
+ }, Tr = {
1461
1461
  Image: "var(--svg)",
1462
1462
  Repeat: "no-repeat",
1463
1463
  Size: "100% 100%"
@@ -1468,8 +1468,8 @@ const $i = {
1468
1468
  };
1469
1469
  for (const e in kr) {
1470
1470
  const t = kr[e];
1471
- for (const n in Ir)
1472
- t[e + n] = Ir[n];
1471
+ for (const n in Tr)
1472
+ t[e + n] = Tr[n];
1473
1473
  }
1474
1474
  const ba = {
1475
1475
  ...$i,
@@ -1528,10 +1528,10 @@ const wa = (e, t, n, r) => {
1528
1528
  __html: ya(Pl(c.body, v ? () => v + "ID" + w++ : "iconifyReact"))
1529
1529
  }, ue.createElement("svg", u);
1530
1530
  }
1531
- const { body: m, width: f, height: T } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
1531
+ const { body: m, width: f, height: I } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
1532
1532
  ...p,
1533
1533
  width: f + "",
1534
- height: T + ""
1534
+ height: I + ""
1535
1535
  });
1536
1536
  return u.style = {
1537
1537
  ...a,
@@ -1867,7 +1867,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1867
1867
  n === void 0 && (n = !0);
1868
1868
  var i = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), o = i === "" || i === "true", l = o || n && t && e(t.parentNode);
1869
1869
  return l;
1870
- }, Ta = function(t) {
1870
+ }, Ia = function(t) {
1871
1871
  var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
1872
1872
  return r === "" || r === "true";
1873
1873
  }, Ji = function(t, n, r) {
@@ -1906,8 +1906,8 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1906
1906
  }, Ce = function(t) {
1907
1907
  if (!t)
1908
1908
  throw new Error("No node provided");
1909
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ta(t)) && !to(t) ? 0 : t.tabIndex;
1910
- }, Ia = function(t, n) {
1909
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ia(t)) && !to(t) ? 0 : t.tabIndex;
1910
+ }, Ta = function(t, n) {
1911
1911
  var r = Ce(t);
1912
1912
  return r < 0 && n && !to(t) ? 0 : r;
1913
1913
  }, ka = function(t, n) {
@@ -2010,7 +2010,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2010
2010
  }, Fa = function e(t) {
2011
2011
  var n = [], r = [];
2012
2012
  return t.forEach(function(i, o) {
2013
- var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = Ia(a, l), u = l ? e(i.candidates) : a;
2013
+ var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = Ta(a, l), u = l ? e(i.candidates) : a;
2014
2014
  s === 0 ? l ? n.push.apply(n, u) : n.push(a) : r.push({
2015
2015
  documentOrder: o,
2016
2016
  tabIndex: s,
@@ -2286,7 +2286,7 @@ var Ar = {
2286
2286
  var N = M.activeElement;
2287
2287
  if (N)
2288
2288
  return N.shadowRoot && N.shadowRoot.activeElement !== null ? E(N.shadowRoot) : N;
2289
- }, T = function E(M) {
2289
+ }, I = function E(M) {
2290
2290
  if (M !== !1 && M !== f(document)) {
2291
2291
  if (!M || !M.focus) {
2292
2292
  E(p());
@@ -2377,7 +2377,7 @@ var Ar = {
2377
2377
  // outside the trap causing the focus escape we're trying to fix)
2378
2378
  target: l.mostRecentlyFocusedNode,
2379
2379
  isBackward: o.isKeyBackward(l.recentNavEvent)
2380
- })), T(z || l.mostRecentlyFocusedNode || p());
2380
+ })), I(z || l.mostRecentlyFocusedNode || p());
2381
2381
  }
2382
2382
  l.recentNavEvent = void 0;
2383
2383
  }, j = function(M) {
@@ -2387,7 +2387,7 @@ var Ar = {
2387
2387
  event: M,
2388
2388
  isBackward: N
2389
2389
  });
2390
- C && (it(M) && M.preventDefault(), T(C));
2390
+ C && (it(M) && M.preventDefault(), I(C));
2391
2391
  }, B = function(M) {
2392
2392
  if (Ha(M) && Ke(o.escapeDeactivates, M) !== !1) {
2393
2393
  M.preventDefault(), a.deactivate();
@@ -2400,8 +2400,8 @@ var Ar = {
2400
2400
  }, y = function() {
2401
2401
  if (l.active)
2402
2402
  return Ar.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? Or(function() {
2403
- T(p());
2404
- }) : T(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
2403
+ I(p());
2404
+ }) : I(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
2405
2405
  capture: !0,
2406
2406
  passive: !1
2407
2407
  }), r.addEventListener("touchstart", w, {
@@ -2424,7 +2424,7 @@ var Ar = {
2424
2424
  return F === l.mostRecentlyFocusedNode;
2425
2425
  });
2426
2426
  });
2427
- N && T(p());
2427
+ N && I(p());
2428
2428
  }, Q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(U) : void 0, q = function() {
2429
2429
  Q && (Q.disconnect(), l.active && !l.paused && l.containers.map(function(M) {
2430
2430
  Q.observe(M, {
@@ -2463,7 +2463,7 @@ var Ar = {
2463
2463
  C == null || C();
2464
2464
  var V = function() {
2465
2465
  Or(function() {
2466
- Y && T(b(l.nodeFocusedBeforeActivation)), z == null || z();
2466
+ Y && I(b(l.nodeFocusedBeforeActivation)), z == null || z();
2467
2467
  });
2468
2468
  };
2469
2469
  return Y && F ? (F(b(l.nodeFocusedBeforeActivation)).then(V, V), this) : (V(), this);
@@ -2491,7 +2491,7 @@ var Ar = {
2491
2491
  const Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2492
2492
  __proto__: null,
2493
2493
  createFocusTrap: Wa
2494
- }, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Ti(Za), Xa = /* @__PURE__ */ Ti(_a);
2494
+ }, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Ii(Za), Xa = /* @__PURE__ */ Ii(_a);
2495
2495
  function He(e) {
2496
2496
  "@babel/helpers - typeof";
2497
2497
  return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -2583,7 +2583,7 @@ function ou(e, t) {
2583
2583
  }
2584
2584
  return (t === "string" ? String : Number)(e);
2585
2585
  }
2586
- var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusable, Zn = /* @__PURE__ */ function(e) {
2586
+ var It = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusable, Zn = /* @__PURE__ */ function(e) {
2587
2587
  eu(n, e);
2588
2588
  var t = tu(n);
2589
2589
  function n(r) {
@@ -2602,8 +2602,8 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2602
2602
  }
2603
2603
  var f = u;
2604
2604
  if (typeof u == "string") {
2605
- var T;
2606
- if (f = (T = this.getDocument()) === null || T === void 0 ? void 0 : T.querySelector(u), !f)
2605
+ var I;
2606
+ if (f = (I = this.getDocument()) === null || I === void 0 ? void 0 : I.querySelector(u), !f)
2607
2607
  throw new Error("`".concat(a, "` as selector refers to no known node"));
2608
2608
  }
2609
2609
  return f;
@@ -2755,14 +2755,14 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2755
2755
  }, {
2756
2756
  key: "render",
2757
2757
  value: function() {
2758
- var i = this, o = this.props.children ? Tt.Children.only(this.props.children) : void 0;
2758
+ var i = this, o = this.props.children ? It.Children.only(this.props.children) : void 0;
2759
2759
  if (o) {
2760
- if (o.type && o.type === Tt.Fragment)
2760
+ if (o.type && o.type === It.Fragment)
2761
2761
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
2762
2762
  var l = function(u) {
2763
2763
  var c = i.props.containerElements;
2764
2764
  o && (typeof o.ref == "function" ? o.ref(u) : o.ref && (o.ref.current = u)), i.focusTrapElements = c || [u];
2765
- }, a = Tt.cloneElement(o, {
2765
+ }, a = It.cloneElement(o, {
2766
2766
  ref: l
2767
2767
  });
2768
2768
  return a;
@@ -2770,7 +2770,7 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2770
2770
  return null;
2771
2771
  }
2772
2772
  }]), n;
2773
- }(Tt.Component), Je = typeof Element > "u" ? Function : Element;
2773
+ }(It.Component), Je = typeof Element > "u" ? Function : Element;
2774
2774
  Zn.propTypes = {
2775
2775
  active: P.bool,
2776
2776
  paused: P.bool,
@@ -2996,6 +2996,8 @@ function Qt({
2996
2996
  borderRadius: "1rem",
2997
2997
  padding: "12.5px 45px 12.5px 12.5px",
2998
2998
  fontFamily: "inherit",
2999
+ fontSize: "1rem",
3000
+ // required to avoid IOS mobile scaling when input is focused
2999
3001
  fontWeight: "300",
3000
3002
  lineHeight: "1.56rem",
3001
3003
  boxSizing: "border-box",
@@ -3326,7 +3328,7 @@ xe.prototype.line = null;
3326
3328
  xe.prototype.source = null;
3327
3329
  xe.prototype.ruleId = null;
3328
3330
  xe.prototype.position = null;
3329
- const Te = { basename: wu, dirname: Du, extname: Nu, join: Tu, sep: "/" };
3331
+ const Ie = { basename: wu, dirname: Du, extname: Nu, join: Iu, sep: "/" };
3330
3332
  function wu(e, t) {
3331
3333
  if (t !== void 0 && typeof t != "string")
3332
3334
  throw new TypeError('"ext" argument must be a string');
@@ -3388,13 +3390,13 @@ function Nu(e) {
3388
3390
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
3389
3391
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
3390
3392
  }
3391
- function Tu(...e) {
3393
+ function Iu(...e) {
3392
3394
  let t = -1, n;
3393
3395
  for (; ++t < e.length; )
3394
3396
  ft(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
3395
- return n === void 0 ? "." : Iu(n);
3397
+ return n === void 0 ? "." : Tu(n);
3396
3398
  }
3397
- function Iu(e) {
3399
+ function Tu(e) {
3398
3400
  ft(e);
3399
3401
  const t = e.charCodeAt(0) === 47;
3400
3402
  let n = ku(e, !t);
@@ -3544,7 +3546,7 @@ class po {
3544
3546
  * Get the parent path (example: `'~'`).
3545
3547
  */
3546
3548
  get dirname() {
3547
- return typeof this.path == "string" ? Te.dirname(this.path) : void 0;
3549
+ return typeof this.path == "string" ? Ie.dirname(this.path) : void 0;
3548
3550
  }
3549
3551
  /**
3550
3552
  * Set the parent path (example: `'~'`).
@@ -3552,13 +3554,13 @@ class po {
3552
3554
  * Cannot be set if there’s no `path` yet.
3553
3555
  */
3554
3556
  set dirname(t) {
3555
- _r(this.basename, "dirname"), this.path = Te.join(t || "", this.basename);
3557
+ _r(this.basename, "dirname"), this.path = Ie.join(t || "", this.basename);
3556
3558
  }
3557
3559
  /**
3558
3560
  * Get the basename (including extname) (example: `'index.min.js'`).
3559
3561
  */
3560
3562
  get basename() {
3561
- return typeof this.path == "string" ? Te.basename(this.path) : void 0;
3563
+ return typeof this.path == "string" ? Ie.basename(this.path) : void 0;
3562
3564
  }
3563
3565
  /**
3564
3566
  * Set basename (including extname) (`'index.min.js'`).
@@ -3568,13 +3570,13 @@ class po {
3568
3570
  * Cannot be nullified (use `file.path = file.dirname` instead).
3569
3571
  */
3570
3572
  set basename(t) {
3571
- dn(t, "basename"), fn(t, "basename"), this.path = Te.join(this.dirname || "", t);
3573
+ dn(t, "basename"), fn(t, "basename"), this.path = Ie.join(this.dirname || "", t);
3572
3574
  }
3573
3575
  /**
3574
3576
  * Get the extname (including dot) (example: `'.js'`).
3575
3577
  */
3576
3578
  get extname() {
3577
- return typeof this.path == "string" ? Te.extname(this.path) : void 0;
3579
+ return typeof this.path == "string" ? Ie.extname(this.path) : void 0;
3578
3580
  }
3579
3581
  /**
3580
3582
  * Set the extname (including dot) (example: `'.js'`).
@@ -3590,13 +3592,13 @@ class po {
3590
3592
  if (t.includes(".", 1))
3591
3593
  throw new Error("`extname` cannot contain multiple dots");
3592
3594
  }
3593
- this.path = Te.join(this.dirname, this.stem + (t || ""));
3595
+ this.path = Ie.join(this.dirname, this.stem + (t || ""));
3594
3596
  }
3595
3597
  /**
3596
3598
  * Get the stem (basename w/o extname) (example: `'index.min'`).
3597
3599
  */
3598
3600
  get stem() {
3599
- return typeof this.path == "string" ? Te.basename(this.path, this.extname) : void 0;
3601
+ return typeof this.path == "string" ? Ie.basename(this.path, this.extname) : void 0;
3600
3602
  }
3601
3603
  /**
3602
3604
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -3606,7 +3608,7 @@ class po {
3606
3608
  * Cannot be nullified (use `file.path = file.dirname` instead).
3607
3609
  */
3608
3610
  set stem(t) {
3609
- dn(t, "stem"), fn(t, "stem"), this.path = Te.join(this.dirname || "", t + (this.extname || ""));
3611
+ dn(t, "stem"), fn(t, "stem"), this.path = Ie.join(this.dirname || "", t + (this.extname || ""));
3610
3612
  }
3611
3613
  /**
3612
3614
  * Serialize the file.
@@ -3686,9 +3688,9 @@ class po {
3686
3688
  }
3687
3689
  }
3688
3690
  function fn(e, t) {
3689
- if (e && e.includes(Te.sep))
3691
+ if (e && e.includes(Ie.sep))
3690
3692
  throw new Error(
3691
- "`" + t + "` cannot be a path: did not expect `" + Te.sep + "`"
3693
+ "`" + t + "` cannot be a path: did not expect `" + Ie.sep + "`"
3692
3694
  );
3693
3695
  }
3694
3696
  function dn(e, t) {
@@ -3808,7 +3810,7 @@ const Lu = go().freeze(), ho = {}.hasOwnProperty;
3808
3810
  function go() {
3809
3811
  const e = Ou(), t = [];
3810
3812
  let n = {}, r, i = -1;
3811
- return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = T, o;
3813
+ return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = I, o;
3812
3814
  function o() {
3813
3815
  const b = go();
3814
3816
  let S = -1;
@@ -3925,7 +3927,7 @@ function go() {
3925
3927
  }
3926
3928
  }
3927
3929
  }
3928
- function T(b) {
3930
+ function I(b) {
3929
3931
  let S;
3930
3932
  o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
3931
3933
  const w = et(b);
@@ -4054,7 +4056,7 @@ function Hu(e, t) {
4054
4056
  (t[n].add === "after" ? e : r).push(t[n]);
4055
4057
  ke(e, 0, 0, r);
4056
4058
  }
4057
- 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 = ze(/[A-Za-z]/), me = ze(/[\dA-Za-z]/), $u = ze(/[#-'*+\--9=?A-Z^-~]/);
4059
+ 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]/, Te = ze(/[A-Za-z]/), me = ze(/[\dA-Za-z]/), $u = ze(/[#-'*+\--9=?A-Z^-~]/);
4058
4060
  function zn(e) {
4059
4061
  return (
4060
4062
  // Special whitespace codes (which have negative values), C0 and Control
@@ -4174,7 +4176,7 @@ function es(e) {
4174
4176
  if (!i)
4175
4177
  return m(j);
4176
4178
  if (i.currentConstruct && i.currentConstruct.concrete)
4177
- return T(j);
4179
+ return I(j);
4178
4180
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
4179
4181
  }
4180
4182
  return t.containerState = {}, e.check(
@@ -4187,19 +4189,19 @@ function es(e) {
4187
4189
  return i && v(), w(r), m(j);
4188
4190
  }
4189
4191
  function p(j) {
4190
- return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, T(j);
4192
+ return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, I(j);
4191
4193
  }
4192
4194
  function m(j) {
4193
4195
  return t.containerState = {}, e.attempt(
4194
4196
  Jr,
4195
4197
  f,
4196
- T
4198
+ I
4197
4199
  )(j);
4198
4200
  }
4199
4201
  function f(j) {
4200
4202
  return r++, n.push([t.currentConstruct, t.containerState]), m(j);
4201
4203
  }
4202
- function T(j) {
4204
+ function I(j) {
4203
4205
  if (j === null) {
4204
4206
  i && v(), w(0), e.consume(j);
4205
4207
  return;
@@ -4375,7 +4377,7 @@ function os(e, t, n) {
4375
4377
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4376
4378
  }
4377
4379
  function o(f) {
4378
- return Ie(f) ? (e.consume(f), l) : u(f);
4380
+ return Te(f) ? (e.consume(f), l) : u(f);
4379
4381
  }
4380
4382
  function l(f) {
4381
4383
  return f === 43 || f === 45 || f === 46 || me(f) ? (r = 1, a(f)) : u(f);
@@ -4397,8 +4399,8 @@ function os(e, t, n) {
4397
4399
  }
4398
4400
  function m(f) {
4399
4401
  if ((f === 45 || me(f)) && r++ < 63) {
4400
- const T = f === 45 ? m : p;
4401
- return e.consume(f), T;
4402
+ const I = f === 45 ? m : p;
4403
+ return e.consume(f), I;
4402
4404
  }
4403
4405
  return n(f);
4404
4406
  }
@@ -4539,10 +4541,10 @@ function fs(e, t, n) {
4539
4541
  function f(y) {
4540
4542
  return y === null || R(y) ? p(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4541
4543
  contentType: "string"
4542
- }), T(y));
4544
+ }), I(y));
4543
4545
  }
4544
- function T(y) {
4545
- return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), T);
4546
+ function I(y) {
4547
+ return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), I);
4546
4548
  }
4547
4549
  function b(y) {
4548
4550
  return e.attempt(i, B, S)(y);
@@ -4704,7 +4706,7 @@ function ws(e, t) {
4704
4706
  const n = e[t][1], r = e[t][2];
4705
4707
  let i = t - 1;
4706
4708
  const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], u = {};
4707
- let c, p, m = -1, f = n, T = 0, b = 0;
4709
+ let c, p, m = -1, f = n, I = 0, b = 0;
4708
4710
  const S = [b];
4709
4711
  for (; f; ) {
4710
4712
  for (; e[++i][1] !== f; )
@@ -4719,20 +4721,20 @@ function ws(e, t) {
4719
4721
  s.unshift([v, v + w.length - 1]), ke(e, v, 2, w);
4720
4722
  }
4721
4723
  for (m = -1; ++m < s.length; )
4722
- u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
4724
+ u[I + s[m][0]] = I + s[m][1], I += s[m][1] - s[m][0] - 1;
4723
4725
  return u;
4724
4726
  }
4725
4727
  const Ds = {
4726
- tokenize: Is,
4727
- resolve: Ts
4728
+ tokenize: Ts,
4729
+ resolve: Is
4728
4730
  }, Ns = {
4729
4731
  tokenize: ks,
4730
4732
  partial: !0
4731
4733
  };
4732
- function Ts(e) {
4734
+ function Is(e) {
4733
4735
  return bo(e), e;
4734
4736
  }
4735
- function Is(e, t) {
4737
+ function Ts(e, t) {
4736
4738
  let n;
4737
4739
  return r;
4738
4740
  function r(a) {
@@ -4785,9 +4787,9 @@ function wo(e, t, n, r, i, o, l, a, s) {
4785
4787
  }), f(w));
4786
4788
  }
4787
4789
  function f(w) {
4788
- return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ? T : f);
4790
+ return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ? I : f);
4789
4791
  }
4790
- function T(w) {
4792
+ function I(w) {
4791
4793
  return w === 60 || w === 62 || w === 92 ? (e.consume(w), f) : f(w);
4792
4794
  }
4793
4795
  function b(w) {
@@ -5085,20 +5087,20 @@ function Bs(e, t, n) {
5085
5087
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), p;
5086
5088
  }
5087
5089
  function p(h) {
5088
- return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : Ie(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5090
+ return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5089
5091
  }
5090
5092
  function m(h) {
5091
- return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, T) : Ie(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
5093
+ return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, I) : Te(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
5092
5094
  }
5093
5095
  function f(h) {
5094
5096
  return h === 45 ? (e.consume(h), r.interrupt ? t : d) : n(h);
5095
5097
  }
5096
- function T(h) {
5098
+ function I(h) {
5097
5099
  const re = "CDATA[";
5098
- return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : T) : n(h);
5100
+ return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : I) : n(h);
5099
5101
  }
5100
5102
  function b(h) {
5101
- return Ie(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5103
+ return Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5102
5104
  }
5103
5105
  function S(h) {
5104
5106
  if (h === null || h === 47 || h === 62 || de(h)) {
@@ -5114,7 +5116,7 @@ function Bs(e, t, n) {
5114
5116
  return Z(h) ? (e.consume(h), v) : q(h);
5115
5117
  }
5116
5118
  function j(h) {
5117
- return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || Ie(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), j) : q(h);
5119
+ return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || Te(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), j) : q(h);
5118
5120
  }
5119
5121
  function B(h) {
5120
5122
  return h === 45 || h === 46 || h === 58 || h === 95 || me(h) ? (e.consume(h), B) : _(h);
@@ -5171,7 +5173,7 @@ function Bs(e, t, n) {
5171
5173
  const re = l.toLowerCase();
5172
5174
  return oi.includes(re) ? (e.consume(h), ne) : M(h);
5173
5175
  }
5174
- return Ie(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5176
+ return Te(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5175
5177
  }
5176
5178
  function X(h) {
5177
5179
  return h === 93 ? (e.consume(h), d) : M(h);
@@ -5214,10 +5216,10 @@ function qs(e, t, n) {
5214
5216
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(d), s;
5215
5217
  }
5216
5218
  function s(d) {
5217
- return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) : Ie(d) ? (e.consume(d), U) : n(d);
5219
+ return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) : Te(d) ? (e.consume(d), U) : n(d);
5218
5220
  }
5219
5221
  function u(d) {
5220
- return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : Ie(d) ? (e.consume(d), v) : n(d);
5222
+ return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, I) : Te(d) ? (e.consume(d), v) : n(d);
5221
5223
  }
5222
5224
  function c(d) {
5223
5225
  return d === 45 ? (e.consume(d), f) : n(d);
@@ -5231,9 +5233,9 @@ function qs(e, t, n) {
5231
5233
  function f(d) {
5232
5234
  return d === 62 ? F(d) : d === 45 ? m(d) : p(d);
5233
5235
  }
5234
- function T(d) {
5236
+ function I(d) {
5235
5237
  const ne = "CDATA[";
5236
- return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b : T) : n(d);
5238
+ return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b : I) : n(d);
5237
5239
  }
5238
5240
  function b(d) {
5239
5241
  return d === null ? n(d) : d === 93 ? (e.consume(d), S) : R(d) ? (l = b, Y(d)) : (e.consume(d), b);
@@ -5254,7 +5256,7 @@ function qs(e, t, n) {
5254
5256
  return d === 62 ? F(d) : j(d);
5255
5257
  }
5256
5258
  function _(d) {
5257
- return Ie(d) ? (e.consume(d), y) : n(d);
5259
+ return Te(d) ? (e.consume(d), y) : n(d);
5258
5260
  }
5259
5261
  function y(d) {
5260
5262
  return d === 45 || me(d) ? (e.consume(d), y) : A(d);
@@ -5266,7 +5268,7 @@ function qs(e, t, n) {
5266
5268
  return d === 45 || me(d) ? (e.consume(d), U) : d === 47 || d === 62 || de(d) ? Q(d) : n(d);
5267
5269
  }
5268
5270
  function Q(d) {
5269
- return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Ie(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
5271
+ return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Te(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
5270
5272
  }
5271
5273
  function q(d) {
5272
5274
  return d === 45 || d === 46 || d === 58 || d === 95 || me(d) ? (e.consume(d), q) : E(d);
@@ -5572,11 +5574,11 @@ function sc(e, t, n) {
5572
5574
  let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, l = 0;
5573
5575
  return a;
5574
5576
  function a(f) {
5575
- const T = r.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
5576
- if (T === "listUnordered" ? !r.containerState.marker || f === r.containerState.marker : Ln(f)) {
5577
- if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
5577
+ const I = r.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
5578
+ if (I === "listUnordered" ? !r.containerState.marker || f === r.containerState.marker : Ln(f)) {
5579
+ if (r.containerState.type || (r.containerState.type = I, e.enter(I, {
5578
5580
  _container: !0
5579
- })), T === "listUnordered")
5581
+ })), I === "listUnordered")
5580
5582
  return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ct, n, u)(f) : u(f);
5581
5583
  if (!r.interrupt || f === 49)
5582
5584
  return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f);
@@ -5746,12 +5748,12 @@ function yc(e) {
5746
5748
  }
5747
5749
  }
5748
5750
  const Mc = {
5749
- resolveAll: Io()
5750
- }, xc = To("string"), bc = To("text");
5751
- function To(e) {
5751
+ resolveAll: To()
5752
+ }, xc = Io("string"), bc = Io("text");
5753
+ function Io(e) {
5752
5754
  return {
5753
5755
  tokenize: t,
5754
- resolveAll: Io(
5756
+ resolveAll: To(
5755
5757
  e === "text" ? wc : void 0
5756
5758
  )
5757
5759
  };
@@ -5786,7 +5788,7 @@ function To(e) {
5786
5788
  }
5787
5789
  }
5788
5790
  }
5789
- function Io(e) {
5791
+ function To(e) {
5790
5792
  return t;
5791
5793
  function t(n, r) {
5792
5794
  let i = -1, o;
@@ -5870,7 +5872,7 @@ function Dc(e, t, n) {
5870
5872
  parser: e,
5871
5873
  sliceStream: f,
5872
5874
  sliceSerialize: m,
5873
- now: T,
5875
+ now: I,
5874
5876
  defineSkip: b,
5875
5877
  write: p
5876
5878
  };
@@ -5880,12 +5882,12 @@ function Dc(e, t, n) {
5880
5882
  return l = Me(l, E), S(), l[l.length - 1] !== null ? [] : (U(t, 0), u.events = Gn(o, u.events, u), u.events);
5881
5883
  }
5882
5884
  function m(E, M) {
5883
- return Tc(f(E), M);
5885
+ return Ic(f(E), M);
5884
5886
  }
5885
5887
  function f(E) {
5886
5888
  return Nc(l, E);
5887
5889
  }
5888
- function T() {
5890
+ function I() {
5889
5891
  const { line: E, column: M, offset: N, _index: C, _bufferIndex: z } = r;
5890
5892
  return {
5891
5893
  line: E,
@@ -5917,11 +5919,11 @@ function Dc(e, t, n) {
5917
5919
  }
5918
5920
  function j(E, M) {
5919
5921
  const N = M || {};
5920
- return N.type = E, N.start = T(), u.events.push(["enter", N, u]), a.push(N), N;
5922
+ return N.type = E, N.start = I(), u.events.push(["enter", N, u]), a.push(N), N;
5921
5923
  }
5922
5924
  function B(E) {
5923
5925
  const M = a.pop();
5924
- return M.end = T(), u.events.push(["exit", M, u]), M;
5926
+ return M.end = I(), u.events.push(["exit", M, u]), M;
5925
5927
  }
5926
5928
  function _(E, M) {
5927
5929
  U(E, M.from);
@@ -5983,7 +5985,7 @@ function Dc(e, t, n) {
5983
5985
  ), E.resolveTo && (u.events = E.resolveTo(u.events, u));
5984
5986
  }
5985
5987
  function Q() {
5986
- const E = T(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
5988
+ const E = I(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
5987
5989
  return {
5988
5990
  restore: F,
5989
5991
  from: C
@@ -6010,7 +6012,7 @@ function Nc(e, t) {
6010
6012
  }
6011
6013
  return l;
6012
6014
  }
6013
- function Tc(e, t) {
6015
+ function Ic(e, t) {
6014
6016
  let n = -1;
6015
6017
  const r = [];
6016
6018
  let i;
@@ -6052,7 +6054,7 @@ function Tc(e, t) {
6052
6054
  }
6053
6055
  return r.join("");
6054
6056
  }
6055
- const Ic = {
6057
+ const Tc = {
6056
6058
  42: fe,
6057
6059
  43: fe,
6058
6060
  45: fe,
@@ -6109,7 +6111,7 @@ const Ic = {
6109
6111
  attentionMarkers: Ac,
6110
6112
  contentInitial: kc,
6111
6113
  disable: Oc,
6112
- document: Ic,
6114
+ document: Tc,
6113
6115
  flow: jc,
6114
6116
  flowInitial: vc,
6115
6117
  insideSpan: Cc,
@@ -6260,7 +6262,7 @@ function Qc(e) {
6260
6262
  label: s,
6261
6263
  link: a(Mt),
6262
6264
  listItem: a(xt),
6263
- listItemValue: T,
6265
+ listItemValue: I,
6264
6266
  listOrdered: a(We, f),
6265
6267
  listUnordered: a(We),
6266
6268
  paragraph: a(ln),
@@ -6327,12 +6329,12 @@ function Qc(e) {
6327
6329
  const n = {};
6328
6330
  return r;
6329
6331
  function r(x) {
6330
- let I = {
6332
+ let T = {
6331
6333
  type: "root",
6332
6334
  children: []
6333
6335
  };
6334
6336
  const O = {
6335
- stack: [I],
6337
+ stack: [T],
6336
6338
  tokenStack: [],
6337
6339
  config: t,
6338
6340
  enter: u,
@@ -6367,7 +6369,7 @@ function Qc(e) {
6367
6369
  const ce = O.tokenStack[O.tokenStack.length - 1];
6368
6370
  (ce[1] || ui).call(O, void 0, ce[0]);
6369
6371
  }
6370
- for (I.position = {
6372
+ for (T.position = {
6371
6373
  start: Se(
6372
6374
  x.length > 0 ? x[0][1].start : {
6373
6375
  line: 1,
@@ -6383,11 +6385,11 @@ function Qc(e) {
6383
6385
  }
6384
6386
  )
6385
6387
  }, K = -1; ++K < t.transforms.length; )
6386
- I = t.transforms[K](I) || I;
6387
- return I;
6388
+ T = t.transforms[K](T) || T;
6389
+ return T;
6388
6390
  }
6389
- function i(x, I, O) {
6390
- let $ = I - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6391
+ function i(x, T, O) {
6392
+ let $ = T - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6391
6393
  for (; ++$ <= O; ) {
6392
6394
  const ie = x[$];
6393
6395
  if (ie[1].type === "listUnordered" || ie[1].type === "listOrdered" || ie[1].type === "blockQuote" ? (ie[0] === "enter" ? K++ : K--, Ge = void 0) : ie[1].type === "lineEndingBlank" ? ie[0] === "enter" && (Ne && !Ge && !K && !Ze && (Ze = $), Ge = void 0) : ie[1].type === "linePrefix" || ie[1].type === "listItemValue" || ie[1].type === "listItemMarker" || ie[1].type === "listItemPrefix" || ie[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !K && ie[0] === "enter" && ie[1].type === "listItemPrefix" || K === -1 && ie[0] === "exit" && (ie[1].type === "listUnordered" || ie[1].type === "listOrdered")) {
@@ -6416,18 +6418,18 @@ function Qc(e) {
6416
6418
  }, x.splice($, 0, ["enter", Ne, ie[2]]), $++, O++, Ze = void 0, Ge = !0);
6417
6419
  }
6418
6420
  }
6419
- return x[I][1]._spread = ce, O;
6421
+ return x[T][1]._spread = ce, O;
6420
6422
  }
6421
- function o(x, I) {
6422
- n[x] = I;
6423
+ function o(x, T) {
6424
+ n[x] = T;
6423
6425
  }
6424
6426
  function l(x) {
6425
6427
  return n[x];
6426
6428
  }
6427
- function a(x, I) {
6429
+ function a(x, T) {
6428
6430
  return O;
6429
6431
  function O($) {
6430
- u.call(this, x($), $), I && I.call(this, $);
6432
+ u.call(this, x($), $), T && T.call(this, $);
6431
6433
  }
6432
6434
  }
6433
6435
  function s() {
@@ -6436,21 +6438,21 @@ function Qc(e) {
6436
6438
  children: []
6437
6439
  });
6438
6440
  }
6439
- function u(x, I, O) {
6440
- return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([I, O]), x.position = {
6441
- start: Se(I.start)
6441
+ function u(x, T, O) {
6442
+ return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([T, O]), x.position = {
6443
+ start: Se(T.start)
6442
6444
  }, x;
6443
6445
  }
6444
6446
  function c(x) {
6445
- return I;
6446
- function I(O) {
6447
+ return T;
6448
+ function T(O) {
6447
6449
  x && x.call(this, O), p.call(this, O);
6448
6450
  }
6449
6451
  }
6450
- function p(x, I) {
6452
+ function p(x, T) {
6451
6453
  const O = this.stack.pop(), $ = this.tokenStack.pop();
6452
6454
  if ($)
6453
- $[0].type !== x.type && (I ? I.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6455
+ $[0].type !== x.type && (T ? T.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6454
6456
  else
6455
6457
  throw new Error(
6456
6458
  "Cannot close `" + x.type + "` (" + ot({
@@ -6466,102 +6468,102 @@ function Qc(e) {
6466
6468
  function f() {
6467
6469
  o("expectingFirstListItemValue", !0);
6468
6470
  }
6469
- function T(x) {
6471
+ function I(x) {
6470
6472
  if (l("expectingFirstListItemValue")) {
6471
- const I = this.stack[this.stack.length - 2];
6472
- I.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6473
+ const T = this.stack[this.stack.length - 2];
6474
+ T.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6473
6475
  }
6474
6476
  }
6475
6477
  function b() {
6476
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6477
- I.lang = x;
6478
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6479
+ T.lang = x;
6478
6480
  }
6479
6481
  function S() {
6480
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6481
- I.meta = x;
6482
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6483
+ T.meta = x;
6482
6484
  }
6483
6485
  function w() {
6484
6486
  l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
6485
6487
  }
6486
6488
  function v() {
6487
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6488
- I.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6489
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6490
+ T.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6489
6491
  }
6490
6492
  function j() {
6491
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6492
- I.value = x.replace(/(\r?\n|\r)$/g, "");
6493
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6494
+ T.value = x.replace(/(\r?\n|\r)$/g, "");
6493
6495
  }
6494
6496
  function B(x) {
6495
- const I = this.resume(), O = this.stack[this.stack.length - 1];
6496
- O.label = I, O.identifier = Qe(
6497
+ const T = this.resume(), O = this.stack[this.stack.length - 1];
6498
+ O.label = T, O.identifier = Qe(
6497
6499
  this.sliceSerialize(x)
6498
6500
  ).toLowerCase();
6499
6501
  }
6500
6502
  function _() {
6501
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6502
- I.title = x;
6503
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6504
+ T.title = x;
6503
6505
  }
6504
6506
  function y() {
6505
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6506
- I.url = x;
6507
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6508
+ T.url = x;
6507
6509
  }
6508
6510
  function A(x) {
6509
- const I = this.stack[this.stack.length - 1];
6510
- if (!I.depth) {
6511
+ const T = this.stack[this.stack.length - 1];
6512
+ if (!T.depth) {
6511
6513
  const O = this.sliceSerialize(x).length;
6512
- I.depth = O;
6514
+ T.depth = O;
6513
6515
  }
6514
6516
  }
6515
6517
  function U() {
6516
6518
  o("setextHeadingSlurpLineEnding", !0);
6517
6519
  }
6518
6520
  function Q(x) {
6519
- const I = this.stack[this.stack.length - 1];
6520
- I.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6521
+ const T = this.stack[this.stack.length - 1];
6522
+ T.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6521
6523
  }
6522
6524
  function q() {
6523
6525
  o("setextHeadingSlurpLineEnding");
6524
6526
  }
6525
6527
  function E(x) {
6526
- const I = this.stack[this.stack.length - 1];
6527
- let O = I.children[I.children.length - 1];
6528
+ const T = this.stack[this.stack.length - 1];
6529
+ let O = T.children[T.children.length - 1];
6528
6530
  (!O || O.type !== "text") && (O = bt(), O.position = {
6529
6531
  start: Se(x.start)
6530
- }, I.children.push(O)), this.stack.push(O);
6532
+ }, T.children.push(O)), this.stack.push(O);
6531
6533
  }
6532
6534
  function M(x) {
6533
- const I = this.stack.pop();
6534
- I.value += this.sliceSerialize(x), I.position.end = Se(x.end);
6535
+ const T = this.stack.pop();
6536
+ T.value += this.sliceSerialize(x), T.position.end = Se(x.end);
6535
6537
  }
6536
6538
  function N(x) {
6537
- const I = this.stack[this.stack.length - 1];
6539
+ const T = this.stack[this.stack.length - 1];
6538
6540
  if (l("atHardBreak")) {
6539
- const O = I.children[I.children.length - 1];
6541
+ const O = T.children[T.children.length - 1];
6540
6542
  O.position.end = Se(x.end), o("atHardBreak");
6541
6543
  return;
6542
6544
  }
6543
- !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(I.type) && (E.call(this, x), M.call(this, x));
6545
+ !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(T.type) && (E.call(this, x), M.call(this, x));
6544
6546
  }
6545
6547
  function C() {
6546
6548
  o("atHardBreak", !0);
6547
6549
  }
6548
6550
  function z() {
6549
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6550
- I.value = x;
6551
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6552
+ T.value = x;
6551
6553
  }
6552
6554
  function F() {
6553
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6554
- I.value = x;
6555
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6556
+ T.value = x;
6555
6557
  }
6556
6558
  function Y() {
6557
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6558
- I.value = x;
6559
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6560
+ T.value = x;
6559
6561
  }
6560
6562
  function V() {
6561
6563
  const x = this.stack[this.stack.length - 1];
6562
6564
  if (l("inReference")) {
6563
- const I = l("referenceType") || "shortcut";
6564
- x.type += "Reference", x.referenceType = I, delete x.url, delete x.title;
6565
+ const T = l("referenceType") || "shortcut";
6566
+ x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6565
6567
  } else
6566
6568
  delete x.identifier, delete x.label;
6567
6569
  o("referenceType");
@@ -6569,31 +6571,31 @@ function Qc(e) {
6569
6571
  function X() {
6570
6572
  const x = this.stack[this.stack.length - 1];
6571
6573
  if (l("inReference")) {
6572
- const I = l("referenceType") || "shortcut";
6573
- x.type += "Reference", x.referenceType = I, delete x.url, delete x.title;
6574
+ const T = l("referenceType") || "shortcut";
6575
+ x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6574
6576
  } else
6575
6577
  delete x.identifier, delete x.label;
6576
6578
  o("referenceType");
6577
6579
  }
6578
6580
  function d(x) {
6579
- const I = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6580
- O.label = _c(I), O.identifier = Qe(I).toLowerCase();
6581
+ const T = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6582
+ O.label = _c(T), O.identifier = Qe(T).toLowerCase();
6581
6583
  }
6582
6584
  function ne() {
6583
- const x = this.stack[this.stack.length - 1], I = this.resume(), O = this.stack[this.stack.length - 1];
6585
+ const x = this.stack[this.stack.length - 1], T = this.resume(), O = this.stack[this.stack.length - 1];
6584
6586
  if (o("inReference", !0), O.type === "link") {
6585
6587
  const $ = x.children;
6586
6588
  O.children = $;
6587
6589
  } else
6588
- O.alt = I;
6590
+ O.alt = T;
6589
6591
  }
6590
6592
  function le() {
6591
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6592
- I.url = x;
6593
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6594
+ T.url = x;
6593
6595
  }
6594
6596
  function h() {
6595
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6596
- I.title = x;
6597
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6598
+ T.title = x;
6597
6599
  }
6598
6600
  function re() {
6599
6601
  o("inReference");
@@ -6602,8 +6604,8 @@ function Qc(e) {
6602
6604
  o("referenceType", "collapsed");
6603
6605
  }
6604
6606
  function W(x) {
6605
- const I = this.resume(), O = this.stack[this.stack.length - 1];
6606
- O.label = I, O.identifier = Qe(
6607
+ const T = this.resume(), O = this.stack[this.stack.length - 1];
6608
+ O.label = T, O.identifier = Qe(
6607
6609
  this.sliceSerialize(x)
6608
6610
  ).toLowerCase(), o("referenceType", "full");
6609
6611
  }
@@ -6611,24 +6613,24 @@ function Qc(e) {
6611
6613
  o("characterReferenceType", x.type);
6612
6614
  }
6613
6615
  function he(x) {
6614
- const I = this.sliceSerialize(x), O = l("characterReferenceType");
6616
+ const T = this.sliceSerialize(x), O = l("characterReferenceType");
6615
6617
  let $;
6616
6618
  O ? ($ = ko(
6617
- I,
6619
+ T,
6618
6620
  O === "characterReferenceMarkerNumeric" ? 10 : 16
6619
- ), o("characterReferenceType")) : $ = Xn(I);
6621
+ ), o("characterReferenceType")) : $ = Xn(T);
6620
6622
  const K = this.stack.pop();
6621
6623
  K.value += $, K.position.end = Se(x.end);
6622
6624
  }
6623
6625
  function ve(x) {
6624
6626
  M.call(this, x);
6625
- const I = this.stack[this.stack.length - 1];
6626
- I.url = this.sliceSerialize(x);
6627
+ const T = this.stack[this.stack.length - 1];
6628
+ T.url = this.sliceSerialize(x);
6627
6629
  }
6628
6630
  function Ee(x) {
6629
6631
  M.call(this, x);
6630
- const I = this.stack[this.stack.length - 1];
6631
- I.url = "mailto:" + this.sliceSerialize(x);
6632
+ const T = this.stack[this.stack.length - 1];
6633
+ T.url = "mailto:" + this.sliceSerialize(x);
6632
6634
  }
6633
6635
  function Ve() {
6634
6636
  return {
@@ -7117,8 +7119,8 @@ function fp(e, t, n) {
7117
7119
  for (; ++s < a; ) {
7118
7120
  const p = t.children[s], m = {}, f = l ? l[s] : void 0;
7119
7121
  f && (m.align = f);
7120
- let T = { type: "element", tagName: o, properties: m, children: [] };
7121
- p && (T.children = e.all(p), e.patch(p, T), T = e.applyData(t, T)), u.push(T);
7122
+ let I = { type: "element", tagName: o, properties: m, children: [] };
7123
+ p && (I.children = e.all(p), e.patch(p, I), I = e.applyData(t, I)), u.push(I);
7122
7124
  }
7123
7125
  const c = {
7124
7126
  type: "element",
@@ -7202,12 +7204,12 @@ const yp = {
7202
7204
  tableRow: fp,
7203
7205
  text: gp,
7204
7206
  thematicBreak: mp,
7205
- toml: It,
7206
- yaml: It,
7207
- definition: It,
7208
- footnoteDefinition: It
7207
+ toml: Tt,
7208
+ yaml: Tt,
7209
+ definition: Tt,
7210
+ footnoteDefinition: Tt
7209
7211
  };
7210
- function It() {
7212
+ function Tt() {
7211
7213
  return null;
7212
7214
  }
7213
7215
  const Oo = (
@@ -7272,7 +7274,7 @@ function Ht(e) {
7272
7274
  function wp() {
7273
7275
  return !0;
7274
7276
  }
7275
- const Dp = !0, fi = !1, Np = "skip", Tp = (
7277
+ const Dp = !0, fi = !1, Np = "skip", Ip = (
7276
7278
  /**
7277
7279
  * @type {(
7278
7280
  * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
@@ -7306,21 +7308,21 @@ const Dp = !0, fi = !1, Np = "skip", Tp = (
7306
7308
  }
7307
7309
  return p;
7308
7310
  function p() {
7309
- let m = [], f, T, b;
7310
- if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Ip(n(a, u)), m[0] === fi))
7311
+ let m = [], f, I, b;
7312
+ if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Tp(n(a, u)), m[0] === fi))
7311
7313
  return m;
7312
7314
  if (a.children && m[0] !== Np)
7313
- for (T = (r ? a.children.length : -1) + o, b = u.concat(a); T > -1 && T < a.children.length; ) {
7314
- if (f = l(a.children[T], T, b)(), f[0] === fi)
7315
+ for (I = (r ? a.children.length : -1) + o, b = u.concat(a); I > -1 && I < a.children.length; ) {
7316
+ if (f = l(a.children[I], I, b)(), f[0] === fi)
7315
7317
  return f;
7316
- T = typeof f[1] == "number" ? f[1] : T + o;
7318
+ I = typeof f[1] == "number" ? f[1] : I + o;
7317
7319
  }
7318
7320
  return m;
7319
7321
  }
7320
7322
  }
7321
7323
  }
7322
7324
  );
7323
- function Ip(e) {
7325
+ function Tp(e) {
7324
7326
  return Array.isArray(e) ? e : typeof e == "number" ? [Dp, e] : [e];
7325
7327
  }
7326
7328
  const tr = (
@@ -7338,7 +7340,7 @@ const tr = (
7338
7340
  * @returns {void}
7339
7341
  */
7340
7342
  function(e, t, n, r) {
7341
- typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Tp(e, t, i, r);
7343
+ typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Ip(e, t, i, r);
7342
7344
  function i(o, l) {
7343
7345
  const a = l[l.length - 1];
7344
7346
  return n(
@@ -8855,31 +8857,31 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8855
8857
  return [];
8856
8858
  t = t || {};
8857
8859
  var n = 1, r = 1;
8858
- function i(T) {
8859
- var b = T.match(rf);
8860
+ function i(I) {
8861
+ var b = I.match(rf);
8860
8862
  b && (n += b.length);
8861
- var S = T.lastIndexOf(pf);
8862
- r = ~S ? T.length - S : r + T.length;
8863
+ var S = I.lastIndexOf(pf);
8864
+ r = ~S ? I.length - S : r + I.length;
8863
8865
  }
8864
8866
  function o() {
8865
- var T = { line: n, column: r };
8867
+ var I = { line: n, column: r };
8866
8868
  return function(b) {
8867
- return b.position = new l(T), u(), b;
8869
+ return b.position = new l(I), u(), b;
8868
8870
  };
8869
8871
  }
8870
- function l(T) {
8871
- this.start = T, this.end = { line: n, column: r }, this.source = t.source;
8872
+ function l(I) {
8873
+ this.start = I, this.end = { line: n, column: r }, this.source = t.source;
8872
8874
  }
8873
8875
  l.prototype.content = e;
8874
- function a(T) {
8876
+ function a(I) {
8875
8877
  var b = new Error(
8876
- t.source + ":" + n + ":" + r + ": " + T
8878
+ t.source + ":" + n + ":" + r + ": " + I
8877
8879
  );
8878
- if (b.reason = T, b.filename = t.source, b.line = n, b.column = r, b.source = e, !t.silent)
8880
+ if (b.reason = I, b.filename = t.source, b.line = n, b.column = r, b.source = e, !t.silent)
8879
8881
  throw b;
8880
8882
  }
8881
- function s(T) {
8882
- var b = T.exec(e);
8883
+ function s(I) {
8884
+ var b = I.exec(e);
8883
8885
  if (b) {
8884
8886
  var S = b[0];
8885
8887
  return i(S), e = e.slice(S.length), b;
@@ -8888,32 +8890,32 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8888
8890
  function u() {
8889
8891
  s(of);
8890
8892
  }
8891
- function c(T) {
8893
+ function c(I) {
8892
8894
  var b;
8893
- for (T = T || []; b = p(); )
8894
- b !== !1 && T.push(b);
8895
- return T;
8895
+ for (I = I || []; b = p(); )
8896
+ b !== !1 && I.push(b);
8897
+ return I;
8896
8898
  }
8897
8899
  function p() {
8898
- var T = o();
8900
+ var I = o();
8899
8901
  if (!(xi != e.charAt(0) || bi != e.charAt(1))) {
8900
8902
  for (var b = 2; Fe != e.charAt(b) && (bi != e.charAt(b) || xi != e.charAt(b + 1)); )
8901
8903
  ++b;
8902
8904
  if (b += 2, Fe === e.charAt(b - 1))
8903
8905
  return a("End of comment missing");
8904
8906
  var S = e.slice(2, b - 2);
8905
- return r += 2, i(S), e = e.slice(b), r += 2, T({
8907
+ return r += 2, i(S), e = e.slice(b), r += 2, I({
8906
8908
  type: ff,
8907
8909
  comment: S
8908
8910
  });
8909
8911
  }
8910
8912
  }
8911
8913
  function m() {
8912
- var T = o(), b = s(lf);
8914
+ var I = o(), b = s(lf);
8913
8915
  if (b) {
8914
8916
  if (p(), !s(af))
8915
8917
  return a("property missing ':'");
8916
- var S = s(uf), w = T({
8918
+ var S = s(uf), w = I({
8917
8919
  type: df,
8918
8920
  property: wi(b[0].replace(Mi, Fe)),
8919
8921
  value: S ? wi(S[0].replace(Mi, Fe)) : Fe
@@ -8922,11 +8924,11 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8922
8924
  }
8923
8925
  }
8924
8926
  function f() {
8925
- var T = [];
8926
- c(T);
8927
+ var I = [];
8928
+ c(I);
8927
8929
  for (var b; b = m(); )
8928
- b !== !1 && (T.push(b), c(T));
8929
- return T;
8930
+ b !== !1 && (I.push(b), c(I));
8931
+ return I;
8930
8932
  }
8931
8933
  return u(), f();
8932
8934
  };
@@ -8965,7 +8967,7 @@ function xf(e, t, n, r) {
8965
8967
  const m = t.position || {
8966
8968
  start: { line: null, column: null, offset: null },
8967
8969
  end: { line: null, column: null, offset: null }
8968
- }, f = i.components && _n.call(i.components, a) ? i.components[a] : a, T = typeof f == "string" || f === ue.Fragment;
8970
+ }, f = i.components && _n.call(i.components, a) ? i.components[a] : a, I = typeof f == "string" || f === ue.Fragment;
8969
8971
  if (!Jp.isValidElementType(f))
8970
8972
  throw new TypeError(
8971
8973
  `Component for name \`${a}\` not defined or is not renderable`
@@ -8978,15 +8980,15 @@ function xf(e, t, n, r) {
8978
8980
  String(s.href || ""),
8979
8981
  t.children,
8980
8982
  typeof s.title == "string" ? s.title : null
8981
- )), !T && a === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !T && (a === "h1" || a === "h2" || a === "h3" || a === "h4" || a === "h5" || a === "h6") && (s.level = Number.parseInt(a.charAt(1), 10)), a === "img" && i.transformImageUri && (s.src = i.transformImageUri(
8983
+ )), !I && a === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !I && (a === "h1" || a === "h2" || a === "h3" || a === "h4" || a === "h5" || a === "h6") && (s.level = Number.parseInt(a.charAt(1), 10)), a === "img" && i.transformImageUri && (s.src = i.transformImageUri(
8982
8984
  String(s.src || ""),
8983
8985
  String(s.alt || ""),
8984
8986
  typeof s.title == "string" ? s.title : null
8985
- )), !T && a === "li" && r.type === "element") {
8987
+ )), !I && a === "li" && r.type === "element") {
8986
8988
  const b = bf(t);
8987
8989
  s.checked = b && b.properties ? !!b.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
8988
8990
  }
8989
- return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Tf(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), T || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
8991
+ return !I && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), I || (s.isHeader = a === "th")), !I && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = If(m)), !I && i.rawSourcePos && (s.sourcePosition = t.position), !I && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), I || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
8990
8992
  }
8991
8993
  function bf(e) {
8992
8994
  let t = -1;
@@ -9023,7 +9025,7 @@ function Df(e) {
9023
9025
  function Nf(e, t) {
9024
9026
  return t.toUpperCase();
9025
9027
  }
9026
- function Tf(e) {
9028
+ function If(e) {
9027
9029
  return [
9028
9030
  e.start.line,
9029
9031
  ":",
@@ -9034,7 +9036,7 @@ function Tf(e) {
9034
9036
  e.end.column
9035
9037
  ].map(String).join("");
9036
9038
  }
9037
- const Di = {}.hasOwnProperty, If = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
9039
+ const Di = {}.hasOwnProperty, Tf = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
9038
9040
  plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
9039
9041
  renderers: { to: "components", id: "change-renderers-to-components" },
9040
9042
  astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
@@ -9063,7 +9065,7 @@ function Wo(e) {
9063
9065
  if (Di.call(kt, o) && Di.call(e, o)) {
9064
9066
  const l = kt[o];
9065
9067
  console.warn(
9066
- `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${If}#${l.id}> for more info)`
9068
+ `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Tf}#${l.id}> for more info)`
9067
9069
  ), delete kt[o];
9068
9070
  }
9069
9071
  const t = Lu().use(Hc).use(e.remarkPlugins || []).use(Lp, {
@@ -9241,30 +9243,38 @@ ar.propTypes = {
9241
9243
  messageRef: g.shape({ current: g.instanceOf(Element) })
9242
9244
  };
9243
9245
  ar.displayName = "AssistantMessageBubble";
9244
- const Ef = ar, ur = ({ configurations: e }) => /* @__PURE__ */ D.jsxs(
9245
- "div",
9246
- {
9247
- role: "alert",
9248
- "aria-live": "assertive",
9249
- className: "xpert-chatbot-popup__conversations_disclaimer--text",
9250
- children: [
9251
- /* @__PURE__ */ D.jsx("span", { children: e.disclaimerText }),
9252
- /* @__PURE__ */ D.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
9253
- /* @__PURE__ */ D.jsx(
9254
- "a",
9255
- {
9256
- href: e.privacyPolicyLink,
9257
- target: "_blank",
9258
- rel: "noopener noreferrer",
9259
- className: "xpert-chatbot-popup__conversations_disclaimer--text__link",
9260
- children: "privacy policy"
9261
- }
9262
- ),
9263
- "."
9264
- ] })
9265
- ]
9266
- }
9267
- );
9246
+ const Ef = ar, ur = ({ configurations: e }) => {
9247
+ const t = Ae(null);
9248
+ return ye(() => {
9249
+ var n;
9250
+ (n = t == null ? void 0 : t.current) == null || n.focus();
9251
+ }, []), /* @__PURE__ */ D.jsxs(
9252
+ "div",
9253
+ {
9254
+ ref: t,
9255
+ tabIndex: -1,
9256
+ role: "alert",
9257
+ "aria-live": "assertive",
9258
+ className: "xpert-chatbot-popup__conversations_disclaimer--text",
9259
+ children: [
9260
+ /* @__PURE__ */ D.jsx("span", { children: e.disclaimerText }),
9261
+ /* @__PURE__ */ D.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
9262
+ /* @__PURE__ */ D.jsx(
9263
+ "a",
9264
+ {
9265
+ href: e.privacyPolicyLink,
9266
+ target: "_blank",
9267
+ rel: "noopener noreferrer",
9268
+ className: "xpert-chatbot-popup__conversations_disclaimer--text__link",
9269
+ children: "privacy policy"
9270
+ }
9271
+ ),
9272
+ "."
9273
+ ] })
9274
+ ]
9275
+ }
9276
+ );
9277
+ };
9268
9278
  ur.propTypes = {
9269
9279
  configurations: g.shape({
9270
9280
  disclaimerText: g.string.isRequired,
@@ -9516,11 +9526,7 @@ function Ko({
9516
9526
  onClose: r,
9517
9527
  isMounted: i
9518
9528
  }) {
9519
- const o = Ae(null);
9520
- return ye(() => {
9521
- var l;
9522
- (l = o == null ? void 0 : o.current) == null || l.focus();
9523
- }, []), /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
9529
+ return /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
9524
9530
  /* @__PURE__ */ D.jsx(
9525
9531
  "div",
9526
9532
  {
@@ -9546,7 +9552,6 @@ function Ko({
9546
9552
  /* @__PURE__ */ D.jsx(
9547
9553
  "button",
9548
9554
  {
9549
- ref: o,
9550
9555
  style: {
9551
9556
  backgroundColor: "transparent",
9552
9557
  border: "none",
@@ -9816,7 +9821,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9816
9821
  cookieNamePrefix: p,
9817
9822
  proactiveMessagePrefix: m,
9818
9823
  proactiveMessage: f,
9819
- disableDisclaimerPage: T,
9824
+ disableDisclaimerPage: I,
9820
9825
  conversationHistory: b
9821
9826
  } = i, S = pt(Qf), [, w] = pe(!1), [v, j] = pe(Yf), [B, _] = pe(!1), [y, A] = pe(!1), [U, Q] = pe(!1), [q, E] = pe(""), [M, N] = pe(!1), [C, z] = pe(!1), [F, Y] = pe(!0), [V, X] = pe(!1), [d, ne] = pe(!1), le = Ae(null), h = Ae(null), re = Ae(null), te = De.get(`${p}-test`) === "1", W = at(
9822
9827
  ({ name: L, payload: x }) => {
@@ -9851,9 +9856,9 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9851
9856
  }
9852
9857
  if (!x.ok)
9853
9858
  throw new Error(`HTTPError: ${x.status} ${x.statusText}`);
9854
- const I = await x.json();
9859
+ const T = await x.json();
9855
9860
  j(
9856
- I.map((O) => ({
9861
+ T.map((O) => ({
9857
9862
  ...O,
9858
9863
  disableFeedback: !0
9859
9864
  }))
@@ -9881,14 +9886,14 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9881
9886
  console.log("Chatbot - unmount"), clearInterval(L), clearTimeout(x);
9882
9887
  };
9883
9888
  }, [u, s]), ye(() => {
9884
- const L = (I) => {
9889
+ const L = (T) => {
9885
9890
  var O, $;
9886
- (O = I == null ? void 0 : I.target) != null && O.href && W({
9891
+ (O = T == null ? void 0 : T.target) != null && O.href && W({
9887
9892
  name: `${s}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
9888
9893
  payload: {
9889
9894
  category: "2u",
9890
9895
  label: "xpert-chatbot",
9891
- link: ($ = I == null ? void 0 : I.target) == null ? void 0 : $.href,
9896
+ link: ($ = T == null ? void 0 : T.target) == null ? void 0 : $.href,
9892
9897
  isTestUser: te
9893
9898
  }
9894
9899
  });
@@ -9935,7 +9940,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9935
9940
  }, Ve = ({
9936
9941
  conversationSize: L,
9937
9942
  userInputMessage: x,
9938
- apiResponseMessage: I,
9943
+ apiResponseMessage: T,
9939
9944
  elapsedSeconds: O
9940
9945
  }) => {
9941
9946
  W({
@@ -9946,7 +9951,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9946
9951
  isTestUser: te,
9947
9952
  conversationSize: L,
9948
9953
  userInputMessage: x,
9949
- apiResponseMessage: I,
9954
+ apiResponseMessage: T,
9950
9955
  elapsedSeconds: O
9951
9956
  }
9952
9957
  });
@@ -9960,13 +9965,13 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9960
9965
  return;
9961
9966
  const x = /* @__PURE__ */ new Date();
9962
9967
  z(!1);
9963
- const I = v.filter((ae) => ae.role === "user").length + 1;
9968
+ const T = v.filter((ae) => ae.role === "user").length + 1;
9964
9969
  W({
9965
9970
  name: `${s}.bi.xpert.chatbot.popup.chat.message.sent`,
9966
9971
  payload: {
9967
9972
  category: "2u",
9968
9973
  label: "xpert-chatbot",
9969
- totalUserInputMessagesSent: I,
9974
+ totalUserInputMessagesSent: T,
9970
9975
  userInputMessage: L,
9971
9976
  isTestUser: te
9972
9977
  }
@@ -10100,7 +10105,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10100
10105
  }, ln = (L) => {
10101
10106
  L.key === "Enter" && q.trim() === "" || L.key === "Enter" && !L.shiftKey && (L.preventDefault(), Le(q));
10102
10107
  }, an = (L, x = "") => {
10103
- const I = v.map((O, $) => L === $ ? (W({
10108
+ const T = v.map((O, $) => L === $ ? (W({
10104
10109
  name: `${s}.bi.xpert.chatbot.feedback.thumbs.${x.toLowerCase()}.clicked`,
10105
10110
  payload: {
10106
10111
  category: "2u",
@@ -10114,7 +10119,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10114
10119
  ...O,
10115
10120
  feedbackThumbType: x
10116
10121
  }) : O);
10117
- j(I), ne(!1);
10122
+ j(T), ne(!1);
10118
10123
  };
10119
10124
  return (
10120
10125
  // do not remove this class as it's needed to turn off chatbot
@@ -10173,7 +10178,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10173
10178
  style: { display: "flex", flexDirection: "column", height: "100%" },
10174
10179
  "aria-label": "XPERT Chatbot Popup",
10175
10180
  role: "dialog",
10176
- children: M || T || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10181
+ children: M || I || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10177
10182
  /* @__PURE__ */ D.jsx(
10178
10183
  Jo,
10179
10184
  {
@@ -10194,7 +10199,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10194
10199
  isNormalSize: S || F,
10195
10200
  onFeedbackThumbSelection: an,
10196
10201
  onPromptClick: Le,
10197
- showDisclaimerText: T,
10202
+ showDisclaimerText: I,
10198
10203
  configurations: i
10199
10204
  }
10200
10205
  ),