@schmitech/chatbot-widget 0.4.4 → 0.4.5

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.
@@ -66,14 +66,14 @@ function tc() {
66
66
  * LICENSE file in the root directory of this source tree.
67
67
  */
68
68
  return e.NODE_ENV !== "production" && function() {
69
- var t = ur, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), b = Symbol.iterator, E = "@@iterator";
69
+ var t = ur, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), b = Symbol.iterator, M = "@@iterator";
70
70
  function w(T) {
71
71
  if (T === null || typeof T != "object")
72
72
  return null;
73
- var q = b && T[b] || T[E];
73
+ var q = b && T[b] || T[M];
74
74
  return typeof q == "function" ? q : null;
75
75
  }
76
- var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
76
+ var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
77
77
  function z(T) {
78
78
  {
79
79
  for (var q = arguments.length, Z = new Array(q > 1 ? q - 1 : 0), oe = 1; oe < q; oe++)
@@ -83,7 +83,7 @@ function tc() {
83
83
  }
84
84
  function D(T, q, Z) {
85
85
  {
86
- var oe = M.ReactDebugCurrentFrame, xe = oe.getStackAddendum();
86
+ var oe = A.ReactDebugCurrentFrame, xe = oe.getStackAddendum();
87
87
  xe !== "" && (q += "%s", Z = Z.concat([xe]));
88
88
  var ke = Z.map(function(ge) {
89
89
  return String(ge);
@@ -155,14 +155,14 @@ function tc() {
155
155
  }
156
156
  return null;
157
157
  }
158
- var K = Object.assign, me = 0, ve, Ce, Ue, S, Me, we, A;
158
+ var K = Object.assign, me = 0, ve, Ce, Ue, S, Me, we, E;
159
159
  function Fe() {
160
160
  }
161
161
  Fe.__reactDisabledLog = !0;
162
162
  function $e() {
163
163
  {
164
164
  if (me === 0) {
165
- ve = console.log, Ce = console.info, Ue = console.warn, S = console.error, Me = console.group, we = console.groupCollapsed, A = console.groupEnd;
165
+ ve = console.log, Ce = console.info, Ue = console.warn, S = console.error, Me = console.group, we = console.groupCollapsed, E = console.groupEnd;
166
166
  var T = {
167
167
  configurable: !0,
168
168
  enumerable: !0,
@@ -210,14 +210,14 @@ function tc() {
210
210
  value: we
211
211
  }),
212
212
  groupEnd: K({}, T, {
213
- value: A
213
+ value: E
214
214
  })
215
215
  });
216
216
  }
217
217
  me < 0 && z("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
218
218
  }
219
219
  }
220
- var Ve = M.ReactCurrentDispatcher, Re;
220
+ var Ve = A.ReactCurrentDispatcher, Re;
221
221
  function Ge(T, q, Z) {
222
222
  {
223
223
  if (Re === void 0)
@@ -343,7 +343,7 @@ function tc() {
343
343
  }
344
344
  return "";
345
345
  }
346
- var yt = Object.prototype.hasOwnProperty, Ut = {}, Rt = M.ReactDebugCurrentFrame;
346
+ var yt = Object.prototype.hasOwnProperty, Ut = {}, Rt = A.ReactDebugCurrentFrame;
347
347
  function mr(T) {
348
348
  if (T) {
349
349
  var q = T._owner, Z = Ot(T.type, T._source, q ? q.type : null);
@@ -394,7 +394,7 @@ function tc() {
394
394
  if (ai(T))
395
395
  return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ii(T)), L(T);
396
396
  }
397
- var le = M.ReactCurrentOwner, fe = {
397
+ var le = A.ReactCurrentOwner, fe = {
398
398
  key: !0,
399
399
  ref: !0,
400
400
  __self: !0,
@@ -488,7 +488,7 @@ function tc() {
488
488
  return tr(T, de, Qe, xe, oe, le.current, ge);
489
489
  }
490
490
  }
491
- var li = M.ReactCurrentOwner, ca = M.ReactDebugCurrentFrame;
491
+ var li = A.ReactCurrentOwner, ca = A.ReactDebugCurrentFrame;
492
492
  function Ar(T) {
493
493
  if (T) {
494
494
  var q = T._owner, Z = Ot(T.type, T._source, q ? q.type : null);
@@ -899,16 +899,16 @@ function bc() {
899
899
  }
900
900
  var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, i = e.useEffect, a = e.useLayoutEffect, l = e.useDebugValue;
901
901
  function o(h, d) {
902
- var p = d(), v = n({ inst: { value: p, getSnapshot: d } }), b = v[0].inst, E = v[1];
902
+ var p = d(), v = n({ inst: { value: p, getSnapshot: d } }), b = v[0].inst, M = v[1];
903
903
  return a(
904
904
  function() {
905
- b.value = p, b.getSnapshot = d, s(b) && E({ inst: b });
905
+ b.value = p, b.getSnapshot = d, s(b) && M({ inst: b });
906
906
  },
907
907
  [h, p, d]
908
908
  ), i(
909
909
  function() {
910
- return s(b) && E({ inst: b }), h(function() {
911
- s(b) && E({ inst: b });
910
+ return s(b) && M({ inst: b }), h(function() {
911
+ s(b) && M({ inst: b });
912
912
  });
913
913
  },
914
914
  [h]
@@ -952,37 +952,37 @@ function xc() {
952
952
  h || a.startTransition === void 0 || (h = !0, console.error(
953
953
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
954
954
  ));
955
- var E = b();
955
+ var M = b();
956
956
  if (!d) {
957
957
  var w = b();
958
- l(E, w) || (console.error(
958
+ l(M, w) || (console.error(
959
959
  "The result of getSnapshot should be cached to avoid an infinite loop"
960
960
  ), d = !0);
961
961
  }
962
962
  w = o({
963
- inst: { value: E, getSnapshot: b }
963
+ inst: { value: M, getSnapshot: b }
964
964
  });
965
- var M = w[0].inst, z = w[1];
965
+ var A = w[0].inst, z = w[1];
966
966
  return u(
967
967
  function() {
968
- M.value = E, M.getSnapshot = b, n(M) && z({ inst: M });
968
+ A.value = M, A.getSnapshot = b, n(A) && z({ inst: A });
969
969
  },
970
- [v, E, b]
970
+ [v, M, b]
971
971
  ), s(
972
972
  function() {
973
- return n(M) && z({ inst: M }), v(function() {
974
- n(M) && z({ inst: M });
973
+ return n(A) && z({ inst: A }), v(function() {
974
+ n(A) && z({ inst: A });
975
975
  });
976
976
  },
977
977
  [v]
978
- ), m(E), E;
978
+ ), m(M), M;
979
979
  }
980
980
  function n(v) {
981
981
  var b = v.getSnapshot;
982
982
  v = v.value;
983
983
  try {
984
- var E = b();
985
- return !l(v, E);
984
+ var M = b();
985
+ return !l(v, M);
986
986
  } catch {
987
987
  return !0;
988
988
  }
@@ -1029,8 +1029,8 @@ function wc() {
1029
1029
  v = o(
1030
1030
  function() {
1031
1031
  function w(I) {
1032
- if (!M) {
1033
- if (M = !0, z = I, I = d(I), p !== void 0 && b.hasValue) {
1032
+ if (!A) {
1033
+ if (A = !0, z = I, I = d(I), p !== void 0 && b.hasValue) {
1034
1034
  var F = b.value;
1035
1035
  if (p(F, I))
1036
1036
  return D = F;
@@ -1041,7 +1041,7 @@ function wc() {
1041
1041
  var Y = d(I);
1042
1042
  return p !== void 0 && p(F, Y) ? (z = I, F) : (z = I, D = Y);
1043
1043
  }
1044
- var M = !1, z, D, B = h === void 0 ? null : h;
1044
+ var A = !1, z, D, B = h === void 0 ? null : h;
1045
1045
  return [
1046
1046
  function() {
1047
1047
  return w(m());
@@ -1053,13 +1053,13 @@ function wc() {
1053
1053
  },
1054
1054
  [m, h, d, p]
1055
1055
  );
1056
- var E = i(u, v[0], v[1]);
1056
+ var M = i(u, v[0], v[1]);
1057
1057
  return l(
1058
1058
  function() {
1059
- b.hasValue = !0, b.value = E;
1059
+ b.hasValue = !0, b.value = M;
1060
1060
  },
1061
- [E]
1062
- ), s(E), E;
1061
+ [M]
1062
+ ), s(M), M;
1063
1063
  }, hi;
1064
1064
  }
1065
1065
  var pi = {}, Ma;
@@ -1085,15 +1085,15 @@ function kc() {
1085
1085
  pi.useSyncExternalStoreWithSelector = function(m, h, d, p, v) {
1086
1086
  var b = l(null);
1087
1087
  if (b.current === null) {
1088
- var E = { hasValue: !1, value: null };
1089
- b.current = E;
1090
- } else E = b.current;
1088
+ var M = { hasValue: !1, value: null };
1089
+ b.current = M;
1090
+ } else M = b.current;
1091
1091
  b = s(
1092
1092
  function() {
1093
- function M(F) {
1093
+ function A(F) {
1094
1094
  if (!z) {
1095
- if (z = !0, D = F, F = p(F), v !== void 0 && E.hasValue) {
1096
- var Y = E.value;
1095
+ if (z = !0, D = F, F = p(F), v !== void 0 && M.hasValue) {
1096
+ var Y = M.value;
1097
1097
  if (v(Y, F))
1098
1098
  return B = Y;
1099
1099
  }
@@ -1107,10 +1107,10 @@ function kc() {
1107
1107
  var z = !1, D, B, I = d === void 0 ? null : d;
1108
1108
  return [
1109
1109
  function() {
1110
- return M(h());
1110
+ return A(h());
1111
1111
  },
1112
1112
  I === null ? void 0 : function() {
1113
- return M(I());
1113
+ return A(I());
1114
1114
  }
1115
1115
  ];
1116
1116
  },
@@ -1119,7 +1119,7 @@ function kc() {
1119
1119
  var w = a(m, b[0], b[1]);
1120
1120
  return o(
1121
1121
  function() {
1122
- E.hasValue = !0, E.value = w;
1122
+ M.hasValue = !0, M.value = w;
1123
1123
  },
1124
1124
  [w]
1125
1125
  ), u(w), w;
@@ -1224,13 +1224,13 @@ async function* Bc(e, t = !0) {
1224
1224
  }
1225
1225
  const b = (l = v.body) == null ? void 0 : l.getReader();
1226
1226
  if (!b) throw new Error("No reader available");
1227
- const E = new TextDecoder();
1228
- let w = "", M = "";
1227
+ const M = new TextDecoder();
1228
+ let w = "", A = "";
1229
1229
  try {
1230
1230
  for (; ; ) {
1231
1231
  const { done: z, value: D } = await b.read();
1232
1232
  if (z) break;
1233
- const B = E.decode(D, { stream: !0 });
1233
+ const B = M.decode(D, { stream: !0 });
1234
1234
  w += B;
1235
1235
  const I = w.split(`
1236
1236
  `);
@@ -1249,8 +1249,8 @@ async function* Bc(e, t = !0) {
1249
1249
  if (H.result.type === "start")
1250
1250
  continue;
1251
1251
  if (H.result.type === "chunk" && H.result.chunk ? N = H.result.chunk.content : H.result.type === "complete" && (s = (o = H.result.output) == null ? void 0 : o.messages) != null && s[0] && (N = H.result.output.messages[0].content), N) {
1252
- const $ = Ia(N, M);
1253
- $ ? (M += $, yield {
1252
+ const $ = Ia(N, A);
1253
+ $ ? (A += $, yield {
1254
1254
  text: $,
1255
1255
  done: H.result.type === "complete"
1256
1256
  }) : H.result.type === "complete" && (yield { text: "", done: !0 });
@@ -1269,7 +1269,7 @@ async function* Bc(e, t = !0) {
1269
1269
  if (z !== "[DONE]") {
1270
1270
  const D = JSON.parse(z);
1271
1271
  if ((m = (u = D.result) == null ? void 0 : u.chunk) != null && m.content) {
1272
- const B = Ia(D.result.chunk.content, M);
1272
+ const B = Ia(D.result.chunk.content, A);
1273
1273
  B && (yield {
1274
1274
  text: B,
1275
1275
  done: D.result.type === "complete"
@@ -1860,8 +1860,8 @@ const To = Ic((e, t) => ({
1860
1860
  }
1861
1861
  }, []), d = It(() => {
1862
1862
  if (o.current && !e) {
1863
- const { scrollTop: v, scrollHeight: b, clientHeight: E } = o.current, w = Math.abs(b - v - E) < ce.SCROLL_THRESHOLDS.BOTTOM_THRESHOLD, M = v < ce.SCROLL_THRESHOLDS.TOP_THRESHOLD;
1864
- r(!M && v > ce.SCROLL_THRESHOLDS.SHOW_SCROLL_TOP_OFFSET), i(!w);
1863
+ const { scrollTop: v, scrollHeight: b, clientHeight: M } = o.current, w = Math.abs(b - v - M) < ce.SCROLL_THRESHOLDS.BOTTOM_THRESHOLD, A = v < ce.SCROLL_THRESHOLDS.TOP_THRESHOLD;
1864
+ r(!A && v > ce.SCROLL_THRESHOLDS.SHOW_SCROLL_TOP_OFFSET), i(!w);
1865
1865
  }
1866
1866
  }, [e]), p = It(() => {
1867
1867
  o.current && (l(!0), o.current.scrollTo({
@@ -3160,8 +3160,8 @@ var A0 = {}, Pa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m1 = /\n/g, f1 = /^\s*/, p1
3160
3160
  function i(v) {
3161
3161
  var b = v.match(m1);
3162
3162
  b && (r += b.length);
3163
- var E = v.lastIndexOf(b1);
3164
- n = ~E ? v.length - E : n + v.length;
3163
+ var M = v.lastIndexOf(b1);
3164
+ n = ~M ? v.length - M : n + v.length;
3165
3165
  }
3166
3166
  function a() {
3167
3167
  var v = { line: r, column: n };
@@ -3182,8 +3182,8 @@ var A0 = {}, Pa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m1 = /\n/g, f1 = /^\s*/, p1
3182
3182
  function s(v) {
3183
3183
  var b = v.exec(e);
3184
3184
  if (b) {
3185
- var E = b[0];
3186
- return i(E), e = e.slice(E.length), b;
3185
+ var M = b[0];
3186
+ return i(M), e = e.slice(M.length), b;
3187
3187
  }
3188
3188
  }
3189
3189
  function u() {
@@ -3202,10 +3202,10 @@ var A0 = {}, Pa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m1 = /\n/g, f1 = /^\s*/, p1
3202
3202
  ++b;
3203
3203
  if (b += 2, br === e.charAt(b - 1))
3204
3204
  return o("End of comment missing");
3205
- var E = e.slice(2, b - 2);
3206
- return n += 2, i(E), e = e.slice(b), n += 2, v({
3205
+ var M = e.slice(2, b - 2);
3206
+ return n += 2, i(M), e = e.slice(b), n += 2, v({
3207
3207
  type: x1,
3208
- comment: E
3208
+ comment: M
3209
3209
  });
3210
3210
  }
3211
3211
  }
@@ -3213,10 +3213,10 @@ var A0 = {}, Pa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m1 = /\n/g, f1 = /^\s*/, p1
3213
3213
  var v = a(), b = s(p1);
3214
3214
  if (b) {
3215
3215
  if (h(), !s(d1)) return o("property missing ':'");
3216
- var E = s(g1), w = v({
3216
+ var M = s(g1), w = v({
3217
3217
  type: w1,
3218
3218
  property: qa(b[0].replace(Pa, br)),
3219
- value: E ? qa(E[0].replace(Pa, br)) : br
3219
+ value: M ? qa(M[0].replace(Pa, br)) : br
3220
3220
  });
3221
3221
  return s(v1), w;
3222
3222
  }
@@ -3904,7 +3904,7 @@ function gh(e) {
3904
3904
  }
3905
3905
  function s(z) {
3906
3906
  if (n++, t.containerState._closeFlow) {
3907
- t.containerState._closeFlow = void 0, i && M();
3907
+ t.containerState._closeFlow = void 0, i && A();
3908
3908
  const D = t.events.length;
3909
3909
  let B = D, I;
3910
3910
  for (; B--; )
@@ -3933,7 +3933,7 @@ function gh(e) {
3933
3933
  return t.containerState = {}, e.check(Ya, m, h)(z);
3934
3934
  }
3935
3935
  function m(z) {
3936
- return i && M(), w(n), d(z);
3936
+ return i && A(), w(n), d(z);
3937
3937
  }
3938
3938
  function h(z) {
3939
3939
  return t.parser.lazy[t.now().line] = n !== r.length, l = t.now().offset, v(z);
@@ -3946,7 +3946,7 @@ function gh(e) {
3946
3946
  }
3947
3947
  function v(z) {
3948
3948
  if (z === null) {
3949
- i && M(), w(0), e.consume(z);
3949
+ i && A(), w(0), e.consume(z);
3950
3950
  return;
3951
3951
  }
3952
3952
  return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
@@ -3957,12 +3957,12 @@ function gh(e) {
3957
3957
  }
3958
3958
  function b(z) {
3959
3959
  if (z === null) {
3960
- E(e.exit("chunkFlow"), !0), w(0), e.consume(z);
3960
+ M(e.exit("chunkFlow"), !0), w(0), e.consume(z);
3961
3961
  return;
3962
3962
  }
3963
- return J(z) ? (e.consume(z), E(e.exit("chunkFlow")), n = 0, t.interrupt = void 0, o) : (e.consume(z), b);
3963
+ return J(z) ? (e.consume(z), M(e.exit("chunkFlow")), n = 0, t.interrupt = void 0, o) : (e.consume(z), b);
3964
3964
  }
3965
- function E(z, D) {
3965
+ function M(z, D) {
3966
3966
  const B = t.sliceStream(z);
3967
3967
  if (D && B.push(null), z.previous = a, a && (a.next = z), a = z, i.defineSkip(z.start), i.write(B), t.parser.lazy[z.start.line]) {
3968
3968
  let I = i.events.length;
@@ -3999,7 +3999,7 @@ function gh(e) {
3999
3999
  }
4000
4000
  r.length = z;
4001
4001
  }
4002
- function M() {
4002
+ function A() {
4003
4003
  i.write([null]), a = void 0, i = void 0, t.containerState._closeFlow = void 0;
4004
4004
  }
4005
4005
  }
@@ -4267,19 +4267,19 @@ function Ch(e, t, r) {
4267
4267
  return I === null || J(I) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), h(I)) : I === 96 && I === o ? r(I) : (e.consume(I), v);
4268
4268
  }
4269
4269
  function b(I) {
4270
- return e.attempt(i, D, E)(I);
4270
+ return e.attempt(i, D, M)(I);
4271
4271
  }
4272
- function E(I) {
4272
+ function M(I) {
4273
4273
  return e.enter("lineEnding"), e.consume(I), e.exit("lineEnding"), w;
4274
4274
  }
4275
4275
  function w(I) {
4276
- return a > 0 && pe(I) ? he(e, M, "linePrefix", a + 1)(I) : M(I);
4276
+ return a > 0 && pe(I) ? he(e, A, "linePrefix", a + 1)(I) : A(I);
4277
4277
  }
4278
- function M(I) {
4278
+ function A(I) {
4279
4279
  return I === null || J(I) ? e.check(Ka, b, D)(I) : (e.enter("codeFlowValue"), z(I));
4280
4280
  }
4281
4281
  function z(I) {
4282
- return I === null || J(I) ? (e.exit("codeFlowValue"), M(I)) : (e.consume(I), z);
4282
+ return I === null || J(I) ? (e.exit("codeFlowValue"), A(I)) : (e.consume(I), z);
4283
4283
  }
4284
4284
  function D(I) {
4285
4285
  return e.exit("codeFenced"), t(I);
@@ -4597,7 +4597,7 @@ function Ph(e, t) {
4597
4597
  l || (l = n.parser[r.contentType](r.start), r._contentTypeTextTrailing && (l._contentTypeTextTrailing = !0));
4598
4598
  const o = l.events, s = [], u = {};
4599
4599
  let m, h, d = -1, p = r, v = 0, b = 0;
4600
- const E = [b];
4600
+ const M = [b];
4601
4601
  for (; p; ) {
4602
4602
  for (; e.get(++i)[1] !== p; )
4603
4603
  ;
@@ -4605,10 +4605,10 @@ function Ph(e, t) {
4605
4605
  }
4606
4606
  for (p = r; ++d < o.length; )
4607
4607
  // Find a void token that includes a break.
4608
- o[d][0] === "exit" && o[d - 1][0] === "enter" && o[d][1].type === o[d - 1][1].type && o[d][1].start.line !== o[d][1].end.line && (b = d + 1, E.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
4609
- for (l.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : E.pop(), d = E.length; d--; ) {
4610
- const w = o.slice(E[d], E[d + 1]), M = a.pop();
4611
- s.push([M, M + w.length - 1]), e.splice(M, 2, w);
4608
+ o[d][0] === "exit" && o[d - 1][0] === "enter" && o[d][1].type === o[d - 1][1].type && o[d][1].start.line !== o[d][1].end.line && (b = d + 1, M.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
4609
+ for (l.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : M.pop(), d = M.length; d--; ) {
4610
+ const w = o.slice(M[d], M[d + 1]), A = a.pop();
4611
+ s.push([A, A + w.length - 1]), e.splice(A, 2, w);
4612
4612
  }
4613
4613
  for (s.reverse(), d = -1; ++d < s.length; )
4614
4614
  u[v + s[d][0]] = v + s[d][1], v += s[d][1] - s[d][0] - 1;
@@ -4679,9 +4679,9 @@ function Ko(e, t, r, n, i, a, l, o, s) {
4679
4679
  return w === 60 || w === 62 || w === 92 ? (e.consume(w), p) : p(w);
4680
4680
  }
4681
4681
  function b(w) {
4682
- return !m && (w === null || w === 41 || Se(w)) ? (e.exit("chunkString"), e.exit(o), e.exit(l), e.exit(n), t(w)) : m < u && w === 40 ? (e.consume(w), m++, b) : w === 41 ? (e.consume(w), m--, b) : w === null || w === 32 || w === 40 || Ln(w) ? r(w) : (e.consume(w), w === 92 ? E : b);
4682
+ return !m && (w === null || w === 41 || Se(w)) ? (e.exit("chunkString"), e.exit(o), e.exit(l), e.exit(n), t(w)) : m < u && w === 40 ? (e.consume(w), m++, b) : w === 41 ? (e.consume(w), m--, b) : w === null || w === 32 || w === 40 || Ln(w) ? r(w) : (e.consume(w), w === 92 ? M : b);
4683
4683
  }
4684
- function E(w) {
4684
+ function M(w) {
4685
4685
  return w === 40 || w === 41 || w === 92 ? (e.consume(w), b) : b(w);
4686
4686
  }
4687
4687
  }
@@ -4945,104 +4945,104 @@ function im(e, t, r) {
4945
4945
  const n = this;
4946
4946
  let i, a, l, o, s;
4947
4947
  return u;
4948
- function u(A) {
4949
- return m(A);
4948
+ function u(E) {
4949
+ return m(E);
4950
4950
  }
4951
- function m(A) {
4952
- return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(A), h;
4951
+ function m(E) {
4952
+ return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(E), h;
4953
4953
  }
4954
- function h(A) {
4955
- return A === 33 ? (e.consume(A), d) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), i = 3, n.interrupt ? t : S) : et(A) ? (e.consume(A), l = String.fromCharCode(A), E) : r(A);
4954
+ function h(E) {
4955
+ return E === 33 ? (e.consume(E), d) : E === 47 ? (e.consume(E), a = !0, b) : E === 63 ? (e.consume(E), i = 3, n.interrupt ? t : S) : et(E) ? (e.consume(E), l = String.fromCharCode(E), M) : r(E);
4956
4956
  }
4957
- function d(A) {
4958
- return A === 45 ? (e.consume(A), i = 2, p) : A === 91 ? (e.consume(A), i = 5, o = 0, v) : et(A) ? (e.consume(A), i = 4, n.interrupt ? t : S) : r(A);
4957
+ function d(E) {
4958
+ return E === 45 ? (e.consume(E), i = 2, p) : E === 91 ? (e.consume(E), i = 5, o = 0, v) : et(E) ? (e.consume(E), i = 4, n.interrupt ? t : S) : r(E);
4959
4959
  }
4960
- function p(A) {
4961
- return A === 45 ? (e.consume(A), n.interrupt ? t : S) : r(A);
4960
+ function p(E) {
4961
+ return E === 45 ? (e.consume(E), n.interrupt ? t : S) : r(E);
4962
4962
  }
4963
- function v(A) {
4963
+ function v(E) {
4964
4964
  const Fe = "CDATA[";
4965
- return A === Fe.charCodeAt(o++) ? (e.consume(A), o === Fe.length ? n.interrupt ? t : V : v) : r(A);
4965
+ return E === Fe.charCodeAt(o++) ? (e.consume(E), o === Fe.length ? n.interrupt ? t : V : v) : r(E);
4966
4966
  }
4967
- function b(A) {
4968
- return et(A) ? (e.consume(A), l = String.fromCharCode(A), E) : r(A);
4967
+ function b(E) {
4968
+ return et(E) ? (e.consume(E), l = String.fromCharCode(E), M) : r(E);
4969
4969
  }
4970
- function E(A) {
4971
- if (A === null || A === 47 || A === 62 || Se(A)) {
4972
- const Fe = A === 47, $e = l.toLowerCase();
4973
- return !Fe && !a && Za.includes($e) ? (i = 1, n.interrupt ? t(A) : V(A)) : Jh.includes(l.toLowerCase()) ? (i = 6, Fe ? (e.consume(A), w) : n.interrupt ? t(A) : V(A)) : (i = 7, n.interrupt && !n.parser.lazy[n.now().line] ? r(A) : a ? M(A) : z(A));
4970
+ function M(E) {
4971
+ if (E === null || E === 47 || E === 62 || Se(E)) {
4972
+ const Fe = E === 47, $e = l.toLowerCase();
4973
+ return !Fe && !a && Za.includes($e) ? (i = 1, n.interrupt ? t(E) : V(E)) : Jh.includes(l.toLowerCase()) ? (i = 6, Fe ? (e.consume(E), w) : n.interrupt ? t(E) : V(E)) : (i = 7, n.interrupt && !n.parser.lazy[n.now().line] ? r(E) : a ? A(E) : z(E));
4974
4974
  }
4975
- return A === 45 || Ye(A) ? (e.consume(A), l += String.fromCharCode(A), E) : r(A);
4975
+ return E === 45 || Ye(E) ? (e.consume(E), l += String.fromCharCode(E), M) : r(E);
4976
4976
  }
4977
- function w(A) {
4978
- return A === 62 ? (e.consume(A), n.interrupt ? t : V) : r(A);
4977
+ function w(E) {
4978
+ return E === 62 ? (e.consume(E), n.interrupt ? t : V) : r(E);
4979
4979
  }
4980
- function M(A) {
4981
- return pe(A) ? (e.consume(A), M) : N(A);
4980
+ function A(E) {
4981
+ return pe(E) ? (e.consume(E), A) : N(E);
4982
4982
  }
4983
- function z(A) {
4984
- return A === 47 ? (e.consume(A), N) : A === 58 || A === 95 || et(A) ? (e.consume(A), D) : pe(A) ? (e.consume(A), z) : N(A);
4983
+ function z(E) {
4984
+ return E === 47 ? (e.consume(E), N) : E === 58 || E === 95 || et(E) ? (e.consume(E), D) : pe(E) ? (e.consume(E), z) : N(E);
4985
4985
  }
4986
- function D(A) {
4987
- return A === 45 || A === 46 || A === 58 || A === 95 || Ye(A) ? (e.consume(A), D) : B(A);
4986
+ function D(E) {
4987
+ return E === 45 || E === 46 || E === 58 || E === 95 || Ye(E) ? (e.consume(E), D) : B(E);
4988
4988
  }
4989
- function B(A) {
4990
- return A === 61 ? (e.consume(A), I) : pe(A) ? (e.consume(A), B) : z(A);
4989
+ function B(E) {
4990
+ return E === 61 ? (e.consume(E), I) : pe(E) ? (e.consume(E), B) : z(E);
4991
4991
  }
4992
- function I(A) {
4993
- return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? r(A) : A === 34 || A === 39 ? (e.consume(A), s = A, F) : pe(A) ? (e.consume(A), I) : Y(A);
4992
+ function I(E) {
4993
+ return E === null || E === 60 || E === 61 || E === 62 || E === 96 ? r(E) : E === 34 || E === 39 ? (e.consume(E), s = E, F) : pe(E) ? (e.consume(E), I) : Y(E);
4994
4994
  }
4995
- function F(A) {
4996
- return A === s ? (e.consume(A), s = null, H) : A === null || J(A) ? r(A) : (e.consume(A), F);
4995
+ function F(E) {
4996
+ return E === s ? (e.consume(E), s = null, H) : E === null || J(E) ? r(E) : (e.consume(E), F);
4997
4997
  }
4998
- function Y(A) {
4999
- return A === null || A === 34 || A === 39 || A === 47 || A === 60 || A === 61 || A === 62 || A === 96 || Se(A) ? B(A) : (e.consume(A), Y);
4998
+ function Y(E) {
4999
+ return E === null || E === 34 || E === 39 || E === 47 || E === 60 || E === 61 || E === 62 || E === 96 || Se(E) ? B(E) : (e.consume(E), Y);
5000
5000
  }
5001
- function H(A) {
5002
- return A === 47 || A === 62 || pe(A) ? z(A) : r(A);
5001
+ function H(E) {
5002
+ return E === 47 || E === 62 || pe(E) ? z(E) : r(E);
5003
5003
  }
5004
- function N(A) {
5005
- return A === 62 ? (e.consume(A), $) : r(A);
5004
+ function N(E) {
5005
+ return E === 62 ? (e.consume(E), $) : r(E);
5006
5006
  }
5007
- function $(A) {
5008
- return A === null || J(A) ? V(A) : pe(A) ? (e.consume(A), $) : r(A);
5007
+ function $(E) {
5008
+ return E === null || J(E) ? V(E) : pe(E) ? (e.consume(E), $) : r(E);
5009
5009
  }
5010
- function V(A) {
5011
- return A === 45 && i === 2 ? (e.consume(A), me) : A === 60 && i === 1 ? (e.consume(A), ve) : A === 62 && i === 4 ? (e.consume(A), Me) : A === 63 && i === 3 ? (e.consume(A), S) : A === 93 && i === 5 ? (e.consume(A), Ue) : J(A) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(tm, we, ie)(A)) : A === null || J(A) ? (e.exit("htmlFlowData"), ie(A)) : (e.consume(A), V);
5010
+ function V(E) {
5011
+ return E === 45 && i === 2 ? (e.consume(E), me) : E === 60 && i === 1 ? (e.consume(E), ve) : E === 62 && i === 4 ? (e.consume(E), Me) : E === 63 && i === 3 ? (e.consume(E), S) : E === 93 && i === 5 ? (e.consume(E), Ue) : J(E) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(tm, we, ie)(E)) : E === null || J(E) ? (e.exit("htmlFlowData"), ie(E)) : (e.consume(E), V);
5012
5012
  }
5013
- function ie(A) {
5014
- return e.check(rm, te, we)(A);
5013
+ function ie(E) {
5014
+ return e.check(rm, te, we)(E);
5015
5015
  }
5016
- function te(A) {
5017
- return e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), K;
5016
+ function te(E) {
5017
+ return e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), K;
5018
5018
  }
5019
- function K(A) {
5020
- return A === null || J(A) ? ie(A) : (e.enter("htmlFlowData"), V(A));
5019
+ function K(E) {
5020
+ return E === null || J(E) ? ie(E) : (e.enter("htmlFlowData"), V(E));
5021
5021
  }
5022
- function me(A) {
5023
- return A === 45 ? (e.consume(A), S) : V(A);
5022
+ function me(E) {
5023
+ return E === 45 ? (e.consume(E), S) : V(E);
5024
5024
  }
5025
- function ve(A) {
5026
- return A === 47 ? (e.consume(A), l = "", Ce) : V(A);
5025
+ function ve(E) {
5026
+ return E === 47 ? (e.consume(E), l = "", Ce) : V(E);
5027
5027
  }
5028
- function Ce(A) {
5029
- if (A === 62) {
5028
+ function Ce(E) {
5029
+ if (E === 62) {
5030
5030
  const Fe = l.toLowerCase();
5031
- return Za.includes(Fe) ? (e.consume(A), Me) : V(A);
5031
+ return Za.includes(Fe) ? (e.consume(E), Me) : V(E);
5032
5032
  }
5033
- return et(A) && l.length < 8 ? (e.consume(A), l += String.fromCharCode(A), Ce) : V(A);
5033
+ return et(E) && l.length < 8 ? (e.consume(E), l += String.fromCharCode(E), Ce) : V(E);
5034
5034
  }
5035
- function Ue(A) {
5036
- return A === 93 ? (e.consume(A), S) : V(A);
5035
+ function Ue(E) {
5036
+ return E === 93 ? (e.consume(E), S) : V(E);
5037
5037
  }
5038
- function S(A) {
5039
- return A === 62 ? (e.consume(A), Me) : A === 45 && i === 2 ? (e.consume(A), S) : V(A);
5038
+ function S(E) {
5039
+ return E === 62 ? (e.consume(E), Me) : E === 45 && i === 2 ? (e.consume(E), S) : V(E);
5040
5040
  }
5041
- function Me(A) {
5042
- return A === null || J(A) ? (e.exit("htmlFlowData"), we(A)) : (e.consume(A), Me);
5041
+ function Me(E) {
5042
+ return E === null || J(E) ? (e.exit("htmlFlowData"), we(E)) : (e.consume(E), Me);
5043
5043
  }
5044
- function we(A) {
5045
- return e.exit("htmlFlow"), t(A);
5044
+ function we(E) {
5045
+ return e.exit("htmlFlow"), t(E);
5046
5046
  }
5047
5047
  }
5048
5048
  function am(e, t, r) {
@@ -5076,7 +5076,7 @@ function sm(e, t, r) {
5076
5076
  return S === 33 ? (e.consume(S), u) : S === 47 ? (e.consume(S), B) : S === 63 ? (e.consume(S), z) : et(S) ? (e.consume(S), Y) : r(S);
5077
5077
  }
5078
5078
  function u(S) {
5079
- return S === 45 ? (e.consume(S), m) : S === 91 ? (e.consume(S), a = 0, v) : et(S) ? (e.consume(S), M) : r(S);
5079
+ return S === 45 ? (e.consume(S), m) : S === 91 ? (e.consume(S), a = 0, v) : et(S) ? (e.consume(S), A) : r(S);
5080
5080
  }
5081
5081
  function m(S) {
5082
5082
  return S === 45 ? (e.consume(S), p) : r(S);
@@ -5095,16 +5095,16 @@ function sm(e, t, r) {
5095
5095
  return S === Me.charCodeAt(a++) ? (e.consume(S), a === Me.length ? b : v) : r(S);
5096
5096
  }
5097
5097
  function b(S) {
5098
- return S === null ? r(S) : S === 93 ? (e.consume(S), E) : J(S) ? (l = b, ve(S)) : (e.consume(S), b);
5098
+ return S === null ? r(S) : S === 93 ? (e.consume(S), M) : J(S) ? (l = b, ve(S)) : (e.consume(S), b);
5099
5099
  }
5100
- function E(S) {
5100
+ function M(S) {
5101
5101
  return S === 93 ? (e.consume(S), w) : b(S);
5102
5102
  }
5103
5103
  function w(S) {
5104
5104
  return S === 62 ? me(S) : S === 93 ? (e.consume(S), w) : b(S);
5105
5105
  }
5106
- function M(S) {
5107
- return S === null || S === 62 ? me(S) : J(S) ? (l = M, ve(S)) : (e.consume(S), M);
5106
+ function A(S) {
5107
+ return S === null || S === 62 ? me(S) : J(S) ? (l = A, ve(S)) : (e.consume(S), A);
5108
5108
  }
5109
5109
  function z(S) {
5110
5110
  return S === null ? r(S) : S === 63 ? (e.consume(S), D) : J(S) ? (l = z, ve(S)) : (e.consume(S), z);
@@ -5691,7 +5691,7 @@ function Xm(e, t, r) {
5691
5691
  const s = {
5692
5692
  attempt: F(B),
5693
5693
  check: F(I),
5694
- consume: M,
5694
+ consume: A,
5695
5695
  enter: z,
5696
5696
  exit: D,
5697
5697
  interrupt: F(I, {
@@ -5712,7 +5712,7 @@ function Xm(e, t, r) {
5712
5712
  let m = t.tokenize.call(u, s);
5713
5713
  return t.resolveAll && a.push(t), u;
5714
5714
  function h($) {
5715
- return l = wt(l, $), E(), l[l.length - 1] !== null ? [] : (Y(t, 0), u.events = Gn(a, u.events, u), u.events);
5715
+ return l = wt(l, $), M(), l[l.length - 1] !== null ? [] : (Y(t, 0), u.events = Gn(a, u.events, u), u.events);
5716
5716
  }
5717
5717
  function d($, V) {
5718
5718
  return Qm(p($), V);
@@ -5739,7 +5739,7 @@ function Xm(e, t, r) {
5739
5739
  function b($) {
5740
5740
  i[$.line] = $.column, N();
5741
5741
  }
5742
- function E() {
5742
+ function M() {
5743
5743
  let $;
5744
5744
  for (; n._index < l.length; ) {
5745
5745
  const V = l[n._index];
@@ -5753,7 +5753,7 @@ function Xm(e, t, r) {
5753
5753
  function w($) {
5754
5754
  m = m($);
5755
5755
  }
5756
- function M($) {
5756
+ function A($) {
5757
5757
  J($) ? (n.line++, n.column = 1, n.offset += $ === -3 ? 2 : 1, N()) : $ !== -1 && (n.column++, n.offset++), n._bufferIndex < 0 ? n._index++ : (n._bufferIndex++, n._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
5758
5758
  // strings.
5759
5759
  /** @type {string} */
@@ -5800,9 +5800,9 @@ function Xm(e, t, r) {
5800
5800
  }
5801
5801
  }
5802
5802
  function we(ze) {
5803
- return ve = ze, Ce = 0, ze.length === 0 ? me : A(ze[Ce]);
5803
+ return ve = ze, Ce = 0, ze.length === 0 ? me : E(ze[Ce]);
5804
5804
  }
5805
- function A(ze) {
5805
+ function E(ze) {
5806
5806
  return Ve;
5807
5807
  function Ve(Re) {
5808
5808
  return S = H(), Ue = ze, ze.partial || (u.currentConstruct = ze), ze.name && u.parser.constructs.disable.null.includes(ze.name) ? $e() : ze.tokenize.call(
@@ -5820,7 +5820,7 @@ function Xm(e, t, r) {
5820
5820
  return $(Ue, S), K;
5821
5821
  }
5822
5822
  function $e(ze) {
5823
- return S.restore(), ++Ce < ve.length ? A(ve[Ce]) : me;
5823
+ return S.restore(), ++Ce < ve.length ? E(ve[Ce]) : me;
5824
5824
  }
5825
5825
  }
5826
5826
  }
@@ -6014,7 +6014,7 @@ function lf(e) {
6014
6014
  listOrdered: a(mr, h),
6015
6015
  listUnordered: a(mr),
6016
6016
  paragraph: a(ni),
6017
- reference: A,
6017
+ reference: E,
6018
6018
  referenceString: l,
6019
6019
  resourceDestinationString: l,
6020
6020
  resourceTitleString: l,
@@ -6034,7 +6034,7 @@ function lf(e) {
6034
6034
  characterReferenceMarkerNumeric: $e,
6035
6035
  characterReferenceValue: ze,
6036
6036
  characterReference: Ve,
6037
- codeFenced: s(E),
6037
+ codeFenced: s(M),
6038
6038
  codeFencedFence: b,
6039
6039
  codeFencedFenceInfo: p,
6040
6040
  codeFencedFenceMeta: v,
@@ -6045,7 +6045,7 @@ function lf(e) {
6045
6045
  data: N,
6046
6046
  definition: s(),
6047
6047
  definitionDestinationString: D,
6048
- definitionLabelString: M,
6048
+ definitionLabelString: A,
6049
6049
  definitionTitleString: z,
6050
6050
  emphasis: s(),
6051
6051
  hardBreakEscape: s(V),
@@ -6234,7 +6234,7 @@ function lf(e) {
6234
6234
  function b() {
6235
6235
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
6236
6236
  }
6237
- function E() {
6237
+ function M() {
6238
6238
  const L = this.resume(), W = this.stack[this.stack.length - 1];
6239
6239
  W.value = L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
6240
6240
  }
@@ -6242,7 +6242,7 @@ function lf(e) {
6242
6242
  const L = this.resume(), W = this.stack[this.stack.length - 1];
6243
6243
  W.value = L.replace(/(\r?\n|\r)$/g, "");
6244
6244
  }
6245
- function M(L) {
6245
+ function A(L) {
6246
6246
  const W = this.resume(), le = this.stack[this.stack.length - 1];
6247
6247
  le.label = W, le.identifier = Nt(this.sliceSerialize(L)).toLowerCase();
6248
6248
  }
@@ -6349,7 +6349,7 @@ function lf(e) {
6349
6349
  function we() {
6350
6350
  this.data.inReference = void 0;
6351
6351
  }
6352
- function A() {
6352
+ function E() {
6353
6353
  this.data.referenceType = "collapsed";
6354
6354
  }
6355
6355
  function Fe(L) {
@@ -7095,8 +7095,8 @@ function qf(e) {
7095
7095
  const v = [], b = e.footnoteCounts.get(h);
7096
7096
  for (; b !== void 0 && ++p <= b; ) {
7097
7097
  v.length > 0 && v.push({ type: "text", value: " " });
7098
- let M = typeof r == "string" ? r : r(s, p);
7099
- typeof M == "string" && (M = { type: "text", value: M }), v.push({
7098
+ let A = typeof r == "string" ? r : r(s, p);
7099
+ typeof A == "string" && (A = { type: "text", value: A }), v.push({
7100
7100
  type: "element",
7101
7101
  tagName: "a",
7102
7102
  properties: {
@@ -7105,13 +7105,13 @@ function qf(e) {
7105
7105
  ariaLabel: typeof n == "string" ? n : n(s, p),
7106
7106
  className: ["data-footnote-backref"]
7107
7107
  },
7108
- children: Array.isArray(M) ? M : [M]
7108
+ children: Array.isArray(A) ? A : [A]
7109
7109
  });
7110
7110
  }
7111
- const E = m[m.length - 1];
7112
- if (E && E.type === "element" && E.tagName === "p") {
7113
- const M = E.children[E.children.length - 1];
7114
- M && M.type === "text" ? M.value += " " : E.children.push({ type: "text", value: " " }), E.children.push(...v);
7111
+ const M = m[m.length - 1];
7112
+ if (M && M.type === "element" && M.tagName === "p") {
7113
+ const A = M.children[M.children.length - 1];
7114
+ A && A.type === "text" ? A.value += " " : M.children.push({ type: "text", value: " " }), M.children.push(...v);
7115
7115
  } else
7116
7116
  m.push(...v);
7117
7117
  const w = {
@@ -7256,7 +7256,7 @@ function F0(e, t, r, n) {
7256
7256
  }
7257
7257
  return d;
7258
7258
  function d() {
7259
- let p = ss, v, b, E;
7259
+ let p = ss, v, b, M;
7260
7260
  if ((!t || a(s, u, m[m.length - 1] || void 0)) && (p = Yf(r(s, m)), p[0] === i0))
7261
7261
  return p;
7262
7262
  if ("children" in s && s.children) {
@@ -7265,9 +7265,9 @@ function F0(e, t, r, n) {
7265
7265
  s
7266
7266
  );
7267
7267
  if (w.children && p[0] !== us)
7268
- for (b = (n ? w.children.length : -1) + l, E = m.concat(w); b > -1 && b < w.children.length; ) {
7269
- const M = w.children[b];
7270
- if (v = o(M, b, E)(), v[0] === i0)
7268
+ for (b = (n ? w.children.length : -1) + l, M = m.concat(w); b > -1 && b < w.children.length; ) {
7269
+ const A = w.children[b];
7270
+ if (v = o(A, b, M)(), v[0] === i0)
7271
7271
  return v;
7272
7272
  b = typeof v[1] == "number" ? v[1] : b + l;
7273
7273
  }
@@ -7314,7 +7314,7 @@ function Kf(e, t) {
7314
7314
  return p(o, m, h);
7315
7315
  if (o.options.passThrough && o.options.passThrough.includes(d)) {
7316
7316
  if ("children" in m) {
7317
- const { children: b, ...E } = m, w = Bn(E);
7317
+ const { children: b, ...M } = m, w = Bn(M);
7318
7318
  return w.children = o.all(m), w;
7319
7319
  }
7320
7320
  return Bn(m);
@@ -8839,52 +8839,52 @@ function R4(e, t, r) {
8839
8839
  const n = this, i = n.events[n.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0;
8840
8840
  let l = 0;
8841
8841
  return o;
8842
- function o(M) {
8843
- return e.enter("mathFlow"), e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), s(M);
8842
+ function o(A) {
8843
+ return e.enter("mathFlow"), e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), s(A);
8844
8844
  }
8845
- function s(M) {
8846
- return M === 36 ? (e.consume(M), l++, s) : l < 2 ? r(M) : (e.exit("mathFlowFenceSequence"), he(e, u, "whitespace")(M));
8845
+ function s(A) {
8846
+ return A === 36 ? (e.consume(A), l++, s) : l < 2 ? r(A) : (e.exit("mathFlowFenceSequence"), he(e, u, "whitespace")(A));
8847
8847
  }
8848
- function u(M) {
8849
- return M === null || J(M) ? h(M) : (e.enter("mathFlowFenceMeta"), e.enter("chunkString", {
8848
+ function u(A) {
8849
+ return A === null || J(A) ? h(A) : (e.enter("mathFlowFenceMeta"), e.enter("chunkString", {
8850
8850
  contentType: "string"
8851
- }), m(M));
8851
+ }), m(A));
8852
8852
  }
8853
- function m(M) {
8854
- return M === null || J(M) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), h(M)) : M === 36 ? r(M) : (e.consume(M), m);
8853
+ function m(A) {
8854
+ return A === null || J(A) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), h(A)) : A === 36 ? r(A) : (e.consume(A), m);
8855
8855
  }
8856
- function h(M) {
8857
- return e.exit("mathFlowFence"), n.interrupt ? t(M) : e.attempt(kl, d, E)(M);
8856
+ function h(A) {
8857
+ return e.exit("mathFlowFence"), n.interrupt ? t(A) : e.attempt(kl, d, M)(A);
8858
8858
  }
8859
- function d(M) {
8859
+ function d(A) {
8860
8860
  return e.attempt({
8861
8861
  tokenize: w,
8862
8862
  partial: !0
8863
- }, E, p)(M);
8863
+ }, M, p)(A);
8864
8864
  }
8865
- function p(M) {
8866
- return (a ? he(e, v, "linePrefix", a + 1) : v)(M);
8865
+ function p(A) {
8866
+ return (a ? he(e, v, "linePrefix", a + 1) : v)(A);
8867
8867
  }
8868
- function v(M) {
8869
- return M === null ? E(M) : J(M) ? e.attempt(kl, d, E)(M) : (e.enter("mathFlowValue"), b(M));
8868
+ function v(A) {
8869
+ return A === null ? M(A) : J(A) ? e.attempt(kl, d, M)(A) : (e.enter("mathFlowValue"), b(A));
8870
8870
  }
8871
- function b(M) {
8872
- return M === null || J(M) ? (e.exit("mathFlowValue"), v(M)) : (e.consume(M), b);
8871
+ function b(A) {
8872
+ return A === null || J(A) ? (e.exit("mathFlowValue"), v(A)) : (e.consume(A), b);
8873
8873
  }
8874
- function E(M) {
8875
- return e.exit("mathFlow"), t(M);
8874
+ function M(A) {
8875
+ return e.exit("mathFlow"), t(A);
8876
8876
  }
8877
- function w(M, z, D) {
8877
+ function w(A, z, D) {
8878
8878
  let B = 0;
8879
- return he(M, I, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
8879
+ return he(A, I, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
8880
8880
  function I(H) {
8881
- return M.enter("mathFlowFence"), M.enter("mathFlowFenceSequence"), F(H);
8881
+ return A.enter("mathFlowFence"), A.enter("mathFlowFenceSequence"), F(H);
8882
8882
  }
8883
8883
  function F(H) {
8884
- return H === 36 ? (B++, M.consume(H), F) : B < l ? D(H) : (M.exit("mathFlowFenceSequence"), he(M, Y, "whitespace")(H));
8884
+ return H === 36 ? (B++, A.consume(H), F) : B < l ? D(H) : (A.exit("mathFlowFenceSequence"), he(A, Y, "whitespace")(H));
8885
8885
  }
8886
8886
  function Y(H) {
8887
- return H === null || J(H) ? (M.exit("mathFlowFence"), z(H)) : D(H);
8887
+ return H === null || J(H) ? (A.exit("mathFlowFence"), z(H)) : D(H);
8888
8888
  }
8889
8889
  }
8890
8890
  }
@@ -13316,15 +13316,15 @@ var kn = [
13316
13316
  if (n === "mathord")
13317
13317
  return zt(a, "Math-Italic", i, r, l.concat(["mathnormal"]));
13318
13318
  if (n === "textord") {
13319
- var E = Ee[i][a] && Ee[i][a].font;
13320
- if (E === "ams") {
13319
+ var M = Ee[i][a] && Ee[i][a].font;
13320
+ if (M === "ams") {
13321
13321
  var w = Sn("amsrm", r.fontWeight, r.fontShape);
13322
13322
  return zt(a, w, i, r, l.concat("amsrm", r.fontWeight, r.fontShape));
13323
- } else if (E === "main" || !E) {
13324
- var M = Sn("textrm", r.fontWeight, r.fontShape);
13325
- return zt(a, M, i, r, l.concat(r.fontWeight, r.fontShape));
13323
+ } else if (M === "main" || !M) {
13324
+ var A = Sn("textrm", r.fontWeight, r.fontShape);
13325
+ return zt(a, A, i, r, l.concat(r.fontWeight, r.fontShape));
13326
13326
  } else {
13327
- var z = Sn(E, r.fontWeight, r.fontShape);
13327
+ var z = Sn(M, r.fontWeight, r.fontShape);
13328
13328
  return zt(a, z, i, r, l.concat(z, r.fontWeight, r.fontShape));
13329
13329
  }
13330
13330
  } else
@@ -13427,8 +13427,8 @@ var kn = [
13427
13427
  if (b.type === "kern")
13428
13428
  p += b.size;
13429
13429
  else {
13430
- var E = b.elem, w = b.wrapperClasses || [], M = b.wrapperStyle || {}, z = ot(w, [u, E], void 0, M);
13431
- z.style.top = G(-a - p - E.depth), b.marginLeft && (z.style.marginLeft = b.marginLeft), b.marginRight && (z.style.marginRight = b.marginRight), m.push(z), p += E.height + E.depth;
13430
+ var M = b.elem, w = b.wrapperClasses || [], A = b.wrapperStyle || {}, z = ot(w, [u, M], void 0, A);
13431
+ z.style.top = G(-a - p - M.depth), b.marginLeft && (z.style.marginLeft = b.marginLeft), b.marginRight && (z.style.marginRight = b.marginRight), m.push(z), p += M.height + M.depth;
13432
13432
  }
13433
13433
  h = Math.min(h, p), d = Math.max(d, p);
13434
13434
  }
@@ -13713,14 +13713,14 @@ var qn = function(t) {
13713
13713
  }
13714
13714
  var h = Kt([i[0] || "leftmost"], [], r), d = Kt([i[1] || "rightmost"], [], r), p = n === "root";
13715
13715
  return Rl(a, (v, b) => {
13716
- var E = b.classes[0], w = v.classes[0];
13717
- E === "mbin" && ee.contains(_p, w) ? b.classes[0] = "mord" : w === "mbin" && ee.contains(Pp, E) && (v.classes[0] = "mord");
13716
+ var M = b.classes[0], w = v.classes[0];
13717
+ M === "mbin" && ee.contains(_p, w) ? b.classes[0] = "mord" : w === "mbin" && ee.contains(Pp, M) && (v.classes[0] = "mord");
13718
13718
  }, {
13719
13719
  node: h
13720
13720
  }, d, p), Rl(a, (v, b) => {
13721
- var E = m0(b), w = m0(v), M = E && w ? v.hasClass("mtight") ? Fp[E][w] : Bp[E][w] : null;
13722
- if (M)
13723
- return O.makeGlue(M, u);
13721
+ var M = m0(b), w = m0(v), A = M && w ? v.hasClass("mtight") ? Fp[M][w] : Bp[M][w] : null;
13722
+ if (A)
13723
+ return O.makeGlue(A, u);
13724
13724
  }, {
13725
13725
  node: h
13726
13726
  }, d, p), a;
@@ -14160,21 +14160,21 @@ var Ms = function(t) {
14160
14160
  var v = [1, 1, 2, 2, 3, 3][m];
14161
14161
  s === "widehat" || s === "widecheck" ? (o = [0, 1062, 2364, 2364, 2364][v], h = [0, 239, 300, 360, 420][v], p = [0, 0.24, 0.3, 0.3, 0.36, 0.42][v], d = s + v) : (o = [0, 600, 1033, 2339, 2340][v], h = [0, 260, 286, 306, 312][v], p = [0, 0.26, 0.286, 0.3, 0.306, 0.34][v], d = "tilde" + v);
14162
14162
  }
14163
- var b = new or(d), E = new Xt([b], {
14163
+ var b = new or(d), M = new Xt([b], {
14164
14164
  width: "100%",
14165
14165
  height: G(p),
14166
14166
  viewBox: "0 0 " + o + " " + h,
14167
14167
  preserveAspectRatio: "none"
14168
14168
  });
14169
14169
  return {
14170
- span: O.makeSvgSpan([], [E], r),
14170
+ span: O.makeSvgSpan([], [M], r),
14171
14171
  minWidth: 0,
14172
14172
  height: p
14173
14173
  };
14174
14174
  } else {
14175
- var w = [], M = Yp[s], [z, D, B] = M, I = B / 1e3, F = z.length, Y, H;
14175
+ var w = [], A = Yp[s], [z, D, B] = A, I = B / 1e3, F = z.length, Y, H;
14176
14176
  if (F === 1) {
14177
- var N = M[3];
14177
+ var N = A[3];
14178
14178
  Y = ["hide-tail"], H = [N];
14179
14179
  } else if (F === 2)
14180
14180
  Y = ["halfarrow-left", "halfarrow-right"], H = ["xMinYMin", "xMaxYMin"];
@@ -14292,8 +14292,8 @@ var Y0 = (e, t) => {
14292
14292
  }, t, "textord"), p = Ml(p), p.italic = 0, v = p.width, m && (h += p.depth)), d = O.makeSpan(["accent-body"], [p]);
14293
14293
  var b = n.label === "\\textcircled";
14294
14294
  b && (d.classes.push("accent-full"), h = a.height);
14295
- var E = o;
14296
- b || (E -= v / 2), d.style.left = G(E), n.label === "\\textcircled" && (d.style.top = ".2em"), d = O.makeVList({
14295
+ var M = o;
14296
+ b || (M -= v / 2), d.style.left = G(M), n.label === "\\textcircled" && (d.style.top = ".2em"), d = O.makeVList({
14297
14297
  positionType: "firstBaseline",
14298
14298
  children: [{
14299
14299
  type: "elem",
@@ -14743,7 +14743,7 @@ function nd(e) {
14743
14743
  a % 2 === 0 ? n.push(o) : n.shift(), n = [], i.push(n);
14744
14744
  }
14745
14745
  e.gullet.endGroup(), e.gullet.endGroup();
14746
- var E = new Array(i[0].length).fill({
14746
+ var M = new Array(i[0].length).fill({
14747
14747
  type: "align",
14748
14748
  align: "c",
14749
14749
  pregap: 0.25,
@@ -14758,7 +14758,7 @@ function nd(e) {
14758
14758
  arraystretch: 1,
14759
14759
  addJot: !0,
14760
14760
  rowGaps: [null],
14761
- cols: E,
14761
+ cols: M,
14762
14762
  colSeparationType: "CD",
14763
14763
  hLinesBeforeRow: new Array(i.length + 1).fill([])
14764
14764
  };
@@ -15115,7 +15115,7 @@ var Kr = function(t, r, n) {
15115
15115
  o = u = m = t, s = null;
15116
15116
  var p = "Size1-Regular";
15117
15117
  t === "\\uparrow" ? u = m = "⏐" : t === "\\Uparrow" ? u = m = "‖" : t === "\\downarrow" ? o = u = "⏐" : t === "\\Downarrow" ? o = u = "‖" : t === "\\updownarrow" ? (o = "\\uparrow", u = "⏐", m = "\\downarrow") : t === "\\Updownarrow" ? (o = "\\Uparrow", u = "‖", m = "\\Downarrow") : ee.contains(od, t) ? (u = "∣", h = "vert", d = 333) : ee.contains(sd, t) ? (u = "∥", h = "doublevert", d = 556) : t === "[" || t === "\\lbrack" ? (o = "⎡", u = "⎢", m = "⎣", p = "Size4-Regular", h = "lbrack", d = 667) : t === "]" || t === "\\rbrack" ? (o = "⎤", u = "⎥", m = "⎦", p = "Size4-Regular", h = "rbrack", d = 667) : t === "\\lfloor" || t === "⌊" ? (u = o = "⎢", m = "⎣", p = "Size4-Regular", h = "lfloor", d = 667) : t === "\\lceil" || t === "⌈" ? (o = "⎡", u = m = "⎢", p = "Size4-Regular", h = "lceil", d = 667) : t === "\\rfloor" || t === "⌋" ? (u = o = "⎥", m = "⎦", p = "Size4-Regular", h = "rfloor", d = 667) : t === "\\rceil" || t === "⌉" ? (o = "⎤", u = m = "⎥", p = "Size4-Regular", h = "rceil", d = 667) : t === "(" || t === "\\lparen" ? (o = "⎛", u = "⎜", m = "⎝", p = "Size4-Regular", h = "lparen", d = 875) : t === ")" || t === "\\rparen" ? (o = "⎞", u = "⎟", m = "⎠", p = "Size4-Regular", h = "rparen", d = 875) : t === "\\{" || t === "\\lbrace" ? (o = "⎧", s = "⎨", m = "⎩", u = "⎪", p = "Size4-Regular") : t === "\\}" || t === "\\rbrace" ? (o = "⎫", s = "⎬", m = "⎭", u = "⎪", p = "Size4-Regular") : t === "\\lgroup" || t === "⟮" ? (o = "⎧", m = "⎩", u = "⎪", p = "Size4-Regular") : t === "\\rgroup" || t === "⟯" ? (o = "⎫", m = "⎭", u = "⎪", p = "Size4-Regular") : t === "\\lmoustache" || t === "⎰" ? (o = "⎧", m = "⎭", u = "⎪", p = "Size4-Regular") : (t === "\\rmoustache" || t === "⎱") && (o = "⎫", m = "⎩", u = "⎪", p = "Size4-Regular");
15118
- var v = Kr(o, p, a), b = v.height + v.depth, E = Kr(u, p, a), w = E.height + E.depth, M = Kr(m, p, a), z = M.height + M.depth, D = 0, B = 1;
15118
+ var v = Kr(o, p, a), b = v.height + v.depth, M = Kr(u, p, a), w = M.height + M.depth, A = Kr(m, p, a), z = A.height + A.depth, D = 0, B = 1;
15119
15119
  if (s !== null) {
15120
15120
  var I = Kr(s, p, a);
15121
15121
  D = I.height + I.depth, B = 2;
@@ -15143,12 +15143,12 @@ var Kr = function(t, r, n) {
15143
15143
  }
15144
15144
  V.push(En), V.push(Oi(o, p, a));
15145
15145
  }
15146
- var A = i.havingBaseStyle(ne.TEXT), Fe = O.makeVList({
15146
+ var E = i.havingBaseStyle(ne.TEXT), Fe = O.makeVList({
15147
15147
  positionType: "bottom",
15148
15148
  positionData: $,
15149
15149
  children: V
15150
- }, A);
15151
- return X0(O.makeSpan(["delimsizing", "mult"], [Fe], A), ne.TEXT, i, l);
15150
+ }, E);
15151
+ return X0(O.makeSpan(["delimsizing", "mult"], [Fe], E), ne.TEXT, i, l);
15152
15152
  }, Li = 80, Di = 0.08, Bi = function(t, r, n, i, a) {
15153
15153
  var l = cp(t, i, n), o = new or(t, l), s = new Xt([o], {
15154
15154
  // Note: 1000:1 ratio of viewBox to document em width.
@@ -15515,17 +15515,17 @@ var K0 = (e, t) => {
15515
15515
  a = O.makeSvgSpan(["hide-tail"], [v], t), a.style.height = G(h), l = r.depth + s + u;
15516
15516
  } else {
15517
15517
  /cancel/.test(n) ? o || r.classes.push("cancel-pad") : n === "angl" ? r.classes.push("anglpad") : r.classes.push("boxpad");
15518
- var b = 0, E = 0, w = 0;
15518
+ var b = 0, M = 0, w = 0;
15519
15519
  /box/.test(n) ? (w = Math.max(
15520
15520
  t.fontMetrics().fboxrule,
15521
15521
  // default
15522
15522
  t.minRuleThickness
15523
15523
  // User override.
15524
- ), b = t.fontMetrics().fboxsep + (n === "colorbox" ? 0 : w), E = b) : n === "angl" ? (w = Math.max(t.fontMetrics().defaultRuleThickness, t.minRuleThickness), b = 4 * w, E = Math.max(0, 0.25 - r.depth)) : (b = o ? 0.2 : 0, E = b), a = Qt.encloseSpan(r, n, b, E, t), /fbox|boxed|fcolorbox/.test(n) ? (a.style.borderStyle = "solid", a.style.borderWidth = G(w)) : n === "angl" && w !== 0.049 && (a.style.borderTopWidth = G(w), a.style.borderRightWidth = G(w)), l = r.depth + E, e.backgroundColor && (a.style.backgroundColor = e.backgroundColor, e.borderColor && (a.style.borderColor = e.borderColor));
15524
+ ), b = t.fontMetrics().fboxsep + (n === "colorbox" ? 0 : w), M = b) : n === "angl" ? (w = Math.max(t.fontMetrics().defaultRuleThickness, t.minRuleThickness), b = 4 * w, M = Math.max(0, 0.25 - r.depth)) : (b = o ? 0.2 : 0, M = b), a = Qt.encloseSpan(r, n, b, M, t), /fbox|boxed|fcolorbox/.test(n) ? (a.style.borderStyle = "solid", a.style.borderWidth = G(w)) : n === "angl" && w !== 0.049 && (a.style.borderTopWidth = G(w), a.style.borderRightWidth = G(w)), l = r.depth + M, e.backgroundColor && (a.style.backgroundColor = e.backgroundColor, e.borderColor && (a.style.borderColor = e.borderColor));
15525
15525
  }
15526
- var M;
15526
+ var A;
15527
15527
  if (e.backgroundColor)
15528
- M = O.makeVList({
15528
+ A = O.makeVList({
15529
15529
  positionType: "individualShift",
15530
15530
  children: [
15531
15531
  // Put the color background behind inner;
@@ -15543,7 +15543,7 @@ var K0 = (e, t) => {
15543
15543
  }, t);
15544
15544
  else {
15545
15545
  var z = /cancel|phase/.test(n) ? ["svg-align"] : [];
15546
- M = O.makeVList({
15546
+ A = O.makeVList({
15547
15547
  positionType: "individualShift",
15548
15548
  children: [
15549
15549
  // Write the \cancel stroke on top of inner.
@@ -15561,7 +15561,7 @@ var K0 = (e, t) => {
15561
15561
  ]
15562
15562
  }, t);
15563
15563
  }
15564
- return /cancel/.test(n) && (M.height = r.height, M.depth = r.depth), /cancel/.test(n) && !o ? O.makeSpan(["mord", "cancel-lap"], [M], t) : O.makeSpan(["mord"], [M], t);
15564
+ return /cancel/.test(n) && (A.height = r.height, A.depth = r.depth), /cancel/.test(n) && !o ? O.makeSpan(["mord", "cancel-lap"], [A], t) : O.makeSpan(["mord"], [A], t);
15565
15565
  }, Q0 = (e, t) => {
15566
15566
  var r = 0, n = new _.MathNode(e.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [Te(e.body, t)]);
15567
15567
  switch (e.label) {
@@ -15772,12 +15772,12 @@ function hr(e, t, r) {
15772
15772
  throw new j("Invalid \\arraystretch: " + p);
15773
15773
  }
15774
15774
  e.gullet.beginGroup();
15775
- var v = [], b = [v], E = [], w = [], M = s != null ? [] : void 0;
15775
+ var v = [], b = [v], M = [], w = [], A = s != null ? [] : void 0;
15776
15776
  function z() {
15777
15777
  s && e.gullet.macros.set("\\@eqnsw", "1", !0);
15778
15778
  }
15779
15779
  function D() {
15780
- M && (e.gullet.macros.get("\\df@tag") ? (M.push(e.subparse([new St("\\df@tag")])), e.gullet.macros.set("\\df@tag", void 0, !0)) : M.push(!!s && e.gullet.macros.get("\\@eqnsw") === "1"));
15780
+ A && (e.gullet.macros.get("\\df@tag") ? (A.push(e.subparse([new St("\\df@tag")])), e.gullet.macros.set("\\df@tag", void 0, !0)) : A.push(!!s && e.gullet.macros.get("\\@eqnsw") === "1"));
15781
15781
  }
15782
15782
  for (z(), w.push(_l(e)); ; ) {
15783
15783
  var B = e.parseExpression(!1, u ? "\\end" : "\\\\");
@@ -15805,7 +15805,7 @@ function hr(e, t, r) {
15805
15805
  } else if (I === "\\\\") {
15806
15806
  e.consume();
15807
15807
  var F = void 0;
15808
- e.gullet.future().text !== " " && (F = e.parseSizeGroup(!0)), E.push(F ? F.value : null), D(), w.push(_l(e)), v = [], b.push(v), z();
15808
+ e.gullet.future().text !== " " && (F = e.parseSizeGroup(!0)), M.push(F ? F.value : null), D(), w.push(_l(e)), v = [], b.push(v), z();
15809
15809
  } else
15810
15810
  throw new j("Expected & or \\\\ or \\cr or \\end", e.nextToken);
15811
15811
  }
@@ -15816,11 +15816,11 @@ function hr(e, t, r) {
15816
15816
  arraystretch: l,
15817
15817
  body: b,
15818
15818
  cols: a,
15819
- rowGaps: E,
15819
+ rowGaps: M,
15820
15820
  hskipBeforeAndAfter: n,
15821
15821
  hLinesBeforeRow: w,
15822
15822
  colSeparationType: o,
15823
- tags: M,
15823
+ tags: A,
15824
15824
  leqno: d
15825
15825
  };
15826
15826
  }
@@ -15841,7 +15841,7 @@ var _t = function(t, r) {
15841
15841
  var v = t.colSeparationType === "CD" ? Oe({
15842
15842
  number: 3,
15843
15843
  unit: "ex"
15844
- }, r) : 12 * h, b = 3 * h, E = t.arraystretch * v, w = 0.7 * E, M = 0.3 * E, z = 0;
15844
+ }, r) : 12 * h, b = 3 * h, M = t.arraystretch * v, w = 0.7 * M, A = 0.3 * M, z = 0;
15845
15845
  function D(Ut) {
15846
15846
  for (var Rt = 0; Rt < Ut.length; ++Rt)
15847
15847
  Rt > 0 && (z += 0.25), u.push({
@@ -15850,7 +15850,7 @@ var _t = function(t, r) {
15850
15850
  });
15851
15851
  }
15852
15852
  for (D(l[0]), n = 0; n < t.body.length; ++n) {
15853
- var B = t.body[n], I = w, F = M;
15853
+ var B = t.body[n], I = w, F = A;
15854
15854
  o < B.length && (o = B.length);
15855
15855
  var Y = new Array(B.length);
15856
15856
  for (i = 0; i < B.length; ++i) {
@@ -15858,7 +15858,7 @@ var _t = function(t, r) {
15858
15858
  F < H.depth && (F = H.depth), I < H.height && (I = H.height), Y[i] = H;
15859
15859
  }
15860
15860
  var N = t.rowGaps[n], $ = 0;
15861
- N && ($ = Oe(N, r), $ > 0 && ($ += M, F < $ && (F = $), $ = 0)), t.addJot && (F += b), Y.height = I, Y.depth = F, z += I, Y.pos = z, z += F + $, s[n] = Y, D(l[n + 1]);
15861
+ N && ($ = Oe(N, r), $ > 0 && ($ += A, F < $ && (F = $), $ = 0)), t.addJot && (F += b), Y.height = I, Y.depth = F, z += I, Y.pos = z, z += F + $, s[n] = Y, D(l[n + 1]);
15862
15862
  }
15863
15863
  var V = z / 2 + r.fontMetrics().axisHeight, ie = t.cols || [], te = [], K, me, ve = [];
15864
15864
  if (t.tags && t.tags.some((Ut) => Ut))
@@ -15877,15 +15877,15 @@ var _t = function(t, r) {
15877
15877
  i < o || me < ie.length;
15878
15878
  ++i, ++me
15879
15879
  ) {
15880
- for (var we = ie[me] || {}, A = !0; we.type === "separator"; ) {
15881
- if (A || (K = O.makeSpan(["arraycolsep"], []), K.style.width = G(r.fontMetrics().doubleRuleSep), te.push(K)), we.separator === "|" || we.separator === ":") {
15880
+ for (var we = ie[me] || {}, E = !0; we.type === "separator"; ) {
15881
+ if (E || (K = O.makeSpan(["arraycolsep"], []), K.style.width = G(r.fontMetrics().doubleRuleSep), te.push(K)), we.separator === "|" || we.separator === ":") {
15882
15882
  var Fe = we.separator === "|" ? "solid" : "dashed", $e = O.makeSpan(["vertical-separator"], [], r);
15883
15883
  $e.style.height = G(z), $e.style.borderRightWidth = G(m), $e.style.borderRightStyle = Fe, $e.style.margin = "0 " + G(-m / 2);
15884
15884
  var ze = z - V;
15885
15885
  ze && ($e.style.verticalAlign = G(-ze)), te.push($e);
15886
15886
  } else
15887
15887
  throw new j("Invalid separator type: " + we.separator);
15888
- me++, we = ie[me] || {}, A = !1;
15888
+ me++, we = ie[me] || {}, E = !1;
15889
15889
  }
15890
15890
  if (!(i >= o)) {
15891
15891
  var Ve = void 0;
@@ -15951,10 +15951,10 @@ var _t = function(t, r) {
15951
15951
  m.setAttribute("rowspacing", G(h));
15952
15952
  var d = "", p = "";
15953
15953
  if (t.cols && t.cols.length > 0) {
15954
- var v = t.cols, b = "", E = !1, w = 0, M = v.length;
15955
- v[0].type === "separator" && (d += "top ", w = 1), v[v.length - 1].type === "separator" && (d += "bottom ", M -= 1);
15956
- for (var z = w; z < M; z++)
15957
- v[z].type === "align" ? (p += vd[v[z].align], E && (b += "none "), E = !0) : v[z].type === "separator" && E && (b += v[z].separator === "|" ? "solid " : "dashed ", E = !1);
15954
+ var v = t.cols, b = "", M = !1, w = 0, A = v.length;
15955
+ v[0].type === "separator" && (d += "top ", w = 1), v[v.length - 1].type === "separator" && (d += "bottom ", A -= 1);
15956
+ for (var z = w; z < A; z++)
15957
+ v[z].type === "align" ? (p += vd[v[z].align], M && (b += "none "), M = !0) : v[z].type === "separator" && M && (b += v[z].separator === "|" ? "solid " : "dashed ", M = !1);
15958
15958
  m.setAttribute("columnalign", p.trim()), /[sd]/.test(b) && m.setAttribute("columnlines", b.trim());
15959
15959
  }
15960
15960
  if (t.colSeparationType === "align") {
@@ -15991,8 +15991,8 @@ var _t = function(t, r) {
15991
15991
  }
15992
15992
  var p = !s;
15993
15993
  l.body.forEach(function(w) {
15994
- for (var M = 1; M < w.length; M += 2) {
15995
- var z = ue(w[M], "styling"), D = ue(z.body[0], "ordgroup");
15994
+ for (var A = 1; A < w.length; A += 2) {
15995
+ var z = ue(w[A], "styling"), D = ue(z.body[0], "ordgroup");
15996
15996
  D.body.unshift(u);
15997
15997
  }
15998
15998
  if (p)
@@ -16004,11 +16004,11 @@ var _t = function(t, r) {
16004
16004
  }
16005
16005
  });
16006
16006
  for (var v = 0; v < s; ++v) {
16007
- var b = "r", E = 0;
16008
- v % 2 === 1 ? b = "l" : v > 0 && p && (E = 1), n[v] = {
16007
+ var b = "r", M = 0;
16008
+ v % 2 === 1 ? b = "l" : v > 0 && p && (M = 1), n[v] = {
16009
16009
  type: "align",
16010
16010
  align: b,
16011
- pregap: E,
16011
+ pregap: M,
16012
16012
  postgap: 0
16013
16013
  };
16014
16014
  }
@@ -16436,12 +16436,12 @@ var Xs = (e, t) => {
16436
16436
  e.hasBarLine ? (e.barSize ? (h = Oe(e.barSize, t), m = O.makeLineSpan("frac-line", t, h)) : m = O.makeLineSpan("frac-line", t), h = m.height, d = m.height) : (m = null, h = 0, d = t.fontMetrics().defaultRuleThickness);
16437
16437
  var p, v, b;
16438
16438
  r.size === ne.DISPLAY.size || e.size === "display" ? (p = t.fontMetrics().num1, h > 0 ? v = 3 * d : v = 7 * d, b = t.fontMetrics().denom1) : (h > 0 ? (p = t.fontMetrics().num2, v = d) : (p = t.fontMetrics().num3, v = 3 * d), b = t.fontMetrics().denom2);
16439
- var E;
16439
+ var M;
16440
16440
  if (m) {
16441
- var M = t.fontMetrics().axisHeight;
16442
- p - l.depth - (M + 0.5 * h) < v && (p += v - (p - l.depth - (M + 0.5 * h))), M - 0.5 * h - (u.height - b) < v && (b += v - (M - 0.5 * h - (u.height - b)));
16443
- var z = -(M - 0.5 * h);
16444
- E = O.makeVList({
16441
+ var A = t.fontMetrics().axisHeight;
16442
+ p - l.depth - (A + 0.5 * h) < v && (p += v - (p - l.depth - (A + 0.5 * h))), A - 0.5 * h - (u.height - b) < v && (b += v - (A - 0.5 * h - (u.height - b)));
16443
+ var z = -(A - 0.5 * h);
16444
+ M = O.makeVList({
16445
16445
  positionType: "individualShift",
16446
16446
  children: [{
16447
16447
  type: "elem",
@@ -16459,7 +16459,7 @@ var Xs = (e, t) => {
16459
16459
  }, t);
16460
16460
  } else {
16461
16461
  var w = p - l.depth - (u.height - b);
16462
- w < v && (p += 0.5 * (v - w), b += 0.5 * (v - w)), E = O.makeVList({
16462
+ w < v && (p += 0.5 * (v - w), b += 0.5 * (v - w)), M = O.makeVList({
16463
16463
  positionType: "individualShift",
16464
16464
  children: [{
16465
16465
  type: "elem",
@@ -16472,11 +16472,11 @@ var Xs = (e, t) => {
16472
16472
  }]
16473
16473
  }, t);
16474
16474
  }
16475
- a = t.havingStyle(r), E.height *= a.sizeMultiplier / t.sizeMultiplier, E.depth *= a.sizeMultiplier / t.sizeMultiplier;
16475
+ a = t.havingStyle(r), M.height *= a.sizeMultiplier / t.sizeMultiplier, M.depth *= a.sizeMultiplier / t.sizeMultiplier;
16476
16476
  var D;
16477
16477
  r.size === ne.DISPLAY.size ? D = t.fontMetrics().delim1 : r.size === ne.SCRIPTSCRIPT.size ? D = t.havingStyle(ne.SCRIPT).fontMetrics().delim2 : D = t.fontMetrics().delim2;
16478
16478
  var B, I;
16479
- return e.leftDelim == null ? B = an(t, ["mopen"]) : B = Yt.customSizedDelim(e.leftDelim, D, !0, t.havingStyle(r), e.mode, ["mopen"]), e.continued ? I = O.makeSpan([]) : e.rightDelim == null ? I = an(t, ["mclose"]) : I = Yt.customSizedDelim(e.rightDelim, D, !0, t.havingStyle(r), e.mode, ["mclose"]), O.makeSpan(["mord"].concat(a.sizingClasses(t)), [B, O.makeSpan(["mfrac"], [E]), I], t);
16479
+ return e.leftDelim == null ? B = an(t, ["mopen"]) : B = Yt.customSizedDelim(e.leftDelim, D, !0, t.havingStyle(r), e.mode, ["mopen"]), e.continued ? I = O.makeSpan([]) : e.rightDelim == null ? I = an(t, ["mclose"]) : I = Yt.customSizedDelim(e.rightDelim, D, !0, t.havingStyle(r), e.mode, ["mclose"]), O.makeSpan(["mord"].concat(a.sizingClasses(t)), [B, O.makeSpan(["mfrac"], [M]), I], t);
16480
16480
  }, ta = (e, t) => {
16481
16481
  var r = new _.MathNode("mfrac", [Te(e.numer, t), Te(e.denom, t)]);
16482
16482
  if (!e.hasBarLine)
@@ -17344,12 +17344,12 @@ var Qs = (e, t, r, n, i, a, l) => {
17344
17344
  }, n);
17345
17345
  } else
17346
17346
  return e;
17347
- var E = [d];
17347
+ var M = [d];
17348
17348
  if (s && a !== 0 && !o) {
17349
17349
  var w = O.makeSpan(["mspace"], [], n);
17350
- w.style.marginRight = G(a), E.unshift(w);
17350
+ w.style.marginRight = G(a), M.unshift(w);
17351
17351
  }
17352
- return O.makeSpan(["mop", "op-limits"], E, n);
17352
+ return O.makeSpan(["mop", "op-limits"], M, n);
17353
17353
  }, Zs = ["\\smallint"], jr = (e, t) => {
17354
17354
  var r, n, i = !1, a;
17355
17355
  e.type === "supsub" ? (r = e.sup, n = e.sub, a = ue(e.base, "op"), i = !0) : a = ue(e, "op");
@@ -17381,8 +17381,8 @@ var Qs = (e, t, r, n, i, a, l) => {
17381
17381
  v.push(O.mathsym(a.name[b], a.mode, t));
17382
17382
  s = O.makeSpan(["mop"], v, t);
17383
17383
  }
17384
- var E = 0, w = 0;
17385
- return (s instanceof Tt || a.name === "\\oiint" || a.name === "\\oiiint") && !a.suppressBaseShift && (E = (s.height - s.depth) / 2 - t.fontMetrics().axisHeight, w = s.italic), i ? Qs(s, r, n, t, l, w, E) : (E && (s.style.position = "relative", s.style.top = G(E)), s);
17384
+ var M = 0, w = 0;
17385
+ return (s instanceof Tt || a.name === "\\oiint" || a.name === "\\oiiint") && !a.suppressBaseShift && (M = (s.height - s.depth) / 2 - t.fontMetrics().axisHeight, w = s.italic), i ? Qs(s, r, n, t, l, w, M) : (M && (s.style.position = "relative", s.style.top = G(M)), s);
17386
17386
  }, fn = (e, t) => {
17387
17387
  var r;
17388
17388
  if (e.symbol)
@@ -17977,15 +17977,15 @@ X({
17977
17977
  }]
17978
17978
  }, t);
17979
17979
  if (e.index) {
17980
- var v = t.havingStyle(ne.SCRIPTSCRIPT), b = ye(e.index, v, t), E = 0.6 * (p.height - p.depth), w = O.makeVList({
17980
+ var v = t.havingStyle(ne.SCRIPTSCRIPT), b = ye(e.index, v, t), M = 0.6 * (p.height - p.depth), w = O.makeVList({
17981
17981
  positionType: "shift",
17982
- positionData: -E,
17982
+ positionData: -M,
17983
17983
  children: [{
17984
17984
  type: "elem",
17985
17985
  elem: b
17986
17986
  }]
17987
- }, t), M = O.makeSpan(["root"], [w]);
17988
- return O.makeSpan(["mord", "sqrt"], [M, p], t);
17987
+ }, t), A = O.makeSpan(["root"], [w]);
17988
+ return O.makeSpan(["mord", "sqrt"], [A, p], t);
17989
17989
  } else
17990
17990
  return O.makeSpan(["mord", "sqrt"], [p], t);
17991
17991
  },
@@ -18081,10 +18081,10 @@ Sr({
18081
18081
  }
18082
18082
  var b;
18083
18083
  t.style === ne.DISPLAY ? b = u.sup1 : t.style.cramped ? b = u.sup3 : b = u.sup2;
18084
- var E = t.sizeMultiplier, w = G(0.5 / u.ptPerEm / E), M = null;
18084
+ var M = t.sizeMultiplier, w = G(0.5 / u.ptPerEm / M), A = null;
18085
18085
  if (s) {
18086
18086
  var z = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
18087
- (l instanceof Tt || z) && (M = G(-l.italic));
18087
+ (l instanceof Tt || z) && (A = G(-l.italic));
18088
18088
  }
18089
18089
  var D;
18090
18090
  if (o && s) {
@@ -18100,7 +18100,7 @@ Sr({
18100
18100
  elem: s,
18101
18101
  shift: h,
18102
18102
  marginRight: w,
18103
- marginLeft: M
18103
+ marginLeft: A
18104
18104
  }, {
18105
18105
  type: "elem",
18106
18106
  elem: o,
@@ -18116,7 +18116,7 @@ Sr({
18116
18116
  var H = [{
18117
18117
  type: "elem",
18118
18118
  elem: s,
18119
- marginLeft: M,
18119
+ marginLeft: A,
18120
18120
  marginRight: w
18121
18121
  }];
18122
18122
  D = O.makeVList({
@@ -21215,16 +21215,16 @@ function y5(e) {
21215
21215
  displayMode: m,
21216
21216
  throwOnError: !0
21217
21217
  });
21218
- } catch (E) {
21218
+ } catch (M) {
21219
21219
  const w = (
21220
21220
  /** @type {Error} */
21221
- E
21222
- ), M = w.name.toLowerCase();
21221
+ M
21222
+ ), A = w.name.toLowerCase();
21223
21223
  n.message("Could not render math with KaTeX", {
21224
21224
  ancestors: [...a, i],
21225
21225
  cause: w,
21226
21226
  place: i.position,
21227
- ruleId: M,
21227
+ ruleId: A,
21228
21228
  source: "rehype-katex"
21229
21229
  });
21230
21230
  try {
@@ -21242,7 +21242,7 @@ function y5(e) {
21242
21242
  properties: {
21243
21243
  className: ["katex-error"],
21244
21244
  style: "color:" + (t.errorColor || "#cc0000"),
21245
- title: String(E)
21245
+ title: String(M)
21246
21246
  },
21247
21247
  children: [{ type: "text", value: p }]
21248
21248
  }
@@ -21293,8 +21293,8 @@ function x5(e, t, r) {
21293
21293
  function s(u, m) {
21294
21294
  const h = m[m.length - 1], d = a[l][0], p = a[l][1];
21295
21295
  let v = 0;
21296
- const E = h.children.indexOf(u);
21297
- let w = !1, M = [];
21296
+ const M = h.children.indexOf(u);
21297
+ let w = !1, A = [];
21298
21298
  d.lastIndex = 0;
21299
21299
  let z = d.exec(u.value);
21300
21300
  for (; z; ) {
@@ -21304,14 +21304,14 @@ function x5(e, t, r) {
21304
21304
  stack: [...m, u]
21305
21305
  };
21306
21306
  let I = p(...z, B);
21307
- if (typeof I == "string" && (I = I.length > 0 ? { type: "text", value: I } : void 0), I === !1 ? d.lastIndex = D + 1 : (v !== D && M.push({
21307
+ if (typeof I == "string" && (I = I.length > 0 ? { type: "text", value: I } : void 0), I === !1 ? d.lastIndex = D + 1 : (v !== D && A.push({
21308
21308
  type: "text",
21309
21309
  value: u.value.slice(v, D)
21310
- }), Array.isArray(I) ? M.push(...I) : I && M.push(I), v = D + z[0].length, w = !0), !d.global)
21310
+ }), Array.isArray(I) ? A.push(...I) : I && A.push(I), v = D + z[0].length, w = !0), !d.global)
21311
21311
  break;
21312
21312
  z = d.exec(u.value);
21313
21313
  }
21314
- return w ? (v < u.value.length && M.push({ type: "text", value: u.value.slice(v) }), h.children.splice(E, 1, ...M)) : M = [u], E + M.length;
21314
+ return w ? (v < u.value.length && A.push({ type: "text", value: u.value.slice(v) }), h.children.splice(M, 1, ...A)) : A = [u], M + A.length;
21315
21315
  }
21316
21316
  }
21317
21317
  function w5(e) {
@@ -21598,17 +21598,17 @@ function t6(e, t) {
21598
21598
  const r = t || {}, n = (r.align || []).concat(), i = r.stringLength || e6, a = [], l = [], o = [], s = [];
21599
21599
  let u = 0, m = -1;
21600
21600
  for (; ++m < e.length; ) {
21601
- const b = [], E = [];
21601
+ const b = [], M = [];
21602
21602
  let w = -1;
21603
21603
  for (e[m].length > u && (u = e[m].length); ++w < e[m].length; ) {
21604
- const M = r6(e[m][w]);
21604
+ const A = r6(e[m][w]);
21605
21605
  if (r.alignDelimiters !== !1) {
21606
- const z = i(M);
21607
- E[w] = z, (s[w] === void 0 || z > s[w]) && (s[w] = z);
21606
+ const z = i(A);
21607
+ M[w] = z, (s[w] === void 0 || z > s[w]) && (s[w] = z);
21608
21608
  }
21609
- b.push(M);
21609
+ b.push(A);
21610
21610
  }
21611
- l[m] = b, o[m] = E;
21611
+ l[m] = b, o[m] = M;
21612
21612
  }
21613
21613
  let h = -1;
21614
21614
  if (typeof n == "object" && "length" in n)
@@ -21623,31 +21623,31 @@ function t6(e, t) {
21623
21623
  const d = [], p = [];
21624
21624
  for (; ++h < u; ) {
21625
21625
  const b = a[h];
21626
- let E = "", w = "";
21627
- b === 99 ? (E = ":", w = ":") : b === 108 ? E = ":" : b === 114 && (w = ":");
21628
- let M = r.alignDelimiters === !1 ? 1 : Math.max(
21626
+ let M = "", w = "";
21627
+ b === 99 ? (M = ":", w = ":") : b === 108 ? M = ":" : b === 114 && (w = ":");
21628
+ let A = r.alignDelimiters === !1 ? 1 : Math.max(
21629
21629
  1,
21630
- s[h] - E.length - w.length
21630
+ s[h] - M.length - w.length
21631
21631
  );
21632
- const z = E + "-".repeat(M) + w;
21633
- r.alignDelimiters !== !1 && (M = E.length + M + w.length, M > s[h] && (s[h] = M), p[h] = M), d[h] = z;
21632
+ const z = M + "-".repeat(A) + w;
21633
+ r.alignDelimiters !== !1 && (A = M.length + A + w.length, A > s[h] && (s[h] = A), p[h] = A), d[h] = z;
21634
21634
  }
21635
21635
  l.splice(1, 0, d), o.splice(1, 0, p), m = -1;
21636
21636
  const v = [];
21637
21637
  for (; ++m < l.length; ) {
21638
- const b = l[m], E = o[m];
21638
+ const b = l[m], M = o[m];
21639
21639
  h = -1;
21640
21640
  const w = [];
21641
21641
  for (; ++h < u; ) {
21642
- const M = b[h] || "";
21642
+ const A = b[h] || "";
21643
21643
  let z = "", D = "";
21644
21644
  if (r.alignDelimiters !== !1) {
21645
- const B = s[h] - (E[h] || 0), I = a[h];
21645
+ const B = s[h] - (M[h] || 0), I = a[h];
21646
21646
  I === 114 ? z = " ".repeat(B) : I === 99 ? B % 2 ? (z = " ".repeat(B / 2 + 0.5), D = " ".repeat(B / 2 - 0.5)) : (z = " ".repeat(B / 2), D = z) : D = " ".repeat(B);
21647
21647
  }
21648
21648
  r.delimiterStart !== !1 && !h && w.push("|"), r.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
21649
21649
  // empty: there will be a closing space.
21650
- !(r.alignDelimiters === !1 && M === "") && (r.delimiterStart !== !1 || h) && w.push(" "), r.alignDelimiters !== !1 && w.push(z), w.push(M), r.alignDelimiters !== !1 && w.push(D), r.padding !== !1 && w.push(" "), (r.delimiterEnd !== !1 || h !== u - 1) && w.push("|");
21650
+ !(r.alignDelimiters === !1 && A === "") && (r.delimiterStart !== !1 || h) && w.push(" "), r.alignDelimiters !== !1 && w.push(z), w.push(A), r.alignDelimiters !== !1 && w.push(D), r.padding !== !1 && w.push(" "), (r.delimiterEnd !== !1 || h !== u - 1) && w.push("|");
21651
21651
  }
21652
21652
  v.push(
21653
21653
  r.delimiterEnd === !1 ? w.join("").replace(/ +$/, "") : w.join("")
@@ -22330,21 +22330,21 @@ function H6(e) {
22330
22330
  tableRow: o
22331
22331
  }
22332
22332
  };
22333
- function l(p, v, b, E) {
22334
- return u(m(p, b, E), p.align);
22333
+ function l(p, v, b, M) {
22334
+ return u(m(p, b, M), p.align);
22335
22335
  }
22336
- function o(p, v, b, E) {
22337
- const w = h(p, b, E), M = u([w]);
22338
- return M.slice(0, M.indexOf(`
22336
+ function o(p, v, b, M) {
22337
+ const w = h(p, b, M), A = u([w]);
22338
+ return A.slice(0, A.indexOf(`
22339
22339
  `));
22340
22340
  }
22341
- function s(p, v, b, E) {
22342
- const w = b.enter("tableCell"), M = b.enter("phrasing"), z = b.containerPhrasing(p, {
22343
- ...E,
22341
+ function s(p, v, b, M) {
22342
+ const w = b.enter("tableCell"), A = b.enter("phrasing"), z = b.containerPhrasing(p, {
22343
+ ...M,
22344
22344
  before: a,
22345
22345
  after: a
22346
22346
  });
22347
- return M(), w(), z;
22347
+ return A(), w(), z;
22348
22348
  }
22349
22349
  function u(p, v) {
22350
22350
  return t6(p, {
@@ -22358,24 +22358,24 @@ function H6(e) {
22358
22358
  });
22359
22359
  }
22360
22360
  function m(p, v, b) {
22361
- const E = p.children;
22361
+ const M = p.children;
22362
22362
  let w = -1;
22363
- const M = [], z = v.enter("table");
22364
- for (; ++w < E.length; )
22365
- M[w] = h(E[w], v, b);
22366
- return z(), M;
22363
+ const A = [], z = v.enter("table");
22364
+ for (; ++w < M.length; )
22365
+ A[w] = h(M[w], v, b);
22366
+ return z(), A;
22367
22367
  }
22368
22368
  function h(p, v, b) {
22369
- const E = p.children;
22369
+ const M = p.children;
22370
22370
  let w = -1;
22371
- const M = [], z = v.enter("tableRow");
22372
- for (; ++w < E.length; )
22373
- M[w] = s(E[w], p, v, b);
22374
- return z(), M;
22371
+ const A = [], z = v.enter("tableRow");
22372
+ for (; ++w < M.length; )
22373
+ A[w] = s(M[w], p, v, b);
22374
+ return z(), A;
22375
22375
  }
22376
22376
  function d(p, v, b) {
22377
- let E = zu.inlineCode(p, v, b);
22378
- return b.stack.includes("tableCell") && (E = E.replace(/\|/g, "\\$&")), E;
22377
+ let M = zu.inlineCode(p, v, b);
22378
+ return b.stack.includes("tableCell") && (M = M.replace(/\|/g, "\\$&")), M;
22379
22379
  }
22380
22380
  }
22381
22381
  function q6() {
@@ -22880,8 +22880,8 @@ function f3(e) {
22880
22880
  if (v === 126)
22881
22881
  return h > 1 ? s(v) : (l.consume(v), h++, p);
22882
22882
  if (h < 2 && !r) return s(v);
22883
- const E = l.exit("strikethroughSequenceTemporary"), w = Dr(v);
22884
- return E._open = !w || w === 2 && !!b, E._close = !b || b === 2 && !!w, o(v);
22883
+ const M = l.exit("strikethroughSequenceTemporary"), w = Dr(v);
22884
+ return M._open = !w || w === 2 && !!b, M._close = !b || b === 2 && !!w, o(v);
22885
22885
  }
22886
22886
  }
22887
22887
  }
@@ -23018,19 +23018,19 @@ function y3(e, t, r) {
23018
23018
  return n.interrupt = !1, n.parser.lazy[n.now().line] ? r(N) : (e.enter("tableDelimiterRow"), l = !1, pe(N) ? he(e, v, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(N) : v(N));
23019
23019
  }
23020
23020
  function v(N) {
23021
- return N === 45 || N === 58 ? E(N) : N === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(N), e.exit("tableCellDivider"), b) : B(N);
23021
+ return N === 45 || N === 58 ? M(N) : N === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(N), e.exit("tableCellDivider"), b) : B(N);
23022
23022
  }
23023
23023
  function b(N) {
23024
- return pe(N) ? he(e, E, "whitespace")(N) : E(N);
23024
+ return pe(N) ? he(e, M, "whitespace")(N) : M(N);
23025
23025
  }
23026
- function E(N) {
23026
+ function M(N) {
23027
23027
  return N === 58 ? (a += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(N), e.exit("tableDelimiterMarker"), w) : N === 45 ? (a += 1, w(N)) : N === null || J(N) ? D(N) : B(N);
23028
23028
  }
23029
23029
  function w(N) {
23030
- return N === 45 ? (e.enter("tableDelimiterFiller"), M(N)) : B(N);
23030
+ return N === 45 ? (e.enter("tableDelimiterFiller"), A(N)) : B(N);
23031
23031
  }
23032
- function M(N) {
23033
- return N === 45 ? (e.consume(N), M) : N === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(N), e.exit("tableDelimiterMarker"), z) : (e.exit("tableDelimiterFiller"), z(N));
23032
+ function A(N) {
23033
+ return N === 45 ? (e.consume(N), A) : N === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(N), e.exit("tableDelimiterMarker"), z) : (e.exit("tableDelimiterFiller"), z(N));
23034
23034
  }
23035
23035
  function z(N) {
23036
23036
  return pe(N) ? he(e, D, "whitespace")(N) : D(N);
@@ -23476,32 +23476,32 @@ $1 $2
23476
23476
  const [u, m] = st(() => {
23477
23477
  const D = a.current.get(r);
23478
23478
  return D ? e.slice(0, D) : "";
23479
- }), [h, d] = st(!0), p = ut(a.current.get(r) || 0), v = ut(!1), b = ut(), E = ut(!1), w = ut(e);
23479
+ }), [h, d] = st(!0), p = ut(a.current.get(r) || 0), v = ut(!1), b = ut(), M = ut(!1), w = ut(e);
23480
23480
  xt(() => {
23481
23481
  if (i(r)) {
23482
23482
  m(e), d(!1), t(), a.current.set(r, e.length);
23483
23483
  return;
23484
23484
  }
23485
- if (E.current && e !== w.current) {
23485
+ if (M.current && e !== w.current) {
23486
23486
  w.current = e;
23487
23487
  return;
23488
23488
  }
23489
- if (!E.current)
23490
- return E.current = !0, w.current = e, setTimeout(() => {
23491
- M();
23489
+ if (!M.current)
23490
+ return M.current = !0, w.current = e, setTimeout(() => {
23491
+ A();
23492
23492
  }, 10), () => {
23493
23493
  b.current && cancelAnimationFrame(b.current);
23494
23494
  };
23495
23495
  }, [r, e, i, t]);
23496
- const M = () => {
23497
- if (v.current || !E.current)
23496
+ const A = () => {
23497
+ if (v.current || !M.current)
23498
23498
  return;
23499
23499
  v.current = !0, l.current = !0, o(!0);
23500
23500
  let D = p.current, B = 0, I = 0;
23501
23501
  const F = 15;
23502
23502
  d(D === 0);
23503
23503
  const Y = (H) => {
23504
- if (!(!v.current || !E.current)) {
23504
+ if (!(!v.current || !M.current)) {
23505
23505
  if (H - I < F) {
23506
23506
  b.current = requestAnimationFrame(Y);
23507
23507
  return;
@@ -23514,7 +23514,7 @@ $1 $2
23514
23514
  }
23515
23515
  };
23516
23516
  setTimeout(() => {
23517
- v.current && E.current && (b.current = requestAnimationFrame(Y));
23517
+ v.current && M.current && (b.current = requestAnimationFrame(Y));
23518
23518
  }, 0);
23519
23519
  }, z = () => {
23520
23520
  l.current = !1, t(), v.current = !1, o(!1), s(), a.current.set(r, w.current.length);
@@ -23531,9 +23531,9 @@ $1 $2
23531
23531
  const B = () => {
23532
23532
  if (document.hidden)
23533
23533
  b.current && (cancelAnimationFrame(b.current), v.current = !1), D = Date.now();
23534
- else if (E.current && !v.current && p.current > 0 && p.current < w.current.length) {
23534
+ else if (M.current && !v.current && p.current > 0 && p.current < w.current.length) {
23535
23535
  const I = Date.now();
23536
- D && I - D > ce.ANIMATIONS.VISIBILITY_SKIP_THRESHOLD ? (m(w.current), d(!1), z(), a.current.set(r, w.current.length)) : M(), D = null;
23536
+ D && I - D > ce.ANIMATIONS.VISIBILITY_SKIP_THRESHOLD ? (m(w.current), d(!1), z(), a.current.set(r, w.current.length)) : A(), D = null;
23537
23537
  }
23538
23538
  };
23539
23539
  return document.addEventListener("visibilitychange", B), () => {
@@ -23564,7 +23564,7 @@ $1 $2
23564
23564
  isTypingRef: p,
23565
23565
  setIsAnimating: v,
23566
23566
  formatTime: b,
23567
- lastMessageRef: E
23567
+ lastMessageRef: M
23568
23568
  }) => {
23569
23569
  const w = /* @__PURE__ */ new Date();
23570
23570
  return w.setMinutes(w.getMinutes() - (s - t)), /* @__PURE__ */ R.jsx(
@@ -23574,7 +23574,7 @@ $1 $2
23574
23574
  "flex",
23575
23575
  e.role === "user" ? "justify-end" : "justify-start"
23576
23576
  ),
23577
- ref: t === s - 1 ? E : null,
23577
+ ref: t === s - 1 ? M : null,
23578
23578
  children: /* @__PURE__ */ R.jsxs(
23579
23579
  "div",
23580
23580
  {
@@ -23628,7 +23628,26 @@ $1 $2
23628
23628
  "button",
23629
23629
  {
23630
23630
  onClick: () => l(e.content, t),
23631
- className: "text-gray-400 hover:text-gray-600 transition-colors ml-2 p-1 rounded-full",
23631
+ className: "ml-2 p-1 rounded-full",
23632
+ style: {
23633
+ color: i.text.secondary,
23634
+ transition: "color 0.2s ease",
23635
+ background: "transparent",
23636
+ border: "none",
23637
+ outline: "none"
23638
+ },
23639
+ onMouseEnter: (A) => {
23640
+ A.currentTarget.style.setProperty("color", i.text.primary, "important"), A.currentTarget.style.setProperty("background", "transparent", "important");
23641
+ },
23642
+ onMouseLeave: (A) => {
23643
+ A.currentTarget.style.setProperty("color", i.text.secondary, "important"), A.currentTarget.style.setProperty("background", "transparent", "important");
23644
+ },
23645
+ onMouseDown: (A) => {
23646
+ A.currentTarget.style.setProperty("color", i.text.primary, "important"), A.currentTarget.style.setProperty("background", "transparent", "important"), A.currentTarget.style.setProperty("transform", "none", "important");
23647
+ },
23648
+ onMouseUp: (A) => {
23649
+ A.currentTarget.style.setProperty("color", i.text.primary, "important"), A.currentTarget.style.setProperty("background", "transparent", "important");
23650
+ },
23632
23651
  "aria-label": "Copy to clipboard",
23633
23652
  children: a === t ? /* @__PURE__ */ R.jsx(lc, { size: 16 }) : /* @__PURE__ */ R.jsx(uc, { size: 16 })
23634
23653
  }
@@ -23668,9 +23687,9 @@ $1 $2
23668
23687
  focusInput: p,
23669
23688
  copiedMessageId: v,
23670
23689
  onCopyToClipboard: b,
23671
- onMarkMessageAnimated: E,
23690
+ onMarkMessageAnimated: M,
23672
23691
  inputRef: w,
23673
- hasBeenAnimated: M,
23692
+ hasBeenAnimated: A,
23674
23693
  typingProgressRef: z,
23675
23694
  isTypingRef: D,
23676
23695
  setIsAnimating: B,
@@ -23770,11 +23789,11 @@ $1 $2
23770
23789
  theme: r,
23771
23790
  copiedMessageId: v,
23772
23791
  onCopyToClipboard: b,
23773
- onMarkMessageAnimated: E,
23792
+ onMarkMessageAnimated: M,
23774
23793
  messagesLength: e.length,
23775
23794
  scrollToBottom: m,
23776
23795
  inputRef: w,
23777
- hasBeenAnimated: M,
23796
+ hasBeenAnimated: A,
23778
23797
  typingProgressRef: z,
23779
23798
  isTypingRef: D,
23780
23799
  setIsAnimating: B,
@@ -23854,6 +23873,8 @@ $1 $2
23854
23873
  onBlur: () => s(!1),
23855
23874
  placeholder: "Type your message...",
23856
23875
  maxLength: ce.MAX_MESSAGE_LENGTH,
23876
+ id: "chat-message-input",
23877
+ name: "chat-message-input",
23857
23878
  className: "w-full resize-none outline-none p-4 pr-12 text-base custom-scrollbar focus:ring-0 focus:outline-none placeholder-gray-400 transition-all duration-200",
23858
23879
  style: {
23859
23880
  background: "transparent",
@@ -23974,10 +23995,10 @@ $1 $2
23974
23995
  markMessageAnimated: p,
23975
23996
  hasBeenAnimated: v,
23976
23997
  clearAnimationTrackers: b,
23977
- setIsAnimating: E
23998
+ setIsAnimating: M
23978
23999
  } = Xc(), {
23979
24000
  showScrollTop: w,
23980
- showScrollBottom: M,
24001
+ showScrollBottom: A,
23981
24002
  messagesContainerRef: z,
23982
24003
  messagesEndRef: D,
23983
24004
  shouldScrollRef: B,
@@ -24023,7 +24044,7 @@ $1 $2
24023
24044
  message: S,
24024
24045
  isFocused: Me,
24025
24046
  inputRef: we,
24026
- handleMessageChange: A,
24047
+ handleMessageChange: E,
24027
24048
  handleKeyDown: Fe,
24028
24049
  handleSendMessage: $e,
24029
24050
  setIsFocused: ze,
@@ -24140,7 +24161,7 @@ $1 $2
24140
24161
  theme: K,
24141
24162
  currentConfig: ie,
24142
24163
  showScrollTop: w,
24143
- showScrollBottom: M,
24164
+ showScrollBottom: A,
24144
24165
  isAnimating: u,
24145
24166
  messagesContainerRef: z,
24146
24167
  messagesEndRef: D,
@@ -24156,7 +24177,7 @@ $1 $2
24156
24177
  hasBeenAnimated: v,
24157
24178
  typingProgressRef: m,
24158
24179
  isTypingRef: h,
24159
- setIsAnimating: E,
24180
+ setIsAnimating: M,
24160
24181
  formatTime: We,
24161
24182
  lastMessageRef: d,
24162
24183
  maxSuggestedQuestionLength: e.maxSuggestedQuestionLength,
@@ -24171,7 +24192,7 @@ $1 $2
24171
24192
  isLoading: ve,
24172
24193
  theme: K,
24173
24194
  inputRef: we,
24174
- handleMessageChange: A,
24195
+ handleMessageChange: E,
24175
24196
  handleKeyDown: Fe,
24176
24197
  handleSendMessage: $e,
24177
24198
  setIsFocused: ze