@2uinc/frontend-component-xpert-chatbot 1.40.21 → 1.40.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.min.js +1351 -1330
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
|
@@ -173,8 +173,8 @@ _a.exports;
|
|
|
173
173
|
var Kl;
|
|
174
174
|
function w2() {
|
|
175
175
|
return Kl || (Kl = 1, (function(e, t) {
|
|
176
|
-
var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", h = "[object Date]", m = "[object Error]", p = "[object Function]", y = "[object GeneratorFunction]", b = "[object Map]",
|
|
177
|
-
I[q] = I[V] = I[F] = I[D] = I[H] = I[G] = I[te] = I[W] = I[Z] = !0, I[u] = I[o] = I[j] = I[c] = I[ne] = I[h] = I[m] = I[p] = I[b] = I[
|
|
176
|
+
var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", h = "[object Date]", m = "[object Error]", p = "[object Function]", y = "[object GeneratorFunction]", b = "[object Map]", T = "[object Number]", v = "[object Null]", k = "[object Object]", B = "[object Proxy]", Y = "[object RegExp]", U = "[object Set]", C = "[object String]", P = "[object Undefined]", Q = "[object WeakMap]", j = "[object ArrayBuffer]", ne = "[object DataView]", q = "[object Float32Array]", V = "[object Float64Array]", F = "[object Int8Array]", D = "[object Int16Array]", H = "[object Int32Array]", G = "[object Uint8Array]", te = "[object Uint8ClampedArray]", W = "[object Uint16Array]", Z = "[object Uint32Array]", A = /[\\^$.*+?()[\]{}|]/g, ue = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, I = {};
|
|
177
|
+
I[q] = I[V] = I[F] = I[D] = I[H] = I[G] = I[te] = I[W] = I[Z] = !0, I[u] = I[o] = I[j] = I[c] = I[ne] = I[h] = I[m] = I[p] = I[b] = I[T] = I[k] = I[Y] = I[U] = I[C] = I[Q] = !1;
|
|
178
178
|
var ve = typeof li == "object" && li && li.Object === Object && li, we = typeof self == "object" && self && self.Object === Object && self, Ne = ve || we || Function("return this")(), Re = t && !t.nodeType && t, Ve = Re && !0 && e && !e.nodeType && e, Ke = Ve && Ve.exports === Re, $e = Ke && ve.process, at = (function() {
|
|
179
179
|
try {
|
|
180
180
|
var N = Ve && Ve.require && Ve.require("util").types;
|
|
@@ -1615,7 +1615,7 @@ const e0 = 991, q2 = () => {
|
|
|
1615
1615
|
externalStreaming: r = !1,
|
|
1616
1616
|
externalTriggerSurvey: a = !1
|
|
1617
1617
|
}) => {
|
|
1618
|
-
const [i, s] = xe(!1), [u, o] = xe(!1), [l, c] = xe(!1), [h, m] = xe(!0), [p, y] = xe(!1), [b,
|
|
1618
|
+
const [i, s] = xe(!1), [u, o] = xe(!1), [l, c] = xe(!1), [h, m] = xe(!0), [p, y] = xe(!1), [b, T] = xe(!1), [v, k] = xe(!1), [B, Y] = xe(On.XPERT), U = q2(), C = {
|
|
1619
1619
|
disabledScroll: i,
|
|
1620
1620
|
externalTriggerSurvey: a,
|
|
1621
1621
|
externalStreaming: r,
|
|
@@ -1633,11 +1633,11 @@ const e0 = 991, q2 = () => {
|
|
|
1633
1633
|
setHasNewMessage: c,
|
|
1634
1634
|
setIsNormalSize: m,
|
|
1635
1635
|
setLoading: y,
|
|
1636
|
-
setLoadingHistory:
|
|
1636
|
+
setLoadingHistory: T,
|
|
1637
1637
|
setStreaming: k,
|
|
1638
1638
|
setMode: Y
|
|
1639
1639
|
};
|
|
1640
|
-
return /* @__PURE__ */ w.jsx(zt.Provider, { value:
|
|
1640
|
+
return /* @__PURE__ */ w.jsx(zt.Provider, { value: C, children: e });
|
|
1641
1641
|
};
|
|
1642
1642
|
nd.propTypes = {
|
|
1643
1643
|
children: x.element.isRequired,
|
|
@@ -1692,44 +1692,44 @@ const Ii = "--- SWITCHED TO SURVEY MODE ---", rd = "--- EXITED SURVEY MODE. ---"
|
|
|
1692
1692
|
onMessageSent: n,
|
|
1693
1693
|
onStreamingStop: r
|
|
1694
1694
|
}) => {
|
|
1695
|
-
const a = rt(null), i = rt(null), { id: s } = ke(St), { setLoading: u, setStreaming: o } = ke(zt), [l, c] = xe(null), [h, m] = xe(!1), [p, y] = xe([]), [b,
|
|
1696
|
-
c(null), m(!1), y([]),
|
|
1697
|
-
}, [s, c]), k = (
|
|
1698
|
-
if (y((q) => [...q,
|
|
1695
|
+
const a = rt(null), i = rt(null), { id: s } = ke(St), { setLoading: u, setStreaming: o } = ke(zt), [l, c] = xe(null), [h, m] = xe(!1), [p, y] = xe([]), [b, T] = xe([]), v = pn(() => {
|
|
1696
|
+
c(null), m(!1), y([]), T([]), Qt.remove(`${s}-conversation-history-id`);
|
|
1697
|
+
}, [s, c]), k = (C) => {
|
|
1698
|
+
if (y((q) => [...q, C]), t == null)
|
|
1699
1699
|
return;
|
|
1700
|
-
const P =
|
|
1700
|
+
const P = C?.content;
|
|
1701
1701
|
if (typeof P != "string")
|
|
1702
1702
|
return;
|
|
1703
1703
|
const Q = P.trimStart();
|
|
1704
1704
|
if (!$2.includes(Q))
|
|
1705
1705
|
return;
|
|
1706
1706
|
const ne = Array.isArray(t) ? t.length : 0;
|
|
1707
|
-
|
|
1707
|
+
T((q) => {
|
|
1708
1708
|
const V = q[q.length - 1]?.message;
|
|
1709
|
-
return V?.role ===
|
|
1709
|
+
return V?.role === C?.role && V?.content === C?.content ? q : [...q, { insertionPoint: ne, message: C }];
|
|
1710
1710
|
});
|
|
1711
1711
|
}, B = Yt(() => {
|
|
1712
1712
|
if (t == null)
|
|
1713
1713
|
return p;
|
|
1714
|
-
const
|
|
1714
|
+
const C = Array.isArray(t) ? t : [];
|
|
1715
1715
|
if (!b.length)
|
|
1716
|
-
return
|
|
1717
|
-
const P = (q) => `${q?.role ?? ""}::${q?.content ?? ""}`, Q = new Set(
|
|
1716
|
+
return C;
|
|
1717
|
+
const P = (q) => `${q?.role ?? ""}::${q?.content ?? ""}`, Q = new Set(C.map(P)), j = /* @__PURE__ */ new Map();
|
|
1718
1718
|
for (const { insertionPoint: q, message: V } of b) {
|
|
1719
1719
|
if (typeof V?.content != "string") continue;
|
|
1720
1720
|
const D = P(V);
|
|
1721
1721
|
if (Q.has(D)) continue;
|
|
1722
1722
|
Q.add(D);
|
|
1723
1723
|
const H = Math.min(
|
|
1724
|
-
Math.max(0, q ??
|
|
1725
|
-
|
|
1724
|
+
Math.max(0, q ?? C.length),
|
|
1725
|
+
C.length
|
|
1726
1726
|
), G = j.get(H) ?? [];
|
|
1727
1727
|
G.push(V), j.set(H, G);
|
|
1728
1728
|
}
|
|
1729
1729
|
const ne = [];
|
|
1730
|
-
for (let q = 0; q <=
|
|
1730
|
+
for (let q = 0; q <= C.length; q += 1) {
|
|
1731
1731
|
const V = j.get(q);
|
|
1732
|
-
V?.length && ne.push(...V), q <
|
|
1732
|
+
V?.length && ne.push(...V), q < C.length && ne.push(C[q]);
|
|
1733
1733
|
}
|
|
1734
1734
|
return ne;
|
|
1735
1735
|
}, [t, b, p]), U = {
|
|
@@ -1740,10 +1740,10 @@ const Ii = "--- SWITCHED TO SURVEY MODE ---", rd = "--- EXITED SURVEY MODE. ---"
|
|
|
1740
1740
|
deleteConversationHistory: v,
|
|
1741
1741
|
handleStop: async () => {
|
|
1742
1742
|
o(!1), u(!1);
|
|
1743
|
-
const
|
|
1744
|
-
if (
|
|
1743
|
+
const C = i.current;
|
|
1744
|
+
if (C)
|
|
1745
1745
|
try {
|
|
1746
|
-
|
|
1746
|
+
C.abort();
|
|
1747
1747
|
} finally {
|
|
1748
1748
|
i.current = null;
|
|
1749
1749
|
}
|
|
@@ -2559,7 +2559,7 @@ var i0 = {
|
|
|
2559
2559
|
params: [F]
|
|
2560
2560
|
});
|
|
2561
2561
|
return D || (D === !1 ? !1 : F);
|
|
2562
|
-
},
|
|
2562
|
+
}, T = function(F) {
|
|
2563
2563
|
var D = F.target, H = F.event, G = F.isBackward, te = G === void 0 ? !1 : G;
|
|
2564
2564
|
D = D || di(H), m();
|
|
2565
2565
|
var W = null;
|
|
@@ -2630,7 +2630,7 @@ var i0 = {
|
|
|
2630
2630
|
}) || (te = !1);
|
|
2631
2631
|
else
|
|
2632
2632
|
te = !1;
|
|
2633
|
-
te && (G =
|
|
2633
|
+
te && (G = T({
|
|
2634
2634
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
2635
2635
|
// outside the trap causing the focus escape we're trying to fix)
|
|
2636
2636
|
target: s.mostRecentlyFocusedNode,
|
|
@@ -2641,7 +2641,7 @@ var i0 = {
|
|
|
2641
2641
|
}, B = function(F) {
|
|
2642
2642
|
var D = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2643
2643
|
s.recentNavEvent = F;
|
|
2644
|
-
var H =
|
|
2644
|
+
var H = T({
|
|
2645
2645
|
event: F,
|
|
2646
2646
|
isBackward: D
|
|
2647
2647
|
});
|
|
@@ -2650,7 +2650,7 @@ var i0 = {
|
|
|
2650
2650
|
(i.isKeyForward(F) || i.isKeyBackward(F)) && B(F, i.isKeyBackward(F));
|
|
2651
2651
|
}, U = function(F) {
|
|
2652
2652
|
E4(F) && ya(i.escapeDeactivates, F) !== !1 && (F.preventDefault(), u.deactivate());
|
|
2653
|
-
},
|
|
2653
|
+
}, C = function(F) {
|
|
2654
2654
|
var D = di(F);
|
|
2655
2655
|
l(D, F) >= 0 || ya(i.clickOutsideDeactivates, F) || ya(i.allowOutsideClick, F) || (F.preventDefault(), F.stopImmediatePropagation());
|
|
2656
2656
|
}, P = function() {
|
|
@@ -2663,7 +2663,7 @@ var i0 = {
|
|
|
2663
2663
|
}), r.addEventListener("touchstart", v, {
|
|
2664
2664
|
capture: !0,
|
|
2665
2665
|
passive: !1
|
|
2666
|
-
}), r.addEventListener("click",
|
|
2666
|
+
}), r.addEventListener("click", C, {
|
|
2667
2667
|
capture: !0,
|
|
2668
2668
|
passive: !1
|
|
2669
2669
|
}), r.addEventListener("keydown", Y, {
|
|
@@ -2672,7 +2672,7 @@ var i0 = {
|
|
|
2672
2672
|
}), r.addEventListener("keydown", U), u;
|
|
2673
2673
|
}, Q = function() {
|
|
2674
2674
|
if (s.active)
|
|
2675
|
-
return r.removeEventListener("focusin", k, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click",
|
|
2675
|
+
return r.removeEventListener("focusin", k, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", C, !0), r.removeEventListener("keydown", Y, !0), r.removeEventListener("keydown", U), u;
|
|
2676
2676
|
}, j = function(F) {
|
|
2677
2677
|
var D = F.some(function(H) {
|
|
2678
2678
|
var G = Array.from(H.removedNodes);
|
|
@@ -2766,80 +2766,80 @@ var Ys, u0;
|
|
|
2766
2766
|
function I4() {
|
|
2767
2767
|
if (u0) return Ys;
|
|
2768
2768
|
u0 = 1;
|
|
2769
|
-
function e(
|
|
2769
|
+
function e(C) {
|
|
2770
2770
|
"@babel/helpers - typeof";
|
|
2771
2771
|
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(P) {
|
|
2772
2772
|
return typeof P;
|
|
2773
2773
|
} : function(P) {
|
|
2774
2774
|
return P && typeof Symbol == "function" && P.constructor === Symbol && P !== Symbol.prototype ? "symbol" : typeof P;
|
|
2775
|
-
}, e(
|
|
2775
|
+
}, e(C);
|
|
2776
2776
|
}
|
|
2777
|
-
function t(
|
|
2778
|
-
if (!(
|
|
2777
|
+
function t(C, P) {
|
|
2778
|
+
if (!(C instanceof P)) throw new TypeError("Cannot call a class as a function");
|
|
2779
2779
|
}
|
|
2780
|
-
function n(
|
|
2780
|
+
function n(C, P) {
|
|
2781
2781
|
for (var Q = 0; Q < P.length; Q++) {
|
|
2782
2782
|
var j = P[Q];
|
|
2783
|
-
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(
|
|
2783
|
+
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(C, m(j.key), j);
|
|
2784
2784
|
}
|
|
2785
2785
|
}
|
|
2786
|
-
function r(
|
|
2787
|
-
return P && n(
|
|
2786
|
+
function r(C, P, Q) {
|
|
2787
|
+
return P && n(C.prototype, P), Object.defineProperty(C, "prototype", { writable: !1 }), C;
|
|
2788
2788
|
}
|
|
2789
|
-
function a(
|
|
2790
|
-
return P = o(P), i(
|
|
2789
|
+
function a(C, P, Q) {
|
|
2790
|
+
return P = o(P), i(C, u() ? Reflect.construct(P, Q || [], o(C).constructor) : P.apply(C, Q));
|
|
2791
2791
|
}
|
|
2792
|
-
function i(
|
|
2792
|
+
function i(C, P) {
|
|
2793
2793
|
if (P && (e(P) == "object" || typeof P == "function")) return P;
|
|
2794
2794
|
if (P !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2795
|
-
return s(
|
|
2795
|
+
return s(C);
|
|
2796
2796
|
}
|
|
2797
|
-
function s(
|
|
2798
|
-
if (
|
|
2799
|
-
return
|
|
2797
|
+
function s(C) {
|
|
2798
|
+
if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2799
|
+
return C;
|
|
2800
2800
|
}
|
|
2801
2801
|
function u() {
|
|
2802
2802
|
try {
|
|
2803
|
-
var
|
|
2803
|
+
var C = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
2804
2804
|
}));
|
|
2805
2805
|
} catch {
|
|
2806
2806
|
}
|
|
2807
2807
|
return (u = function() {
|
|
2808
|
-
return !!
|
|
2808
|
+
return !!C;
|
|
2809
2809
|
})();
|
|
2810
2810
|
}
|
|
2811
|
-
function o(
|
|
2811
|
+
function o(C) {
|
|
2812
2812
|
return o = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(P) {
|
|
2813
2813
|
return P.__proto__ || Object.getPrototypeOf(P);
|
|
2814
|
-
}, o(
|
|
2814
|
+
}, o(C);
|
|
2815
2815
|
}
|
|
2816
|
-
function l(
|
|
2816
|
+
function l(C, P) {
|
|
2817
2817
|
if (typeof P != "function" && P !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2818
|
-
|
|
2818
|
+
C.prototype = Object.create(P && P.prototype, { constructor: { value: C, writable: !0, configurable: !0 } }), Object.defineProperty(C, "prototype", { writable: !1 }), P && c(C, P);
|
|
2819
2819
|
}
|
|
2820
|
-
function c(
|
|
2820
|
+
function c(C, P) {
|
|
2821
2821
|
return c = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Q, j) {
|
|
2822
2822
|
return Q.__proto__ = j, Q;
|
|
2823
|
-
}, c(
|
|
2823
|
+
}, c(C, P);
|
|
2824
2824
|
}
|
|
2825
|
-
function h(
|
|
2826
|
-
return (P = m(P)) in
|
|
2825
|
+
function h(C, P, Q) {
|
|
2826
|
+
return (P = m(P)) in C ? Object.defineProperty(C, P, { value: Q, enumerable: !0, configurable: !0, writable: !0 }) : C[P] = Q, C;
|
|
2827
2827
|
}
|
|
2828
|
-
function m(
|
|
2829
|
-
var P = p(
|
|
2828
|
+
function m(C) {
|
|
2829
|
+
var P = p(C, "string");
|
|
2830
2830
|
return e(P) == "symbol" ? P : P + "";
|
|
2831
2831
|
}
|
|
2832
|
-
function p(
|
|
2833
|
-
if (e(
|
|
2834
|
-
var Q =
|
|
2832
|
+
function p(C, P) {
|
|
2833
|
+
if (e(C) != "object" || !C) return C;
|
|
2834
|
+
var Q = C[Symbol.toPrimitive];
|
|
2835
2835
|
if (Q !== void 0) {
|
|
2836
|
-
var j = Q.call(
|
|
2836
|
+
var j = Q.call(C, P);
|
|
2837
2837
|
if (e(j) != "object") return j;
|
|
2838
2838
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2839
2839
|
}
|
|
2840
|
-
return (P === "string" ? String : Number)(
|
|
2840
|
+
return (P === "string" ? String : Number)(C);
|
|
2841
2841
|
}
|
|
2842
|
-
var y = In, b = /* @__PURE__ */ ed(),
|
|
2842
|
+
var y = In, b = /* @__PURE__ */ ed(), T = _4, v = T.createFocusTrap, k = k4, B = k.isFocusable, Y = /* @__PURE__ */ (function(C) {
|
|
2843
2843
|
function P(Q) {
|
|
2844
2844
|
var j;
|
|
2845
2845
|
t(this, P), j = a(this, P, [Q]), h(j, "getNodeForOption", function(V) {
|
|
@@ -2902,7 +2902,7 @@ function I4() {
|
|
|
2902
2902
|
}
|
|
2903
2903
|
return j.outsideClick = null, j.focusTrapElements = Q.containerElements || [], j.updatePreviousElement(), j;
|
|
2904
2904
|
}
|
|
2905
|
-
return l(P,
|
|
2905
|
+
return l(P, C), r(P, [{
|
|
2906
2906
|
key: "getDocument",
|
|
2907
2907
|
value: function() {
|
|
2908
2908
|
return this.props.focusTrapOptions.document || (typeof document < "u" ? document : void 0);
|
|
@@ -3410,28 +3410,28 @@ function V4(e, t) {
|
|
|
3410
3410
|
};
|
|
3411
3411
|
let i = n.body;
|
|
3412
3412
|
[n, r].forEach((b) => {
|
|
3413
|
-
const
|
|
3413
|
+
const T = [], v = b.hFlip, k = b.vFlip;
|
|
3414
3414
|
let B = b.rotate;
|
|
3415
|
-
v ? k ? B += 2 : (
|
|
3415
|
+
v ? k ? B += 2 : (T.push("translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"), T.push("scale(-1 1)"), a.top = a.left = 0) : k && (T.push("translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"), T.push("scale(1 -1)"), a.top = a.left = 0);
|
|
3416
3416
|
let Y;
|
|
3417
3417
|
switch (B < 0 && (B -= Math.floor(B / 4) * 4), B = B % 4, B) {
|
|
3418
3418
|
case 1:
|
|
3419
|
-
Y = a.height / 2 + a.top,
|
|
3419
|
+
Y = a.height / 2 + a.top, T.unshift("rotate(90 " + Y.toString() + " " + Y.toString() + ")");
|
|
3420
3420
|
break;
|
|
3421
3421
|
case 2:
|
|
3422
|
-
|
|
3422
|
+
T.unshift("rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")");
|
|
3423
3423
|
break;
|
|
3424
3424
|
case 3:
|
|
3425
|
-
Y = a.width / 2 + a.left,
|
|
3425
|
+
Y = a.width / 2 + a.left, T.unshift("rotate(-90 " + Y.toString() + " " + Y.toString() + ")");
|
|
3426
3426
|
break;
|
|
3427
3427
|
}
|
|
3428
|
-
B % 2 === 1 && (a.left !== a.top && (Y = a.left, a.left = a.top, a.top = Y), a.width !== a.height && (Y = a.width, a.width = a.height, a.height = Y)),
|
|
3428
|
+
B % 2 === 1 && (a.left !== a.top && (Y = a.left, a.left = a.top, a.top = Y), a.width !== a.height && (Y = a.width, a.width = a.height, a.height = Y)), T.length && (i = $4(i, '<g transform="' + T.join(" ") + '">', "</g>"));
|
|
3429
3429
|
});
|
|
3430
3430
|
const s = r.width, u = r.height, o = a.width, l = a.height;
|
|
3431
3431
|
let c, h;
|
|
3432
3432
|
s === null ? (h = u === null ? "1em" : u === "auto" ? l : u, c = d0(h, o / l)) : (c = s === "auto" ? o : s, h = u === null ? d0(c, l / o) : u === "auto" ? l : u);
|
|
3433
|
-
const m = {}, p = (b,
|
|
3434
|
-
Y4(
|
|
3433
|
+
const m = {}, p = (b, T) => {
|
|
3434
|
+
Y4(T) || (m[b] = T.toString());
|
|
3435
3435
|
};
|
|
3436
3436
|
p("width", c), p("height", h);
|
|
3437
3437
|
const y = [
|
|
@@ -3683,12 +3683,12 @@ function h3(e, t, n, r) {
|
|
|
3683
3683
|
const a = e.resources.length, i = e.random ? Math.floor(Math.random() * a) : e.index;
|
|
3684
3684
|
let s;
|
|
3685
3685
|
if (e.random) {
|
|
3686
|
-
let
|
|
3687
|
-
for (s = [];
|
|
3688
|
-
const P = Math.floor(Math.random() *
|
|
3689
|
-
s.push(
|
|
3686
|
+
let C = e.resources.slice(0);
|
|
3687
|
+
for (s = []; C.length > 1; ) {
|
|
3688
|
+
const P = Math.floor(Math.random() * C.length);
|
|
3689
|
+
s.push(C[P]), C = C.slice(0, P).concat(C.slice(P + 1));
|
|
3690
3690
|
}
|
|
3691
|
-
s = s.concat(
|
|
3691
|
+
s = s.concat(C);
|
|
3692
3692
|
} else s = e.resources.slice(i).concat(e.resources.slice(0, i));
|
|
3693
3693
|
const u = Date.now();
|
|
3694
3694
|
let o = "pending", l = 0, c, h = null, m = [], p = [];
|
|
@@ -3697,12 +3697,12 @@ function h3(e, t, n, r) {
|
|
|
3697
3697
|
h && (clearTimeout(h), h = null);
|
|
3698
3698
|
}
|
|
3699
3699
|
function b() {
|
|
3700
|
-
o === "pending" && (o = "aborted"), y(), m.forEach((
|
|
3701
|
-
|
|
3700
|
+
o === "pending" && (o = "aborted"), y(), m.forEach((C) => {
|
|
3701
|
+
C.status === "pending" && (C.status = "aborted");
|
|
3702
3702
|
}), m = [];
|
|
3703
3703
|
}
|
|
3704
|
-
function
|
|
3705
|
-
P && (p = []), typeof
|
|
3704
|
+
function T(C, P) {
|
|
3705
|
+
P && (p = []), typeof C == "function" && p.push(C);
|
|
3706
3706
|
}
|
|
3707
3707
|
function v() {
|
|
3708
3708
|
return {
|
|
@@ -3711,23 +3711,23 @@ function h3(e, t, n, r) {
|
|
|
3711
3711
|
status: o,
|
|
3712
3712
|
queriesSent: l,
|
|
3713
3713
|
queriesPending: m.length,
|
|
3714
|
-
subscribe:
|
|
3714
|
+
subscribe: T,
|
|
3715
3715
|
abort: b
|
|
3716
3716
|
};
|
|
3717
3717
|
}
|
|
3718
3718
|
function k() {
|
|
3719
|
-
o = "failed", p.forEach((
|
|
3720
|
-
|
|
3719
|
+
o = "failed", p.forEach((C) => {
|
|
3720
|
+
C(void 0, c);
|
|
3721
3721
|
});
|
|
3722
3722
|
}
|
|
3723
3723
|
function B() {
|
|
3724
|
-
m.forEach((
|
|
3725
|
-
|
|
3724
|
+
m.forEach((C) => {
|
|
3725
|
+
C.status === "pending" && (C.status = "aborted");
|
|
3726
3726
|
}), m = [];
|
|
3727
3727
|
}
|
|
3728
|
-
function Y(
|
|
3728
|
+
function Y(C, P, Q) {
|
|
3729
3729
|
const j = P !== "success";
|
|
3730
|
-
switch (m = m.filter((ne) => ne !==
|
|
3730
|
+
switch (m = m.filter((ne) => ne !== C), o) {
|
|
3731
3731
|
case "pending":
|
|
3732
3732
|
break;
|
|
3733
3733
|
case "failed":
|
|
@@ -3745,7 +3745,7 @@ function h3(e, t, n, r) {
|
|
|
3745
3745
|
return;
|
|
3746
3746
|
}
|
|
3747
3747
|
if (y(), B(), !e.random) {
|
|
3748
|
-
const ne = e.resources.indexOf(
|
|
3748
|
+
const ne = e.resources.indexOf(C.resource);
|
|
3749
3749
|
ne !== -1 && ne !== e.index && (e.index = ne);
|
|
3750
3750
|
}
|
|
3751
3751
|
o = "completed", p.forEach((ne) => {
|
|
@@ -3755,8 +3755,8 @@ function h3(e, t, n, r) {
|
|
|
3755
3755
|
function U() {
|
|
3756
3756
|
if (o !== "pending") return;
|
|
3757
3757
|
y();
|
|
3758
|
-
const
|
|
3759
|
-
if (
|
|
3758
|
+
const C = s.shift();
|
|
3759
|
+
if (C === void 0) {
|
|
3760
3760
|
if (m.length) {
|
|
3761
3761
|
h = setTimeout(() => {
|
|
3762
3762
|
y(), o === "pending" && (B(), k());
|
|
@@ -3768,12 +3768,12 @@ function h3(e, t, n, r) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
const P = {
|
|
3770
3770
|
status: "pending",
|
|
3771
|
-
resource:
|
|
3771
|
+
resource: C,
|
|
3772
3772
|
callback: (Q, j) => {
|
|
3773
3773
|
Y(P, Q, j);
|
|
3774
3774
|
}
|
|
3775
3775
|
};
|
|
3776
|
-
m.push(P), l++, h = setTimeout(U, e.rotate), n(
|
|
3776
|
+
m.push(P), l++, h = setTimeout(U, e.rotate), n(C, t, P.callback);
|
|
3777
3777
|
}
|
|
3778
3778
|
return setTimeout(U), v;
|
|
3779
3779
|
}
|
|
@@ -4055,21 +4055,21 @@ const D3 = (e, t, n) => {
|
|
|
4055
4055
|
...i === "svg" ? I3 : {}
|
|
4056
4056
|
};
|
|
4057
4057
|
if (n) {
|
|
4058
|
-
const
|
|
4059
|
-
if (
|
|
4058
|
+
const T = rs(n, !1, !0);
|
|
4059
|
+
if (T) {
|
|
4060
4060
|
const v = ["iconify"], k = [
|
|
4061
4061
|
"provider",
|
|
4062
4062
|
"prefix"
|
|
4063
4063
|
];
|
|
4064
4064
|
for (const B of k)
|
|
4065
|
-
|
|
4065
|
+
T[B] && v.push("iconify--" + T[B]);
|
|
4066
4066
|
o.className = v.join(" ");
|
|
4067
4067
|
}
|
|
4068
4068
|
}
|
|
4069
|
-
for (let
|
|
4070
|
-
const v = t[
|
|
4069
|
+
for (let T in t) {
|
|
4070
|
+
const v = t[T];
|
|
4071
4071
|
if (v !== void 0)
|
|
4072
|
-
switch (
|
|
4072
|
+
switch (T) {
|
|
4073
4073
|
// Properties to ignore
|
|
4074
4074
|
case "icon":
|
|
4075
4075
|
case "style":
|
|
@@ -4085,13 +4085,13 @@ const D3 = (e, t, n) => {
|
|
|
4085
4085
|
break;
|
|
4086
4086
|
// Merge class names
|
|
4087
4087
|
case "className":
|
|
4088
|
-
o[
|
|
4088
|
+
o[T] = (o[T] ? o[T] + " " : "") + v;
|
|
4089
4089
|
break;
|
|
4090
4090
|
// Boolean attributes
|
|
4091
4091
|
case "inline":
|
|
4092
4092
|
case "hFlip":
|
|
4093
4093
|
case "vFlip":
|
|
4094
|
-
a[
|
|
4094
|
+
a[T] = v === !0 || v === "true" || v === 1;
|
|
4095
4095
|
break;
|
|
4096
4096
|
// Flip as string: 'horizontal,vertical'
|
|
4097
4097
|
case "flip":
|
|
@@ -4103,7 +4103,7 @@ const D3 = (e, t, n) => {
|
|
|
4103
4103
|
break;
|
|
4104
4104
|
// Rotation as string
|
|
4105
4105
|
case "rotate":
|
|
4106
|
-
typeof v == "string" ? a[
|
|
4106
|
+
typeof v == "string" ? a[T] = x3(v) : typeof v == "number" && (a[T] = v);
|
|
4107
4107
|
break;
|
|
4108
4108
|
// Remove aria-hidden
|
|
4109
4109
|
case "ariaHidden":
|
|
@@ -4112,7 +4112,7 @@ const D3 = (e, t, n) => {
|
|
|
4112
4112
|
break;
|
|
4113
4113
|
// Copy missing property if it does not exist in customisations
|
|
4114
4114
|
default:
|
|
4115
|
-
r[
|
|
4115
|
+
r[T] === void 0 && (o[T] = v);
|
|
4116
4116
|
}
|
|
4117
4117
|
}
|
|
4118
4118
|
const l = V4(e, a), c = l.attributes;
|
|
@@ -4121,9 +4121,9 @@ const D3 = (e, t, n) => {
|
|
|
4121
4121
|
...s,
|
|
4122
4122
|
...u
|
|
4123
4123
|
}, Object.assign(o, c);
|
|
4124
|
-
let
|
|
4124
|
+
let T = 0, v = t.id;
|
|
4125
4125
|
return typeof v == "string" && (v = v.replace(/-/g, "_")), o.dangerouslySetInnerHTML = {
|
|
4126
|
-
__html: k3(K4(l.body, v ? () => v + "ID" +
|
|
4126
|
+
__html: k3(K4(l.body, v ? () => v + "ID" + T++ : "iconifyReact"))
|
|
4127
4127
|
}, Pu("svg", o);
|
|
4128
4128
|
}
|
|
4129
4129
|
const { body: h, width: m, height: p } = e, y = i === "mask" || (i === "bg" ? !1 : h.indexOf("currentColor") !== -1), b = S3(h, {
|
|
@@ -4220,9 +4220,9 @@ function Bd(e) {
|
|
|
4220
4220
|
data: b
|
|
4221
4221
|
}))
|
|
4222
4222
|
if (b === void 0) {
|
|
4223
|
-
const
|
|
4223
|
+
const T = y3([y], c);
|
|
4224
4224
|
a({
|
|
4225
|
-
callback:
|
|
4225
|
+
callback: T
|
|
4226
4226
|
});
|
|
4227
4227
|
} else b && ((p = e.onLoad) === null || p === void 0 || p.call(e, y));
|
|
4228
4228
|
}
|
|
@@ -4258,9 +4258,9 @@ function as({
|
|
|
4258
4258
|
loading: p,
|
|
4259
4259
|
loadingHistory: y,
|
|
4260
4260
|
streaming: b,
|
|
4261
|
-
internalStreaming:
|
|
4261
|
+
internalStreaming: T,
|
|
4262
4262
|
externalStreaming: v
|
|
4263
|
-
} = ke(zt), [k, B] = xe(""), Y = i !== void 0, U = Y ? i : k,
|
|
4263
|
+
} = ke(zt), [k, B] = xe(""), Y = i !== void 0, U = Y ? i : k, C = pn(
|
|
4264
4264
|
(q) => {
|
|
4265
4265
|
q.preventDefault(), Y || B(q.target.value), a && a(q);
|
|
4266
4266
|
},
|
|
@@ -4290,7 +4290,7 @@ function as({
|
|
|
4290
4290
|
value: U,
|
|
4291
4291
|
ref: r,
|
|
4292
4292
|
onInput: ne,
|
|
4293
|
-
onChange:
|
|
4293
|
+
onChange: C,
|
|
4294
4294
|
placeholder: "Write a message",
|
|
4295
4295
|
cols: "5",
|
|
4296
4296
|
rows: "1",
|
|
@@ -4313,7 +4313,7 @@ function as({
|
|
|
4313
4313
|
}
|
|
4314
4314
|
}
|
|
4315
4315
|
),
|
|
4316
|
-
v && c || p ||
|
|
4316
|
+
v && c || p || T ? /* @__PURE__ */ w.jsx(
|
|
4317
4317
|
"button",
|
|
4318
4318
|
{
|
|
4319
4319
|
"data-testid": "Stop",
|
|
@@ -4911,9 +4911,9 @@ function G3() {
|
|
|
4911
4911
|
return l[c];
|
|
4912
4912
|
};
|
|
4913
4913
|
return Zs = function o() {
|
|
4914
|
-
var l, c, h, m, p, y, b = arguments[0],
|
|
4915
|
-
for (typeof b == "boolean" && (k = b, b = arguments[1] || {},
|
|
4916
|
-
if (l = arguments[
|
|
4914
|
+
var l, c, h, m, p, y, b = arguments[0], T = 1, v = arguments.length, k = !1;
|
|
4915
|
+
for (typeof b == "boolean" && (k = b, b = arguments[1] || {}, T = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); T < v; ++T)
|
|
4916
|
+
if (l = arguments[T], l != null)
|
|
4917
4917
|
for (c in l)
|
|
4918
4918
|
h = u(b, c), m = u(l, c), b !== m && (k && m && (i(m) || (p = a(m))) ? (p ? (p = !1, y = h && a(h) ? h : []) : y = h && i(h) ? h : {}, s(b, { name: c, newValue: o(k, y, m) })) : typeof m < "u" && s(b, { name: c, newValue: m }));
|
|
4919
4919
|
return b;
|
|
@@ -4990,65 +4990,65 @@ function zd() {
|
|
|
4990
4990
|
return i.data = s, i.Parser = void 0, i.Compiler = void 0, i.freeze = u, i.attachers = t, i.use = o, i.parse = l, i.stringify = c, i.run = h, i.runSync = m, i.process = p, i.processSync = y, i;
|
|
4991
4991
|
function i() {
|
|
4992
4992
|
const b = zd();
|
|
4993
|
-
let
|
|
4994
|
-
for (; ++
|
|
4995
|
-
b.use(...t[
|
|
4993
|
+
let T = -1;
|
|
4994
|
+
for (; ++T < t.length; )
|
|
4995
|
+
b.use(...t[T]);
|
|
4996
4996
|
return b.data(A0(!0, {}, n)), b;
|
|
4997
4997
|
}
|
|
4998
|
-
function s(b,
|
|
4999
|
-
return typeof b == "string" ? arguments.length === 2 ? (tu("data", r), n[b] =
|
|
4998
|
+
function s(b, T) {
|
|
4999
|
+
return typeof b == "string" ? arguments.length === 2 ? (tu("data", r), n[b] = T, i) : Ud.call(n, b) && n[b] || null : b ? (tu("data", r), n = b, i) : n;
|
|
5000
5000
|
}
|
|
5001
5001
|
function u() {
|
|
5002
5002
|
if (r)
|
|
5003
5003
|
return i;
|
|
5004
5004
|
for (; ++a < t.length; ) {
|
|
5005
|
-
const [b, ...
|
|
5006
|
-
if (
|
|
5005
|
+
const [b, ...T] = t[a];
|
|
5006
|
+
if (T[0] === !1)
|
|
5007
5007
|
continue;
|
|
5008
|
-
|
|
5009
|
-
const v = b.call(i, ...
|
|
5008
|
+
T[0] === !0 && (T[0] = void 0);
|
|
5009
|
+
const v = b.call(i, ...T);
|
|
5010
5010
|
typeof v == "function" && e.use(v);
|
|
5011
5011
|
}
|
|
5012
5012
|
return r = !0, a = Number.POSITIVE_INFINITY, i;
|
|
5013
5013
|
}
|
|
5014
|
-
function o(b, ...
|
|
5014
|
+
function o(b, ...T) {
|
|
5015
5015
|
let v;
|
|
5016
5016
|
if (tu("use", r), b != null) if (typeof b == "function")
|
|
5017
|
-
U(b, ...
|
|
5017
|
+
U(b, ...T);
|
|
5018
5018
|
else if (typeof b == "object")
|
|
5019
5019
|
Array.isArray(b) ? Y(b) : B(b);
|
|
5020
5020
|
else
|
|
5021
5021
|
throw new TypeError("Expected usable value, not `" + b + "`");
|
|
5022
5022
|
return v && (n.settings = Object.assign(n.settings || {}, v)), i;
|
|
5023
|
-
function k(
|
|
5024
|
-
if (typeof
|
|
5025
|
-
U(
|
|
5026
|
-
else if (typeof
|
|
5027
|
-
if (Array.isArray(
|
|
5028
|
-
const [P, ...Q] =
|
|
5023
|
+
function k(C) {
|
|
5024
|
+
if (typeof C == "function")
|
|
5025
|
+
U(C);
|
|
5026
|
+
else if (typeof C == "object")
|
|
5027
|
+
if (Array.isArray(C)) {
|
|
5028
|
+
const [P, ...Q] = C;
|
|
5029
5029
|
U(P, ...Q);
|
|
5030
5030
|
} else
|
|
5031
|
-
B(
|
|
5031
|
+
B(C);
|
|
5032
5032
|
else
|
|
5033
|
-
throw new TypeError("Expected usable value, not `" +
|
|
5033
|
+
throw new TypeError("Expected usable value, not `" + C + "`");
|
|
5034
5034
|
}
|
|
5035
|
-
function B(
|
|
5036
|
-
Y(
|
|
5035
|
+
function B(C) {
|
|
5036
|
+
Y(C.plugins), C.settings && (v = Object.assign(v || {}, C.settings));
|
|
5037
5037
|
}
|
|
5038
|
-
function Y(
|
|
5038
|
+
function Y(C) {
|
|
5039
5039
|
let P = -1;
|
|
5040
|
-
if (
|
|
5041
|
-
for (; ++P <
|
|
5042
|
-
const Q =
|
|
5040
|
+
if (C != null) if (Array.isArray(C))
|
|
5041
|
+
for (; ++P < C.length; ) {
|
|
5042
|
+
const Q = C[P];
|
|
5043
5043
|
k(Q);
|
|
5044
5044
|
}
|
|
5045
5045
|
else
|
|
5046
|
-
throw new TypeError("Expected a list of plugins, not `" +
|
|
5046
|
+
throw new TypeError("Expected a list of plugins, not `" + C + "`");
|
|
5047
5047
|
}
|
|
5048
|
-
function U(
|
|
5048
|
+
function U(C, P) {
|
|
5049
5049
|
let Q = -1, j;
|
|
5050
5050
|
for (; ++Q < t.length; )
|
|
5051
|
-
if (t[Q][0] ===
|
|
5051
|
+
if (t[Q][0] === C) {
|
|
5052
5052
|
j = t[Q];
|
|
5053
5053
|
break;
|
|
5054
5054
|
}
|
|
@@ -5057,58 +5057,58 @@ function zd() {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
function l(b) {
|
|
5059
5059
|
i.freeze();
|
|
5060
|
-
const
|
|
5061
|
-
return Js("parse", v), _0(v, "parse") ? new v(String(
|
|
5060
|
+
const T = Ea(b), v = i.Parser;
|
|
5061
|
+
return Js("parse", v), _0(v, "parse") ? new v(String(T), T).parse() : v(String(T), T);
|
|
5062
5062
|
}
|
|
5063
|
-
function c(b,
|
|
5063
|
+
function c(b, T) {
|
|
5064
5064
|
i.freeze();
|
|
5065
|
-
const v = Ea(
|
|
5065
|
+
const v = Ea(T), k = i.Compiler;
|
|
5066
5066
|
return eu("stringify", k), k0(b), _0(k, "compile") ? new k(b, v).compile() : k(b, v);
|
|
5067
5067
|
}
|
|
5068
|
-
function h(b,
|
|
5069
|
-
if (k0(b), i.freeze(), !v && typeof
|
|
5068
|
+
function h(b, T, v) {
|
|
5069
|
+
if (k0(b), i.freeze(), !v && typeof T == "function" && (v = T, T = void 0), !v)
|
|
5070
5070
|
return new Promise(k);
|
|
5071
5071
|
k(null, v);
|
|
5072
5072
|
function k(B, Y) {
|
|
5073
|
-
e.run(b, Ea(
|
|
5074
|
-
function U(
|
|
5075
|
-
P = P || b,
|
|
5073
|
+
e.run(b, Ea(T), U);
|
|
5074
|
+
function U(C, P, Q) {
|
|
5075
|
+
P = P || b, C ? Y(C) : B ? B(P) : v(null, P, Q);
|
|
5076
5076
|
}
|
|
5077
5077
|
}
|
|
5078
5078
|
}
|
|
5079
|
-
function m(b,
|
|
5079
|
+
function m(b, T) {
|
|
5080
5080
|
let v, k;
|
|
5081
|
-
return i.run(b,
|
|
5081
|
+
return i.run(b, T, B), I0("runSync", "run", k), v;
|
|
5082
5082
|
function B(Y, U) {
|
|
5083
5083
|
C0(Y), v = U, k = !0;
|
|
5084
5084
|
}
|
|
5085
5085
|
}
|
|
5086
|
-
function p(b,
|
|
5087
|
-
if (i.freeze(), Js("process", i.Parser), eu("process", i.Compiler), !
|
|
5086
|
+
function p(b, T) {
|
|
5087
|
+
if (i.freeze(), Js("process", i.Parser), eu("process", i.Compiler), !T)
|
|
5088
5088
|
return new Promise(v);
|
|
5089
|
-
v(null,
|
|
5089
|
+
v(null, T);
|
|
5090
5090
|
function v(k, B) {
|
|
5091
5091
|
const Y = Ea(b);
|
|
5092
|
-
i.run(i.parse(Y), Y, (
|
|
5093
|
-
if (
|
|
5094
|
-
U(
|
|
5092
|
+
i.run(i.parse(Y), Y, (C, P, Q) => {
|
|
5093
|
+
if (C || !P || !Q)
|
|
5094
|
+
U(C);
|
|
5095
5095
|
else {
|
|
5096
5096
|
const j = i.stringify(P, Q);
|
|
5097
|
-
j == null || (e6(j) ? Q.value = j : Q.result = j), U(
|
|
5097
|
+
j == null || (e6(j) ? Q.value = j : Q.result = j), U(C, Q);
|
|
5098
5098
|
}
|
|
5099
5099
|
});
|
|
5100
|
-
function U(
|
|
5101
|
-
|
|
5100
|
+
function U(C, P) {
|
|
5101
|
+
C || !P ? B(C) : k ? k(P) : T(null, P);
|
|
5102
5102
|
}
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
5105
5105
|
function y(b) {
|
|
5106
|
-
let
|
|
5106
|
+
let T;
|
|
5107
5107
|
i.freeze(), Js("processSync", i.Parser), eu("processSync", i.Compiler);
|
|
5108
5108
|
const v = Ea(b);
|
|
5109
|
-
return i.process(v, k), I0("processSync", "process",
|
|
5109
|
+
return i.process(v, k), I0("processSync", "process", T), v;
|
|
5110
5110
|
function k(B) {
|
|
5111
|
-
|
|
5111
|
+
T = !0, C0(B);
|
|
5112
5112
|
}
|
|
5113
5113
|
}
|
|
5114
5114
|
}
|
|
@@ -5308,16 +5308,16 @@ function c6(e) {
|
|
|
5308
5308
|
if (r++, t.containerState._closeFlow) {
|
|
5309
5309
|
t.containerState._closeFlow = void 0, a && k();
|
|
5310
5310
|
const Y = t.events.length;
|
|
5311
|
-
let U = Y,
|
|
5311
|
+
let U = Y, C;
|
|
5312
5312
|
for (; U--; )
|
|
5313
5313
|
if (t.events[U][0] === "exit" && t.events[U][1].type === "chunkFlow") {
|
|
5314
|
-
|
|
5314
|
+
C = t.events[U][1].end;
|
|
5315
5315
|
break;
|
|
5316
5316
|
}
|
|
5317
5317
|
v(r);
|
|
5318
5318
|
let P = Y;
|
|
5319
5319
|
for (; P < t.events.length; )
|
|
5320
|
-
t.events[P][1].end = Object.assign({},
|
|
5320
|
+
t.events[P][1].end = Object.assign({}, C), P++;
|
|
5321
5321
|
return Un(
|
|
5322
5322
|
t.events,
|
|
5323
5323
|
U + 1,
|
|
@@ -5370,21 +5370,21 @@ function c6(e) {
|
|
|
5370
5370
|
}
|
|
5371
5371
|
function b(B) {
|
|
5372
5372
|
if (B === null) {
|
|
5373
|
-
|
|
5373
|
+
T(e.exit("chunkFlow"), !0), v(0), e.consume(B);
|
|
5374
5374
|
return;
|
|
5375
5375
|
}
|
|
5376
|
-
return Mo(B) ? (e.consume(B),
|
|
5376
|
+
return Mo(B) ? (e.consume(B), T(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, u) : (e.consume(B), b);
|
|
5377
5377
|
}
|
|
5378
|
-
function
|
|
5378
|
+
function T(B, Y) {
|
|
5379
5379
|
const U = t.sliceStream(B);
|
|
5380
5380
|
if (Y && U.push(null), B.previous = i, i && (i.next = B), i = B, a.defineSkip(B.start), a.write(U), t.parser.lazy[B.start.line]) {
|
|
5381
|
-
let
|
|
5382
|
-
for (;
|
|
5381
|
+
let C = a.events.length;
|
|
5382
|
+
for (; C--; )
|
|
5383
5383
|
if (
|
|
5384
5384
|
// The token starts before the line ending…
|
|
5385
|
-
a.events[
|
|
5386
|
-
(!a.events[
|
|
5387
|
-
a.events[
|
|
5385
|
+
a.events[C][1].start.offset < s && // …and either is not ended yet…
|
|
5386
|
+
(!a.events[C][1].end || // …or ends after it.
|
|
5387
|
+
a.events[C][1].end.offset > s)
|
|
5388
5388
|
)
|
|
5389
5389
|
return;
|
|
5390
5390
|
const P = t.events.length;
|
|
@@ -5397,14 +5397,14 @@ function c6(e) {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
j = !0;
|
|
5399
5399
|
}
|
|
5400
|
-
for (v(r),
|
|
5401
|
-
t.events[
|
|
5400
|
+
for (v(r), C = P; C < t.events.length; )
|
|
5401
|
+
t.events[C][1].end = Object.assign({}, ne), C++;
|
|
5402
5402
|
Un(
|
|
5403
5403
|
t.events,
|
|
5404
5404
|
Q + 1,
|
|
5405
5405
|
0,
|
|
5406
5406
|
t.events.slice(P)
|
|
5407
|
-
), t.events.length =
|
|
5407
|
+
), t.events.length = C;
|
|
5408
5408
|
}
|
|
5409
5409
|
}
|
|
5410
5410
|
function v(B) {
|
|
@@ -5715,77 +5715,77 @@ function O6(e, t, n) {
|
|
|
5715
5715
|
};
|
|
5716
5716
|
let i = 0, s = 0, u;
|
|
5717
5717
|
return o;
|
|
5718
|
-
function o(
|
|
5719
|
-
return l(
|
|
5718
|
+
function o(C) {
|
|
5719
|
+
return l(C);
|
|
5720
5720
|
}
|
|
5721
|
-
function l(
|
|
5721
|
+
function l(C) {
|
|
5722
5722
|
const P = r.events[r.events.length - 1];
|
|
5723
|
-
return i = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, u =
|
|
5723
|
+
return i = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, u = C, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(C);
|
|
5724
5724
|
}
|
|
5725
|
-
function c(
|
|
5726
|
-
return
|
|
5725
|
+
function c(C) {
|
|
5726
|
+
return C === u ? (s++, e.consume(C), c) : s < 3 ? n(C) : (e.exit("codeFencedFenceSequence"), ct(C) ? st(e, h, "whitespace")(C) : h(C));
|
|
5727
5727
|
}
|
|
5728
|
-
function h(
|
|
5729
|
-
return
|
|
5728
|
+
function h(C) {
|
|
5729
|
+
return C === null || Xe(C) ? (e.exit("codeFencedFence"), r.interrupt ? t(C) : e.check(B0, b, Y)(C)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
5730
5730
|
contentType: "string"
|
|
5731
|
-
}), m(
|
|
5731
|
+
}), m(C));
|
|
5732
5732
|
}
|
|
5733
|
-
function m(
|
|
5734
|
-
return
|
|
5733
|
+
function m(C) {
|
|
5734
|
+
return C === null || Xe(C) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(C)) : ct(C) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), st(e, p, "whitespace")(C)) : C === 96 && C === u ? n(C) : (e.consume(C), m);
|
|
5735
5735
|
}
|
|
5736
|
-
function p(
|
|
5737
|
-
return
|
|
5736
|
+
function p(C) {
|
|
5737
|
+
return C === null || Xe(C) ? h(C) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
5738
5738
|
contentType: "string"
|
|
5739
|
-
}), y(
|
|
5739
|
+
}), y(C));
|
|
5740
5740
|
}
|
|
5741
|
-
function y(
|
|
5742
|
-
return
|
|
5741
|
+
function y(C) {
|
|
5742
|
+
return C === null || Xe(C) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), h(C)) : C === 96 && C === u ? n(C) : (e.consume(C), y);
|
|
5743
5743
|
}
|
|
5744
|
-
function b(
|
|
5745
|
-
return e.attempt(a, Y,
|
|
5744
|
+
function b(C) {
|
|
5745
|
+
return e.attempt(a, Y, T)(C);
|
|
5746
5746
|
}
|
|
5747
|
-
function
|
|
5748
|
-
return e.enter("lineEnding"), e.consume(
|
|
5747
|
+
function T(C) {
|
|
5748
|
+
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), v;
|
|
5749
5749
|
}
|
|
5750
|
-
function v(
|
|
5751
|
-
return i > 0 && ct(
|
|
5750
|
+
function v(C) {
|
|
5751
|
+
return i > 0 && ct(C) ? st(
|
|
5752
5752
|
e,
|
|
5753
5753
|
k,
|
|
5754
5754
|
"linePrefix",
|
|
5755
5755
|
i + 1
|
|
5756
|
-
)(
|
|
5756
|
+
)(C) : k(C);
|
|
5757
5757
|
}
|
|
5758
|
-
function k(
|
|
5759
|
-
return
|
|
5758
|
+
function k(C) {
|
|
5759
|
+
return C === null || Xe(C) ? e.check(B0, b, Y)(C) : (e.enter("codeFlowValue"), B(C));
|
|
5760
5760
|
}
|
|
5761
|
-
function B(
|
|
5762
|
-
return
|
|
5761
|
+
function B(C) {
|
|
5762
|
+
return C === null || Xe(C) ? (e.exit("codeFlowValue"), k(C)) : (e.consume(C), B);
|
|
5763
5763
|
}
|
|
5764
|
-
function Y(
|
|
5765
|
-
return e.exit("codeFenced"), t(
|
|
5764
|
+
function Y(C) {
|
|
5765
|
+
return e.exit("codeFenced"), t(C);
|
|
5766
5766
|
}
|
|
5767
|
-
function U(
|
|
5767
|
+
function U(C, P, Q) {
|
|
5768
5768
|
let j = 0;
|
|
5769
5769
|
return ne;
|
|
5770
5770
|
function ne(H) {
|
|
5771
|
-
return
|
|
5771
|
+
return C.enter("lineEnding"), C.consume(H), C.exit("lineEnding"), q;
|
|
5772
5772
|
}
|
|
5773
5773
|
function q(H) {
|
|
5774
|
-
return
|
|
5775
|
-
|
|
5774
|
+
return C.enter("codeFencedFence"), ct(H) ? st(
|
|
5775
|
+
C,
|
|
5776
5776
|
V,
|
|
5777
5777
|
"linePrefix",
|
|
5778
5778
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
5779
5779
|
)(H) : V(H);
|
|
5780
5780
|
}
|
|
5781
5781
|
function V(H) {
|
|
5782
|
-
return H === u ? (
|
|
5782
|
+
return H === u ? (C.enter("codeFencedFenceSequence"), F(H)) : Q(H);
|
|
5783
5783
|
}
|
|
5784
5784
|
function F(H) {
|
|
5785
|
-
return H === u ? (j++,
|
|
5785
|
+
return H === u ? (j++, C.consume(H), F) : j >= s ? (C.exit("codeFencedFenceSequence"), ct(H) ? st(C, D, "whitespace")(H) : D(H)) : Q(H);
|
|
5786
5786
|
}
|
|
5787
5787
|
function D(H) {
|
|
5788
|
-
return H === null || Xe(H) ? (
|
|
5788
|
+
return H === null || Xe(H) ? (C.exit("codeFencedFence"), P(H)) : Q(H);
|
|
5789
5789
|
}
|
|
5790
5790
|
}
|
|
5791
5791
|
}
|
|
@@ -5902,7 +5902,7 @@ function H6(e, t) {
|
|
|
5902
5902
|
let a = t - 1;
|
|
5903
5903
|
const i = [], s = n._tokenizer || r.parser[n.contentType](n.start), u = s.events, o = [], l = {};
|
|
5904
5904
|
let c, h, m = -1, p = n, y = 0, b = 0;
|
|
5905
|
-
const
|
|
5905
|
+
const T = [b];
|
|
5906
5906
|
for (; p; ) {
|
|
5907
5907
|
for (; e[++a][1] !== p; )
|
|
5908
5908
|
;
|
|
@@ -5910,9 +5910,9 @@ function H6(e, t) {
|
|
|
5910
5910
|
}
|
|
5911
5911
|
for (p = n; ++m < u.length; )
|
|
5912
5912
|
// Find a void token that includes a break.
|
|
5913
|
-
u[m][0] === "exit" && u[m - 1][0] === "enter" && u[m][1].type === u[m - 1][1].type && u[m][1].start.line !== u[m][1].end.line && (b = m + 1,
|
|
5914
|
-
for (s.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) :
|
|
5915
|
-
const v = u.slice(
|
|
5913
|
+
u[m][0] === "exit" && u[m - 1][0] === "enter" && u[m][1].type === u[m - 1][1].type && u[m][1].start.line !== u[m][1].end.line && (b = m + 1, T.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
|
|
5914
|
+
for (s.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : T.pop(), m = T.length; m--; ) {
|
|
5915
|
+
const v = u.slice(T[m], T[m + 1]), k = i.pop();
|
|
5916
5916
|
o.unshift([k, k + v.length - 1]), Un(e, k, 2, v);
|
|
5917
5917
|
}
|
|
5918
5918
|
for (m = -1; ++m < o.length; )
|
|
@@ -6001,9 +6001,9 @@ function Wd(e, t, n, r, a, i, s, u, o) {
|
|
|
6001
6001
|
return v === 60 || v === 62 || v === 92 ? (e.consume(v), p) : p(v);
|
|
6002
6002
|
}
|
|
6003
6003
|
function b(v) {
|
|
6004
|
-
return !c && (v === null || v === 41 || V6(v)) ? (e.exit("chunkString"), e.exit(u), e.exit(s), e.exit(r), t(v)) : c < l && v === 40 ? (e.consume(v), c++, b) : v === 41 ? (e.consume(v), c--, b) : v === null || v === 32 || v === 40 || H0(v) ? n(v) : (e.consume(v), v === 92 ?
|
|
6004
|
+
return !c && (v === null || v === 41 || V6(v)) ? (e.exit("chunkString"), e.exit(u), e.exit(s), e.exit(r), t(v)) : c < l && v === 40 ? (e.consume(v), c++, b) : v === 41 ? (e.consume(v), c--, b) : v === null || v === 32 || v === 40 || H0(v) ? n(v) : (e.consume(v), v === 92 ? T : b);
|
|
6005
6005
|
}
|
|
6006
|
-
function
|
|
6006
|
+
function T(v) {
|
|
6007
6007
|
return v === 40 || v === 41 || v === 92 ? (e.consume(v), b) : b(v);
|
|
6008
6008
|
}
|
|
6009
6009
|
}
|
|
@@ -6310,7 +6310,7 @@ function cg(e, t, n) {
|
|
|
6310
6310
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(I), h;
|
|
6311
6311
|
}
|
|
6312
6312
|
function h(I) {
|
|
6313
|
-
return I === 33 ? (e.consume(I), m) : I === 47 ? (e.consume(I), i = !0, b) : I === 63 ? (e.consume(I), a = 3, r.interrupt ? t : A) : Pn(I) ? (e.consume(I), s = String.fromCharCode(I),
|
|
6313
|
+
return I === 33 ? (e.consume(I), m) : I === 47 ? (e.consume(I), i = !0, b) : I === 63 ? (e.consume(I), a = 3, r.interrupt ? t : A) : Pn(I) ? (e.consume(I), s = String.fromCharCode(I), T) : n(I);
|
|
6314
6314
|
}
|
|
6315
6315
|
function m(I) {
|
|
6316
6316
|
return I === 45 ? (e.consume(I), a = 2, p) : I === 91 ? (e.consume(I), a = 5, u = 0, y) : Pn(I) ? (e.consume(I), a = 4, r.interrupt ? t : A) : n(I);
|
|
@@ -6323,14 +6323,14 @@ function cg(e, t, n) {
|
|
|
6323
6323
|
return I === ve.charCodeAt(u++) ? (e.consume(I), u === ve.length ? r.interrupt ? t : V : y) : n(I);
|
|
6324
6324
|
}
|
|
6325
6325
|
function b(I) {
|
|
6326
|
-
return Pn(I) ? (e.consume(I), s = String.fromCharCode(I),
|
|
6326
|
+
return Pn(I) ? (e.consume(I), s = String.fromCharCode(I), T) : n(I);
|
|
6327
6327
|
}
|
|
6328
|
-
function
|
|
6328
|
+
function T(I) {
|
|
6329
6329
|
if (I === null || I === 47 || I === 62 || En(I)) {
|
|
6330
6330
|
const ve = I === 47, we = s.toLowerCase();
|
|
6331
6331
|
return !ve && !i && j0.includes(we) ? (a = 1, r.interrupt ? t(I) : V(I)) : ig.includes(s.toLowerCase()) ? (a = 6, ve ? (e.consume(I), v) : r.interrupt ? t(I) : V(I)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(I) : i ? k(I) : B(I));
|
|
6332
6332
|
}
|
|
6333
|
-
return I === 45 || kn(I) ? (e.consume(I), s += String.fromCharCode(I),
|
|
6333
|
+
return I === 45 || kn(I) ? (e.consume(I), s += String.fromCharCode(I), T) : n(I);
|
|
6334
6334
|
}
|
|
6335
6335
|
function v(I) {
|
|
6336
6336
|
return I === 62 ? (e.consume(I), r.interrupt ? t : V) : n(I);
|
|
@@ -6345,10 +6345,10 @@ function cg(e, t, n) {
|
|
|
6345
6345
|
return I === 45 || I === 46 || I === 58 || I === 95 || kn(I) ? (e.consume(I), Y) : U(I);
|
|
6346
6346
|
}
|
|
6347
6347
|
function U(I) {
|
|
6348
|
-
return I === 61 ? (e.consume(I),
|
|
6348
|
+
return I === 61 ? (e.consume(I), C) : ct(I) ? (e.consume(I), U) : B(I);
|
|
6349
6349
|
}
|
|
6350
|
-
function
|
|
6351
|
-
return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (e.consume(I), o = I, P) : ct(I) ? (e.consume(I),
|
|
6350
|
+
function C(I) {
|
|
6351
|
+
return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (e.consume(I), o = I, P) : ct(I) ? (e.consume(I), C) : Q(I);
|
|
6352
6352
|
}
|
|
6353
6353
|
function P(I) {
|
|
6354
6354
|
return I === o ? (e.consume(I), o = null, j) : I === null || Xe(I) ? n(I) : (e.consume(I), P);
|
|
@@ -6461,9 +6461,9 @@ function pg(e, t, n) {
|
|
|
6461
6461
|
return A === ue.charCodeAt(i++) ? (e.consume(A), i === ue.length ? b : y) : n(A);
|
|
6462
6462
|
}
|
|
6463
6463
|
function b(A) {
|
|
6464
|
-
return A === null ? n(A) : A === 93 ? (e.consume(A),
|
|
6464
|
+
return A === null ? n(A) : A === 93 ? (e.consume(A), T) : Xe(A) ? (s = b, te(A)) : (e.consume(A), b);
|
|
6465
6465
|
}
|
|
6466
|
-
function
|
|
6466
|
+
function T(A) {
|
|
6467
6467
|
return A === 93 ? (e.consume(A), v) : b(A);
|
|
6468
6468
|
}
|
|
6469
6469
|
function v(A) {
|
|
@@ -6479,10 +6479,10 @@ function pg(e, t, n) {
|
|
|
6479
6479
|
return A === 62 ? G(A) : B(A);
|
|
6480
6480
|
}
|
|
6481
6481
|
function U(A) {
|
|
6482
|
-
return Pn(A) ? (e.consume(A),
|
|
6482
|
+
return Pn(A) ? (e.consume(A), C) : n(A);
|
|
6483
6483
|
}
|
|
6484
|
-
function
|
|
6485
|
-
return A === 45 || kn(A) ? (e.consume(A),
|
|
6484
|
+
function C(A) {
|
|
6485
|
+
return A === 45 || kn(A) ? (e.consume(A), C) : P(A);
|
|
6486
6486
|
}
|
|
6487
6487
|
function P(A) {
|
|
6488
6488
|
return Xe(A) ? (s = P, te(A)) : ct(A) ? (e.consume(A), P) : G(A);
|
|
@@ -7081,8 +7081,8 @@ function Yg(e, t, n) {
|
|
|
7081
7081
|
enter: B,
|
|
7082
7082
|
exit: Y,
|
|
7083
7083
|
attempt: P(U),
|
|
7084
|
-
check: P(
|
|
7085
|
-
interrupt: P(
|
|
7084
|
+
check: P(C),
|
|
7085
|
+
interrupt: P(C, {
|
|
7086
7086
|
interrupt: !0
|
|
7087
7087
|
})
|
|
7088
7088
|
}, l = {
|
|
@@ -7100,7 +7100,7 @@ function Yg(e, t, n) {
|
|
|
7100
7100
|
let c = t.tokenize.call(l, o);
|
|
7101
7101
|
return t.resolveAll && i.push(t), l;
|
|
7102
7102
|
function h(q) {
|
|
7103
|
-
return s = yn(s, q),
|
|
7103
|
+
return s = yn(s, q), T(), s[s.length - 1] !== null ? [] : (Q(t, 0), l.events = Po(i, l.events, l), l.events);
|
|
7104
7104
|
}
|
|
7105
7105
|
function m(q, V) {
|
|
7106
7106
|
return Gg(p(q), V);
|
|
@@ -7121,7 +7121,7 @@ function Yg(e, t, n) {
|
|
|
7121
7121
|
function b(q) {
|
|
7122
7122
|
a[q.line] = q.column, ne();
|
|
7123
7123
|
}
|
|
7124
|
-
function
|
|
7124
|
+
function T() {
|
|
7125
7125
|
let q;
|
|
7126
7126
|
for (; r._index < s.length; ) {
|
|
7127
7127
|
const V = s[r._index];
|
|
@@ -7149,7 +7149,7 @@ function Yg(e, t, n) {
|
|
|
7149
7149
|
function U(q, V) {
|
|
7150
7150
|
Q(q, V.from);
|
|
7151
7151
|
}
|
|
7152
|
-
function
|
|
7152
|
+
function C(q, V) {
|
|
7153
7153
|
V.restore();
|
|
7154
7154
|
}
|
|
7155
7155
|
function P(q, V) {
|
|
@@ -7507,14 +7507,14 @@ function d5(e) {
|
|
|
7507
7507
|
codeFenced: c(k),
|
|
7508
7508
|
codeFencedFence: v,
|
|
7509
7509
|
codeFencedFenceInfo: b,
|
|
7510
|
-
codeFencedFenceMeta:
|
|
7510
|
+
codeFencedFenceMeta: T,
|
|
7511
7511
|
codeFlowValue: V,
|
|
7512
7512
|
codeIndented: c(B),
|
|
7513
7513
|
codeText: c(te),
|
|
7514
7514
|
codeTextData: V,
|
|
7515
7515
|
data: V,
|
|
7516
7516
|
definition: c(),
|
|
7517
|
-
definitionDestinationString:
|
|
7517
|
+
definitionDestinationString: C,
|
|
7518
7518
|
definitionLabelString: Y,
|
|
7519
7519
|
definitionTitleString: U,
|
|
7520
7520
|
emphasis: c(),
|
|
@@ -7694,7 +7694,7 @@ function d5(e) {
|
|
|
7694
7694
|
const X = this.resume(), re = this.stack[this.stack.length - 1];
|
|
7695
7695
|
re.lang = X;
|
|
7696
7696
|
}
|
|
7697
|
-
function
|
|
7697
|
+
function T() {
|
|
7698
7698
|
const X = this.resume(), re = this.stack[this.stack.length - 1];
|
|
7699
7699
|
re.meta = X;
|
|
7700
7700
|
}
|
|
@@ -7719,7 +7719,7 @@ function d5(e) {
|
|
|
7719
7719
|
const X = this.resume(), re = this.stack[this.stack.length - 1];
|
|
7720
7720
|
re.title = X;
|
|
7721
7721
|
}
|
|
7722
|
-
function
|
|
7722
|
+
function C() {
|
|
7723
7723
|
const X = this.resume(), re = this.stack[this.stack.length - 1];
|
|
7724
7724
|
re.url = X;
|
|
7725
7725
|
}
|
|
@@ -9956,27 +9956,27 @@ function vb() {
|
|
|
9956
9956
|
nc = 1;
|
|
9957
9957
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.server_context"), o = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y;
|
|
9958
9958
|
y = Symbol.for("react.module.reference");
|
|
9959
|
-
function b(
|
|
9960
|
-
if (typeof
|
|
9961
|
-
var v =
|
|
9959
|
+
function b(T) {
|
|
9960
|
+
if (typeof T == "object" && T !== null) {
|
|
9961
|
+
var v = T.$$typeof;
|
|
9962
9962
|
switch (v) {
|
|
9963
9963
|
case e:
|
|
9964
|
-
switch (
|
|
9964
|
+
switch (T = T.type, T) {
|
|
9965
9965
|
case n:
|
|
9966
9966
|
case a:
|
|
9967
9967
|
case r:
|
|
9968
9968
|
case l:
|
|
9969
9969
|
case c:
|
|
9970
|
-
return
|
|
9970
|
+
return T;
|
|
9971
9971
|
default:
|
|
9972
|
-
switch (
|
|
9972
|
+
switch (T = T && T.$$typeof, T) {
|
|
9973
9973
|
case u:
|
|
9974
9974
|
case s:
|
|
9975
9975
|
case o:
|
|
9976
9976
|
case m:
|
|
9977
9977
|
case h:
|
|
9978
9978
|
case i:
|
|
9979
|
-
return
|
|
9979
|
+
return T;
|
|
9980
9980
|
default:
|
|
9981
9981
|
return v;
|
|
9982
9982
|
}
|
|
@@ -9990,32 +9990,32 @@ function vb() {
|
|
|
9990
9990
|
return !1;
|
|
9991
9991
|
}, it.isConcurrentMode = function() {
|
|
9992
9992
|
return !1;
|
|
9993
|
-
}, it.isContextConsumer = function(
|
|
9994
|
-
return b(
|
|
9995
|
-
}, it.isContextProvider = function(
|
|
9996
|
-
return b(
|
|
9997
|
-
}, it.isElement = function(
|
|
9998
|
-
return typeof
|
|
9999
|
-
}, it.isForwardRef = function(
|
|
10000
|
-
return b(
|
|
10001
|
-
}, it.isFragment = function(
|
|
10002
|
-
return b(
|
|
10003
|
-
}, it.isLazy = function(
|
|
10004
|
-
return b(
|
|
10005
|
-
}, it.isMemo = function(
|
|
10006
|
-
return b(
|
|
10007
|
-
}, it.isPortal = function(
|
|
10008
|
-
return b(
|
|
10009
|
-
}, it.isProfiler = function(
|
|
10010
|
-
return b(
|
|
10011
|
-
}, it.isStrictMode = function(
|
|
10012
|
-
return b(
|
|
10013
|
-
}, it.isSuspense = function(
|
|
10014
|
-
return b(
|
|
10015
|
-
}, it.isSuspenseList = function(
|
|
10016
|
-
return b(
|
|
10017
|
-
}, it.isValidElementType = function(
|
|
10018
|
-
return typeof
|
|
9993
|
+
}, it.isContextConsumer = function(T) {
|
|
9994
|
+
return b(T) === s;
|
|
9995
|
+
}, it.isContextProvider = function(T) {
|
|
9996
|
+
return b(T) === i;
|
|
9997
|
+
}, it.isElement = function(T) {
|
|
9998
|
+
return typeof T == "object" && T !== null && T.$$typeof === e;
|
|
9999
|
+
}, it.isForwardRef = function(T) {
|
|
10000
|
+
return b(T) === o;
|
|
10001
|
+
}, it.isFragment = function(T) {
|
|
10002
|
+
return b(T) === n;
|
|
10003
|
+
}, it.isLazy = function(T) {
|
|
10004
|
+
return b(T) === m;
|
|
10005
|
+
}, it.isMemo = function(T) {
|
|
10006
|
+
return b(T) === h;
|
|
10007
|
+
}, it.isPortal = function(T) {
|
|
10008
|
+
return b(T) === t;
|
|
10009
|
+
}, it.isProfiler = function(T) {
|
|
10010
|
+
return b(T) === a;
|
|
10011
|
+
}, it.isStrictMode = function(T) {
|
|
10012
|
+
return b(T) === r;
|
|
10013
|
+
}, it.isSuspense = function(T) {
|
|
10014
|
+
return b(T) === l;
|
|
10015
|
+
}, it.isSuspenseList = function(T) {
|
|
10016
|
+
return b(T) === c;
|
|
10017
|
+
}, it.isValidElementType = function(T) {
|
|
10018
|
+
return typeof T == "string" || typeof T == "function" || T === n || T === a || T === r || T === l || T === c || T === p || typeof T == "object" && T !== null && (T.$$typeof === m || T.$$typeof === h || T.$$typeof === i || T.$$typeof === s || T.$$typeof === o || T.$$typeof === y || T.getModuleId !== void 0);
|
|
10019
10019
|
}, it.typeOf = b, it;
|
|
10020
10020
|
}
|
|
10021
10021
|
var rc;
|
|
@@ -10063,11 +10063,11 @@ function Cb() {
|
|
|
10063
10063
|
sc = 1;
|
|
10064
10064
|
var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, a = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, s = /^[;\s]*/, u = /^\s+|\s+$/g, o = `
|
|
10065
10065
|
`, l = "/", c = "*", h = "", m = "comment", p = "declaration";
|
|
10066
|
-
su = function(b,
|
|
10066
|
+
su = function(b, T) {
|
|
10067
10067
|
if (typeof b != "string")
|
|
10068
10068
|
throw new TypeError("First argument must be a string");
|
|
10069
10069
|
if (!b) return [];
|
|
10070
|
-
|
|
10070
|
+
T = T || {};
|
|
10071
10071
|
var v = 1, k = 1;
|
|
10072
10072
|
function B(F) {
|
|
10073
10073
|
var D = F.match(t);
|
|
@@ -10082,14 +10082,14 @@ function Cb() {
|
|
|
10082
10082
|
};
|
|
10083
10083
|
}
|
|
10084
10084
|
function U(F) {
|
|
10085
|
-
this.start = F, this.end = { line: v, column: k }, this.source =
|
|
10085
|
+
this.start = F, this.end = { line: v, column: k }, this.source = T.source;
|
|
10086
10086
|
}
|
|
10087
10087
|
U.prototype.content = b;
|
|
10088
|
-
function
|
|
10088
|
+
function C(F) {
|
|
10089
10089
|
var D = new Error(
|
|
10090
|
-
|
|
10090
|
+
T.source + ":" + v + ":" + k + ": " + F
|
|
10091
10091
|
);
|
|
10092
|
-
if (D.reason = F, D.filename =
|
|
10092
|
+
if (D.reason = F, D.filename = T.source, D.line = v, D.column = k, D.source = b, !T.silent) throw D;
|
|
10093
10093
|
}
|
|
10094
10094
|
function P(F) {
|
|
10095
10095
|
var D = F.exec(b);
|
|
@@ -10113,7 +10113,7 @@ function Cb() {
|
|
|
10113
10113
|
for (var D = 2; h != b.charAt(D) && (c != b.charAt(D) || l != b.charAt(D + 1)); )
|
|
10114
10114
|
++D;
|
|
10115
10115
|
if (D += 2, h === b.charAt(D - 1))
|
|
10116
|
-
return
|
|
10116
|
+
return C("End of comment missing");
|
|
10117
10117
|
var H = b.slice(2, D - 2);
|
|
10118
10118
|
return k += 2, B(H), b = b.slice(D), k += 2, F({
|
|
10119
10119
|
type: m,
|
|
@@ -10124,7 +10124,7 @@ function Cb() {
|
|
|
10124
10124
|
function q() {
|
|
10125
10125
|
var F = Y(), D = P(r);
|
|
10126
10126
|
if (D) {
|
|
10127
|
-
if (ne(), !P(a)) return
|
|
10127
|
+
if (ne(), !P(a)) return C("property missing ':'");
|
|
10128
10128
|
var H = P(i), G = F({
|
|
10129
10129
|
type: p,
|
|
10130
10130
|
property: y(D[0].replace(e, h)),
|
|
@@ -20199,7 +20199,7 @@ function gv(e, t, n, r) {
|
|
|
20199
20199
|
}
|
|
20200
20200
|
return m;
|
|
20201
20201
|
function m() {
|
|
20202
|
-
let p = Nf, y, b,
|
|
20202
|
+
let p = Nf, y, b, T;
|
|
20203
20203
|
if ((!t || i(o, l, c[c.length - 1] || void 0)) && (p = bv(n(o, c)), p[0] === Pc))
|
|
20204
20204
|
return p;
|
|
20205
20205
|
if ("children" in o && o.children) {
|
|
@@ -20208,9 +20208,9 @@ function gv(e, t, n, r) {
|
|
|
20208
20208
|
o
|
|
20209
20209
|
);
|
|
20210
20210
|
if (v.children && p[0] !== mv)
|
|
20211
|
-
for (b = (r ? v.children.length : -1) + s,
|
|
20211
|
+
for (b = (r ? v.children.length : -1) + s, T = c.concat(v); b > -1 && b < v.children.length; ) {
|
|
20212
20212
|
const k = v.children[b];
|
|
20213
|
-
if (y = u(k, b,
|
|
20213
|
+
if (y = u(k, b, T)(), y[0] === Pc)
|
|
20214
20214
|
return y;
|
|
20215
20215
|
b = typeof y[1] == "number" ? y[1] : b + s;
|
|
20216
20216
|
}
|
|
@@ -24482,102 +24482,102 @@ function f(e, t, n, r, a, i) {
|
|
|
24482
24482
|
replace: r
|
|
24483
24483
|
}, i && r && (gt[e][r] = gt[e][a]);
|
|
24484
24484
|
}
|
|
24485
|
-
var g = "math", ae = "text",
|
|
24486
|
-
f(g,
|
|
24487
|
-
f(g,
|
|
24488
|
-
f(g,
|
|
24489
|
-
f(g,
|
|
24490
|
-
f(g,
|
|
24491
|
-
f(g,
|
|
24492
|
-
f(g,
|
|
24493
|
-
f(g,
|
|
24494
|
-
f(g,
|
|
24495
|
-
f(g,
|
|
24496
|
-
f(g,
|
|
24497
|
-
f(g,
|
|
24498
|
-
f(g,
|
|
24499
|
-
f(g,
|
|
24500
|
-
f(g,
|
|
24501
|
-
f(g,
|
|
24502
|
-
f(g,
|
|
24503
|
-
f(g,
|
|
24504
|
-
f(g,
|
|
24505
|
-
f(g,
|
|
24506
|
-
f(g,
|
|
24507
|
-
f(g,
|
|
24508
|
-
f(g,
|
|
24509
|
-
f(g,
|
|
24510
|
-
f(g,
|
|
24511
|
-
f(g,
|
|
24512
|
-
f(g,
|
|
24513
|
-
f(ae,
|
|
24514
|
-
f(g,
|
|
24515
|
-
f(ae,
|
|
24516
|
-
f(g,
|
|
24517
|
-
f(g,
|
|
24518
|
-
f(g,
|
|
24519
|
-
f(g,
|
|
24520
|
-
f(g,
|
|
24521
|
-
f(g,
|
|
24522
|
-
f(g,
|
|
24523
|
-
f(g,
|
|
24524
|
-
f(g,
|
|
24525
|
-
f(g,
|
|
24526
|
-
f(g,
|
|
24527
|
-
f(g,
|
|
24528
|
-
f(g,
|
|
24529
|
-
f(g,
|
|
24530
|
-
f(g,
|
|
24531
|
-
f(g,
|
|
24532
|
-
f(g,
|
|
24533
|
-
f(ae,
|
|
24534
|
-
f(g,
|
|
24535
|
-
f(ae,
|
|
24536
|
-
f(g,
|
|
24537
|
-
f(ae,
|
|
24538
|
-
f(ae,
|
|
24539
|
-
f(g,
|
|
24540
|
-
f(ae,
|
|
24541
|
-
f(ae,
|
|
24542
|
-
f(g,
|
|
24543
|
-
f(g,
|
|
24544
|
-
f(g,
|
|
24545
|
-
f(g,
|
|
24546
|
-
f(g,
|
|
24547
|
-
f(g,
|
|
24548
|
-
f(g,
|
|
24549
|
-
f(g,
|
|
24550
|
-
f(g,
|
|
24551
|
-
f(g,
|
|
24552
|
-
f(g,
|
|
24553
|
-
f(g,
|
|
24554
|
-
f(g,
|
|
24555
|
-
f(g,
|
|
24556
|
-
f(g,
|
|
24557
|
-
f(g,
|
|
24558
|
-
f(g,
|
|
24559
|
-
f(g,
|
|
24560
|
-
f(g,
|
|
24561
|
-
f(g,
|
|
24562
|
-
f(g,
|
|
24563
|
-
f(g,
|
|
24564
|
-
f(g,
|
|
24565
|
-
f(g,
|
|
24566
|
-
f(g,
|
|
24567
|
-
f(g,
|
|
24568
|
-
f(g,
|
|
24569
|
-
f(g,
|
|
24570
|
-
f(g,
|
|
24571
|
-
f(g,
|
|
24572
|
-
f(g,
|
|
24573
|
-
f(g,
|
|
24574
|
-
f(g,
|
|
24575
|
-
f(g,
|
|
24576
|
-
f(g,
|
|
24577
|
-
f(g,
|
|
24578
|
-
f(g,
|
|
24579
|
-
f(g,
|
|
24580
|
-
f(g,
|
|
24485
|
+
var g = "math", ae = "text", E = "main", R = "ams", Tt = "accent-token", Te = "bin", Jt = "close", fa = "inner", _e = "mathord", Pt = "op-token", bn = "open", ps = "punct", L = "rel", ar = "spacing", z = "textord";
|
|
24486
|
+
f(g, E, L, "≡", "\\equiv", !0);
|
|
24487
|
+
f(g, E, L, "≺", "\\prec", !0);
|
|
24488
|
+
f(g, E, L, "≻", "\\succ", !0);
|
|
24489
|
+
f(g, E, L, "∼", "\\sim", !0);
|
|
24490
|
+
f(g, E, L, "⊥", "\\perp");
|
|
24491
|
+
f(g, E, L, "⪯", "\\preceq", !0);
|
|
24492
|
+
f(g, E, L, "⪰", "\\succeq", !0);
|
|
24493
|
+
f(g, E, L, "≃", "\\simeq", !0);
|
|
24494
|
+
f(g, E, L, "∣", "\\mid", !0);
|
|
24495
|
+
f(g, E, L, "≪", "\\ll", !0);
|
|
24496
|
+
f(g, E, L, "≫", "\\gg", !0);
|
|
24497
|
+
f(g, E, L, "≍", "\\asymp", !0);
|
|
24498
|
+
f(g, E, L, "∥", "\\parallel");
|
|
24499
|
+
f(g, E, L, "⋈", "\\bowtie", !0);
|
|
24500
|
+
f(g, E, L, "⌣", "\\smile", !0);
|
|
24501
|
+
f(g, E, L, "⊑", "\\sqsubseteq", !0);
|
|
24502
|
+
f(g, E, L, "⊒", "\\sqsupseteq", !0);
|
|
24503
|
+
f(g, E, L, "≐", "\\doteq", !0);
|
|
24504
|
+
f(g, E, L, "⌢", "\\frown", !0);
|
|
24505
|
+
f(g, E, L, "∋", "\\ni", !0);
|
|
24506
|
+
f(g, E, L, "∝", "\\propto", !0);
|
|
24507
|
+
f(g, E, L, "⊢", "\\vdash", !0);
|
|
24508
|
+
f(g, E, L, "⊣", "\\dashv", !0);
|
|
24509
|
+
f(g, E, L, "∋", "\\owns");
|
|
24510
|
+
f(g, E, ps, ".", "\\ldotp");
|
|
24511
|
+
f(g, E, ps, "⋅", "\\cdotp");
|
|
24512
|
+
f(g, E, z, "#", "\\#");
|
|
24513
|
+
f(ae, E, z, "#", "\\#");
|
|
24514
|
+
f(g, E, z, "&", "\\&");
|
|
24515
|
+
f(ae, E, z, "&", "\\&");
|
|
24516
|
+
f(g, E, z, "ℵ", "\\aleph", !0);
|
|
24517
|
+
f(g, E, z, "∀", "\\forall", !0);
|
|
24518
|
+
f(g, E, z, "ℏ", "\\hbar", !0);
|
|
24519
|
+
f(g, E, z, "∃", "\\exists", !0);
|
|
24520
|
+
f(g, E, z, "∇", "\\nabla", !0);
|
|
24521
|
+
f(g, E, z, "♭", "\\flat", !0);
|
|
24522
|
+
f(g, E, z, "ℓ", "\\ell", !0);
|
|
24523
|
+
f(g, E, z, "♮", "\\natural", !0);
|
|
24524
|
+
f(g, E, z, "♣", "\\clubsuit", !0);
|
|
24525
|
+
f(g, E, z, "℘", "\\wp", !0);
|
|
24526
|
+
f(g, E, z, "♯", "\\sharp", !0);
|
|
24527
|
+
f(g, E, z, "♢", "\\diamondsuit", !0);
|
|
24528
|
+
f(g, E, z, "ℜ", "\\Re", !0);
|
|
24529
|
+
f(g, E, z, "♡", "\\heartsuit", !0);
|
|
24530
|
+
f(g, E, z, "ℑ", "\\Im", !0);
|
|
24531
|
+
f(g, E, z, "♠", "\\spadesuit", !0);
|
|
24532
|
+
f(g, E, z, "§", "\\S", !0);
|
|
24533
|
+
f(ae, E, z, "§", "\\S");
|
|
24534
|
+
f(g, E, z, "¶", "\\P", !0);
|
|
24535
|
+
f(ae, E, z, "¶", "\\P");
|
|
24536
|
+
f(g, E, z, "†", "\\dag");
|
|
24537
|
+
f(ae, E, z, "†", "\\dag");
|
|
24538
|
+
f(ae, E, z, "†", "\\textdagger");
|
|
24539
|
+
f(g, E, z, "‡", "\\ddag");
|
|
24540
|
+
f(ae, E, z, "‡", "\\ddag");
|
|
24541
|
+
f(ae, E, z, "‡", "\\textdaggerdbl");
|
|
24542
|
+
f(g, E, Jt, "⎱", "\\rmoustache", !0);
|
|
24543
|
+
f(g, E, bn, "⎰", "\\lmoustache", !0);
|
|
24544
|
+
f(g, E, Jt, "⟯", "\\rgroup", !0);
|
|
24545
|
+
f(g, E, bn, "⟮", "\\lgroup", !0);
|
|
24546
|
+
f(g, E, Te, "∓", "\\mp", !0);
|
|
24547
|
+
f(g, E, Te, "⊖", "\\ominus", !0);
|
|
24548
|
+
f(g, E, Te, "⊎", "\\uplus", !0);
|
|
24549
|
+
f(g, E, Te, "⊓", "\\sqcap", !0);
|
|
24550
|
+
f(g, E, Te, "∗", "\\ast");
|
|
24551
|
+
f(g, E, Te, "⊔", "\\sqcup", !0);
|
|
24552
|
+
f(g, E, Te, "◯", "\\bigcirc", !0);
|
|
24553
|
+
f(g, E, Te, "∙", "\\bullet", !0);
|
|
24554
|
+
f(g, E, Te, "‡", "\\ddagger");
|
|
24555
|
+
f(g, E, Te, "≀", "\\wr", !0);
|
|
24556
|
+
f(g, E, Te, "⨿", "\\amalg");
|
|
24557
|
+
f(g, E, Te, "&", "\\And");
|
|
24558
|
+
f(g, E, L, "⟵", "\\longleftarrow", !0);
|
|
24559
|
+
f(g, E, L, "⇐", "\\Leftarrow", !0);
|
|
24560
|
+
f(g, E, L, "⟸", "\\Longleftarrow", !0);
|
|
24561
|
+
f(g, E, L, "⟶", "\\longrightarrow", !0);
|
|
24562
|
+
f(g, E, L, "⇒", "\\Rightarrow", !0);
|
|
24563
|
+
f(g, E, L, "⟹", "\\Longrightarrow", !0);
|
|
24564
|
+
f(g, E, L, "↔", "\\leftrightarrow", !0);
|
|
24565
|
+
f(g, E, L, "⟷", "\\longleftrightarrow", !0);
|
|
24566
|
+
f(g, E, L, "⇔", "\\Leftrightarrow", !0);
|
|
24567
|
+
f(g, E, L, "⟺", "\\Longleftrightarrow", !0);
|
|
24568
|
+
f(g, E, L, "↦", "\\mapsto", !0);
|
|
24569
|
+
f(g, E, L, "⟼", "\\longmapsto", !0);
|
|
24570
|
+
f(g, E, L, "↗", "\\nearrow", !0);
|
|
24571
|
+
f(g, E, L, "↩", "\\hookleftarrow", !0);
|
|
24572
|
+
f(g, E, L, "↪", "\\hookrightarrow", !0);
|
|
24573
|
+
f(g, E, L, "↘", "\\searrow", !0);
|
|
24574
|
+
f(g, E, L, "↼", "\\leftharpoonup", !0);
|
|
24575
|
+
f(g, E, L, "⇀", "\\rightharpoonup", !0);
|
|
24576
|
+
f(g, E, L, "↙", "\\swarrow", !0);
|
|
24577
|
+
f(g, E, L, "↽", "\\leftharpoondown", !0);
|
|
24578
|
+
f(g, E, L, "⇁", "\\rightharpoondown", !0);
|
|
24579
|
+
f(g, E, L, "↖", "\\nwarrow", !0);
|
|
24580
|
+
f(g, E, L, "⇌", "\\rightleftharpoons", !0);
|
|
24581
24581
|
f(g, R, L, "≮", "\\nless", !0);
|
|
24582
24582
|
f(g, R, L, "", "\\@nleqslant");
|
|
24583
24583
|
f(g, R, L, "", "\\@nleqq");
|
|
@@ -24657,7 +24657,7 @@ f(g, R, z, "★", "\\bigstar");
|
|
|
24657
24657
|
f(g, R, z, "∢", "\\sphericalangle", !0);
|
|
24658
24658
|
f(g, R, z, "∁", "\\complement", !0);
|
|
24659
24659
|
f(g, R, z, "ð", "\\eth", !0);
|
|
24660
|
-
f(ae,
|
|
24660
|
+
f(ae, E, z, "ð", "ð");
|
|
24661
24661
|
f(g, R, z, "╱", "\\diagup");
|
|
24662
24662
|
f(g, R, z, "╲", "\\diagdown");
|
|
24663
24663
|
f(g, R, z, "□", "\\square");
|
|
@@ -24747,7 +24747,7 @@ f(g, R, L, "⋙", "\\gggtr");
|
|
|
24747
24747
|
f(g, R, Te, "⊲", "\\lhd");
|
|
24748
24748
|
f(g, R, Te, "⊳", "\\rhd");
|
|
24749
24749
|
f(g, R, L, "≂", "\\eqsim", !0);
|
|
24750
|
-
f(g,
|
|
24750
|
+
f(g, E, L, "⋈", "\\Join");
|
|
24751
24751
|
f(g, R, L, "≑", "\\Doteq", !0);
|
|
24752
24752
|
f(g, R, Te, "∔", "\\dotplus", !0);
|
|
24753
24753
|
f(g, R, Te, "∖", "\\smallsetminus");
|
|
@@ -24785,8 +24785,8 @@ f(g, R, L, "↰", "\\Lsh", !0);
|
|
|
24785
24785
|
f(g, R, L, "⇈", "\\upuparrows", !0);
|
|
24786
24786
|
f(g, R, L, "↿", "\\upharpoonleft", !0);
|
|
24787
24787
|
f(g, R, L, "⇃", "\\downharpoonleft", !0);
|
|
24788
|
-
f(g,
|
|
24789
|
-
f(g,
|
|
24788
|
+
f(g, E, L, "⊶", "\\origof", !0);
|
|
24789
|
+
f(g, E, L, "⊷", "\\imageof", !0);
|
|
24790
24790
|
f(g, R, L, "⊸", "\\multimap", !0);
|
|
24791
24791
|
f(g, R, L, "↭", "\\leftrightsquigarrow", !0);
|
|
24792
24792
|
f(g, R, L, "⇉", "\\rightrightarrows", !0);
|
|
@@ -24804,297 +24804,297 @@ f(g, R, L, "⇝", "\\rightsquigarrow", !0);
|
|
|
24804
24804
|
f(g, R, L, "⇝", "\\leadsto");
|
|
24805
24805
|
f(g, R, L, "⇛", "\\Rrightarrow", !0);
|
|
24806
24806
|
f(g, R, L, "↾", "\\restriction");
|
|
24807
|
-
f(g,
|
|
24808
|
-
f(g,
|
|
24809
|
-
f(ae,
|
|
24810
|
-
f(ae,
|
|
24811
|
-
f(g,
|
|
24812
|
-
f(ae,
|
|
24813
|
-
f(g,
|
|
24814
|
-
f(ae,
|
|
24815
|
-
f(ae,
|
|
24816
|
-
f(g,
|
|
24817
|
-
f(g,
|
|
24818
|
-
f(g,
|
|
24819
|
-
f(g,
|
|
24820
|
-
f(g,
|
|
24821
|
-
f(g,
|
|
24822
|
-
f(g,
|
|
24823
|
-
f(g,
|
|
24824
|
-
f(g,
|
|
24825
|
-
f(g,
|
|
24826
|
-
f(g,
|
|
24827
|
-
f(g,
|
|
24828
|
-
f(g,
|
|
24829
|
-
f(g,
|
|
24830
|
-
f(g,
|
|
24831
|
-
f(g,
|
|
24832
|
-
f(g,
|
|
24833
|
-
f(g,
|
|
24834
|
-
f(g,
|
|
24835
|
-
f(g,
|
|
24836
|
-
f(g,
|
|
24837
|
-
f(g,
|
|
24838
|
-
f(g,
|
|
24839
|
-
f(g,
|
|
24840
|
-
f(g,
|
|
24841
|
-
f(g,
|
|
24842
|
-
f(g,
|
|
24843
|
-
f(g,
|
|
24844
|
-
f(g,
|
|
24845
|
-
f(g,
|
|
24846
|
-
f(g,
|
|
24847
|
-
f(g,
|
|
24848
|
-
f(g,
|
|
24807
|
+
f(g, E, z, "‘", "`");
|
|
24808
|
+
f(g, E, z, "$", "\\$");
|
|
24809
|
+
f(ae, E, z, "$", "\\$");
|
|
24810
|
+
f(ae, E, z, "$", "\\textdollar");
|
|
24811
|
+
f(g, E, z, "%", "\\%");
|
|
24812
|
+
f(ae, E, z, "%", "\\%");
|
|
24813
|
+
f(g, E, z, "_", "\\_");
|
|
24814
|
+
f(ae, E, z, "_", "\\_");
|
|
24815
|
+
f(ae, E, z, "_", "\\textunderscore");
|
|
24816
|
+
f(g, E, z, "∠", "\\angle", !0);
|
|
24817
|
+
f(g, E, z, "∞", "\\infty", !0);
|
|
24818
|
+
f(g, E, z, "′", "\\prime");
|
|
24819
|
+
f(g, E, z, "△", "\\triangle");
|
|
24820
|
+
f(g, E, z, "Γ", "\\Gamma", !0);
|
|
24821
|
+
f(g, E, z, "Δ", "\\Delta", !0);
|
|
24822
|
+
f(g, E, z, "Θ", "\\Theta", !0);
|
|
24823
|
+
f(g, E, z, "Λ", "\\Lambda", !0);
|
|
24824
|
+
f(g, E, z, "Ξ", "\\Xi", !0);
|
|
24825
|
+
f(g, E, z, "Π", "\\Pi", !0);
|
|
24826
|
+
f(g, E, z, "Σ", "\\Sigma", !0);
|
|
24827
|
+
f(g, E, z, "Υ", "\\Upsilon", !0);
|
|
24828
|
+
f(g, E, z, "Φ", "\\Phi", !0);
|
|
24829
|
+
f(g, E, z, "Ψ", "\\Psi", !0);
|
|
24830
|
+
f(g, E, z, "Ω", "\\Omega", !0);
|
|
24831
|
+
f(g, E, z, "A", "Α");
|
|
24832
|
+
f(g, E, z, "B", "Β");
|
|
24833
|
+
f(g, E, z, "E", "Ε");
|
|
24834
|
+
f(g, E, z, "Z", "Ζ");
|
|
24835
|
+
f(g, E, z, "H", "Η");
|
|
24836
|
+
f(g, E, z, "I", "Ι");
|
|
24837
|
+
f(g, E, z, "K", "Κ");
|
|
24838
|
+
f(g, E, z, "M", "Μ");
|
|
24839
|
+
f(g, E, z, "N", "Ν");
|
|
24840
|
+
f(g, E, z, "O", "Ο");
|
|
24841
|
+
f(g, E, z, "P", "Ρ");
|
|
24842
|
+
f(g, E, z, "T", "Τ");
|
|
24843
|
+
f(g, E, z, "X", "Χ");
|
|
24844
|
+
f(g, E, z, "¬", "\\neg", !0);
|
|
24845
|
+
f(g, E, z, "¬", "\\lnot");
|
|
24846
|
+
f(g, E, z, "⊤", "\\top");
|
|
24847
|
+
f(g, E, z, "⊥", "\\bot");
|
|
24848
|
+
f(g, E, z, "∅", "\\emptyset");
|
|
24849
24849
|
f(g, R, z, "∅", "\\varnothing");
|
|
24850
|
-
f(g,
|
|
24851
|
-
f(g,
|
|
24852
|
-
f(g,
|
|
24853
|
-
f(g,
|
|
24854
|
-
f(g,
|
|
24855
|
-
f(g,
|
|
24856
|
-
f(g,
|
|
24857
|
-
f(g,
|
|
24858
|
-
f(g,
|
|
24859
|
-
f(g,
|
|
24860
|
-
f(g,
|
|
24861
|
-
f(g,
|
|
24862
|
-
f(g,
|
|
24863
|
-
f(g,
|
|
24864
|
-
f(g,
|
|
24865
|
-
f(g,
|
|
24866
|
-
f(g,
|
|
24867
|
-
f(g,
|
|
24868
|
-
f(g,
|
|
24869
|
-
f(g,
|
|
24870
|
-
f(g,
|
|
24871
|
-
f(g,
|
|
24872
|
-
f(g,
|
|
24873
|
-
f(g,
|
|
24874
|
-
f(g,
|
|
24875
|
-
f(g,
|
|
24876
|
-
f(g,
|
|
24877
|
-
f(g,
|
|
24878
|
-
f(g,
|
|
24879
|
-
f(g,
|
|
24880
|
-
f(g,
|
|
24881
|
-
f(g,
|
|
24882
|
-
f(g,
|
|
24883
|
-
f(g,
|
|
24884
|
-
f(g,
|
|
24885
|
-
f(g,
|
|
24886
|
-
f(g,
|
|
24887
|
-
f(g,
|
|
24888
|
-
f(g,
|
|
24889
|
-
f(g,
|
|
24890
|
-
f(g,
|
|
24891
|
-
f(g,
|
|
24892
|
-
f(g,
|
|
24893
|
-
f(g,
|
|
24894
|
-
f(g,
|
|
24895
|
-
f(g,
|
|
24896
|
-
f(g,
|
|
24897
|
-
f(g,
|
|
24898
|
-
f(g,
|
|
24899
|
-
f(g,
|
|
24900
|
-
f(g,
|
|
24901
|
-
f(g,
|
|
24902
|
-
f(g,
|
|
24903
|
-
f(g,
|
|
24904
|
-
f(g,
|
|
24905
|
-
f(g,
|
|
24906
|
-
f(g,
|
|
24907
|
-
f(g,
|
|
24908
|
-
f(g,
|
|
24909
|
-
f(g,
|
|
24910
|
-
f(g,
|
|
24911
|
-
f(g,
|
|
24912
|
-
f(g,
|
|
24913
|
-
f(g,
|
|
24914
|
-
f(g,
|
|
24915
|
-
f(g,
|
|
24916
|
-
f(g,
|
|
24917
|
-
f(g,
|
|
24850
|
+
f(g, E, _e, "α", "\\alpha", !0);
|
|
24851
|
+
f(g, E, _e, "β", "\\beta", !0);
|
|
24852
|
+
f(g, E, _e, "γ", "\\gamma", !0);
|
|
24853
|
+
f(g, E, _e, "δ", "\\delta", !0);
|
|
24854
|
+
f(g, E, _e, "ϵ", "\\epsilon", !0);
|
|
24855
|
+
f(g, E, _e, "ζ", "\\zeta", !0);
|
|
24856
|
+
f(g, E, _e, "η", "\\eta", !0);
|
|
24857
|
+
f(g, E, _e, "θ", "\\theta", !0);
|
|
24858
|
+
f(g, E, _e, "ι", "\\iota", !0);
|
|
24859
|
+
f(g, E, _e, "κ", "\\kappa", !0);
|
|
24860
|
+
f(g, E, _e, "λ", "\\lambda", !0);
|
|
24861
|
+
f(g, E, _e, "μ", "\\mu", !0);
|
|
24862
|
+
f(g, E, _e, "ν", "\\nu", !0);
|
|
24863
|
+
f(g, E, _e, "ξ", "\\xi", !0);
|
|
24864
|
+
f(g, E, _e, "ο", "\\omicron", !0);
|
|
24865
|
+
f(g, E, _e, "π", "\\pi", !0);
|
|
24866
|
+
f(g, E, _e, "ρ", "\\rho", !0);
|
|
24867
|
+
f(g, E, _e, "σ", "\\sigma", !0);
|
|
24868
|
+
f(g, E, _e, "τ", "\\tau", !0);
|
|
24869
|
+
f(g, E, _e, "υ", "\\upsilon", !0);
|
|
24870
|
+
f(g, E, _e, "ϕ", "\\phi", !0);
|
|
24871
|
+
f(g, E, _e, "χ", "\\chi", !0);
|
|
24872
|
+
f(g, E, _e, "ψ", "\\psi", !0);
|
|
24873
|
+
f(g, E, _e, "ω", "\\omega", !0);
|
|
24874
|
+
f(g, E, _e, "ε", "\\varepsilon", !0);
|
|
24875
|
+
f(g, E, _e, "ϑ", "\\vartheta", !0);
|
|
24876
|
+
f(g, E, _e, "ϖ", "\\varpi", !0);
|
|
24877
|
+
f(g, E, _e, "ϱ", "\\varrho", !0);
|
|
24878
|
+
f(g, E, _e, "ς", "\\varsigma", !0);
|
|
24879
|
+
f(g, E, _e, "φ", "\\varphi", !0);
|
|
24880
|
+
f(g, E, Te, "∗", "*", !0);
|
|
24881
|
+
f(g, E, Te, "+", "+");
|
|
24882
|
+
f(g, E, Te, "−", "-", !0);
|
|
24883
|
+
f(g, E, Te, "⋅", "\\cdot", !0);
|
|
24884
|
+
f(g, E, Te, "∘", "\\circ", !0);
|
|
24885
|
+
f(g, E, Te, "÷", "\\div", !0);
|
|
24886
|
+
f(g, E, Te, "±", "\\pm", !0);
|
|
24887
|
+
f(g, E, Te, "×", "\\times", !0);
|
|
24888
|
+
f(g, E, Te, "∩", "\\cap", !0);
|
|
24889
|
+
f(g, E, Te, "∪", "\\cup", !0);
|
|
24890
|
+
f(g, E, Te, "∖", "\\setminus", !0);
|
|
24891
|
+
f(g, E, Te, "∧", "\\land");
|
|
24892
|
+
f(g, E, Te, "∨", "\\lor");
|
|
24893
|
+
f(g, E, Te, "∧", "\\wedge", !0);
|
|
24894
|
+
f(g, E, Te, "∨", "\\vee", !0);
|
|
24895
|
+
f(g, E, z, "√", "\\surd");
|
|
24896
|
+
f(g, E, bn, "⟨", "\\langle", !0);
|
|
24897
|
+
f(g, E, bn, "∣", "\\lvert");
|
|
24898
|
+
f(g, E, bn, "∥", "\\lVert");
|
|
24899
|
+
f(g, E, Jt, "?", "?");
|
|
24900
|
+
f(g, E, Jt, "!", "!");
|
|
24901
|
+
f(g, E, Jt, "⟩", "\\rangle", !0);
|
|
24902
|
+
f(g, E, Jt, "∣", "\\rvert");
|
|
24903
|
+
f(g, E, Jt, "∥", "\\rVert");
|
|
24904
|
+
f(g, E, L, "=", "=");
|
|
24905
|
+
f(g, E, L, ":", ":");
|
|
24906
|
+
f(g, E, L, "≈", "\\approx", !0);
|
|
24907
|
+
f(g, E, L, "≅", "\\cong", !0);
|
|
24908
|
+
f(g, E, L, "≥", "\\ge");
|
|
24909
|
+
f(g, E, L, "≥", "\\geq", !0);
|
|
24910
|
+
f(g, E, L, "←", "\\gets");
|
|
24911
|
+
f(g, E, L, ">", "\\gt", !0);
|
|
24912
|
+
f(g, E, L, "∈", "\\in", !0);
|
|
24913
|
+
f(g, E, L, "", "\\@not");
|
|
24914
|
+
f(g, E, L, "⊂", "\\subset", !0);
|
|
24915
|
+
f(g, E, L, "⊃", "\\supset", !0);
|
|
24916
|
+
f(g, E, L, "⊆", "\\subseteq", !0);
|
|
24917
|
+
f(g, E, L, "⊇", "\\supseteq", !0);
|
|
24918
24918
|
f(g, R, L, "⊈", "\\nsubseteq", !0);
|
|
24919
24919
|
f(g, R, L, "⊉", "\\nsupseteq", !0);
|
|
24920
|
-
f(g,
|
|
24921
|
-
f(g,
|
|
24922
|
-
f(g,
|
|
24923
|
-
f(g,
|
|
24924
|
-
f(g,
|
|
24925
|
-
f(g,
|
|
24926
|
-
f(g,
|
|
24920
|
+
f(g, E, L, "⊨", "\\models");
|
|
24921
|
+
f(g, E, L, "←", "\\leftarrow", !0);
|
|
24922
|
+
f(g, E, L, "≤", "\\le");
|
|
24923
|
+
f(g, E, L, "≤", "\\leq", !0);
|
|
24924
|
+
f(g, E, L, "<", "\\lt", !0);
|
|
24925
|
+
f(g, E, L, "→", "\\rightarrow", !0);
|
|
24926
|
+
f(g, E, L, "→", "\\to");
|
|
24927
24927
|
f(g, R, L, "≱", "\\ngeq", !0);
|
|
24928
24928
|
f(g, R, L, "≰", "\\nleq", !0);
|
|
24929
|
-
f(g,
|
|
24930
|
-
f(g,
|
|
24931
|
-
f(g,
|
|
24932
|
-
f(ae,
|
|
24933
|
-
f(ae,
|
|
24934
|
-
f(ae,
|
|
24935
|
-
f(ae,
|
|
24936
|
-
f(g,
|
|
24937
|
-
f(g,
|
|
24938
|
-
f(g,
|
|
24939
|
-
f(g,
|
|
24929
|
+
f(g, E, ar, " ", "\\ ");
|
|
24930
|
+
f(g, E, ar, " ", "\\space");
|
|
24931
|
+
f(g, E, ar, " ", "\\nobreakspace");
|
|
24932
|
+
f(ae, E, ar, " ", "\\ ");
|
|
24933
|
+
f(ae, E, ar, " ", " ");
|
|
24934
|
+
f(ae, E, ar, " ", "\\space");
|
|
24935
|
+
f(ae, E, ar, " ", "\\nobreakspace");
|
|
24936
|
+
f(g, E, ar, null, "\\nobreak");
|
|
24937
|
+
f(g, E, ar, null, "\\allowbreak");
|
|
24938
|
+
f(g, E, ps, ",", ",");
|
|
24939
|
+
f(g, E, ps, ";", ";");
|
|
24940
24940
|
f(g, R, Te, "⊼", "\\barwedge", !0);
|
|
24941
24941
|
f(g, R, Te, "⊻", "\\veebar", !0);
|
|
24942
|
-
f(g,
|
|
24943
|
-
f(g,
|
|
24944
|
-
f(g,
|
|
24945
|
-
f(g,
|
|
24946
|
-
f(g,
|
|
24942
|
+
f(g, E, Te, "⊙", "\\odot", !0);
|
|
24943
|
+
f(g, E, Te, "⊕", "\\oplus", !0);
|
|
24944
|
+
f(g, E, Te, "⊗", "\\otimes", !0);
|
|
24945
|
+
f(g, E, z, "∂", "\\partial", !0);
|
|
24946
|
+
f(g, E, Te, "⊘", "\\oslash", !0);
|
|
24947
24947
|
f(g, R, Te, "⊚", "\\circledcirc", !0);
|
|
24948
24948
|
f(g, R, Te, "⊡", "\\boxdot", !0);
|
|
24949
|
-
f(g,
|
|
24950
|
-
f(g,
|
|
24951
|
-
f(g,
|
|
24952
|
-
f(g,
|
|
24953
|
-
f(g,
|
|
24954
|
-
f(g,
|
|
24955
|
-
f(g,
|
|
24956
|
-
f(g,
|
|
24957
|
-
f(ae,
|
|
24958
|
-
f(ae,
|
|
24959
|
-
f(g,
|
|
24960
|
-
f(ae,
|
|
24961
|
-
f(ae,
|
|
24962
|
-
f(g,
|
|
24963
|
-
f(g,
|
|
24964
|
-
f(g,
|
|
24965
|
-
f(ae,
|
|
24966
|
-
f(g,
|
|
24967
|
-
f(ae,
|
|
24968
|
-
f(g,
|
|
24969
|
-
f(g,
|
|
24970
|
-
f(ae,
|
|
24971
|
-
f(ae,
|
|
24972
|
-
f(g,
|
|
24973
|
-
f(g,
|
|
24974
|
-
f(g,
|
|
24975
|
-
f(g,
|
|
24976
|
-
f(g,
|
|
24977
|
-
f(g,
|
|
24978
|
-
f(g,
|
|
24979
|
-
f(ae,
|
|
24980
|
-
f(g,
|
|
24981
|
-
f(g,
|
|
24982
|
-
f(ae,
|
|
24983
|
-
f(ae,
|
|
24984
|
-
f(ae,
|
|
24985
|
-
f(ae,
|
|
24986
|
-
f(g,
|
|
24987
|
-
f(g,
|
|
24988
|
-
f(g,
|
|
24989
|
-
f(g,
|
|
24990
|
-
f(g,
|
|
24991
|
-
f(g,
|
|
24992
|
-
f(g,
|
|
24993
|
-
f(g,
|
|
24994
|
-
f(g,
|
|
24995
|
-
f(g,
|
|
24996
|
-
f(g,
|
|
24997
|
-
f(g,
|
|
24998
|
-
f(g,
|
|
24999
|
-
f(g,
|
|
25000
|
-
f(g,
|
|
25001
|
-
f(g,
|
|
25002
|
-
f(g,
|
|
25003
|
-
f(g,
|
|
25004
|
-
f(g,
|
|
25005
|
-
f(g,
|
|
25006
|
-
f(g,
|
|
25007
|
-
f(g,
|
|
25008
|
-
f(g,
|
|
25009
|
-
f(g,
|
|
25010
|
-
f(g,
|
|
25011
|
-
f(g,
|
|
25012
|
-
f(ae,
|
|
25013
|
-
f(g,
|
|
25014
|
-
f(ae,
|
|
25015
|
-
f(g,
|
|
25016
|
-
f(g,
|
|
25017
|
-
f(g,
|
|
25018
|
-
f(g,
|
|
25019
|
-
f(ae,
|
|
25020
|
-
f(g,
|
|
25021
|
-
f(g,
|
|
25022
|
-
f(g,
|
|
25023
|
-
f(g,
|
|
25024
|
-
f(g,
|
|
25025
|
-
f(g,
|
|
25026
|
-
f(g,
|
|
25027
|
-
f(g,
|
|
25028
|
-
f(g,
|
|
25029
|
-
f(g,
|
|
25030
|
-
f(g,
|
|
25031
|
-
f(g,
|
|
25032
|
-
f(g,
|
|
25033
|
-
f(g,
|
|
25034
|
-
f(g,
|
|
25035
|
-
f(ae,
|
|
25036
|
-
f(ae,
|
|
25037
|
-
f(ae,
|
|
25038
|
-
f(ae,
|
|
25039
|
-
f(ae,
|
|
25040
|
-
f(ae,
|
|
25041
|
-
f(ae,
|
|
25042
|
-
f(ae,
|
|
25043
|
-
f(ae,
|
|
25044
|
-
f(ae,
|
|
25045
|
-
f(ae,
|
|
25046
|
-
f(ae,
|
|
25047
|
-
f(ae,
|
|
25048
|
-
f(ae,
|
|
25049
|
-
f(ae,
|
|
25050
|
-
f(ae,
|
|
25051
|
-
f(ae,
|
|
25052
|
-
f(ae,
|
|
25053
|
-
f(ae,
|
|
25054
|
-
f(ae,
|
|
25055
|
-
f(ae,
|
|
25056
|
-
f(ae,
|
|
24949
|
+
f(g, E, Te, "△", "\\bigtriangleup");
|
|
24950
|
+
f(g, E, Te, "▽", "\\bigtriangledown");
|
|
24951
|
+
f(g, E, Te, "†", "\\dagger");
|
|
24952
|
+
f(g, E, Te, "⋄", "\\diamond");
|
|
24953
|
+
f(g, E, Te, "⋆", "\\star");
|
|
24954
|
+
f(g, E, Te, "◃", "\\triangleleft");
|
|
24955
|
+
f(g, E, Te, "▹", "\\triangleright");
|
|
24956
|
+
f(g, E, bn, "{", "\\{");
|
|
24957
|
+
f(ae, E, z, "{", "\\{");
|
|
24958
|
+
f(ae, E, z, "{", "\\textbraceleft");
|
|
24959
|
+
f(g, E, Jt, "}", "\\}");
|
|
24960
|
+
f(ae, E, z, "}", "\\}");
|
|
24961
|
+
f(ae, E, z, "}", "\\textbraceright");
|
|
24962
|
+
f(g, E, bn, "{", "\\lbrace");
|
|
24963
|
+
f(g, E, Jt, "}", "\\rbrace");
|
|
24964
|
+
f(g, E, bn, "[", "\\lbrack", !0);
|
|
24965
|
+
f(ae, E, z, "[", "\\lbrack", !0);
|
|
24966
|
+
f(g, E, Jt, "]", "\\rbrack", !0);
|
|
24967
|
+
f(ae, E, z, "]", "\\rbrack", !0);
|
|
24968
|
+
f(g, E, bn, "(", "\\lparen", !0);
|
|
24969
|
+
f(g, E, Jt, ")", "\\rparen", !0);
|
|
24970
|
+
f(ae, E, z, "<", "\\textless", !0);
|
|
24971
|
+
f(ae, E, z, ">", "\\textgreater", !0);
|
|
24972
|
+
f(g, E, bn, "⌊", "\\lfloor", !0);
|
|
24973
|
+
f(g, E, Jt, "⌋", "\\rfloor", !0);
|
|
24974
|
+
f(g, E, bn, "⌈", "\\lceil", !0);
|
|
24975
|
+
f(g, E, Jt, "⌉", "\\rceil", !0);
|
|
24976
|
+
f(g, E, z, "\\", "\\backslash");
|
|
24977
|
+
f(g, E, z, "∣", "|");
|
|
24978
|
+
f(g, E, z, "∣", "\\vert");
|
|
24979
|
+
f(ae, E, z, "|", "\\textbar", !0);
|
|
24980
|
+
f(g, E, z, "∥", "\\|");
|
|
24981
|
+
f(g, E, z, "∥", "\\Vert");
|
|
24982
|
+
f(ae, E, z, "∥", "\\textbardbl");
|
|
24983
|
+
f(ae, E, z, "~", "\\textasciitilde");
|
|
24984
|
+
f(ae, E, z, "\\", "\\textbackslash");
|
|
24985
|
+
f(ae, E, z, "^", "\\textasciicircum");
|
|
24986
|
+
f(g, E, L, "↑", "\\uparrow", !0);
|
|
24987
|
+
f(g, E, L, "⇑", "\\Uparrow", !0);
|
|
24988
|
+
f(g, E, L, "↓", "\\downarrow", !0);
|
|
24989
|
+
f(g, E, L, "⇓", "\\Downarrow", !0);
|
|
24990
|
+
f(g, E, L, "↕", "\\updownarrow", !0);
|
|
24991
|
+
f(g, E, L, "⇕", "\\Updownarrow", !0);
|
|
24992
|
+
f(g, E, Pt, "∐", "\\coprod");
|
|
24993
|
+
f(g, E, Pt, "⋁", "\\bigvee");
|
|
24994
|
+
f(g, E, Pt, "⋀", "\\bigwedge");
|
|
24995
|
+
f(g, E, Pt, "⨄", "\\biguplus");
|
|
24996
|
+
f(g, E, Pt, "⋂", "\\bigcap");
|
|
24997
|
+
f(g, E, Pt, "⋃", "\\bigcup");
|
|
24998
|
+
f(g, E, Pt, "∫", "\\int");
|
|
24999
|
+
f(g, E, Pt, "∫", "\\intop");
|
|
25000
|
+
f(g, E, Pt, "∬", "\\iint");
|
|
25001
|
+
f(g, E, Pt, "∭", "\\iiint");
|
|
25002
|
+
f(g, E, Pt, "∏", "\\prod");
|
|
25003
|
+
f(g, E, Pt, "∑", "\\sum");
|
|
25004
|
+
f(g, E, Pt, "⨂", "\\bigotimes");
|
|
25005
|
+
f(g, E, Pt, "⨁", "\\bigoplus");
|
|
25006
|
+
f(g, E, Pt, "⨀", "\\bigodot");
|
|
25007
|
+
f(g, E, Pt, "∮", "\\oint");
|
|
25008
|
+
f(g, E, Pt, "∯", "\\oiint");
|
|
25009
|
+
f(g, E, Pt, "∰", "\\oiiint");
|
|
25010
|
+
f(g, E, Pt, "⨆", "\\bigsqcup");
|
|
25011
|
+
f(g, E, Pt, "∫", "\\smallint");
|
|
25012
|
+
f(ae, E, fa, "…", "\\textellipsis");
|
|
25013
|
+
f(g, E, fa, "…", "\\mathellipsis");
|
|
25014
|
+
f(ae, E, fa, "…", "\\ldots", !0);
|
|
25015
|
+
f(g, E, fa, "…", "\\ldots", !0);
|
|
25016
|
+
f(g, E, fa, "⋯", "\\@cdots", !0);
|
|
25017
|
+
f(g, E, fa, "⋱", "\\ddots", !0);
|
|
25018
|
+
f(g, E, z, "⋮", "\\varvdots");
|
|
25019
|
+
f(ae, E, z, "⋮", "\\varvdots");
|
|
25020
|
+
f(g, E, Tt, "ˊ", "\\acute");
|
|
25021
|
+
f(g, E, Tt, "ˋ", "\\grave");
|
|
25022
|
+
f(g, E, Tt, "¨", "\\ddot");
|
|
25023
|
+
f(g, E, Tt, "~", "\\tilde");
|
|
25024
|
+
f(g, E, Tt, "ˉ", "\\bar");
|
|
25025
|
+
f(g, E, Tt, "˘", "\\breve");
|
|
25026
|
+
f(g, E, Tt, "ˇ", "\\check");
|
|
25027
|
+
f(g, E, Tt, "^", "\\hat");
|
|
25028
|
+
f(g, E, Tt, "⃗", "\\vec");
|
|
25029
|
+
f(g, E, Tt, "˙", "\\dot");
|
|
25030
|
+
f(g, E, Tt, "˚", "\\mathring");
|
|
25031
|
+
f(g, E, _e, "", "\\@imath");
|
|
25032
|
+
f(g, E, _e, "", "\\@jmath");
|
|
25033
|
+
f(g, E, z, "ı", "ı");
|
|
25034
|
+
f(g, E, z, "ȷ", "ȷ");
|
|
25035
|
+
f(ae, E, z, "ı", "\\i", !0);
|
|
25036
|
+
f(ae, E, z, "ȷ", "\\j", !0);
|
|
25037
|
+
f(ae, E, z, "ß", "\\ss", !0);
|
|
25038
|
+
f(ae, E, z, "æ", "\\ae", !0);
|
|
25039
|
+
f(ae, E, z, "œ", "\\oe", !0);
|
|
25040
|
+
f(ae, E, z, "ø", "\\o", !0);
|
|
25041
|
+
f(ae, E, z, "Æ", "\\AE", !0);
|
|
25042
|
+
f(ae, E, z, "Œ", "\\OE", !0);
|
|
25043
|
+
f(ae, E, z, "Ø", "\\O", !0);
|
|
25044
|
+
f(ae, E, Tt, "ˊ", "\\'");
|
|
25045
|
+
f(ae, E, Tt, "ˋ", "\\`");
|
|
25046
|
+
f(ae, E, Tt, "ˆ", "\\^");
|
|
25047
|
+
f(ae, E, Tt, "˜", "\\~");
|
|
25048
|
+
f(ae, E, Tt, "ˉ", "\\=");
|
|
25049
|
+
f(ae, E, Tt, "˘", "\\u");
|
|
25050
|
+
f(ae, E, Tt, "˙", "\\.");
|
|
25051
|
+
f(ae, E, Tt, "¸", "\\c");
|
|
25052
|
+
f(ae, E, Tt, "˚", "\\r");
|
|
25053
|
+
f(ae, E, Tt, "ˇ", "\\v");
|
|
25054
|
+
f(ae, E, Tt, "¨", '\\"');
|
|
25055
|
+
f(ae, E, Tt, "˝", "\\H");
|
|
25056
|
+
f(ae, E, Tt, "◯", "\\textcircled");
|
|
25057
25057
|
var Wf = {
|
|
25058
25058
|
"--": !0,
|
|
25059
25059
|
"---": !0,
|
|
25060
25060
|
"``": !0,
|
|
25061
25061
|
"''": !0
|
|
25062
25062
|
};
|
|
25063
|
-
f(ae,
|
|
25064
|
-
f(ae,
|
|
25065
|
-
f(ae,
|
|
25066
|
-
f(ae,
|
|
25067
|
-
f(ae,
|
|
25068
|
-
f(ae,
|
|
25069
|
-
f(ae,
|
|
25070
|
-
f(ae,
|
|
25071
|
-
f(ae,
|
|
25072
|
-
f(ae,
|
|
25073
|
-
f(ae,
|
|
25074
|
-
f(ae,
|
|
25075
|
-
f(g,
|
|
25076
|
-
f(ae,
|
|
25077
|
-
f(ae,
|
|
25078
|
-
f(g,
|
|
25079
|
-
f(g,
|
|
25080
|
-
f(ae,
|
|
25081
|
-
f(ae,
|
|
25063
|
+
f(ae, E, z, "–", "--", !0);
|
|
25064
|
+
f(ae, E, z, "–", "\\textendash");
|
|
25065
|
+
f(ae, E, z, "—", "---", !0);
|
|
25066
|
+
f(ae, E, z, "—", "\\textemdash");
|
|
25067
|
+
f(ae, E, z, "‘", "`", !0);
|
|
25068
|
+
f(ae, E, z, "‘", "\\textquoteleft");
|
|
25069
|
+
f(ae, E, z, "’", "'", !0);
|
|
25070
|
+
f(ae, E, z, "’", "\\textquoteright");
|
|
25071
|
+
f(ae, E, z, "“", "``", !0);
|
|
25072
|
+
f(ae, E, z, "“", "\\textquotedblleft");
|
|
25073
|
+
f(ae, E, z, "”", "''", !0);
|
|
25074
|
+
f(ae, E, z, "”", "\\textquotedblright");
|
|
25075
|
+
f(g, E, z, "°", "\\degree", !0);
|
|
25076
|
+
f(ae, E, z, "°", "\\degree");
|
|
25077
|
+
f(ae, E, z, "°", "\\textdegree", !0);
|
|
25078
|
+
f(g, E, z, "£", "\\pounds");
|
|
25079
|
+
f(g, E, z, "£", "\\mathsterling", !0);
|
|
25080
|
+
f(ae, E, z, "£", "\\pounds");
|
|
25081
|
+
f(ae, E, z, "£", "\\textsterling", !0);
|
|
25082
25082
|
f(g, R, z, "✠", "\\maltese");
|
|
25083
25083
|
f(ae, R, z, "✠", "\\maltese");
|
|
25084
25084
|
var Xc = '0123456789/@."';
|
|
25085
25085
|
for (var pu = 0; pu < Xc.length; pu++) {
|
|
25086
25086
|
var Kc = Xc.charAt(pu);
|
|
25087
|
-
f(g,
|
|
25087
|
+
f(g, E, z, Kc, Kc);
|
|
25088
25088
|
}
|
|
25089
25089
|
var Qc = '0123456789!@*()-=+";:?/.,';
|
|
25090
25090
|
for (var mu = 0; mu < Qc.length; mu++) {
|
|
25091
25091
|
var Zc = Qc.charAt(mu);
|
|
25092
|
-
f(ae,
|
|
25092
|
+
f(ae, E, z, Zc, Zc);
|
|
25093
25093
|
}
|
|
25094
25094
|
var Ki = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
25095
25095
|
for (var gu = 0; gu < Ki.length; gu++) {
|
|
25096
25096
|
var yi = Ki.charAt(gu);
|
|
25097
|
-
f(g,
|
|
25097
|
+
f(g, E, _e, yi, yi), f(ae, E, z, yi, yi);
|
|
25098
25098
|
}
|
|
25099
25099
|
f(g, R, z, "C", "ℂ");
|
|
25100
25100
|
f(ae, R, z, "C", "ℂ");
|
|
@@ -25110,24 +25110,24 @@ f(g, R, z, "R", "ℝ");
|
|
|
25110
25110
|
f(ae, R, z, "R", "ℝ");
|
|
25111
25111
|
f(g, R, z, "Z", "ℤ");
|
|
25112
25112
|
f(ae, R, z, "Z", "ℤ");
|
|
25113
|
-
f(g,
|
|
25114
|
-
f(ae,
|
|
25113
|
+
f(g, E, _e, "h", "ℎ");
|
|
25114
|
+
f(ae, E, _e, "h", "ℎ");
|
|
25115
25115
|
var Oe = "";
|
|
25116
25116
|
for (var Xt = 0; Xt < Ki.length; Xt++) {
|
|
25117
25117
|
var wt = Ki.charAt(Xt);
|
|
25118
|
-
Oe = String.fromCharCode(55349, 56320 + Xt), f(g,
|
|
25118
|
+
Oe = String.fromCharCode(55349, 56320 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56372 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56424 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56580 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56684 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56736 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56788 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56840 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56944 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Xt < 26 && (Oe = String.fromCharCode(55349, 56632 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe), Oe = String.fromCharCode(55349, 56476 + Xt), f(g, E, _e, wt, Oe), f(ae, E, z, wt, Oe));
|
|
25119
25119
|
}
|
|
25120
25120
|
Oe = "𝕜";
|
|
25121
|
-
f(g,
|
|
25122
|
-
f(ae,
|
|
25121
|
+
f(g, E, _e, "k", Oe);
|
|
25122
|
+
f(ae, E, z, "k", Oe);
|
|
25123
25123
|
for (var Sr = 0; Sr < 10; Sr++) {
|
|
25124
25124
|
var lr = Sr.toString();
|
|
25125
|
-
Oe = String.fromCharCode(55349, 57294 + Sr), f(g,
|
|
25125
|
+
Oe = String.fromCharCode(55349, 57294 + Sr), f(g, E, _e, lr, Oe), f(ae, E, z, lr, Oe), Oe = String.fromCharCode(55349, 57314 + Sr), f(g, E, _e, lr, Oe), f(ae, E, z, lr, Oe), Oe = String.fromCharCode(55349, 57324 + Sr), f(g, E, _e, lr, Oe), f(ae, E, z, lr, Oe), Oe = String.fromCharCode(55349, 57334 + Sr), f(g, E, _e, lr, Oe), f(ae, E, z, lr, Oe);
|
|
25126
25126
|
}
|
|
25127
25127
|
var bo = "ÐÞþ";
|
|
25128
25128
|
for (var bu = 0; bu < bo.length; bu++) {
|
|
25129
25129
|
var vi = bo.charAt(bu);
|
|
25130
|
-
f(g,
|
|
25130
|
+
f(g, E, _e, vi, vi), f(ae, E, z, vi, vi);
|
|
25131
25131
|
}
|
|
25132
25132
|
var Ti = [
|
|
25133
25133
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -25262,15 +25262,15 @@ var Ti = [
|
|
|
25262
25262
|
if (r === "mathord")
|
|
25263
25263
|
return Kt(i, "Math-Italic", a, n, s.concat(["mathnormal"]));
|
|
25264
25264
|
if (r === "textord") {
|
|
25265
|
-
var
|
|
25266
|
-
if (
|
|
25265
|
+
var T = gt[a][i] && gt[a][i].font;
|
|
25266
|
+
if (T === "ams") {
|
|
25267
25267
|
var v = Ei("amsrm", n.fontWeight, n.fontShape);
|
|
25268
25268
|
return Kt(i, v, a, n, s.concat("amsrm", n.fontWeight, n.fontShape));
|
|
25269
|
-
} else if (
|
|
25269
|
+
} else if (T === "main" || !T) {
|
|
25270
25270
|
var k = Ei("textrm", n.fontWeight, n.fontShape);
|
|
25271
25271
|
return Kt(i, k, a, n, s.concat(n.fontWeight, n.fontShape));
|
|
25272
25272
|
} else {
|
|
25273
|
-
var B = Ei(
|
|
25273
|
+
var B = Ei(T, n.fontWeight, n.fontShape);
|
|
25274
25274
|
return Kt(i, B, a, n, s.concat(B, n.fontWeight, n.fontShape));
|
|
25275
25275
|
}
|
|
25276
25276
|
} else
|
|
@@ -25373,8 +25373,8 @@ var Ti = [
|
|
|
25373
25373
|
if (b.type === "kern")
|
|
25374
25374
|
p += b.size;
|
|
25375
25375
|
else {
|
|
25376
|
-
var
|
|
25377
|
-
B.style.top = me(-i - p -
|
|
25376
|
+
var T = b.elem, v = b.wrapperClasses || [], k = b.wrapperStyle || {}, B = se(v, [l, T], void 0, k);
|
|
25377
|
+
B.style.top = me(-i - p - T.depth), b.marginLeft && (B.style.marginLeft = b.marginLeft), b.marginRight && (B.style.marginRight = b.marginRight), c.push(B), p += T.height + T.depth;
|
|
25378
25378
|
}
|
|
25379
25379
|
h = Math.min(h, p), m = Math.max(m, p);
|
|
25380
25380
|
}
|
|
@@ -25382,7 +25382,7 @@ var Ti = [
|
|
|
25382
25382
|
Y.style.height = me(m);
|
|
25383
25383
|
var U;
|
|
25384
25384
|
if (h < 0) {
|
|
25385
|
-
var
|
|
25385
|
+
var C = se([], []), P = se(["vlist"], [C]);
|
|
25386
25386
|
P.style.height = me(-h);
|
|
25387
25387
|
var Q = se(["vlist-s"], [new xn("")]);
|
|
25388
25388
|
U = [se(["vlist-r"], [Y, Q]), se(["vlist-r"], [P])];
|
|
@@ -25643,12 +25643,12 @@ var Ji = function(t) {
|
|
|
25643
25643
|
}
|
|
25644
25644
|
var h = se([a[0] || "leftmost"], [], n), m = se([a[1] || "rightmost"], [], n), p = r === "root";
|
|
25645
25645
|
return e1(i, (y, b) => {
|
|
25646
|
-
var
|
|
25647
|
-
|
|
25646
|
+
var T = b.classes[0], v = y.classes[0];
|
|
25647
|
+
T === "mbin" && V9.has(v) ? b.classes[0] = "mord" : v === "mbin" && Y9.has(T) && (y.classes[0] = "mord");
|
|
25648
25648
|
}, {
|
|
25649
25649
|
node: h
|
|
25650
25650
|
}, m, p), e1(i, (y, b) => {
|
|
25651
|
-
var
|
|
25651
|
+
var T = vo(b), v = vo(y), k = T && v ? y.hasClass("mtight") ? $9[T][v] : q9[T][v] : null;
|
|
25652
25652
|
if (k)
|
|
25653
25653
|
return Kf(k, l);
|
|
25654
25654
|
}, {
|
|
@@ -26083,19 +26083,19 @@ var rp = function(t) {
|
|
|
26083
26083
|
var y = [1, 1, 2, 2, 3, 3][c];
|
|
26084
26084
|
o === "widehat" || o === "widecheck" ? (u = [0, 1062, 2364, 2364, 2364][y], h = [0, 239, 300, 360, 420][y], p = [0, 0.24, 0.3, 0.3, 0.36, 0.42][y], m = o + y) : (u = [0, 600, 1033, 2339, 2340][y], h = [0, 260, 286, 306, 312][y], p = [0, 0.26, 0.286, 0.3, 0.306, 0.34][y], m = "tilde" + y);
|
|
26085
26085
|
}
|
|
26086
|
-
var b = new gr(m),
|
|
26086
|
+
var b = new gr(m), T = new nr([b], {
|
|
26087
26087
|
width: "100%",
|
|
26088
26088
|
height: me(p),
|
|
26089
26089
|
viewBox: "0 0 " + u + " " + h,
|
|
26090
26090
|
preserveAspectRatio: "none"
|
|
26091
26091
|
});
|
|
26092
26092
|
return {
|
|
26093
|
-
span: br([], [
|
|
26093
|
+
span: br([], [T], n),
|
|
26094
26094
|
minWidth: 0,
|
|
26095
26095
|
height: p
|
|
26096
26096
|
};
|
|
26097
26097
|
} else {
|
|
26098
|
-
var v = [], k = tT[o], [B, Y, U] = k,
|
|
26098
|
+
var v = [], k = tT[o], [B, Y, U] = k, C = U / 1e3, P = B.length, Q, j;
|
|
26099
26099
|
if (P === 1) {
|
|
26100
26100
|
var ne = k[3];
|
|
26101
26101
|
Q = ["hide-tail"], j = [ne];
|
|
@@ -26109,7 +26109,7 @@ var rp = function(t) {
|
|
|
26109
26109
|
for (var q = 0; q < P; q++) {
|
|
26110
26110
|
var V = new gr(B[q]), F = new nr([V], {
|
|
26111
26111
|
width: "400em",
|
|
26112
|
-
height: me(
|
|
26112
|
+
height: me(C),
|
|
26113
26113
|
viewBox: "0 0 " + u + " " + U,
|
|
26114
26114
|
preserveAspectRatio: j[q] + " slice"
|
|
26115
26115
|
}), D = br([Q[q]], [F], n);
|
|
@@ -26117,14 +26117,14 @@ var rp = function(t) {
|
|
|
26117
26117
|
return {
|
|
26118
26118
|
span: D,
|
|
26119
26119
|
minWidth: Y,
|
|
26120
|
-
height:
|
|
26120
|
+
height: C
|
|
26121
26121
|
};
|
|
26122
|
-
D.style.height = me(
|
|
26122
|
+
D.style.height = me(C), v.push(D);
|
|
26123
26123
|
}
|
|
26124
26124
|
return {
|
|
26125
26125
|
span: se(["stretchy"], v, n),
|
|
26126
26126
|
minWidth: Y,
|
|
26127
|
-
height:
|
|
26127
|
+
height: C
|
|
26128
26128
|
};
|
|
26129
26129
|
}
|
|
26130
26130
|
}
|
|
@@ -26211,8 +26211,8 @@ var ml = (e, t) => {
|
|
|
26211
26211
|
}, t, "textord"), p = Wc(p), p.italic = 0, y = p.width, c && (h += p.depth)), m = se(["accent-body"], [p]);
|
|
26212
26212
|
var b = r.label === "\\textcircled";
|
|
26213
26213
|
b && (m.classes.push("accent-full"), h = i.height);
|
|
26214
|
-
var
|
|
26215
|
-
b || (
|
|
26214
|
+
var T = u;
|
|
26215
|
+
b || (T -= y / 2), m.style.left = me(T), r.label === "\\textcircled" && (m.style.top = ".2em"), m = tt({
|
|
26216
26216
|
positionType: "firstBaseline",
|
|
26217
26217
|
children: [{
|
|
26218
26218
|
type: "elem",
|
|
@@ -26661,7 +26661,7 @@ function oT(e) {
|
|
|
26661
26661
|
i % 2 === 0 ? r.push(u) : r.shift(), r = [], a.push(r);
|
|
26662
26662
|
}
|
|
26663
26663
|
e.gullet.endGroup(), e.gullet.endGroup();
|
|
26664
|
-
var
|
|
26664
|
+
var T = new Array(a[0].length).fill({
|
|
26665
26665
|
type: "align",
|
|
26666
26666
|
align: "c",
|
|
26667
26667
|
pregap: 0.25,
|
|
@@ -26676,7 +26676,7 @@ function oT(e) {
|
|
|
26676
26676
|
arraystretch: 1,
|
|
26677
26677
|
addJot: !0,
|
|
26678
26678
|
rowGaps: [null],
|
|
26679
|
-
cols:
|
|
26679
|
+
cols: T,
|
|
26680
26680
|
colSeparationType: "CD",
|
|
26681
26681
|
hLinesBeforeRow: new Array(a.length + 1).fill([])
|
|
26682
26682
|
};
|
|
@@ -27033,10 +27033,10 @@ var Ia = function(t, n, r) {
|
|
|
27033
27033
|
u = l = c = t, o = null;
|
|
27034
27034
|
var p = "Size1-Regular";
|
|
27035
27035
|
t === "\\uparrow" ? l = c = "⏐" : t === "\\Uparrow" ? l = c = "‖" : t === "\\downarrow" ? u = l = "⏐" : t === "\\Downarrow" ? u = l = "‖" : t === "\\updownarrow" ? (u = "\\uparrow", l = "⏐", c = "\\downarrow") : t === "\\Updownarrow" ? (u = "\\Uparrow", l = "‖", c = "\\Downarrow") : hT.has(t) ? (l = "∣", h = "vert", m = 333) : fT.has(t) ? (l = "∥", h = "doublevert", m = 556) : t === "[" || t === "\\lbrack" ? (u = "⎡", l = "⎢", c = "⎣", p = "Size4-Regular", h = "lbrack", m = 667) : t === "]" || t === "\\rbrack" ? (u = "⎤", l = "⎥", c = "⎦", p = "Size4-Regular", h = "rbrack", m = 667) : t === "\\lfloor" || t === "⌊" ? (l = u = "⎢", c = "⎣", p = "Size4-Regular", h = "lfloor", m = 667) : t === "\\lceil" || t === "⌈" ? (u = "⎡", l = c = "⎢", p = "Size4-Regular", h = "lceil", m = 667) : t === "\\rfloor" || t === "⌋" ? (l = u = "⎥", c = "⎦", p = "Size4-Regular", h = "rfloor", m = 667) : t === "\\rceil" || t === "⌉" ? (u = "⎤", l = c = "⎥", p = "Size4-Regular", h = "rceil", m = 667) : t === "(" || t === "\\lparen" ? (u = "⎛", l = "⎜", c = "⎝", p = "Size4-Regular", h = "lparen", m = 875) : t === ")" || t === "\\rparen" ? (u = "⎞", l = "⎟", c = "⎠", p = "Size4-Regular", h = "rparen", m = 875) : t === "\\{" || t === "\\lbrace" ? (u = "⎧", o = "⎨", c = "⎩", l = "⎪", p = "Size4-Regular") : t === "\\}" || t === "\\rbrace" ? (u = "⎫", o = "⎬", c = "⎭", l = "⎪", p = "Size4-Regular") : t === "\\lgroup" || t === "⟮" ? (u = "⎧", c = "⎩", l = "⎪", p = "Size4-Regular") : t === "\\rgroup" || t === "⟯" ? (u = "⎫", c = "⎭", l = "⎪", p = "Size4-Regular") : t === "\\lmoustache" || t === "⎰" ? (u = "⎧", c = "⎭", l = "⎪", p = "Size4-Regular") : (t === "\\rmoustache" || t === "⎱") && (u = "⎫", c = "⎩", l = "⎪", p = "Size4-Regular");
|
|
27036
|
-
var y = Ia(u, p, i), b = y.height + y.depth,
|
|
27036
|
+
var y = Ia(u, p, i), b = y.height + y.depth, T = Ia(l, p, i), v = T.height + T.depth, k = Ia(c, p, i), B = k.height + k.depth, Y = 0, U = 1;
|
|
27037
27037
|
if (o !== null) {
|
|
27038
|
-
var
|
|
27039
|
-
Y =
|
|
27038
|
+
var C = Ia(o, p, i);
|
|
27039
|
+
Y = C.height + C.depth, U = 2;
|
|
27040
27040
|
}
|
|
27041
27041
|
var P = b + B + Y, Q = Math.max(0, Math.ceil((n - P) / (U * v))), j = P + Q * U * v, ne = a.fontMetrics().axisHeight;
|
|
27042
27042
|
r && (ne *= a.sizeMultiplier);
|
|
@@ -27427,13 +27427,13 @@ var bl = (e, t) => {
|
|
|
27427
27427
|
i = br(["hide-tail"], [y], t), i.style.height = me(h), s = n.depth + o + l;
|
|
27428
27428
|
} else {
|
|
27429
27429
|
/cancel/.test(r) ? u || n.classes.push("cancel-pad") : r === "angl" ? n.classes.push("anglpad") : n.classes.push("boxpad");
|
|
27430
|
-
var b = 0,
|
|
27430
|
+
var b = 0, T = 0, v = 0;
|
|
27431
27431
|
/box/.test(r) ? (v = Math.max(
|
|
27432
27432
|
t.fontMetrics().fboxrule,
|
|
27433
27433
|
// default
|
|
27434
27434
|
t.minRuleThickness
|
|
27435
27435
|
// User override.
|
|
27436
|
-
), b = t.fontMetrics().fboxsep + (r === "colorbox" ? 0 : v),
|
|
27436
|
+
), b = t.fontMetrics().fboxsep + (r === "colorbox" ? 0 : v), T = b) : r === "angl" ? (v = Math.max(t.fontMetrics().defaultRuleThickness, t.minRuleThickness), b = 4 * v, T = Math.max(0, 0.25 - n.depth)) : (b = u ? 0.2 : 0, T = b), i = rT(n, r, b, T, t), /fbox|boxed|fcolorbox/.test(r) ? (i.style.borderStyle = "solid", i.style.borderWidth = me(v)) : r === "angl" && v !== 0.049 && (i.style.borderTopWidth = me(v), i.style.borderRightWidth = me(v)), s = n.depth + T, e.backgroundColor && (i.style.backgroundColor = e.backgroundColor, e.borderColor && (i.style.borderColor = e.borderColor));
|
|
27437
27437
|
}
|
|
27438
27438
|
var k;
|
|
27439
27439
|
if (e.backgroundColor)
|
|
@@ -27643,7 +27643,7 @@ function jn(e) {
|
|
|
27643
27643
|
i && (Qi[t] = i), s && (Zi[t] = s);
|
|
27644
27644
|
}
|
|
27645
27645
|
var Ep = {};
|
|
27646
|
-
function
|
|
27646
|
+
function S(e, t) {
|
|
27647
27647
|
Ep[e] = t;
|
|
27648
27648
|
}
|
|
27649
27649
|
function s1(e) {
|
|
@@ -27684,7 +27684,7 @@ function Tr(e, t, n) {
|
|
|
27684
27684
|
throw new le("Invalid \\arraystretch: " + p);
|
|
27685
27685
|
}
|
|
27686
27686
|
e.gullet.beginGroup();
|
|
27687
|
-
var y = [], b = [y],
|
|
27687
|
+
var y = [], b = [y], T = [], v = [], k = o != null ? [] : void 0;
|
|
27688
27688
|
function B() {
|
|
27689
27689
|
o && e.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
27690
27690
|
}
|
|
@@ -27703,21 +27703,21 @@ function Tr(e, t, n) {
|
|
|
27703
27703
|
style: n,
|
|
27704
27704
|
body: [U]
|
|
27705
27705
|
}), y.push(U);
|
|
27706
|
-
var
|
|
27707
|
-
if (
|
|
27706
|
+
var C = e.fetch().text;
|
|
27707
|
+
if (C === "&") {
|
|
27708
27708
|
if (h && y.length === h) {
|
|
27709
27709
|
if (l || u)
|
|
27710
27710
|
throw new le("Too many tab characters: &", e.nextToken);
|
|
27711
27711
|
e.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
27712
27712
|
}
|
|
27713
27713
|
e.consume();
|
|
27714
|
-
} else if (
|
|
27714
|
+
} else if (C === "\\end") {
|
|
27715
27715
|
Y(), y.length === 1 && U.type === "styling" && U.body[0].body.length === 0 && (b.length > 1 || !c) && b.pop(), v.length < b.length + 1 && v.push([]);
|
|
27716
27716
|
break;
|
|
27717
|
-
} else if (
|
|
27717
|
+
} else if (C === "\\\\") {
|
|
27718
27718
|
e.consume();
|
|
27719
27719
|
var P = void 0;
|
|
27720
|
-
e.gullet.future().text !== " " && (P = e.parseSizeGroup(!0)),
|
|
27720
|
+
e.gullet.future().text !== " " && (P = e.parseSizeGroup(!0)), T.push(P ? P.value : null), Y(), v.push(s1(e)), y = [], b.push(y), B();
|
|
27721
27721
|
} else
|
|
27722
27722
|
throw new le("Expected & or \\\\ or \\cr or \\end", e.nextToken);
|
|
27723
27723
|
}
|
|
@@ -27728,7 +27728,7 @@ function Tr(e, t, n) {
|
|
|
27728
27728
|
arraystretch: s,
|
|
27729
27729
|
body: b,
|
|
27730
27730
|
cols: i,
|
|
27731
|
-
rowGaps:
|
|
27731
|
+
rowGaps: T,
|
|
27732
27732
|
hskipBeforeAndAfter: r,
|
|
27733
27733
|
hLinesBeforeRow: v,
|
|
27734
27734
|
colSeparationType: u,
|
|
@@ -27753,7 +27753,7 @@ var qn = function(t, n) {
|
|
|
27753
27753
|
var y = t.colSeparationType === "CD" ? xt({
|
|
27754
27754
|
number: 3,
|
|
27755
27755
|
unit: "ex"
|
|
27756
|
-
}, n) : 12 * h, b = 3 * h,
|
|
27756
|
+
}, n) : 12 * h, b = 3 * h, T = t.arraystretch * y, v = 0.7 * T, k = 0.3 * T, B = 0;
|
|
27757
27757
|
function Y(ut) {
|
|
27758
27758
|
for (var Se = 0; Se < ut.length; ++Se)
|
|
27759
27759
|
Se > 0 && (B += 0.25), l.push({
|
|
@@ -27762,15 +27762,15 @@ var qn = function(t, n) {
|
|
|
27762
27762
|
});
|
|
27763
27763
|
}
|
|
27764
27764
|
for (Y(s[0]), r = 0; r < t.body.length; ++r) {
|
|
27765
|
-
var U = t.body[r],
|
|
27765
|
+
var U = t.body[r], C = v, P = k;
|
|
27766
27766
|
u < U.length && (u = U.length);
|
|
27767
27767
|
var Q = new Array(U.length);
|
|
27768
27768
|
for (a = 0; a < U.length; ++a) {
|
|
27769
27769
|
var j = Je(U[a], n);
|
|
27770
|
-
P < j.depth && (P = j.depth),
|
|
27770
|
+
P < j.depth && (P = j.depth), C < j.height && (C = j.height), Q[a] = j;
|
|
27771
27771
|
}
|
|
27772
27772
|
var ne = t.rowGaps[r], q = 0;
|
|
27773
|
-
ne && (q = xt(ne, n), q > 0 && (q += k, P < q && (P = q), q = 0)), t.addJot && (P += b), Q.height =
|
|
27773
|
+
ne && (q = xt(ne, n), q > 0 && (q += k, P < q && (P = q), q = 0)), t.addJot && (P += b), Q.height = C, Q.depth = P, B += C, Q.pos = B, B += P + q, o[r] = Q, Y(s[r + 1]);
|
|
27774
27774
|
}
|
|
27775
27775
|
var V = B / 2 + n.fontMetrics().axisHeight, F = t.cols || [], D = [], H, G, te = [];
|
|
27776
27776
|
if (t.tags && t.tags.some((ut) => ut))
|
|
@@ -27869,15 +27869,15 @@ var qn = function(t, n) {
|
|
|
27869
27869
|
c.setAttribute("rowspacing", me(h));
|
|
27870
27870
|
var m = "", p = "";
|
|
27871
27871
|
if (t.cols && t.cols.length > 0) {
|
|
27872
|
-
var y = t.cols, b = "",
|
|
27872
|
+
var y = t.cols, b = "", T = !1, v = 0, k = y.length;
|
|
27873
27873
|
y[0].type === "separator" && (m += "top ", v = 1), y[y.length - 1].type === "separator" && (m += "bottom ", k -= 1);
|
|
27874
27874
|
for (var B = v; B < k; B++)
|
|
27875
|
-
y[B].type === "align" ? (p += ET[y[B].align],
|
|
27875
|
+
y[B].type === "align" ? (p += ET[y[B].align], T && (b += "none "), T = !0) : y[B].type === "separator" && T && (b += y[B].separator === "|" ? "solid " : "dashed ", T = !1);
|
|
27876
27876
|
c.setAttribute("columnalign", p.trim()), /[sd]/.test(b) && c.setAttribute("columnlines", b.trim());
|
|
27877
27877
|
}
|
|
27878
27878
|
if (t.colSeparationType === "align") {
|
|
27879
|
-
for (var Y = t.cols || [], U = "",
|
|
27880
|
-
U +=
|
|
27879
|
+
for (var Y = t.cols || [], U = "", C = 1; C < Y.length; C++)
|
|
27880
|
+
U += C % 2 ? "0em " : "1em ";
|
|
27881
27881
|
c.setAttribute("columnspacing", U.trim());
|
|
27882
27882
|
} else t.colSeparationType === "alignat" || t.colSeparationType === "gather" ? c.setAttribute("columnspacing", "0em") : t.colSeparationType === "small" ? c.setAttribute("columnspacing", "0.2778em") : t.colSeparationType === "CD" ? c.setAttribute("columnspacing", "0.5em") : c.setAttribute("columnspacing", "1em");
|
|
27883
27883
|
var P = "", Q = t.hLinesBeforeRow;
|
|
@@ -27922,11 +27922,11 @@ var qn = function(t, n) {
|
|
|
27922
27922
|
}
|
|
27923
27923
|
});
|
|
27924
27924
|
for (var y = 0; y < o; ++y) {
|
|
27925
|
-
var b = "r",
|
|
27926
|
-
y % 2 === 1 ? b = "l" : y > 0 && p && (
|
|
27925
|
+
var b = "r", T = 0;
|
|
27926
|
+
y % 2 === 1 ? b = "l" : y > 0 && p && (T = 1), r[y] = {
|
|
27927
27927
|
type: "align",
|
|
27928
27928
|
align: b,
|
|
27929
|
-
pregap:
|
|
27929
|
+
pregap: T,
|
|
27930
27930
|
postgap: 0
|
|
27931
27931
|
};
|
|
27932
27932
|
}
|
|
@@ -28176,8 +28176,8 @@ jn({
|
|
|
28176
28176
|
htmlBuilder: qn,
|
|
28177
28177
|
mathmlBuilder: $n
|
|
28178
28178
|
});
|
|
28179
|
-
|
|
28180
|
-
|
|
28179
|
+
S("\\nonumber", "\\gdef\\@eqnsw{0}");
|
|
28180
|
+
S("\\notag", "\\nonumber");
|
|
28181
28181
|
be({
|
|
28182
28182
|
type: "text",
|
|
28183
28183
|
// Doesn't matter what this is.
|
|
@@ -28351,12 +28351,12 @@ var xT = (e, t) => {
|
|
|
28351
28351
|
e.hasBarLine ? (e.barSize ? (h = xt(e.barSize, t), c = na("frac-line", t, h)) : c = na("frac-line", t), h = c.height, m = c.height) : (c = null, h = 0, m = t.fontMetrics().defaultRuleThickness);
|
|
28352
28352
|
var p, y, b;
|
|
28353
28353
|
n.size === Le.DISPLAY.size ? (p = t.fontMetrics().num1, h > 0 ? y = 3 * m : y = 7 * m, b = t.fontMetrics().denom1) : (h > 0 ? (p = t.fontMetrics().num2, y = m) : (p = t.fontMetrics().num3, y = 3 * m), b = t.fontMetrics().denom2);
|
|
28354
|
-
var
|
|
28354
|
+
var T;
|
|
28355
28355
|
if (c) {
|
|
28356
28356
|
var k = t.fontMetrics().axisHeight;
|
|
28357
28357
|
p - s.depth - (k + 0.5 * h) < y && (p += y - (p - s.depth - (k + 0.5 * h))), k - 0.5 * h - (l.height - b) < y && (b += y - (k - 0.5 * h - (l.height - b)));
|
|
28358
28358
|
var B = -(k - 0.5 * h);
|
|
28359
|
-
|
|
28359
|
+
T = tt({
|
|
28360
28360
|
positionType: "individualShift",
|
|
28361
28361
|
children: [{
|
|
28362
28362
|
type: "elem",
|
|
@@ -28374,7 +28374,7 @@ var xT = (e, t) => {
|
|
|
28374
28374
|
});
|
|
28375
28375
|
} else {
|
|
28376
28376
|
var v = p - s.depth - (l.height - b);
|
|
28377
|
-
v < y && (p += 0.5 * (y - v), b += 0.5 * (y - v)),
|
|
28377
|
+
v < y && (p += 0.5 * (y - v), b += 0.5 * (y - v)), T = tt({
|
|
28378
28378
|
positionType: "individualShift",
|
|
28379
28379
|
children: [{
|
|
28380
28380
|
type: "elem",
|
|
@@ -28387,11 +28387,11 @@ var xT = (e, t) => {
|
|
|
28387
28387
|
}]
|
|
28388
28388
|
});
|
|
28389
28389
|
}
|
|
28390
|
-
i = t.havingStyle(n),
|
|
28390
|
+
i = t.havingStyle(n), T.height *= i.sizeMultiplier / t.sizeMultiplier, T.depth *= i.sizeMultiplier / t.sizeMultiplier;
|
|
28391
28391
|
var Y;
|
|
28392
28392
|
n.size === Le.DISPLAY.size ? Y = t.fontMetrics().delim1 : n.size === Le.SCRIPTSCRIPT.size ? Y = t.havingStyle(Le.SCRIPT).fontMetrics().delim2 : Y = t.fontMetrics().delim2;
|
|
28393
|
-
var U,
|
|
28394
|
-
return e.leftDelim == null ? U = Ga(t, ["mopen"]) : U = So(e.leftDelim, Y, !0, t.havingStyle(n), e.mode, ["mopen"]), e.continued ?
|
|
28393
|
+
var U, C;
|
|
28394
|
+
return e.leftDelim == null ? U = Ga(t, ["mopen"]) : U = So(e.leftDelim, Y, !0, t.havingStyle(n), e.mode, ["mopen"]), e.continued ? C = se([]) : e.rightDelim == null ? C = Ga(t, ["mclose"]) : C = So(e.rightDelim, Y, !0, t.havingStyle(n), e.mode, ["mclose"]), se(["mord"].concat(i.sizingClasses(t)), [U, se(["mfrac"], [T]), C], t);
|
|
28395
28395
|
}, ST = (e, t) => {
|
|
28396
28396
|
var n = new ce("mfrac", [dt(e.numer, t), dt(e.denom, t)]);
|
|
28397
28397
|
if (!e.hasBarLine)
|
|
@@ -29229,12 +29229,12 @@ var _p = (e, t, n, r, a, i, s) => {
|
|
|
29229
29229
|
});
|
|
29230
29230
|
} else
|
|
29231
29231
|
return e;
|
|
29232
|
-
var
|
|
29232
|
+
var T = [m];
|
|
29233
29233
|
if (o && i !== 0 && !u) {
|
|
29234
29234
|
var v = se(["mspace"], [], r);
|
|
29235
|
-
v.style.marginRight = me(i),
|
|
29235
|
+
v.style.marginRight = me(i), T.unshift(v);
|
|
29236
29236
|
}
|
|
29237
|
-
return se(["mop", "op-limits"],
|
|
29237
|
+
return se(["mop", "op-limits"], T, r);
|
|
29238
29238
|
}, kp = /* @__PURE__ */ new Set(["\\smallint"]), pa = (e, t) => {
|
|
29239
29239
|
var n, r, a = !1, i;
|
|
29240
29240
|
e.type === "supsub" ? (n = e.sup, r = e.sub, i = qe(e.base, "op"), a = !0) : i = qe(e, "op");
|
|
@@ -29266,8 +29266,8 @@ var _p = (e, t, n, r, a, i, s) => {
|
|
|
29266
29266
|
y.push(cl(i.name[b], i.mode, t));
|
|
29267
29267
|
o = se(["mop"], y, t);
|
|
29268
29268
|
}
|
|
29269
|
-
var
|
|
29270
|
-
return (o instanceof xn || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (
|
|
29269
|
+
var T = 0, v = 0;
|
|
29270
|
+
return (o instanceof xn || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (T = (o.height - o.depth) / 2 - t.fontMetrics().axisHeight, v = o.italic), a ? _p(o, n, r, t, s, v, T) : (T && (o.style.position = "relative", o.style.top = me(T)), o);
|
|
29271
29271
|
}, ri = (e, t) => {
|
|
29272
29272
|
var n;
|
|
29273
29273
|
if (e.symbol)
|
|
@@ -29493,7 +29493,7 @@ be({
|
|
|
29493
29493
|
htmlBuilder: Ip,
|
|
29494
29494
|
mathmlBuilder: _T
|
|
29495
29495
|
});
|
|
29496
|
-
|
|
29496
|
+
S("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
29497
29497
|
Hr({
|
|
29498
29498
|
type: "ordgroup",
|
|
29499
29499
|
htmlBuilder(e, t) {
|
|
@@ -29864,9 +29864,9 @@ be({
|
|
|
29864
29864
|
}]
|
|
29865
29865
|
});
|
|
29866
29866
|
if (e.index) {
|
|
29867
|
-
var y = t.havingStyle(Le.SCRIPTSCRIPT), b = Je(e.index, y, t),
|
|
29867
|
+
var y = t.havingStyle(Le.SCRIPTSCRIPT), b = Je(e.index, y, t), T = 0.6 * (p.height - p.depth), v = tt({
|
|
29868
29868
|
positionType: "shift",
|
|
29869
|
-
positionData: -
|
|
29869
|
+
positionData: -T,
|
|
29870
29870
|
children: [{
|
|
29871
29871
|
type: "elem",
|
|
29872
29872
|
elem: b
|
|
@@ -29968,7 +29968,7 @@ Hr({
|
|
|
29968
29968
|
}
|
|
29969
29969
|
var b;
|
|
29970
29970
|
t.style === Le.DISPLAY ? b = l.sup1 : t.style.cramped ? b = l.sup3 : b = l.sup2;
|
|
29971
|
-
var
|
|
29971
|
+
var T = t.sizeMultiplier, v = me(0.5 / l.ptPerEm / T), k = null;
|
|
29972
29972
|
if (o) {
|
|
29973
29973
|
var B = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
|
|
29974
29974
|
(s instanceof xn || B) && (k = me(-s.italic));
|
|
@@ -29976,9 +29976,9 @@ Hr({
|
|
|
29976
29976
|
var Y;
|
|
29977
29977
|
if (u && o) {
|
|
29978
29978
|
c = Math.max(c, b, u.depth + 0.25 * l.xHeight), h = Math.max(h, l.sub2);
|
|
29979
|
-
var U = l.defaultRuleThickness,
|
|
29980
|
-
if (c - u.depth - (o.height - h) <
|
|
29981
|
-
h =
|
|
29979
|
+
var U = l.defaultRuleThickness, C = 4 * U;
|
|
29980
|
+
if (c - u.depth - (o.height - h) < C) {
|
|
29981
|
+
h = C - (c - u.depth) + o.height;
|
|
29982
29982
|
var P = 0.8 * l.xHeight - (c - u.depth);
|
|
29983
29983
|
P > 0 && (c += P, h -= P);
|
|
29984
29984
|
}
|
|
@@ -30426,35 +30426,35 @@ class BT {
|
|
|
30426
30426
|
}
|
|
30427
30427
|
}
|
|
30428
30428
|
var FT = Ep;
|
|
30429
|
-
|
|
30429
|
+
S("\\noexpand", function(e) {
|
|
30430
30430
|
var t = e.popToken();
|
|
30431
30431
|
return e.isExpandable(t.text) && (t.noexpand = !0, t.treatAsRelax = !0), {
|
|
30432
30432
|
tokens: [t],
|
|
30433
30433
|
numArgs: 0
|
|
30434
30434
|
};
|
|
30435
30435
|
});
|
|
30436
|
-
|
|
30436
|
+
S("\\expandafter", function(e) {
|
|
30437
30437
|
var t = e.popToken();
|
|
30438
30438
|
return e.expandOnce(!0), {
|
|
30439
30439
|
tokens: [t],
|
|
30440
30440
|
numArgs: 0
|
|
30441
30441
|
};
|
|
30442
30442
|
});
|
|
30443
|
-
|
|
30443
|
+
S("\\@firstoftwo", function(e) {
|
|
30444
30444
|
var t = e.consumeArgs(2);
|
|
30445
30445
|
return {
|
|
30446
30446
|
tokens: t[0],
|
|
30447
30447
|
numArgs: 0
|
|
30448
30448
|
};
|
|
30449
30449
|
});
|
|
30450
|
-
|
|
30450
|
+
S("\\@secondoftwo", function(e) {
|
|
30451
30451
|
var t = e.consumeArgs(2);
|
|
30452
30452
|
return {
|
|
30453
30453
|
tokens: t[1],
|
|
30454
30454
|
numArgs: 0
|
|
30455
30455
|
};
|
|
30456
30456
|
});
|
|
30457
|
-
|
|
30457
|
+
S("\\@ifnextchar", function(e) {
|
|
30458
30458
|
var t = e.consumeArgs(3);
|
|
30459
30459
|
e.consumeSpaces();
|
|
30460
30460
|
var n = e.future();
|
|
@@ -30466,8 +30466,8 @@ C("\\@ifnextchar", function(e) {
|
|
|
30466
30466
|
numArgs: 0
|
|
30467
30467
|
};
|
|
30468
30468
|
});
|
|
30469
|
-
|
|
30470
|
-
|
|
30469
|
+
S("\\@ifstar", "\\@ifnextchar *{\\@firstoftwo{#1}}");
|
|
30470
|
+
S("\\TextOrMath", function(e) {
|
|
30471
30471
|
var t = e.consumeArgs(2);
|
|
30472
30472
|
return e.mode === "text" ? {
|
|
30473
30473
|
tokens: t[0],
|
|
@@ -30501,7 +30501,7 @@ var T1 = {
|
|
|
30501
30501
|
f: 15,
|
|
30502
30502
|
F: 15
|
|
30503
30503
|
};
|
|
30504
|
-
|
|
30504
|
+
S("\\char", function(e) {
|
|
30505
30505
|
var t = e.popToken(), n, r = "";
|
|
30506
30506
|
if (t.text === "'")
|
|
30507
30507
|
n = 8, t = e.popToken();
|
|
@@ -30547,97 +30547,97 @@ var El = (e, t, n, r) => {
|
|
|
30547
30547
|
numArgs: u
|
|
30548
30548
|
}), "";
|
|
30549
30549
|
};
|
|
30550
|
-
|
|
30551
|
-
|
|
30552
|
-
|
|
30553
|
-
|
|
30550
|
+
S("\\newcommand", (e) => El(e, !1, !0, !1));
|
|
30551
|
+
S("\\renewcommand", (e) => El(e, !0, !1, !1));
|
|
30552
|
+
S("\\providecommand", (e) => El(e, !0, !0, !0));
|
|
30553
|
+
S("\\message", (e) => {
|
|
30554
30554
|
var t = e.consumeArgs(1)[0];
|
|
30555
30555
|
return console.log(t.reverse().map((n) => n.text).join("")), "";
|
|
30556
30556
|
});
|
|
30557
|
-
|
|
30557
|
+
S("\\errmessage", (e) => {
|
|
30558
30558
|
var t = e.consumeArgs(1)[0];
|
|
30559
30559
|
return console.error(t.reverse().map((n) => n.text).join("")), "";
|
|
30560
30560
|
});
|
|
30561
|
-
|
|
30561
|
+
S("\\show", (e) => {
|
|
30562
30562
|
var t = e.popToken(), n = t.text;
|
|
30563
30563
|
return console.log(t, e.macros.get(n), pr[n], gt.math[n], gt.text[n]), "";
|
|
30564
30564
|
});
|
|
30565
|
-
|
|
30566
|
-
|
|
30567
|
-
|
|
30568
|
-
|
|
30569
|
-
|
|
30570
|
-
|
|
30571
|
-
|
|
30572
|
-
|
|
30573
|
-
|
|
30574
|
-
|
|
30575
|
-
|
|
30576
|
-
|
|
30577
|
-
|
|
30578
|
-
|
|
30579
|
-
|
|
30580
|
-
|
|
30581
|
-
|
|
30582
|
-
|
|
30583
|
-
|
|
30584
|
-
|
|
30585
|
-
|
|
30586
|
-
|
|
30587
|
-
|
|
30588
|
-
|
|
30589
|
-
|
|
30590
|
-
|
|
30591
|
-
|
|
30592
|
-
|
|
30593
|
-
|
|
30594
|
-
|
|
30595
|
-
|
|
30596
|
-
|
|
30597
|
-
|
|
30598
|
-
|
|
30599
|
-
|
|
30600
|
-
|
|
30601
|
-
|
|
30602
|
-
|
|
30603
|
-
|
|
30604
|
-
|
|
30605
|
-
|
|
30606
|
-
|
|
30607
|
-
|
|
30608
|
-
|
|
30609
|
-
|
|
30610
|
-
|
|
30611
|
-
|
|
30612
|
-
|
|
30613
|
-
|
|
30614
|
-
|
|
30615
|
-
|
|
30616
|
-
|
|
30617
|
-
|
|
30618
|
-
|
|
30619
|
-
|
|
30620
|
-
|
|
30621
|
-
|
|
30622
|
-
|
|
30623
|
-
|
|
30624
|
-
|
|
30625
|
-
|
|
30626
|
-
|
|
30627
|
-
|
|
30628
|
-
|
|
30629
|
-
|
|
30630
|
-
|
|
30631
|
-
|
|
30632
|
-
|
|
30633
|
-
|
|
30634
|
-
|
|
30635
|
-
|
|
30636
|
-
|
|
30637
|
-
|
|
30638
|
-
|
|
30639
|
-
|
|
30640
|
-
|
|
30565
|
+
S("\\bgroup", "{");
|
|
30566
|
+
S("\\egroup", "}");
|
|
30567
|
+
S("~", "\\nobreakspace");
|
|
30568
|
+
S("\\lq", "`");
|
|
30569
|
+
S("\\rq", "'");
|
|
30570
|
+
S("\\aa", "\\r a");
|
|
30571
|
+
S("\\AA", "\\r A");
|
|
30572
|
+
S("\\textcopyright", "\\html@mathml{\\textcircled{c}}{\\char`©}");
|
|
30573
|
+
S("\\copyright", "\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");
|
|
30574
|
+
S("\\textregistered", "\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");
|
|
30575
|
+
S("ℬ", "\\mathscr{B}");
|
|
30576
|
+
S("ℰ", "\\mathscr{E}");
|
|
30577
|
+
S("ℱ", "\\mathscr{F}");
|
|
30578
|
+
S("ℋ", "\\mathscr{H}");
|
|
30579
|
+
S("ℐ", "\\mathscr{I}");
|
|
30580
|
+
S("ℒ", "\\mathscr{L}");
|
|
30581
|
+
S("ℳ", "\\mathscr{M}");
|
|
30582
|
+
S("ℛ", "\\mathscr{R}");
|
|
30583
|
+
S("ℭ", "\\mathfrak{C}");
|
|
30584
|
+
S("ℌ", "\\mathfrak{H}");
|
|
30585
|
+
S("ℨ", "\\mathfrak{Z}");
|
|
30586
|
+
S("\\Bbbk", "\\Bbb{k}");
|
|
30587
|
+
S("·", "\\cdotp");
|
|
30588
|
+
S("\\llap", "\\mathllap{\\textrm{#1}}");
|
|
30589
|
+
S("\\rlap", "\\mathrlap{\\textrm{#1}}");
|
|
30590
|
+
S("\\clap", "\\mathclap{\\textrm{#1}}");
|
|
30591
|
+
S("\\mathstrut", "\\vphantom{(}");
|
|
30592
|
+
S("\\underbar", "\\underline{\\text{#1}}");
|
|
30593
|
+
S("\\not", '\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');
|
|
30594
|
+
S("\\neq", "\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");
|
|
30595
|
+
S("\\ne", "\\neq");
|
|
30596
|
+
S("≠", "\\neq");
|
|
30597
|
+
S("\\notin", "\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");
|
|
30598
|
+
S("∉", "\\notin");
|
|
30599
|
+
S("≘", "\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");
|
|
30600
|
+
S("≙", "\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");
|
|
30601
|
+
S("≚", "\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");
|
|
30602
|
+
S("≛", "\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");
|
|
30603
|
+
S("≝", "\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");
|
|
30604
|
+
S("≞", "\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");
|
|
30605
|
+
S("≟", "\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");
|
|
30606
|
+
S("⟂", "\\perp");
|
|
30607
|
+
S("‼", "\\mathclose{!\\mkern-0.8mu!}");
|
|
30608
|
+
S("∌", "\\notni");
|
|
30609
|
+
S("⌜", "\\ulcorner");
|
|
30610
|
+
S("⌝", "\\urcorner");
|
|
30611
|
+
S("⌞", "\\llcorner");
|
|
30612
|
+
S("⌟", "\\lrcorner");
|
|
30613
|
+
S("©", "\\copyright");
|
|
30614
|
+
S("®", "\\textregistered");
|
|
30615
|
+
S("️", "\\textregistered");
|
|
30616
|
+
S("\\ulcorner", '\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');
|
|
30617
|
+
S("\\urcorner", '\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');
|
|
30618
|
+
S("\\llcorner", '\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');
|
|
30619
|
+
S("\\lrcorner", '\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');
|
|
30620
|
+
S("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
|
|
30621
|
+
S("⋮", "\\vdots");
|
|
30622
|
+
S("\\varGamma", "\\mathit{\\Gamma}");
|
|
30623
|
+
S("\\varDelta", "\\mathit{\\Delta}");
|
|
30624
|
+
S("\\varTheta", "\\mathit{\\Theta}");
|
|
30625
|
+
S("\\varLambda", "\\mathit{\\Lambda}");
|
|
30626
|
+
S("\\varXi", "\\mathit{\\Xi}");
|
|
30627
|
+
S("\\varPi", "\\mathit{\\Pi}");
|
|
30628
|
+
S("\\varSigma", "\\mathit{\\Sigma}");
|
|
30629
|
+
S("\\varUpsilon", "\\mathit{\\Upsilon}");
|
|
30630
|
+
S("\\varPhi", "\\mathit{\\Phi}");
|
|
30631
|
+
S("\\varPsi", "\\mathit{\\Psi}");
|
|
30632
|
+
S("\\varOmega", "\\mathit{\\Omega}");
|
|
30633
|
+
S("\\substack", "\\begin{subarray}{c}#1\\end{subarray}");
|
|
30634
|
+
S("\\colon", "\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");
|
|
30635
|
+
S("\\boxed", "\\fbox{$\\displaystyle{#1}$}");
|
|
30636
|
+
S("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
|
|
30637
|
+
S("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
|
|
30638
|
+
S("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
|
|
30639
|
+
S("\\dddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");
|
|
30640
|
+
S("\\ddddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");
|
|
30641
30641
|
var E1 = {
|
|
30642
30642
|
",": "\\dotsc",
|
|
30643
30643
|
"\\not": "\\dotsb",
|
|
@@ -30693,7 +30693,7 @@ var E1 = {
|
|
|
30693
30693
|
// Symbols whose definition starts with \DOTSX:
|
|
30694
30694
|
"\\DOTSX": "\\dotsx"
|
|
30695
30695
|
}, HT = /* @__PURE__ */ new Set(["bin", "rel"]);
|
|
30696
|
-
|
|
30696
|
+
S("\\dots", function(e) {
|
|
30697
30697
|
var t = "\\dotso", n = e.expandAfterFuture().text;
|
|
30698
30698
|
return n in E1 ? t = E1[n] : (n.slice(0, 4) === "\\not" || n in gt.math && HT.has(gt.math[n].group)) && (t = "\\dotsb"), t;
|
|
30699
30699
|
});
|
|
@@ -30721,202 +30721,202 @@ var xl = {
|
|
|
30721
30721
|
".": !0,
|
|
30722
30722
|
",": !0
|
|
30723
30723
|
};
|
|
30724
|
-
|
|
30724
|
+
S("\\dotso", function(e) {
|
|
30725
30725
|
var t = e.future().text;
|
|
30726
30726
|
return t in xl ? "\\ldots\\," : "\\ldots";
|
|
30727
30727
|
});
|
|
30728
|
-
|
|
30728
|
+
S("\\dotsc", function(e) {
|
|
30729
30729
|
var t = e.future().text;
|
|
30730
30730
|
return t in xl && t !== "," ? "\\ldots\\," : "\\ldots";
|
|
30731
30731
|
});
|
|
30732
|
-
|
|
30732
|
+
S("\\cdots", function(e) {
|
|
30733
30733
|
var t = e.future().text;
|
|
30734
30734
|
return t in xl ? "\\@cdots\\," : "\\@cdots";
|
|
30735
30735
|
});
|
|
30736
|
-
|
|
30737
|
-
|
|
30738
|
-
|
|
30739
|
-
|
|
30740
|
-
|
|
30741
|
-
|
|
30742
|
-
|
|
30743
|
-
|
|
30744
|
-
|
|
30745
|
-
|
|
30746
|
-
|
|
30747
|
-
|
|
30748
|
-
|
|
30749
|
-
|
|
30750
|
-
|
|
30751
|
-
|
|
30752
|
-
|
|
30753
|
-
|
|
30754
|
-
|
|
30755
|
-
|
|
30756
|
-
|
|
30757
|
-
|
|
30758
|
-
|
|
30759
|
-
|
|
30760
|
-
|
|
30761
|
-
|
|
30736
|
+
S("\\dotsb", "\\cdots");
|
|
30737
|
+
S("\\dotsm", "\\cdots");
|
|
30738
|
+
S("\\dotsi", "\\!\\cdots");
|
|
30739
|
+
S("\\dotsx", "\\ldots\\,");
|
|
30740
|
+
S("\\DOTSI", "\\relax");
|
|
30741
|
+
S("\\DOTSB", "\\relax");
|
|
30742
|
+
S("\\DOTSX", "\\relax");
|
|
30743
|
+
S("\\tmspace", "\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");
|
|
30744
|
+
S("\\,", "\\tmspace+{3mu}{.1667em}");
|
|
30745
|
+
S("\\thinspace", "\\,");
|
|
30746
|
+
S("\\>", "\\mskip{4mu}");
|
|
30747
|
+
S("\\:", "\\tmspace+{4mu}{.2222em}");
|
|
30748
|
+
S("\\medspace", "\\:");
|
|
30749
|
+
S("\\;", "\\tmspace+{5mu}{.2777em}");
|
|
30750
|
+
S("\\thickspace", "\\;");
|
|
30751
|
+
S("\\!", "\\tmspace-{3mu}{.1667em}");
|
|
30752
|
+
S("\\negthinspace", "\\!");
|
|
30753
|
+
S("\\negmedspace", "\\tmspace-{4mu}{.2222em}");
|
|
30754
|
+
S("\\negthickspace", "\\tmspace-{5mu}{.277em}");
|
|
30755
|
+
S("\\enspace", "\\kern.5em ");
|
|
30756
|
+
S("\\enskip", "\\hskip.5em\\relax");
|
|
30757
|
+
S("\\quad", "\\hskip1em\\relax");
|
|
30758
|
+
S("\\qquad", "\\hskip2em\\relax");
|
|
30759
|
+
S("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
|
|
30760
|
+
S("\\tag@paren", "\\tag@literal{({#1})}");
|
|
30761
|
+
S("\\tag@literal", (e) => {
|
|
30762
30762
|
if (e.macros.get("\\df@tag"))
|
|
30763
30763
|
throw new le("Multiple \\tag");
|
|
30764
30764
|
return "\\gdef\\df@tag{\\text{#1}}";
|
|
30765
30765
|
});
|
|
30766
|
-
|
|
30767
|
-
|
|
30768
|
-
|
|
30769
|
-
|
|
30770
|
-
|
|
30771
|
-
|
|
30766
|
+
S("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
|
|
30767
|
+
S("\\pod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");
|
|
30768
|
+
S("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
|
|
30769
|
+
S("\\mod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");
|
|
30770
|
+
S("\\newline", "\\\\\\relax");
|
|
30771
|
+
S("\\TeX", "\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");
|
|
30772
30772
|
var Rp = me(Fn["Main-Regular"][84][1] - 0.7 * Fn["Main-Regular"][65][1]);
|
|
30773
|
-
|
|
30774
|
-
|
|
30775
|
-
|
|
30776
|
-
|
|
30777
|
-
|
|
30778
|
-
|
|
30779
|
-
|
|
30780
|
-
|
|
30781
|
-
|
|
30782
|
-
|
|
30783
|
-
|
|
30784
|
-
|
|
30785
|
-
|
|
30786
|
-
|
|
30787
|
-
|
|
30788
|
-
|
|
30789
|
-
|
|
30790
|
-
|
|
30791
|
-
|
|
30792
|
-
|
|
30793
|
-
|
|
30794
|
-
|
|
30795
|
-
|
|
30796
|
-
|
|
30797
|
-
|
|
30798
|
-
|
|
30799
|
-
|
|
30800
|
-
|
|
30801
|
-
|
|
30802
|
-
|
|
30803
|
-
|
|
30804
|
-
|
|
30805
|
-
|
|
30806
|
-
|
|
30807
|
-
|
|
30808
|
-
|
|
30809
|
-
|
|
30810
|
-
|
|
30811
|
-
|
|
30812
|
-
|
|
30813
|
-
|
|
30814
|
-
|
|
30815
|
-
|
|
30816
|
-
|
|
30817
|
-
|
|
30818
|
-
|
|
30819
|
-
|
|
30820
|
-
|
|
30821
|
-
|
|
30822
|
-
|
|
30823
|
-
|
|
30824
|
-
|
|
30825
|
-
|
|
30826
|
-
|
|
30827
|
-
|
|
30828
|
-
|
|
30829
|
-
|
|
30830
|
-
|
|
30831
|
-
|
|
30832
|
-
|
|
30833
|
-
|
|
30834
|
-
|
|
30835
|
-
|
|
30836
|
-
|
|
30837
|
-
|
|
30838
|
-
|
|
30839
|
-
|
|
30840
|
-
|
|
30841
|
-
|
|
30842
|
-
|
|
30843
|
-
|
|
30844
|
-
|
|
30845
|
-
|
|
30846
|
-
|
|
30847
|
-
|
|
30848
|
-
|
|
30849
|
-
|
|
30850
|
-
|
|
30851
|
-
|
|
30852
|
-
|
|
30853
|
-
|
|
30854
|
-
|
|
30855
|
-
|
|
30856
|
-
|
|
30857
|
-
|
|
30858
|
-
|
|
30859
|
-
|
|
30860
|
-
|
|
30861
|
-
|
|
30862
|
-
|
|
30863
|
-
|
|
30864
|
-
|
|
30865
|
-
|
|
30866
|
-
|
|
30867
|
-
|
|
30868
|
-
|
|
30869
|
-
|
|
30870
|
-
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30874
|
-
|
|
30875
|
-
|
|
30876
|
-
|
|
30877
|
-
|
|
30878
|
-
|
|
30879
|
-
|
|
30880
|
-
|
|
30881
|
-
|
|
30882
|
-
|
|
30883
|
-
|
|
30884
|
-
|
|
30885
|
-
|
|
30886
|
-
|
|
30887
|
-
|
|
30888
|
-
|
|
30889
|
-
|
|
30890
|
-
|
|
30891
|
-
|
|
30892
|
-
|
|
30893
|
-
|
|
30894
|
-
|
|
30895
|
-
|
|
30896
|
-
|
|
30897
|
-
|
|
30898
|
-
|
|
30899
|
-
|
|
30900
|
-
|
|
30901
|
-
|
|
30902
|
-
|
|
30903
|
-
|
|
30904
|
-
|
|
30905
|
-
|
|
30906
|
-
|
|
30907
|
-
|
|
30908
|
-
|
|
30909
|
-
|
|
30910
|
-
|
|
30911
|
-
|
|
30912
|
-
|
|
30913
|
-
|
|
30914
|
-
|
|
30915
|
-
|
|
30916
|
-
|
|
30917
|
-
|
|
30918
|
-
|
|
30919
|
-
|
|
30773
|
+
S("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + Rp + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}");
|
|
30774
|
+
S("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + Rp + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}");
|
|
30775
|
+
S("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
|
|
30776
|
+
S("\\@hspace", "\\hskip #1\\relax");
|
|
30777
|
+
S("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax");
|
|
30778
|
+
S("\\ordinarycolon", ":");
|
|
30779
|
+
S("\\vcentcolon", "\\mathrel{\\mathop\\ordinarycolon}");
|
|
30780
|
+
S("\\dblcolon", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');
|
|
30781
|
+
S("\\coloneqq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');
|
|
30782
|
+
S("\\Coloneqq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');
|
|
30783
|
+
S("\\coloneq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');
|
|
30784
|
+
S("\\Coloneq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');
|
|
30785
|
+
S("\\eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');
|
|
30786
|
+
S("\\Eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');
|
|
30787
|
+
S("\\eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');
|
|
30788
|
+
S("\\Eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');
|
|
30789
|
+
S("\\colonapprox", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');
|
|
30790
|
+
S("\\Colonapprox", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');
|
|
30791
|
+
S("\\colonsim", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');
|
|
30792
|
+
S("\\Colonsim", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');
|
|
30793
|
+
S("∷", "\\dblcolon");
|
|
30794
|
+
S("∹", "\\eqcolon");
|
|
30795
|
+
S("≔", "\\coloneqq");
|
|
30796
|
+
S("≕", "\\eqqcolon");
|
|
30797
|
+
S("⩴", "\\Coloneqq");
|
|
30798
|
+
S("\\ratio", "\\vcentcolon");
|
|
30799
|
+
S("\\coloncolon", "\\dblcolon");
|
|
30800
|
+
S("\\colonequals", "\\coloneqq");
|
|
30801
|
+
S("\\coloncolonequals", "\\Coloneqq");
|
|
30802
|
+
S("\\equalscolon", "\\eqqcolon");
|
|
30803
|
+
S("\\equalscoloncolon", "\\Eqqcolon");
|
|
30804
|
+
S("\\colonminus", "\\coloneq");
|
|
30805
|
+
S("\\coloncolonminus", "\\Coloneq");
|
|
30806
|
+
S("\\minuscolon", "\\eqcolon");
|
|
30807
|
+
S("\\minuscoloncolon", "\\Eqcolon");
|
|
30808
|
+
S("\\coloncolonapprox", "\\Colonapprox");
|
|
30809
|
+
S("\\coloncolonsim", "\\Colonsim");
|
|
30810
|
+
S("\\simcolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
|
|
30811
|
+
S("\\simcoloncolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");
|
|
30812
|
+
S("\\approxcolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
|
|
30813
|
+
S("\\approxcoloncolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");
|
|
30814
|
+
S("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");
|
|
30815
|
+
S("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
|
|
30816
|
+
S("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
|
|
30817
|
+
S("\\injlim", "\\DOTSB\\operatorname*{inj\\,lim}");
|
|
30818
|
+
S("\\projlim", "\\DOTSB\\operatorname*{proj\\,lim}");
|
|
30819
|
+
S("\\varlimsup", "\\DOTSB\\operatorname*{\\overline{lim}}");
|
|
30820
|
+
S("\\varliminf", "\\DOTSB\\operatorname*{\\underline{lim}}");
|
|
30821
|
+
S("\\varinjlim", "\\DOTSB\\operatorname*{\\underrightarrow{lim}}");
|
|
30822
|
+
S("\\varprojlim", "\\DOTSB\\operatorname*{\\underleftarrow{lim}}");
|
|
30823
|
+
S("\\gvertneqq", "\\html@mathml{\\@gvertneqq}{≩}");
|
|
30824
|
+
S("\\lvertneqq", "\\html@mathml{\\@lvertneqq}{≨}");
|
|
30825
|
+
S("\\ngeqq", "\\html@mathml{\\@ngeqq}{≱}");
|
|
30826
|
+
S("\\ngeqslant", "\\html@mathml{\\@ngeqslant}{≱}");
|
|
30827
|
+
S("\\nleqq", "\\html@mathml{\\@nleqq}{≰}");
|
|
30828
|
+
S("\\nleqslant", "\\html@mathml{\\@nleqslant}{≰}");
|
|
30829
|
+
S("\\nshortmid", "\\html@mathml{\\@nshortmid}{∤}");
|
|
30830
|
+
S("\\nshortparallel", "\\html@mathml{\\@nshortparallel}{∦}");
|
|
30831
|
+
S("\\nsubseteqq", "\\html@mathml{\\@nsubseteqq}{⊈}");
|
|
30832
|
+
S("\\nsupseteqq", "\\html@mathml{\\@nsupseteqq}{⊉}");
|
|
30833
|
+
S("\\varsubsetneq", "\\html@mathml{\\@varsubsetneq}{⊊}");
|
|
30834
|
+
S("\\varsubsetneqq", "\\html@mathml{\\@varsubsetneqq}{⫋}");
|
|
30835
|
+
S("\\varsupsetneq", "\\html@mathml{\\@varsupsetneq}{⊋}");
|
|
30836
|
+
S("\\varsupsetneqq", "\\html@mathml{\\@varsupsetneqq}{⫌}");
|
|
30837
|
+
S("\\imath", "\\html@mathml{\\@imath}{ı}");
|
|
30838
|
+
S("\\jmath", "\\html@mathml{\\@jmath}{ȷ}");
|
|
30839
|
+
S("\\llbracket", "\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");
|
|
30840
|
+
S("\\rrbracket", "\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");
|
|
30841
|
+
S("⟦", "\\llbracket");
|
|
30842
|
+
S("⟧", "\\rrbracket");
|
|
30843
|
+
S("\\lBrace", "\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");
|
|
30844
|
+
S("\\rBrace", "\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");
|
|
30845
|
+
S("⦃", "\\lBrace");
|
|
30846
|
+
S("⦄", "\\rBrace");
|
|
30847
|
+
S("\\minuso", "\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");
|
|
30848
|
+
S("⦵", "\\minuso");
|
|
30849
|
+
S("\\darr", "\\downarrow");
|
|
30850
|
+
S("\\dArr", "\\Downarrow");
|
|
30851
|
+
S("\\Darr", "\\Downarrow");
|
|
30852
|
+
S("\\lang", "\\langle");
|
|
30853
|
+
S("\\rang", "\\rangle");
|
|
30854
|
+
S("\\uarr", "\\uparrow");
|
|
30855
|
+
S("\\uArr", "\\Uparrow");
|
|
30856
|
+
S("\\Uarr", "\\Uparrow");
|
|
30857
|
+
S("\\N", "\\mathbb{N}");
|
|
30858
|
+
S("\\R", "\\mathbb{R}");
|
|
30859
|
+
S("\\Z", "\\mathbb{Z}");
|
|
30860
|
+
S("\\alef", "\\aleph");
|
|
30861
|
+
S("\\alefsym", "\\aleph");
|
|
30862
|
+
S("\\Alpha", "\\mathrm{A}");
|
|
30863
|
+
S("\\Beta", "\\mathrm{B}");
|
|
30864
|
+
S("\\bull", "\\bullet");
|
|
30865
|
+
S("\\Chi", "\\mathrm{X}");
|
|
30866
|
+
S("\\clubs", "\\clubsuit");
|
|
30867
|
+
S("\\cnums", "\\mathbb{C}");
|
|
30868
|
+
S("\\Complex", "\\mathbb{C}");
|
|
30869
|
+
S("\\Dagger", "\\ddagger");
|
|
30870
|
+
S("\\diamonds", "\\diamondsuit");
|
|
30871
|
+
S("\\empty", "\\emptyset");
|
|
30872
|
+
S("\\Epsilon", "\\mathrm{E}");
|
|
30873
|
+
S("\\Eta", "\\mathrm{H}");
|
|
30874
|
+
S("\\exist", "\\exists");
|
|
30875
|
+
S("\\harr", "\\leftrightarrow");
|
|
30876
|
+
S("\\hArr", "\\Leftrightarrow");
|
|
30877
|
+
S("\\Harr", "\\Leftrightarrow");
|
|
30878
|
+
S("\\hearts", "\\heartsuit");
|
|
30879
|
+
S("\\image", "\\Im");
|
|
30880
|
+
S("\\infin", "\\infty");
|
|
30881
|
+
S("\\Iota", "\\mathrm{I}");
|
|
30882
|
+
S("\\isin", "\\in");
|
|
30883
|
+
S("\\Kappa", "\\mathrm{K}");
|
|
30884
|
+
S("\\larr", "\\leftarrow");
|
|
30885
|
+
S("\\lArr", "\\Leftarrow");
|
|
30886
|
+
S("\\Larr", "\\Leftarrow");
|
|
30887
|
+
S("\\lrarr", "\\leftrightarrow");
|
|
30888
|
+
S("\\lrArr", "\\Leftrightarrow");
|
|
30889
|
+
S("\\Lrarr", "\\Leftrightarrow");
|
|
30890
|
+
S("\\Mu", "\\mathrm{M}");
|
|
30891
|
+
S("\\natnums", "\\mathbb{N}");
|
|
30892
|
+
S("\\Nu", "\\mathrm{N}");
|
|
30893
|
+
S("\\Omicron", "\\mathrm{O}");
|
|
30894
|
+
S("\\plusmn", "\\pm");
|
|
30895
|
+
S("\\rarr", "\\rightarrow");
|
|
30896
|
+
S("\\rArr", "\\Rightarrow");
|
|
30897
|
+
S("\\Rarr", "\\Rightarrow");
|
|
30898
|
+
S("\\real", "\\Re");
|
|
30899
|
+
S("\\reals", "\\mathbb{R}");
|
|
30900
|
+
S("\\Reals", "\\mathbb{R}");
|
|
30901
|
+
S("\\Rho", "\\mathrm{P}");
|
|
30902
|
+
S("\\sdot", "\\cdot");
|
|
30903
|
+
S("\\sect", "\\S");
|
|
30904
|
+
S("\\spades", "\\spadesuit");
|
|
30905
|
+
S("\\sub", "\\subset");
|
|
30906
|
+
S("\\sube", "\\subseteq");
|
|
30907
|
+
S("\\supe", "\\supseteq");
|
|
30908
|
+
S("\\Tau", "\\mathrm{T}");
|
|
30909
|
+
S("\\thetasym", "\\vartheta");
|
|
30910
|
+
S("\\weierp", "\\wp");
|
|
30911
|
+
S("\\Zeta", "\\mathrm{Z}");
|
|
30912
|
+
S("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
|
|
30913
|
+
S("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
|
|
30914
|
+
S("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
|
|
30915
|
+
S("\\bra", "\\mathinner{\\langle{#1}|}");
|
|
30916
|
+
S("\\ket", "\\mathinner{|{#1}\\rangle}");
|
|
30917
|
+
S("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
|
|
30918
|
+
S("\\Bra", "\\left\\langle#1\\right|");
|
|
30919
|
+
S("\\Ket", "\\left|#1\\right\\rangle");
|
|
30920
30920
|
var Lp = (e) => (t) => {
|
|
30921
30921
|
var n = t.consumeArg().tokens, r = t.consumeArg().tokens, a = t.consumeArg().tokens, i = t.consumeArg().tokens, s = t.macros.get("|"), u = t.macros.get("\\|");
|
|
30922
30922
|
t.macros.beginGroup();
|
|
@@ -30944,68 +30944,68 @@ var Lp = (e) => (t) => {
|
|
|
30944
30944
|
numArgs: 0
|
|
30945
30945
|
};
|
|
30946
30946
|
};
|
|
30947
|
-
|
|
30948
|
-
|
|
30949
|
-
|
|
30950
|
-
|
|
30951
|
-
|
|
30952
|
-
|
|
30953
|
-
|
|
30954
|
-
|
|
30955
|
-
|
|
30956
|
-
|
|
30957
|
-
|
|
30958
|
-
|
|
30959
|
-
|
|
30960
|
-
|
|
30961
|
-
|
|
30962
|
-
|
|
30963
|
-
|
|
30964
|
-
|
|
30965
|
-
|
|
30966
|
-
|
|
30967
|
-
|
|
30968
|
-
|
|
30969
|
-
|
|
30970
|
-
|
|
30971
|
-
|
|
30972
|
-
|
|
30973
|
-
|
|
30974
|
-
|
|
30975
|
-
|
|
30976
|
-
|
|
30977
|
-
|
|
30978
|
-
|
|
30979
|
-
|
|
30980
|
-
|
|
30981
|
-
|
|
30982
|
-
|
|
30983
|
-
|
|
30984
|
-
|
|
30985
|
-
|
|
30986
|
-
|
|
30987
|
-
|
|
30988
|
-
|
|
30989
|
-
|
|
30990
|
-
|
|
30991
|
-
|
|
30992
|
-
|
|
30993
|
-
|
|
30994
|
-
|
|
30995
|
-
|
|
30996
|
-
|
|
30997
|
-
|
|
30998
|
-
|
|
30999
|
-
|
|
31000
|
-
|
|
31001
|
-
|
|
31002
|
-
|
|
31003
|
-
|
|
31004
|
-
|
|
31005
|
-
|
|
31006
|
-
|
|
31007
|
-
|
|
31008
|
-
|
|
30947
|
+
S("\\bra@ket", Lp(!1));
|
|
30948
|
+
S("\\bra@set", Lp(!0));
|
|
30949
|
+
S("\\Braket", "\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");
|
|
30950
|
+
S("\\Set", "\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");
|
|
30951
|
+
S("\\set", "\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");
|
|
30952
|
+
S("\\angln", "{\\angl n}");
|
|
30953
|
+
S("\\blue", "\\textcolor{##6495ed}{#1}");
|
|
30954
|
+
S("\\orange", "\\textcolor{##ffa500}{#1}");
|
|
30955
|
+
S("\\pink", "\\textcolor{##ff00af}{#1}");
|
|
30956
|
+
S("\\red", "\\textcolor{##df0030}{#1}");
|
|
30957
|
+
S("\\green", "\\textcolor{##28ae7b}{#1}");
|
|
30958
|
+
S("\\gray", "\\textcolor{gray}{#1}");
|
|
30959
|
+
S("\\purple", "\\textcolor{##9d38bd}{#1}");
|
|
30960
|
+
S("\\blueA", "\\textcolor{##ccfaff}{#1}");
|
|
30961
|
+
S("\\blueB", "\\textcolor{##80f6ff}{#1}");
|
|
30962
|
+
S("\\blueC", "\\textcolor{##63d9ea}{#1}");
|
|
30963
|
+
S("\\blueD", "\\textcolor{##11accd}{#1}");
|
|
30964
|
+
S("\\blueE", "\\textcolor{##0c7f99}{#1}");
|
|
30965
|
+
S("\\tealA", "\\textcolor{##94fff5}{#1}");
|
|
30966
|
+
S("\\tealB", "\\textcolor{##26edd5}{#1}");
|
|
30967
|
+
S("\\tealC", "\\textcolor{##01d1c1}{#1}");
|
|
30968
|
+
S("\\tealD", "\\textcolor{##01a995}{#1}");
|
|
30969
|
+
S("\\tealE", "\\textcolor{##208170}{#1}");
|
|
30970
|
+
S("\\greenA", "\\textcolor{##b6ffb0}{#1}");
|
|
30971
|
+
S("\\greenB", "\\textcolor{##8af281}{#1}");
|
|
30972
|
+
S("\\greenC", "\\textcolor{##74cf70}{#1}");
|
|
30973
|
+
S("\\greenD", "\\textcolor{##1fab54}{#1}");
|
|
30974
|
+
S("\\greenE", "\\textcolor{##0d923f}{#1}");
|
|
30975
|
+
S("\\goldA", "\\textcolor{##ffd0a9}{#1}");
|
|
30976
|
+
S("\\goldB", "\\textcolor{##ffbb71}{#1}");
|
|
30977
|
+
S("\\goldC", "\\textcolor{##ff9c39}{#1}");
|
|
30978
|
+
S("\\goldD", "\\textcolor{##e07d10}{#1}");
|
|
30979
|
+
S("\\goldE", "\\textcolor{##a75a05}{#1}");
|
|
30980
|
+
S("\\redA", "\\textcolor{##fca9a9}{#1}");
|
|
30981
|
+
S("\\redB", "\\textcolor{##ff8482}{#1}");
|
|
30982
|
+
S("\\redC", "\\textcolor{##f9685d}{#1}");
|
|
30983
|
+
S("\\redD", "\\textcolor{##e84d39}{#1}");
|
|
30984
|
+
S("\\redE", "\\textcolor{##bc2612}{#1}");
|
|
30985
|
+
S("\\maroonA", "\\textcolor{##ffbde0}{#1}");
|
|
30986
|
+
S("\\maroonB", "\\textcolor{##ff92c6}{#1}");
|
|
30987
|
+
S("\\maroonC", "\\textcolor{##ed5fa6}{#1}");
|
|
30988
|
+
S("\\maroonD", "\\textcolor{##ca337c}{#1}");
|
|
30989
|
+
S("\\maroonE", "\\textcolor{##9e034e}{#1}");
|
|
30990
|
+
S("\\purpleA", "\\textcolor{##ddd7ff}{#1}");
|
|
30991
|
+
S("\\purpleB", "\\textcolor{##c6b9fc}{#1}");
|
|
30992
|
+
S("\\purpleC", "\\textcolor{##aa87ff}{#1}");
|
|
30993
|
+
S("\\purpleD", "\\textcolor{##7854ab}{#1}");
|
|
30994
|
+
S("\\purpleE", "\\textcolor{##543b78}{#1}");
|
|
30995
|
+
S("\\mintA", "\\textcolor{##f5f9e8}{#1}");
|
|
30996
|
+
S("\\mintB", "\\textcolor{##edf2df}{#1}");
|
|
30997
|
+
S("\\mintC", "\\textcolor{##e0e5cc}{#1}");
|
|
30998
|
+
S("\\grayA", "\\textcolor{##f6f7f7}{#1}");
|
|
30999
|
+
S("\\grayB", "\\textcolor{##f0f1f2}{#1}");
|
|
31000
|
+
S("\\grayC", "\\textcolor{##e3e5e6}{#1}");
|
|
31001
|
+
S("\\grayD", "\\textcolor{##d6d8da}{#1}");
|
|
31002
|
+
S("\\grayE", "\\textcolor{##babec2}{#1}");
|
|
31003
|
+
S("\\grayF", "\\textcolor{##888d93}{#1}");
|
|
31004
|
+
S("\\grayG", "\\textcolor{##626569}{#1}");
|
|
31005
|
+
S("\\grayH", "\\textcolor{##3b3e40}{#1}");
|
|
31006
|
+
S("\\grayI", "\\textcolor{##21242c}{#1}");
|
|
31007
|
+
S("\\kaBlue", "\\textcolor{##314453}{#1}");
|
|
31008
|
+
S("\\kaGreen", "\\textcolor{##71B307}{#1}");
|
|
31009
31009
|
var Mp = {
|
|
31010
31010
|
"^": !0,
|
|
31011
31011
|
// Parser.js
|
|
@@ -32504,7 +32504,7 @@ var zT = function(t, n) {
|
|
|
32504
32504
|
/**
|
|
32505
32505
|
* adds a new macro to builtin macro list
|
|
32506
32506
|
*/
|
|
32507
|
-
__defineMacro:
|
|
32507
|
+
__defineMacro: S,
|
|
32508
32508
|
/**
|
|
32509
32509
|
* Expose the dom tree node types, which can be useful for type checking nodes.
|
|
32510
32510
|
*
|
|
@@ -32627,7 +32627,7 @@ function ZT(e, t, n, r) {
|
|
|
32627
32627
|
}
|
|
32628
32628
|
return m;
|
|
32629
32629
|
function m() {
|
|
32630
|
-
let p = Hp, y, b,
|
|
32630
|
+
let p = Hp, y, b, T;
|
|
32631
32631
|
if (i(o, l, c[c.length - 1] || void 0) && (p = JT(n(o, c)), p[0] === w1))
|
|
32632
32632
|
return p;
|
|
32633
32633
|
if ("children" in o && o.children) {
|
|
@@ -32636,9 +32636,9 @@ function ZT(e, t, n, r) {
|
|
|
32636
32636
|
o
|
|
32637
32637
|
);
|
|
32638
32638
|
if (v.children && p[0] !== Up)
|
|
32639
|
-
for (b = -1 + s,
|
|
32639
|
+
for (b = -1 + s, T = c.concat(v); b > -1 && b < v.children.length; ) {
|
|
32640
32640
|
const k = v.children[b];
|
|
32641
|
-
if (y = u(k, b,
|
|
32641
|
+
if (y = u(k, b, T)(), y[0] === w1)
|
|
32642
32642
|
return y;
|
|
32643
32643
|
b = typeof y[1] == "number" ? y[1] : b + s;
|
|
32644
32644
|
}
|
|
@@ -32669,10 +32669,10 @@ function nE(e) {
|
|
|
32669
32669
|
displayMode: c,
|
|
32670
32670
|
throwOnError: !0
|
|
32671
32671
|
});
|
|
32672
|
-
} catch (
|
|
32672
|
+
} catch (T) {
|
|
32673
32673
|
const v = (
|
|
32674
32674
|
/** @type {Error} */
|
|
32675
|
-
|
|
32675
|
+
T
|
|
32676
32676
|
), k = v.name.toLowerCase();
|
|
32677
32677
|
r.message("Could not render math with KaTeX", {
|
|
32678
32678
|
ancestors: [...i, a],
|
|
@@ -32696,7 +32696,7 @@ function nE(e) {
|
|
|
32696
32696
|
properties: {
|
|
32697
32697
|
className: ["katex-error"],
|
|
32698
32698
|
style: "color:" + (t.errorColor || "#cc0000"),
|
|
32699
|
-
title: String(
|
|
32699
|
+
title: String(T)
|
|
32700
32700
|
},
|
|
32701
32701
|
children: [{ type: "text", value: p }]
|
|
32702
32702
|
}
|
|
@@ -32742,7 +32742,7 @@ function aE(e, t, n) {
|
|
|
32742
32742
|
return e.exit("mathFlowFence"), r.interrupt ? t(k) : e.attempt(
|
|
32743
32743
|
A1,
|
|
32744
32744
|
m,
|
|
32745
|
-
|
|
32745
|
+
T
|
|
32746
32746
|
)(k);
|
|
32747
32747
|
}
|
|
32748
32748
|
function m(k) {
|
|
@@ -32751,7 +32751,7 @@ function aE(e, t, n) {
|
|
|
32751
32751
|
tokenize: v,
|
|
32752
32752
|
partial: !0
|
|
32753
32753
|
},
|
|
32754
|
-
|
|
32754
|
+
T,
|
|
32755
32755
|
p
|
|
32756
32756
|
)(k);
|
|
32757
32757
|
}
|
|
@@ -32764,27 +32764,27 @@ function aE(e, t, n) {
|
|
|
32764
32764
|
) : y)(k);
|
|
32765
32765
|
}
|
|
32766
32766
|
function y(k) {
|
|
32767
|
-
return k === null ?
|
|
32767
|
+
return k === null ? T(k) : Ir(k) ? e.attempt(
|
|
32768
32768
|
A1,
|
|
32769
32769
|
m,
|
|
32770
|
-
|
|
32770
|
+
T
|
|
32771
32771
|
)(k) : (e.enter("mathFlowValue"), b(k));
|
|
32772
32772
|
}
|
|
32773
32773
|
function b(k) {
|
|
32774
32774
|
return k === null || Ir(k) ? (e.exit("mathFlowValue"), y(k)) : (e.consume(k), b);
|
|
32775
32775
|
}
|
|
32776
|
-
function
|
|
32776
|
+
function T(k) {
|
|
32777
32777
|
return e.exit("mathFlow"), t(k);
|
|
32778
32778
|
}
|
|
32779
32779
|
function v(k, B, Y) {
|
|
32780
32780
|
let U = 0;
|
|
32781
32781
|
return st(
|
|
32782
32782
|
k,
|
|
32783
|
-
|
|
32783
|
+
C,
|
|
32784
32784
|
"linePrefix",
|
|
32785
32785
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
32786
32786
|
);
|
|
32787
|
-
function
|
|
32787
|
+
function C(j) {
|
|
32788
32788
|
return k.enter("mathFlowFence"), k.enter("mathFlowFenceSequence"), P(j);
|
|
32789
32789
|
}
|
|
32790
32790
|
function P(j) {
|
|
@@ -33092,7 +33092,7 @@ function vE() {
|
|
|
33092
33092
|
(function(n, r) {
|
|
33093
33093
|
e.exports = r();
|
|
33094
33094
|
})(yE, (function() {
|
|
33095
|
-
var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", s = "second", u = "minute", o = "hour", l = "day", c = "week", h = "month", m = "quarter", p = "year", y = "date", b = "Invalid Date",
|
|
33095
|
+
var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", s = "second", u = "minute", o = "hour", l = "day", c = "week", h = "month", m = "quarter", p = "year", y = "date", b = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
|
|
33096
33096
|
var H = ["th", "st", "nd", "rd"], G = D % 100;
|
|
33097
33097
|
return "[" + D + (H[(G - 20) % 10] || H[G] || H[0]) + "]";
|
|
33098
33098
|
} }, B = function(D, H, G) {
|
|
@@ -33111,8 +33111,8 @@ function vE() {
|
|
|
33111
33111
|
return { M: h, y: p, w: c, d: l, D: y, h: o, m: u, s, ms: i, Q: m }[D] || String(D || "").toLowerCase().replace(/s$/, "");
|
|
33112
33112
|
}, u: function(D) {
|
|
33113
33113
|
return D === void 0;
|
|
33114
|
-
} }, U = "en",
|
|
33115
|
-
|
|
33114
|
+
} }, U = "en", C = {};
|
|
33115
|
+
C[U] = k;
|
|
33116
33116
|
var P = "$isDayjsObject", Q = function(D) {
|
|
33117
33117
|
return D instanceof V || !(!D || !D[P]);
|
|
33118
33118
|
}, j = function D(H, G, te) {
|
|
@@ -33120,12 +33120,12 @@ function vE() {
|
|
|
33120
33120
|
if (!H) return U;
|
|
33121
33121
|
if (typeof H == "string") {
|
|
33122
33122
|
var Z = H.toLowerCase();
|
|
33123
|
-
|
|
33123
|
+
C[Z] && (W = Z), G && (C[Z] = G, W = Z);
|
|
33124
33124
|
var A = H.split("-");
|
|
33125
33125
|
if (!W && A.length > 1) return D(A[0]);
|
|
33126
33126
|
} else {
|
|
33127
33127
|
var ue = H.name;
|
|
33128
|
-
|
|
33128
|
+
C[ue] = H, W = ue;
|
|
33129
33129
|
}
|
|
33130
33130
|
return !te && W && (U = W), W || !te && U;
|
|
33131
33131
|
}, ne = function(D, H) {
|
|
@@ -33148,7 +33148,7 @@ function vE() {
|
|
|
33148
33148
|
if (q.u(W)) return /* @__PURE__ */ new Date();
|
|
33149
33149
|
if (W instanceof Date) return new Date(W);
|
|
33150
33150
|
if (typeof W == "string" && !/Z$/i.test(W)) {
|
|
33151
|
-
var A = W.match(
|
|
33151
|
+
var A = W.match(T);
|
|
33152
33152
|
if (A) {
|
|
33153
33153
|
var ue = A[2] - 1 || 0, ye = (A[7] || "0").substring(0, 3);
|
|
33154
33154
|
return Z ? new Date(Date.UTC(A[1], ue, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, ye)) : new Date(A[1], ue, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, ye);
|
|
@@ -33335,7 +33335,7 @@ function vE() {
|
|
|
33335
33335
|
}, H.daysInMonth = function() {
|
|
33336
33336
|
return this.endOf(h).$D;
|
|
33337
33337
|
}, H.$locale = function() {
|
|
33338
|
-
return
|
|
33338
|
+
return C[this.$L];
|
|
33339
33339
|
}, H.locale = function(G, te) {
|
|
33340
33340
|
if (!G) return this.$L;
|
|
33341
33341
|
var W = this.clone(), Z = j(G, te, !0);
|
|
@@ -33360,7 +33360,7 @@ function vE() {
|
|
|
33360
33360
|
return D.$i || (D(H, V, ne), D.$i = !0), ne;
|
|
33361
33361
|
}, ne.locale = j, ne.isDayjs = Q, ne.unix = function(D) {
|
|
33362
33362
|
return ne(1e3 * D);
|
|
33363
|
-
}, ne.en =
|
|
33363
|
+
}, ne.en = C[U], ne.Ls = C, ne.p = {}, ne;
|
|
33364
33364
|
}));
|
|
33365
33365
|
})(Fi)), Fi.exports;
|
|
33366
33366
|
}
|
|
@@ -33409,26 +33409,26 @@ function wl({
|
|
|
33409
33409
|
userTrackingName: u = "clicked"
|
|
33410
33410
|
}) {
|
|
33411
33411
|
const [o, l] = xe(!0), { primaryColor: c, id: h, conversationScreen: m } = ke(St), p = pn(
|
|
33412
|
-
(
|
|
33413
|
-
|
|
33412
|
+
(T) => {
|
|
33413
|
+
T?.data?.who === "customer" && (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && Qt.set(`${h}-live-chat-open`, 1, {
|
|
33414
33414
|
expires: 1,
|
|
33415
33415
|
path: "/"
|
|
33416
|
-
}),
|
|
33416
|
+
}), T?.data?.type === "connection" && T?.data?.state === "disconnected" && Qt.remove(`${h}-live-chat-open`);
|
|
33417
33417
|
},
|
|
33418
33418
|
[h]
|
|
33419
33419
|
), y = pn(
|
|
33420
|
-
(
|
|
33421
|
-
|
|
33420
|
+
(T) => {
|
|
33421
|
+
T?.data?.type === "unhide" && T?.data?.reason === "pop-out" && a(!0), T?.data?.type === "open" && T?.data?.chatState === !0 && a(!0);
|
|
33422
33422
|
},
|
|
33423
33423
|
[a]
|
|
33424
33424
|
);
|
|
33425
33425
|
je(() => {
|
|
33426
|
-
let
|
|
33426
|
+
let T, v;
|
|
33427
33427
|
return m?.liveChat?.useOwnChat && (v = setTimeout(() => {
|
|
33428
33428
|
l(!1);
|
|
33429
|
-
}, 3e3)), m?.liveChat?.enabled && !m?.liveChat?.useOwnChat && (window.Five9ChatPlugin || (
|
|
33429
|
+
}, 3e3)), m?.liveChat?.enabled && !m?.liveChat?.useOwnChat && (window.Five9ChatPlugin || (T = document.createElement("script"), T.type = "text/javascript", T.src = m?.liveChat?.sourceCode, T.async = !0, T.onload = () => {
|
|
33430
33430
|
window.Five9ChatPlugin(m?.liveChat?.options);
|
|
33431
|
-
}, document.body.appendChild(
|
|
33431
|
+
}, document.body.appendChild(T)), window.addEventListener("message", p), window.addEventListener("message", y), v = setTimeout(() => {
|
|
33432
33432
|
l(!1);
|
|
33433
33433
|
}, 3e3)), () => {
|
|
33434
33434
|
m?.liveChat?.enabled && (window.removeEventListener("message", p), window.removeEventListener("message", y), clearTimeout(v));
|
|
@@ -33732,101 +33732,112 @@ function es({
|
|
|
33732
33732
|
conversationHistoryId: t = null,
|
|
33733
33733
|
disabled: n = !1,
|
|
33734
33734
|
getCopyText: r,
|
|
33735
|
-
|
|
33736
|
-
|
|
33737
|
-
|
|
33735
|
+
isVisible: a = !0,
|
|
33736
|
+
isTestUser: i = !1,
|
|
33737
|
+
submitEvent: s = null,
|
|
33738
|
+
clientId: u = null
|
|
33738
33739
|
}) {
|
|
33739
|
-
const [
|
|
33740
|
+
const [o, l] = xe(!1), [c, h] = xe(!1), m = rt(null), [p] = xe(
|
|
33740
33741
|
() => Math.random().toString(36).slice(2, 10)
|
|
33741
|
-
),
|
|
33742
|
+
), y = `${LE}-${t ?? "no-conversation-id"}-${p}`, b = !n && a, T = b && c, v = $p(e), k = o ? "Copied!" : v.tooltip, B = e === "message" ? "Message Copied!" : "Response Copied!", Y = ME({ disabled: n, isCopied: o, copyKind: e });
|
|
33742
33743
|
je(
|
|
33743
33744
|
() => () => {
|
|
33744
|
-
|
|
33745
|
+
m.current && window.clearTimeout(m.current);
|
|
33745
33746
|
},
|
|
33746
33747
|
[]
|
|
33747
33748
|
);
|
|
33748
|
-
const
|
|
33749
|
-
|
|
33750
|
-
|
|
33749
|
+
const U = () => {
|
|
33750
|
+
m.current && window.clearTimeout(m.current), m.current = window.setTimeout(() => {
|
|
33751
|
+
l(!1), h(!1);
|
|
33751
33752
|
}, RE);
|
|
33752
|
-
},
|
|
33753
|
-
if (n) return;
|
|
33754
|
-
const
|
|
33755
|
-
if (!
|
|
33756
|
-
const
|
|
33757
|
-
await PE(
|
|
33753
|
+
}, C = async () => {
|
|
33754
|
+
if (n || !a) return;
|
|
33755
|
+
const P = r?.()?.trim();
|
|
33756
|
+
if (!P) return;
|
|
33757
|
+
const Q = t ?? (u ? mn(u) : null);
|
|
33758
|
+
await PE(P) && (s?.({
|
|
33758
33759
|
name: "xpert.chatbot.popup.chat.message.copied",
|
|
33759
33760
|
payload: {
|
|
33760
|
-
[e === "message" ? "message" : "apiResponseMessage"]:
|
|
33761
|
+
[e === "message" ? "message" : "apiResponseMessage"]: P,
|
|
33761
33762
|
category: "2u",
|
|
33762
33763
|
label: "xpert-chatbot",
|
|
33763
|
-
isTestUser:
|
|
33764
|
-
clientId:
|
|
33765
|
-
conversationHistoryId:
|
|
33764
|
+
isTestUser: i,
|
|
33765
|
+
clientId: u,
|
|
33766
|
+
conversationHistoryId: Q
|
|
33766
33767
|
}
|
|
33767
|
-
}),
|
|
33768
|
+
}), l(!0), h(!0), U());
|
|
33768
33769
|
};
|
|
33769
|
-
return /* @__PURE__ */ w.jsx(
|
|
33770
|
+
return /* @__PURE__ */ w.jsx(
|
|
33770
33771
|
"div",
|
|
33771
33772
|
{
|
|
33772
|
-
className: "xpert-chatbot-response-
|
|
33773
|
-
|
|
33774
|
-
|
|
33775
|
-
|
|
33776
|
-
|
|
33777
|
-
|
|
33778
|
-
|
|
33779
|
-
|
|
33780
|
-
|
|
33781
|
-
|
|
33782
|
-
|
|
33783
|
-
|
|
33784
|
-
|
|
33785
|
-
|
|
33786
|
-
|
|
33787
|
-
|
|
33788
|
-
|
|
33789
|
-
|
|
33790
|
-
|
|
33791
|
-
|
|
33792
|
-
|
|
33793
|
-
|
|
33794
|
-
|
|
33795
|
-
|
|
33796
|
-
|
|
33797
|
-
|
|
33798
|
-
|
|
33773
|
+
className: `xpert-chatbot-response-copy${e === "message" ? " xpert-chatbot-response-copy--message" : ""}`,
|
|
33774
|
+
"data-visible": a,
|
|
33775
|
+
children: /* @__PURE__ */ w.jsxs(
|
|
33776
|
+
"div",
|
|
33777
|
+
{
|
|
33778
|
+
className: "xpert-chatbot-response-copy__button-wrap",
|
|
33779
|
+
onBlur: (P) => {
|
|
33780
|
+
!P.currentTarget.contains(P.relatedTarget) && !o && h(!1);
|
|
33781
|
+
},
|
|
33782
|
+
onFocus: () => {
|
|
33783
|
+
b && !o && h(!0);
|
|
33784
|
+
},
|
|
33785
|
+
onMouseEnter: () => {
|
|
33786
|
+
b && !o && h(!0);
|
|
33787
|
+
},
|
|
33788
|
+
onMouseLeave: () => {
|
|
33789
|
+
b && !o && h(!1);
|
|
33790
|
+
},
|
|
33791
|
+
children: [
|
|
33792
|
+
/* @__PURE__ */ w.jsx(
|
|
33793
|
+
"button",
|
|
33794
|
+
{
|
|
33795
|
+
type: "button",
|
|
33796
|
+
className: "xpert-chatbot-response-copy__button",
|
|
33797
|
+
"aria-describedby": T ? y : void 0,
|
|
33798
|
+
"aria-label": Y,
|
|
33799
|
+
"aria-disabled": n || !a,
|
|
33800
|
+
"aria-hidden": !a,
|
|
33801
|
+
"data-copied": o,
|
|
33802
|
+
"data-visible": a,
|
|
33803
|
+
disabled: n || !a,
|
|
33804
|
+
tabIndex: a ? 0 : -1,
|
|
33805
|
+
onClick: C,
|
|
33806
|
+
children: /* @__PURE__ */ w.jsx(
|
|
33807
|
+
Hn,
|
|
33808
|
+
{
|
|
33809
|
+
"data-testid": o ? "copied-check-icon" : "copy-response-icon",
|
|
33810
|
+
icon: o ? "material-symbols:check-rounded" : "material-symbols:content-copy-outline-rounded"
|
|
33811
|
+
}
|
|
33812
|
+
)
|
|
33813
|
+
}
|
|
33814
|
+
),
|
|
33815
|
+
/* @__PURE__ */ w.jsx(
|
|
33816
|
+
"span",
|
|
33817
|
+
{
|
|
33818
|
+
id: y,
|
|
33819
|
+
role: "tooltip",
|
|
33820
|
+
className: `xpert-chatbot-response-copy__tooltip${e === "message" ? " xpert-chatbot-response-copy__tooltip--left" : ""}`,
|
|
33821
|
+
"aria-hidden": !T,
|
|
33822
|
+
"data-visible": T,
|
|
33823
|
+
children: k
|
|
33824
|
+
}
|
|
33825
|
+
),
|
|
33826
|
+
/* @__PURE__ */ w.jsx(
|
|
33827
|
+
"span",
|
|
33799
33828
|
{
|
|
33800
|
-
|
|
33801
|
-
|
|
33829
|
+
className: "xpert_chatbot__a11y-sr-only",
|
|
33830
|
+
role: "status",
|
|
33831
|
+
"aria-live": "polite",
|
|
33832
|
+
"aria-atomic": "true",
|
|
33833
|
+
children: o ? B : ""
|
|
33802
33834
|
}
|
|
33803
33835
|
)
|
|
33804
|
-
|
|
33805
|
-
|
|
33806
|
-
|
|
33807
|
-
"span",
|
|
33808
|
-
{
|
|
33809
|
-
id: p,
|
|
33810
|
-
role: "tooltip",
|
|
33811
|
-
className: `xpert-chatbot-response-copy__tooltip${e === "message" ? " xpert-chatbot-response-copy__tooltip--left" : ""}`,
|
|
33812
|
-
"aria-hidden": !b,
|
|
33813
|
-
"data-visible": b,
|
|
33814
|
-
children: v
|
|
33815
|
-
}
|
|
33816
|
-
),
|
|
33817
|
-
/* @__PURE__ */ w.jsx(
|
|
33818
|
-
"span",
|
|
33819
|
-
{
|
|
33820
|
-
className: "xpert_chatbot__a11y-sr-only",
|
|
33821
|
-
role: "status",
|
|
33822
|
-
"aria-live": "polite",
|
|
33823
|
-
"aria-atomic": "true",
|
|
33824
|
-
children: u ? k : ""
|
|
33825
|
-
}
|
|
33826
|
-
)
|
|
33827
|
-
]
|
|
33836
|
+
]
|
|
33837
|
+
}
|
|
33838
|
+
)
|
|
33828
33839
|
}
|
|
33829
|
-
)
|
|
33840
|
+
);
|
|
33830
33841
|
}
|
|
33831
33842
|
es.propTypes = {
|
|
33832
33843
|
clientId: x.string,
|
|
@@ -33837,6 +33848,7 @@ es.propTypes = {
|
|
|
33837
33848
|
]),
|
|
33838
33849
|
disabled: x.bool,
|
|
33839
33850
|
getCopyText: x.func.isRequired,
|
|
33851
|
+
isVisible: x.bool,
|
|
33840
33852
|
isTestUser: x.bool,
|
|
33841
33853
|
submitEvent: x.func
|
|
33842
33854
|
};
|
|
@@ -33985,8 +33997,8 @@ const BE = (e) => ({
|
|
|
33985
33997
|
conversationHistoryId: p,
|
|
33986
33998
|
liveAgent: y,
|
|
33987
33999
|
role: b = Ie.ASSISTANT,
|
|
33988
|
-
timestamp:
|
|
33989
|
-
} = t ?? {}, v = rt(null), [k, B] = xe(!1), Y = b === Ie.TOOL ? Ie.ASSISTANT : b, U = y || o === sd.ESCALATE_TO_AN_AGENT,
|
|
34000
|
+
timestamp: T
|
|
34001
|
+
} = t ?? {}, v = rt(null), [k, B] = xe(!1), Y = b === Ie.TOOL ? Ie.ASSISTANT : b, U = y || o === sd.ESCALATE_TO_AN_AGENT, C = !U && !!m, P = r && C && [Ie.AGENT, Ie.ASSISTANT].includes(Y), Q = r && C && Y === Ie.USER, j = Yt(
|
|
33990
34002
|
() => zE(
|
|
33991
34003
|
l,
|
|
33992
34004
|
c?.userMessageBubble?.style
|
|
@@ -34015,7 +34027,7 @@ const BE = (e) => ({
|
|
|
34015
34027
|
typeof V.scrollIntoView == "function" && V.scrollIntoView({ block: "end" });
|
|
34016
34028
|
}, [a, n, ne]);
|
|
34017
34029
|
const q = Yt(() => {
|
|
34018
|
-
if (!
|
|
34030
|
+
if (!C) return null;
|
|
34019
34031
|
if (Y === Ie.USER)
|
|
34020
34032
|
return ne;
|
|
34021
34033
|
const V = HE(ne), F = Y === Ie.AGENT || Y === Ie.ASSISTANT;
|
|
@@ -34044,7 +34056,7 @@ const BE = (e) => ({
|
|
|
34044
34056
|
}
|
|
34045
34057
|
);
|
|
34046
34058
|
}, [
|
|
34047
|
-
|
|
34059
|
+
C,
|
|
34048
34060
|
ne,
|
|
34049
34061
|
i,
|
|
34050
34062
|
j,
|
|
@@ -34086,26 +34098,42 @@ const BE = (e) => ({
|
|
|
34086
34098
|
/* @__PURE__ */ w.jsxs(
|
|
34087
34099
|
"div",
|
|
34088
34100
|
{
|
|
34089
|
-
"
|
|
34090
|
-
className: j[Y].bubbleClassName,
|
|
34091
|
-
style: j[Y].bubbleStyle,
|
|
34101
|
+
className: `xpert-chatbot-popup__bubble--message-row${Y === Ie.USER ? " xpert-chatbot-popup__bubble--message-row-user" : ""}`,
|
|
34092
34102
|
children: [
|
|
34093
|
-
/* @__PURE__ */ w.
|
|
34094
|
-
|
|
34095
|
-
|
|
34096
|
-
|
|
34097
|
-
|
|
34098
|
-
|
|
34099
|
-
|
|
34100
|
-
|
|
34101
|
-
|
|
34102
|
-
|
|
34103
|
-
|
|
34104
|
-
|
|
34105
|
-
|
|
34106
|
-
|
|
34107
|
-
|
|
34108
|
-
|
|
34103
|
+
/* @__PURE__ */ w.jsxs(
|
|
34104
|
+
"div",
|
|
34105
|
+
{
|
|
34106
|
+
"data-testid": "message-container",
|
|
34107
|
+
className: j[Y].bubbleClassName,
|
|
34108
|
+
style: j[Y].bubbleStyle,
|
|
34109
|
+
children: [
|
|
34110
|
+
/* @__PURE__ */ w.jsx("div", { ref: v, children: q }),
|
|
34111
|
+
U && /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
34112
|
+
/* @__PURE__ */ w.jsx("div", { children: UE }),
|
|
34113
|
+
/* @__PURE__ */ w.jsx(
|
|
34114
|
+
wl,
|
|
34115
|
+
{
|
|
34116
|
+
submitEvent: u,
|
|
34117
|
+
setLiveChatOpen: s,
|
|
34118
|
+
isTestUser: e,
|
|
34119
|
+
enableLiveChatMessage: !1,
|
|
34120
|
+
buttonClassName: "xpert-chatbot-popup__bubble--assistant-live-chat",
|
|
34121
|
+
text: "Chat with us",
|
|
34122
|
+
userTrackingName: "assistant.response.clicked"
|
|
34123
|
+
}
|
|
34124
|
+
)
|
|
34125
|
+
] })
|
|
34126
|
+
]
|
|
34127
|
+
}
|
|
34128
|
+
),
|
|
34129
|
+
Y === Ie.USER && /* @__PURE__ */ w.jsx(
|
|
34130
|
+
wo,
|
|
34131
|
+
{
|
|
34132
|
+
alignSelf: "flex-end",
|
|
34133
|
+
backgroundColor: "#9CD2E6",
|
|
34134
|
+
margin: "0px 0px 0rem 10px"
|
|
34135
|
+
}
|
|
34136
|
+
)
|
|
34109
34137
|
]
|
|
34110
34138
|
}
|
|
34111
34139
|
),
|
|
@@ -34129,25 +34157,18 @@ const BE = (e) => ({
|
|
|
34129
34157
|
conversationHistoryId: p,
|
|
34130
34158
|
disabled: a,
|
|
34131
34159
|
getCopyText: () => ne || "",
|
|
34160
|
+
isVisible: k,
|
|
34132
34161
|
isTestUser: e,
|
|
34133
34162
|
submitEvent: u
|
|
34134
34163
|
}
|
|
34135
34164
|
)
|
|
34136
34165
|
]
|
|
34137
34166
|
}
|
|
34138
|
-
),
|
|
34139
|
-
Y === Ie.USER && /* @__PURE__ */ w.jsx(
|
|
34140
|
-
wo,
|
|
34141
|
-
{
|
|
34142
|
-
alignSelf: "flex-end",
|
|
34143
|
-
backgroundColor: "#9CD2E6",
|
|
34144
|
-
margin: "0px 0px 0rem 10px"
|
|
34145
|
-
}
|
|
34146
34167
|
)
|
|
34147
34168
|
]
|
|
34148
34169
|
}
|
|
34149
34170
|
),
|
|
34150
|
-
|
|
34171
|
+
T && /* @__PURE__ */ w.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: EE(T).format("hh:mm a") })
|
|
34151
34172
|
]
|
|
34152
34173
|
}
|
|
34153
34174
|
);
|
|
@@ -34254,8 +34275,8 @@ const ai = ({
|
|
|
34254
34275
|
setLiveChatOpen: i = null,
|
|
34255
34276
|
submitEvent: s = null
|
|
34256
34277
|
}) => {
|
|
34257
|
-
const u = (b,
|
|
34258
|
-
if (!
|
|
34278
|
+
const u = (b, T) => {
|
|
34279
|
+
if (!T || !s) return;
|
|
34259
34280
|
const v = [...n].reverse().find(
|
|
34260
34281
|
(B) => [Ie.AGENT, Ie.ASSISTANT].includes(B.role)
|
|
34261
34282
|
), k = {
|
|
@@ -34265,14 +34286,14 @@ const ai = ({
|
|
|
34265
34286
|
clientId: v?.clientId,
|
|
34266
34287
|
conversationHistoryId: v?.conversationHistoryId,
|
|
34267
34288
|
// Add more properties as needed from message.sent event
|
|
34268
|
-
targetLink:
|
|
34289
|
+
targetLink: T
|
|
34269
34290
|
};
|
|
34270
34291
|
s({
|
|
34271
34292
|
name: "xpert.chatbot.popup.chat.link.clicked",
|
|
34272
34293
|
payload: k
|
|
34273
34294
|
});
|
|
34274
34295
|
}, { disableScroll: o, hasError: l, streaming: c, loadingHistory: h } = ke(zt), m = rt(null), { primaryColor: p } = ke(St), y = Yt(
|
|
34275
|
-
() => n.reduce((b,
|
|
34296
|
+
() => n.reduce((b, T) => (T.toolCalls && T.toolCalls.forEach(({ function: v, id: k }) => {
|
|
34276
34297
|
b[k] = v?.name;
|
|
34277
34298
|
}), b), {}),
|
|
34278
34299
|
[n]
|
|
@@ -34288,8 +34309,8 @@ const ai = ({
|
|
|
34288
34309
|
"aria-label": "Chat conversation",
|
|
34289
34310
|
"aria-busy": t,
|
|
34290
34311
|
style: { display: "flex", flexDirection: "column" },
|
|
34291
|
-
children: n.map((b,
|
|
34292
|
-
const { role: v } = b, k = `${v}-${
|
|
34312
|
+
children: n.map((b, T) => {
|
|
34313
|
+
const { role: v } = b, k = `${v}-${T}`;
|
|
34293
34314
|
if (v === Ie.ERROR)
|
|
34294
34315
|
return /* @__PURE__ */ w.jsx($u, { content: b?.content }, k);
|
|
34295
34316
|
if (v === Ie.NOTIFICATION)
|
|
@@ -34304,12 +34325,12 @@ const ai = ({
|
|
|
34304
34325
|
return null;
|
|
34305
34326
|
const B = Array.isArray(b?.options) && b.options.length > 0;
|
|
34306
34327
|
if (!b.content && !B) return null;
|
|
34307
|
-
const Y = y[b.toolCallId], U = c && v === Ie.ASSISTANT &&
|
|
34328
|
+
const Y = y[b.toolCallId], U = c && v === Ie.ASSISTANT && T === n.length - 1, C = B && [Ie.AGENT, Ie.ASSISTANT].includes(v);
|
|
34308
34329
|
return /* @__PURE__ */ w.jsxs("div", { children: [
|
|
34309
34330
|
!!b.content && /* @__PURE__ */ w.jsx(
|
|
34310
34331
|
Vp,
|
|
34311
34332
|
{
|
|
34312
|
-
index:
|
|
34333
|
+
index: T,
|
|
34313
34334
|
isTestUser: e,
|
|
34314
34335
|
message: b,
|
|
34315
34336
|
messageRef: U ? m : void 0,
|
|
@@ -34320,7 +34341,7 @@ const ai = ({
|
|
|
34320
34341
|
onMessageLinkClicked: a ?? u
|
|
34321
34342
|
}
|
|
34322
34343
|
),
|
|
34323
|
-
|
|
34344
|
+
C && /* @__PURE__ */ w.jsx(
|
|
34324
34345
|
Gp,
|
|
34325
34346
|
{
|
|
34326
34347
|
options: b.options,
|
|
@@ -34527,7 +34548,7 @@ function ws({
|
|
|
34527
34548
|
type: p,
|
|
34528
34549
|
onSelect: y
|
|
34529
34550
|
}) {
|
|
34530
|
-
const b = p === "text",
|
|
34551
|
+
const b = p === "text", T = p === "ranking", v = !!h?.trim(), k = v ? `${c} - ${h}` : c, B = Yt(
|
|
34531
34552
|
() => YE(k),
|
|
34532
34553
|
[k]
|
|
34533
34554
|
), [Y, U] = xe({
|
|
@@ -34548,7 +34569,7 @@ function ws({
|
|
|
34548
34569
|
window.clearInterval(A);
|
|
34549
34570
|
};
|
|
34550
34571
|
}, [k, B]);
|
|
34551
|
-
const
|
|
34572
|
+
const C = Y.prompt === k ? Y.visibleTokenCount : 0, P = B.slice(0, C).join(""), Q = c.length, j = P.slice(0, Q).trimEnd(), ne = v ? P.slice(Q).replace(/^\s*-\s*/, "") : "", q = C < B.length, V = Math.max(1, i ?? 1), F = `survey-question-${o}`, D = `${F}-label`, H = `${F}-row`, G = `${F}-options-label`, te = `${F}-free-text-hint`, W = v ? `${D} ${H}` : D;
|
|
34552
34573
|
return /* @__PURE__ */ w.jsxs(
|
|
34553
34574
|
"section",
|
|
34554
34575
|
{
|
|
@@ -34567,7 +34588,7 @@ function ws({
|
|
|
34567
34588
|
children: "Previous Question"
|
|
34568
34589
|
}
|
|
34569
34590
|
),
|
|
34570
|
-
!q &&
|
|
34591
|
+
!q && T && r ? /* @__PURE__ */ w.jsx(
|
|
34571
34592
|
"button",
|
|
34572
34593
|
{
|
|
34573
34594
|
type: "button",
|
|
@@ -34632,7 +34653,7 @@ function ws({
|
|
|
34632
34653
|
"fieldset",
|
|
34633
34654
|
{
|
|
34634
34655
|
className: "xpert_chatbot__survey-card__options",
|
|
34635
|
-
role:
|
|
34656
|
+
role: T ? void 0 : "radiogroup",
|
|
34636
34657
|
"aria-labelledby": G,
|
|
34637
34658
|
children: [
|
|
34638
34659
|
/* @__PURE__ */ w.jsx(
|
|
@@ -34653,7 +34674,7 @@ function ws({
|
|
|
34653
34674
|
children: "Survey options"
|
|
34654
34675
|
}
|
|
34655
34676
|
),
|
|
34656
|
-
|
|
34677
|
+
T ? m.map((Z, A) => /* @__PURE__ */ w.jsxs(
|
|
34657
34678
|
"div",
|
|
34658
34679
|
{
|
|
34659
34680
|
style: {
|
|
@@ -34779,13 +34800,13 @@ function Ol({
|
|
|
34779
34800
|
surveyDefinition: p,
|
|
34780
34801
|
surveyEnabled: y,
|
|
34781
34802
|
surveyExternalTrigger: b,
|
|
34782
|
-
surveyLoadError:
|
|
34803
|
+
surveyLoadError: T,
|
|
34783
34804
|
surveyLoading: v,
|
|
34784
34805
|
surveyPromptSelected: k,
|
|
34785
34806
|
surveyStepIndex: B,
|
|
34786
34807
|
triggerSurveyPrompt: Y
|
|
34787
34808
|
}) {
|
|
34788
|
-
const U = h ?? GE,
|
|
34809
|
+
const U = h ?? GE, C = Yt(
|
|
34789
34810
|
() => WE(U),
|
|
34790
34811
|
[U]
|
|
34791
34812
|
), [P, Q] = xe({
|
|
@@ -34800,13 +34821,13 @@ function Ol({
|
|
|
34800
34821
|
F += 1, Q({
|
|
34801
34822
|
streamKey: D,
|
|
34802
34823
|
visibleTokenCount: F
|
|
34803
|
-
}), F >=
|
|
34824
|
+
}), F >= C.length && window.clearInterval(H);
|
|
34804
34825
|
}, VE);
|
|
34805
34826
|
return () => {
|
|
34806
34827
|
window.clearInterval(H);
|
|
34807
34828
|
};
|
|
34808
|
-
}, [
|
|
34809
|
-
const j = `${y}:${k}:${u}`, ne = P.streamKey === j ? P.visibleTokenCount : 0, q =
|
|
34829
|
+
}, [C, u, y, k]);
|
|
34830
|
+
const j = `${y}:${k}:${u}`, ne = P.streamKey === j ? P.visibleTokenCount : 0, q = C.slice(0, ne).join(""), V = y && k && !u && ne < C.length;
|
|
34810
34831
|
return /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
34811
34832
|
!u && y && !b && /* @__PURE__ */ w.jsx("div", { style: { margin: "0.75rem 0" }, children: /* @__PURE__ */ w.jsx(
|
|
34812
34833
|
"button",
|
|
@@ -34864,7 +34885,7 @@ function Ol({
|
|
|
34864
34885
|
]
|
|
34865
34886
|
}
|
|
34866
34887
|
),
|
|
34867
|
-
|
|
34888
|
+
T && /* @__PURE__ */ w.jsx("div", { style: { marginTop: "0.5rem" }, children: "Unable to load survey. Please try again." })
|
|
34868
34889
|
]
|
|
34869
34890
|
}
|
|
34870
34891
|
),
|
|
@@ -34951,15 +34972,15 @@ function As({ currentStep: e, onExit: t, totalSteps: n }) {
|
|
|
34951
34972
|
)
|
|
34952
34973
|
) : [];
|
|
34953
34974
|
u.current?.focus();
|
|
34954
|
-
const b = (
|
|
34955
|
-
if (
|
|
34956
|
-
|
|
34975
|
+
const b = (T) => {
|
|
34976
|
+
if (T.key === "Escape") {
|
|
34977
|
+
T.preventDefault(), a(!1);
|
|
34957
34978
|
return;
|
|
34958
34979
|
}
|
|
34959
|
-
if (
|
|
34980
|
+
if (T.key !== "Tab" || y.length === 0)
|
|
34960
34981
|
return;
|
|
34961
34982
|
const v = y[0], k = y[y.length - 1];
|
|
34962
|
-
|
|
34983
|
+
T.shiftKey && document.activeElement === v ? (T.preventDefault(), k.focus()) : !T.shiftKey && document.activeElement === k && (T.preventDefault(), v.focus());
|
|
34963
34984
|
};
|
|
34964
34985
|
return p?.addEventListener("keydown", b), () => {
|
|
34965
34986
|
p?.removeEventListener("keydown", b);
|
|
@@ -35393,9 +35414,9 @@ function ox({
|
|
|
35393
35414
|
pushXpertMessage: u,
|
|
35394
35415
|
xpertMessages: o = []
|
|
35395
35416
|
}) {
|
|
35396
|
-
const [l, c] = xe(!1), [h, m] = xe(!1), [p, y] = xe(0), [b,
|
|
35417
|
+
const [l, c] = xe(!1), [h, m] = xe(!1), [p, y] = xe(0), [b, T] = xe(null), [v, k] = xe(
|
|
35397
35418
|
{}
|
|
35398
|
-
), [B, Y] = xe({}), [U,
|
|
35419
|
+
), [B, Y] = xe({}), [U, C] = xe(!1), [P, Q] = xe(null), j = r?.surveys ?? r?.survey, ne = Yt(
|
|
35399
35420
|
() => Zp(j),
|
|
35400
35421
|
[j]
|
|
35401
35422
|
), q = ne?.enabled === !0, V = ne?.externalTrigger === !0, F = r?.conversationHistory?.enabled === !0, D = rt(l);
|
|
@@ -35464,7 +35485,7 @@ function ox({
|
|
|
35464
35485
|
clientId: n,
|
|
35465
35486
|
conversationHistoryEnabled: F,
|
|
35466
35487
|
onMessageSent: s
|
|
35467
|
-
}), c(!1), m(!1), y(0),
|
|
35488
|
+
}), c(!1), m(!1), y(0), T(null), k({}), Y({}), C(!1), Q(null), H.current = null, G.current = null;
|
|
35468
35489
|
const Ee = ge || Ge ? ad : rd;
|
|
35469
35490
|
typeof u == "function" && (we({
|
|
35470
35491
|
role: Ie.INFO,
|
|
@@ -35474,14 +35495,14 @@ function ox({
|
|
|
35474
35495
|
content: id
|
|
35475
35496
|
}));
|
|
35476
35497
|
}, at = async () => {
|
|
35477
|
-
Q(null),
|
|
35498
|
+
Q(null), C(!0);
|
|
35478
35499
|
try {
|
|
35479
35500
|
const ge = ne;
|
|
35480
35501
|
if (ge?.questions?.length) {
|
|
35481
35502
|
const re = ko(ge);
|
|
35482
35503
|
if (!re)
|
|
35483
35504
|
throw new Error("Survey definition missing normalized questions");
|
|
35484
|
-
|
|
35505
|
+
T(re);
|
|
35485
35506
|
const Ee = (/* @__PURE__ */ new Date()).toISOString();
|
|
35486
35507
|
H.current = Ee, G.current = null;
|
|
35487
35508
|
const De = n && F ? mn(n) : null, Ye = re?.questions?.length ?? 0, _t = re?.questions?.[0]?.id ?? null, Ct = Ai({
|
|
@@ -35529,7 +35550,7 @@ function ox({
|
|
|
35529
35550
|
throw new Error(
|
|
35530
35551
|
"Survey definition missing in conversationScreen.surveys array"
|
|
35531
35552
|
);
|
|
35532
|
-
|
|
35553
|
+
T(Ae);
|
|
35533
35554
|
const Me = (/* @__PURE__ */ new Date()).toISOString();
|
|
35534
35555
|
H.current = Me, G.current = null;
|
|
35535
35556
|
const Pe = n && F ? mn(n) : null, Fe = Ae?.questions?.length ?? 0, Ge = Ae?.questions?.[0]?.id ?? null, X = Ai({
|
|
@@ -35559,7 +35580,7 @@ function ox({
|
|
|
35559
35580
|
} catch (ge) {
|
|
35560
35581
|
Q(ge);
|
|
35561
35582
|
} finally {
|
|
35562
|
-
|
|
35583
|
+
C(!1);
|
|
35563
35584
|
}
|
|
35564
35585
|
}, At = ({
|
|
35565
35586
|
question: ge,
|
|
@@ -35700,7 +35721,7 @@ function ox({
|
|
|
35700
35721
|
surveyStepIndex: p,
|
|
35701
35722
|
triggerSurveyPrompt: Ke,
|
|
35702
35723
|
setSurveyLoadError: Q,
|
|
35703
|
-
setSurveyLoading:
|
|
35724
|
+
setSurveyLoading: C,
|
|
35704
35725
|
setSurveyPromptSelected: m
|
|
35705
35726
|
};
|
|
35706
35727
|
}
|
|
@@ -35716,10 +35737,10 @@ function Jp({
|
|
|
35716
35737
|
onMessageSent: c,
|
|
35717
35738
|
pushXpertMessage: h,
|
|
35718
35739
|
xpertMessages: m
|
|
35719
|
-
} = ke(vr), p = Array.isArray(m) ? m.length : 0, { loading: y, setMode: b, mode:
|
|
35740
|
+
} = ke(vr), p = Array.isArray(m) ? m.length : 0, { loading: y, setMode: b, mode: T, loadingHistory: v, externalTriggerSurvey: k } = ke(zt), B = rt(null), {
|
|
35720
35741
|
activeSurveyAnswer: Y,
|
|
35721
35742
|
activeSurveyQuestion: U,
|
|
35722
|
-
activeRankingSelections:
|
|
35743
|
+
activeRankingSelections: C,
|
|
35723
35744
|
canSubmitActiveRankingQuestion: P,
|
|
35724
35745
|
exitSurvey: Q,
|
|
35725
35746
|
goToNextSurveyQuestion: j,
|
|
@@ -35815,7 +35836,7 @@ function Jp({
|
|
|
35815
35836
|
{
|
|
35816
35837
|
activeSurveyAnswer: Y,
|
|
35817
35838
|
activeSurveyQuestion: U,
|
|
35818
|
-
activeRankingSelections:
|
|
35839
|
+
activeRankingSelections: C,
|
|
35819
35840
|
canSubmitActiveRankingQuestion: P,
|
|
35820
35841
|
goToNextSurveyQuestion: j,
|
|
35821
35842
|
goToPreviousSurveyQuestion: ne,
|
|
@@ -35860,7 +35881,7 @@ function Jp({
|
|
|
35860
35881
|
submitEvent: a
|
|
35861
35882
|
}
|
|
35862
35883
|
),
|
|
35863
|
-
|
|
35884
|
+
T === On.XPERT && /* @__PURE__ */ w.jsx("div", { style: { display: "flex", flex: 1, padding: "1.5rem" }, children: /* @__PURE__ */ w.jsx(
|
|
35864
35885
|
as,
|
|
35865
35886
|
{
|
|
35866
35887
|
disabled: y || v || l || ue,
|
|
@@ -35975,12 +35996,12 @@ function em() {
|
|
|
35975
35996
|
}
|
|
35976
35997
|
function n(r, a, i) {
|
|
35977
35998
|
var s = i || {}, u = s.interval, o = u === void 0 ? e.DEFAULT_HEARTBEAT.interval : u, l = s.timeout, c = l === void 0 ? e.DEFAULT_HEARTBEAT.timeout : l, h = s.message, m = h === void 0 ? e.DEFAULT_HEARTBEAT.message : h, p = Math.max(100, o / 10), y = Date.now(), b = setInterval(function() {
|
|
35978
|
-
var
|
|
35979
|
-
if (v + c <=
|
|
35980
|
-
console.warn("Heartbeat timed out, closing connection, last message received ".concat(
|
|
35981
|
-
else if (v + o <=
|
|
35999
|
+
var T = Date.now(), v = t(a);
|
|
36000
|
+
if (v + c <= T)
|
|
36001
|
+
console.warn("Heartbeat timed out, closing connection, last message received ".concat(T - v, "ms ago, last ping sent ").concat(T - y, "ms ago")), r.close();
|
|
36002
|
+
else if (v + o <= T && y + o <= T)
|
|
35982
36003
|
try {
|
|
35983
|
-
typeof m == "function" ? r.send(m()) : r.send(m), y =
|
|
36004
|
+
typeof m == "function" ? r.send(m()) : r.send(m), y = T;
|
|
35984
36005
|
} catch (k) {
|
|
35985
36006
|
console.error("Heartbeat failed, closing connection", k instanceof Error ? k.message : k), r.close();
|
|
35986
36007
|
}
|
|
@@ -36059,8 +36080,8 @@ function lx() {
|
|
|
36059
36080
|
}, s = function(c, h, m, p, y) {
|
|
36060
36081
|
c.onopen = function(b) {
|
|
36061
36082
|
if (h.current.onOpen && h.current.onOpen(b), p.current = 0, m(r.ReadyState.OPEN), h.current.heartbeat && c instanceof WebSocket) {
|
|
36062
|
-
var
|
|
36063
|
-
y.current = Date.now(), (0, n.heartbeat)(c, y,
|
|
36083
|
+
var T = typeof h.current.heartbeat == "boolean" ? void 0 : h.current.heartbeat;
|
|
36084
|
+
y.current = Date.now(), (0, n.heartbeat)(c, y, T);
|
|
36064
36085
|
}
|
|
36065
36086
|
};
|
|
36066
36087
|
}, u = function(c, h, m, p, y) {
|
|
@@ -36069,9 +36090,9 @@ function lx() {
|
|
|
36069
36090
|
};
|
|
36070
36091
|
(0, a.assertIsWebSocket)(c, h.current.skipAssert);
|
|
36071
36092
|
var b;
|
|
36072
|
-
return c.onclose = function(
|
|
36093
|
+
return c.onclose = function(T) {
|
|
36073
36094
|
var v;
|
|
36074
|
-
if (h.current.onClose && h.current.onClose(
|
|
36095
|
+
if (h.current.onClose && h.current.onClose(T), m(r.ReadyState.CLOSED), h.current.shouldReconnect && h.current.shouldReconnect(T)) {
|
|
36075
36096
|
var k = (v = h.current.reconnectAttempts) !== null && v !== void 0 ? v : r.DEFAULT_RECONNECT_LIMIT;
|
|
36076
36097
|
if (y.current < k) {
|
|
36077
36098
|
var B = typeof h.current.reconnectInterval == "function" ? h.current.reconnectInterval(y.current) : h.current.reconnectInterval;
|
|
@@ -36086,9 +36107,9 @@ function lx() {
|
|
|
36086
36107
|
};
|
|
36087
36108
|
}, o = function(c, h, m, p, y) {
|
|
36088
36109
|
var b;
|
|
36089
|
-
return c.onerror = function(
|
|
36110
|
+
return c.onerror = function(T) {
|
|
36090
36111
|
var v;
|
|
36091
|
-
if (h.current.onError && h.current.onError(
|
|
36112
|
+
if (h.current.onError && h.current.onError(T), r.isEventSourceSupported && c instanceof EventSource && (h.current.onClose && h.current.onClose(e(e({}, T), { code: 1006, reason: "An error occurred with the EventSource: ".concat(T), wasClean: !1 })), m(r.ReadyState.CLOSED), c.close()), h.current.retryOnError)
|
|
36092
36113
|
if (y.current < ((v = h.current.reconnectAttempts) !== null && v !== void 0 ? v : r.DEFAULT_RECONNECT_LIMIT)) {
|
|
36093
36114
|
var k = typeof h.current.reconnectInterval == "function" ? h.current.reconnectInterval(y.current) : h.current.reconnectInterval;
|
|
36094
36115
|
b = window.setTimeout(function() {
|
|
@@ -36099,9 +36120,9 @@ function lx() {
|
|
|
36099
36120
|
}, function() {
|
|
36100
36121
|
return b && window.clearTimeout(b);
|
|
36101
36122
|
};
|
|
36102
|
-
}, l = function(c, h, m, p, y, b,
|
|
36123
|
+
}, l = function(c, h, m, p, y, b, T) {
|
|
36103
36124
|
var v = h.setLastMessage, k = h.setReadyState, B, Y, U;
|
|
36104
|
-
return m.current.fromSocketIO && (B = (0, t.setUpSocketIOPing)(
|
|
36125
|
+
return m.current.fromSocketIO && (B = (0, t.setUpSocketIOPing)(T)), i(c, m, v, b), s(c, m, k, y, b), Y = u(c, m, k, p, y), U = o(c, m, k, p, y), function() {
|
|
36105
36126
|
k(r.ReadyState.CLOSING), Y(), U(), c.close(), B && clearInterval(B);
|
|
36106
36127
|
};
|
|
36107
36128
|
};
|
|
@@ -36124,17 +36145,17 @@ function cx() {
|
|
|
36124
36145
|
var t = Nl(), n = Yn(), r = Rl(), a = Dl(), i = em(), s = function(h, m, p) {
|
|
36125
36146
|
h.onmessage = function(y) {
|
|
36126
36147
|
(0, r.getSubscribers)(m).forEach(function(b) {
|
|
36127
|
-
var
|
|
36128
|
-
b.optionsRef.current.onMessage && b.optionsRef.current.onMessage(y), typeof ((
|
|
36148
|
+
var T;
|
|
36149
|
+
b.optionsRef.current.onMessage && b.optionsRef.current.onMessage(y), typeof ((T = b?.lastMessageTime) === null || T === void 0 ? void 0 : T.current) == "number" && (b.lastMessageTime.current = Date.now()), !(typeof b.optionsRef.current.filter == "function" && b.optionsRef.current.filter(y) !== !0) && (p && typeof p != "boolean" && p?.returnMessage === y.data || b.setLastMessage(y));
|
|
36129
36150
|
});
|
|
36130
36151
|
};
|
|
36131
36152
|
}, u = function(h, m, p) {
|
|
36132
36153
|
h.onopen = function(y) {
|
|
36133
36154
|
var b = (0, r.getSubscribers)(m);
|
|
36134
|
-
b.forEach(function(
|
|
36135
|
-
|
|
36136
|
-
}), p && h instanceof WebSocket && (0, i.heartbeat)(h, b.map(function(
|
|
36137
|
-
return
|
|
36155
|
+
b.forEach(function(T) {
|
|
36156
|
+
T.reconnectCount.current = 0, T.optionsRef.current.onOpen && T.optionsRef.current.onOpen(y), T.setReadyState(n.ReadyState.OPEN), p && h instanceof WebSocket && (T.lastMessageTime.current = Date.now());
|
|
36157
|
+
}), p && h instanceof WebSocket && (0, i.heartbeat)(h, b.map(function(T) {
|
|
36158
|
+
return T.lastMessageTime;
|
|
36138
36159
|
}), typeof p == "boolean" ? void 0 : p);
|
|
36139
36160
|
};
|
|
36140
36161
|
}, o = function(h, m) {
|
|
@@ -36144,14 +36165,14 @@ function cx() {
|
|
|
36144
36165
|
}), delete t.sharedWebSockets[m], (0, r.getSubscribers)(m).forEach(function(y) {
|
|
36145
36166
|
var b;
|
|
36146
36167
|
if (y.optionsRef.current.shouldReconnect && y.optionsRef.current.shouldReconnect(p)) {
|
|
36147
|
-
var
|
|
36148
|
-
if (y.reconnectCount.current <
|
|
36168
|
+
var T = (b = y.optionsRef.current.reconnectAttempts) !== null && b !== void 0 ? b : n.DEFAULT_RECONNECT_LIMIT;
|
|
36169
|
+
if (y.reconnectCount.current < T) {
|
|
36149
36170
|
var v = typeof y.optionsRef.current.reconnectInterval == "function" ? y.optionsRef.current.reconnectInterval(y.reconnectCount.current) : y.optionsRef.current.reconnectInterval;
|
|
36150
36171
|
setTimeout(function() {
|
|
36151
36172
|
y.reconnectCount.current++, y.reconnect.current();
|
|
36152
36173
|
}, v ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
|
|
36153
36174
|
} else
|
|
36154
|
-
y.optionsRef.current.onReconnectStop && y.optionsRef.current.onReconnectStop(y.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(
|
|
36175
|
+
y.optionsRef.current.onReconnectStop && y.optionsRef.current.onReconnectStop(y.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(T, " exceeded"));
|
|
36155
36176
|
}
|
|
36156
36177
|
});
|
|
36157
36178
|
});
|
|
@@ -36190,8 +36211,8 @@ function dx() {
|
|
|
36190
36211
|
if (!t.isEventSourceSupported && c.current.eventSourceOptions)
|
|
36191
36212
|
throw t.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
|
|
36192
36213
|
if (c.current.share) {
|
|
36193
|
-
var
|
|
36194
|
-
e.sharedWebSockets[o] === void 0 ? (e.sharedWebSockets[o] = c.current.eventSourceOptions ? new EventSource(o, c.current.eventSourceOptions) : new WebSocket(o, c.current.protocols), u.current = e.sharedWebSockets[o], l(t.ReadyState.CONNECTING),
|
|
36214
|
+
var T = null;
|
|
36215
|
+
e.sharedWebSockets[o] === void 0 ? (e.sharedWebSockets[o] = c.current.eventSourceOptions ? new EventSource(o, c.current.eventSourceOptions) : new WebSocket(o, c.current.protocols), u.current = e.sharedWebSockets[o], l(t.ReadyState.CONNECTING), T = (0, r.attachSharedListeners)(e.sharedWebSockets[o], o, c, b)) : (u.current = e.sharedWebSockets[o], l(e.sharedWebSockets[o].readyState));
|
|
36195
36216
|
var v = {
|
|
36196
36217
|
setLastMessage: h,
|
|
36197
36218
|
setReadyState: l,
|
|
@@ -36200,7 +36221,7 @@ function dx() {
|
|
|
36200
36221
|
lastMessageTime: y,
|
|
36201
36222
|
reconnect: m
|
|
36202
36223
|
};
|
|
36203
|
-
return (0, a.addSubscriber)(o, v), i(o, v, c, l,
|
|
36224
|
+
return (0, a.addSubscriber)(o, v), i(o, v, c, l, T);
|
|
36204
36225
|
} else {
|
|
36205
36226
|
if (u.current = c.current.eventSourceOptions ? new EventSource(o, c.current.eventSourceOptions) : new WebSocket(o, c.current.protocols), l(t.ReadyState.CONNECTING), !u.current)
|
|
36206
36227
|
throw new Error("WebSocket failed to be created");
|
|
@@ -36229,7 +36250,7 @@ function hx() {
|
|
|
36229
36250
|
y(B);
|
|
36230
36251
|
}
|
|
36231
36252
|
}
|
|
36232
|
-
function
|
|
36253
|
+
function T(k) {
|
|
36233
36254
|
try {
|
|
36234
36255
|
v(h.throw(k));
|
|
36235
36256
|
} catch (B) {
|
|
@@ -36237,7 +36258,7 @@ function hx() {
|
|
|
36237
36258
|
}
|
|
36238
36259
|
}
|
|
36239
36260
|
function v(k) {
|
|
36240
|
-
k.done ? p(k.value) : m(k.value).then(b,
|
|
36261
|
+
k.done ? p(k.value) : m(k.value).then(b, T);
|
|
36241
36262
|
}
|
|
36242
36263
|
v((h = h.apply(o, l || [])).next());
|
|
36243
36264
|
});
|
|
@@ -36251,10 +36272,10 @@ function hx() {
|
|
|
36251
36272
|
}), y;
|
|
36252
36273
|
function b(v) {
|
|
36253
36274
|
return function(k) {
|
|
36254
|
-
return
|
|
36275
|
+
return T([v, k]);
|
|
36255
36276
|
};
|
|
36256
36277
|
}
|
|
36257
|
-
function
|
|
36278
|
+
function T(v) {
|
|
36258
36279
|
if (h) throw new TypeError("Generator is already executing.");
|
|
36259
36280
|
for (; y && (y = 0, v[0] && (c = 0)), c; ) try {
|
|
36260
36281
|
if (h = 1, m && (p = v[0] & 2 ? m.return : v[0] ? m.throw || ((p = m.return) && p.call(m), 0) : m.next) && !(p = p.call(m, v[1])).done) return p;
|
|
@@ -36314,7 +36335,7 @@ function hx() {
|
|
|
36314
36335
|
for (var c = [], h = 2; h < arguments.length; h++)
|
|
36315
36336
|
c[h - 2] = arguments[h];
|
|
36316
36337
|
return t(void 0, r([o, l], c, !0), void 0, function(m, p, y) {
|
|
36317
|
-
var b,
|
|
36338
|
+
var b, T, v, k, B, Y, U, C;
|
|
36318
36339
|
return y === void 0 && (y = 0), n(this, function(P) {
|
|
36319
36340
|
switch (P.label) {
|
|
36320
36341
|
case 0:
|
|
@@ -36325,11 +36346,11 @@ function hx() {
|
|
|
36325
36346
|
case 2:
|
|
36326
36347
|
return b = P.sent(), [3, 9];
|
|
36327
36348
|
case 3:
|
|
36328
|
-
return P.sent(), p.current.retryOnError ? (
|
|
36349
|
+
return P.sent(), p.current.retryOnError ? (T = (Y = p.current.reconnectAttempts) !== null && Y !== void 0 ? Y : i.DEFAULT_RECONNECT_LIMIT, y < T ? (v = typeof p.current.reconnectInterval == "function" ? p.current.reconnectInterval(y) : p.current.reconnectInterval, [4, s(v ?? i.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
|
|
36329
36350
|
case 4:
|
|
36330
36351
|
return P.sent(), [2, (0, e.getUrl)(m, p, y + 1)];
|
|
36331
36352
|
case 5:
|
|
36332
|
-
return (
|
|
36353
|
+
return (C = (U = p.current).onReconnectStop) === null || C === void 0 || C.call(U, y), [2, null];
|
|
36333
36354
|
case 6:
|
|
36334
36355
|
return [3, 8];
|
|
36335
36356
|
case 7:
|
|
@@ -36376,33 +36397,33 @@ function Ml() {
|
|
|
36376
36397
|
return e = Object.assign || function(m) {
|
|
36377
36398
|
for (var p, y = 1, b = arguments.length; y < b; y++) {
|
|
36378
36399
|
p = arguments[y];
|
|
36379
|
-
for (var
|
|
36400
|
+
for (var T in p) Object.prototype.hasOwnProperty.call(p, T) && (m[T] = p[T]);
|
|
36380
36401
|
}
|
|
36381
36402
|
return m;
|
|
36382
36403
|
}, e.apply(this, arguments);
|
|
36383
36404
|
}, t = ln && ln.__awaiter || function(m, p, y, b) {
|
|
36384
|
-
function
|
|
36405
|
+
function T(v) {
|
|
36385
36406
|
return v instanceof y ? v : new y(function(k) {
|
|
36386
36407
|
k(v);
|
|
36387
36408
|
});
|
|
36388
36409
|
}
|
|
36389
36410
|
return new (y || (y = Promise))(function(v, k) {
|
|
36390
|
-
function B(
|
|
36411
|
+
function B(C) {
|
|
36391
36412
|
try {
|
|
36392
|
-
U(b.next(
|
|
36413
|
+
U(b.next(C));
|
|
36393
36414
|
} catch (P) {
|
|
36394
36415
|
k(P);
|
|
36395
36416
|
}
|
|
36396
36417
|
}
|
|
36397
|
-
function Y(
|
|
36418
|
+
function Y(C) {
|
|
36398
36419
|
try {
|
|
36399
|
-
U(b.throw(
|
|
36420
|
+
U(b.throw(C));
|
|
36400
36421
|
} catch (P) {
|
|
36401
36422
|
k(P);
|
|
36402
36423
|
}
|
|
36403
36424
|
}
|
|
36404
|
-
function U(
|
|
36405
|
-
|
|
36425
|
+
function U(C) {
|
|
36426
|
+
C.done ? v(C.value) : T(C.value).then(B, Y);
|
|
36406
36427
|
}
|
|
36407
36428
|
U((b = b.apply(m, p || [])).next());
|
|
36408
36429
|
});
|
|
@@ -36410,20 +36431,20 @@ function Ml() {
|
|
|
36410
36431
|
var y = { label: 0, sent: function() {
|
|
36411
36432
|
if (v[0] & 1) throw v[1];
|
|
36412
36433
|
return v[1];
|
|
36413
|
-
}, trys: [], ops: [] }, b,
|
|
36434
|
+
}, trys: [], ops: [] }, b, T, v, k = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
36414
36435
|
return k.next = B(0), k.throw = B(1), k.return = B(2), typeof Symbol == "function" && (k[Symbol.iterator] = function() {
|
|
36415
36436
|
return this;
|
|
36416
36437
|
}), k;
|
|
36417
36438
|
function B(U) {
|
|
36418
|
-
return function(
|
|
36419
|
-
return Y([U,
|
|
36439
|
+
return function(C) {
|
|
36440
|
+
return Y([U, C]);
|
|
36420
36441
|
};
|
|
36421
36442
|
}
|
|
36422
36443
|
function Y(U) {
|
|
36423
36444
|
if (b) throw new TypeError("Generator is already executing.");
|
|
36424
36445
|
for (; k && (k = 0, U[0] && (y = 0)), y; ) try {
|
|
36425
|
-
if (b = 1,
|
|
36426
|
-
switch (
|
|
36446
|
+
if (b = 1, T && (v = U[0] & 2 ? T.return : U[0] ? T.throw || ((v = T.return) && v.call(T), 0) : T.next) && !(v = v.call(T, U[1])).done) return v;
|
|
36447
|
+
switch (T = 0, v && (U = [U[0] & 2, v.value]), U[0]) {
|
|
36427
36448
|
case 0:
|
|
36428
36449
|
case 1:
|
|
36429
36450
|
v = U;
|
|
@@ -36431,7 +36452,7 @@ function Ml() {
|
|
|
36431
36452
|
case 4:
|
|
36432
36453
|
return y.label++, { value: U[1], done: !1 };
|
|
36433
36454
|
case 5:
|
|
36434
|
-
y.label++,
|
|
36455
|
+
y.label++, T = U[1], U = [0];
|
|
36435
36456
|
continue;
|
|
36436
36457
|
case 7:
|
|
36437
36458
|
U = y.ops.pop(), y.trys.pop();
|
|
@@ -36457,8 +36478,8 @@ function Ml() {
|
|
|
36457
36478
|
continue;
|
|
36458
36479
|
}
|
|
36459
36480
|
U = p.call(m, y);
|
|
36460
|
-
} catch (
|
|
36461
|
-
U = [6,
|
|
36481
|
+
} catch (C) {
|
|
36482
|
+
U = [6, C], T = 0;
|
|
36462
36483
|
} finally {
|
|
36463
36484
|
b = v = 0;
|
|
36464
36485
|
}
|
|
@@ -36471,18 +36492,18 @@ function Ml() {
|
|
|
36471
36492
|
Object.defineProperty(ln, "__esModule", { value: !0 }), ln.useWebSocket = void 0;
|
|
36472
36493
|
var a = In, i = v2, s = Yn(), u = dx(), o = hx(), l = r(fx()), c = Ll(), h = function(m, p, y) {
|
|
36473
36494
|
p === void 0 && (p = s.DEFAULT_OPTIONS), y === void 0 && (y = !0);
|
|
36474
|
-
var b = (0, a.useState)(null),
|
|
36475
|
-
if (!p.disableJson &&
|
|
36495
|
+
var b = (0, a.useState)(null), T = b[0], v = b[1], k = (0, a.useState)({}), B = k[0], Y = k[1], U = (0, a.useMemo)(function() {
|
|
36496
|
+
if (!p.disableJson && T)
|
|
36476
36497
|
try {
|
|
36477
|
-
return JSON.parse(
|
|
36498
|
+
return JSON.parse(T.data);
|
|
36478
36499
|
} catch {
|
|
36479
36500
|
return s.UNPARSABLE_JSON_OBJECT;
|
|
36480
36501
|
}
|
|
36481
36502
|
return null;
|
|
36482
|
-
}, [
|
|
36503
|
+
}, [T, p.disableJson]), C = (0, a.useRef)(null), P = (0, a.useRef)(null), Q = (0, a.useRef)(function() {
|
|
36483
36504
|
}), j = (0, a.useRef)(0), ne = (0, a.useRef)(Date.now()), q = (0, a.useRef)([]), V = (0, a.useRef)(null), F = (0, a.useRef)(p);
|
|
36484
36505
|
F.current = p;
|
|
36485
|
-
var D =
|
|
36506
|
+
var D = C.current && B[C.current] !== void 0 ? B[C.current] : m !== null && y === !0 ? s.ReadyState.CONNECTING : s.ReadyState.UNINSTANTIATED, H = p.queryParams ? JSON.stringify(p.queryParams) : null, G = (0, a.useCallback)(function(Z, A) {
|
|
36486
36507
|
var ue;
|
|
36487
36508
|
if (A === void 0 && (A = !0), s.isEventSourceSupported && P.current instanceof EventSource) {
|
|
36488
36509
|
console.warn("Unable to send a message from an eventSource");
|
|
@@ -36502,9 +36523,9 @@ function Ml() {
|
|
|
36502
36523
|
return n(this, function(Ne) {
|
|
36503
36524
|
switch (Ne.label) {
|
|
36504
36525
|
case 0:
|
|
36505
|
-
return I =
|
|
36526
|
+
return I = C, [4, (0, o.getUrl)(m, F)];
|
|
36506
36527
|
case 1:
|
|
36507
|
-
return I.current = Ne.sent(),
|
|
36528
|
+
return I.current = Ne.sent(), C.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), C.current = "ABORTED", (0, i.flushSync)(function() {
|
|
36508
36529
|
return Y(function(Re) {
|
|
36509
36530
|
return e(e({}, Re), { ABORTED: s.ReadyState.CLOSED });
|
|
36510
36531
|
});
|
|
@@ -36519,10 +36540,10 @@ function Ml() {
|
|
|
36519
36540
|
A || (0, i.flushSync)(function() {
|
|
36520
36541
|
return Y(function(Ve) {
|
|
36521
36542
|
var Ke;
|
|
36522
|
-
return e(e({}, Ve),
|
|
36543
|
+
return e(e({}, Ve), C.current && (Ke = {}, Ke[C.current] = Re, Ke));
|
|
36523
36544
|
});
|
|
36524
36545
|
});
|
|
36525
|
-
}, ue && (Z = (0, u.createOrJoinSocket)(P,
|
|
36546
|
+
}, ue && (Z = (0, u.createOrJoinSocket)(P, C.current, we, F, ve, Q, j, ne, G)), [
|
|
36526
36547
|
2
|
|
36527
36548
|
/*return*/
|
|
36528
36549
|
]);
|
|
@@ -36537,7 +36558,7 @@ function Ml() {
|
|
|
36537
36558
|
};
|
|
36538
36559
|
} else (m === null || y === !1) && (j.current = 0, Y(function(I) {
|
|
36539
36560
|
var ve;
|
|
36540
|
-
return e(e({}, I),
|
|
36561
|
+
return e(e({}, I), C.current && (ve = {}, ve[C.current] = s.ReadyState.CLOSED, ve));
|
|
36541
36562
|
}));
|
|
36542
36563
|
}, [m, y, H, G]), (0, a.useEffect)(function() {
|
|
36543
36564
|
D === s.ReadyState.OPEN && q.current.splice(0).forEach(function(Z) {
|
|
@@ -36546,7 +36567,7 @@ function Ml() {
|
|
|
36546
36567
|
}, [D]), {
|
|
36547
36568
|
sendMessage: G,
|
|
36548
36569
|
sendJsonMessage: te,
|
|
36549
|
-
lastMessage:
|
|
36570
|
+
lastMessage: T,
|
|
36550
36571
|
lastJsonMessage: U,
|
|
36551
36572
|
readyState: D,
|
|
36552
36573
|
getWebSocket: W
|
|
@@ -36586,7 +36607,7 @@ function px() {
|
|
|
36586
36607
|
o === void 0 && (o = r.DEFAULT_OPTIONS), l === void 0 && (l = !0);
|
|
36587
36608
|
var c = (0, t.useMemo)(function() {
|
|
36588
36609
|
return e(e({}, o), { fromSocketIO: !0 });
|
|
36589
|
-
}, []), h = (0, n.useWebSocket)(u, c, l), m = h.sendMessage, p = h.sendJsonMessage, y = h.lastMessage, b = h.readyState,
|
|
36610
|
+
}, []), h = (0, n.useWebSocket)(u, c, l), m = h.sendMessage, p = h.sendJsonMessage, y = h.lastMessage, b = h.readyState, T = h.getWebSocket, v = (0, t.useMemo)(function() {
|
|
36590
36611
|
return i(y);
|
|
36591
36612
|
}, [y]);
|
|
36592
36613
|
return {
|
|
@@ -36595,7 +36616,7 @@ function px() {
|
|
|
36595
36616
|
lastMessage: v,
|
|
36596
36617
|
lastJsonMessage: v,
|
|
36597
36618
|
readyState: b,
|
|
36598
|
-
getWebSocket:
|
|
36619
|
+
getWebSocket: T
|
|
36599
36620
|
};
|
|
36600
36621
|
};
|
|
36601
36622
|
return _r.useSocketIO = s, _r;
|
|
@@ -36629,7 +36650,7 @@ function mx() {
|
|
|
36629
36650
|
withCredentials: l
|
|
36630
36651
|
} }), p = (0, n.useRef)(a.EMPTY_EVENT_HANDLERS);
|
|
36631
36652
|
c && (p.current = c);
|
|
36632
|
-
var y = (0, r.useWebSocket)(s, m, o), b = y.lastMessage,
|
|
36653
|
+
var y = (0, r.useWebSocket)(s, m, o), b = y.lastMessage, T = y.readyState, v = y.getWebSocket;
|
|
36633
36654
|
return (0, n.useEffect)(function() {
|
|
36634
36655
|
b?.type && Object.entries(p.current).forEach(function(k) {
|
|
36635
36656
|
var B = k[0], Y = k[1];
|
|
@@ -36637,7 +36658,7 @@ function mx() {
|
|
|
36637
36658
|
});
|
|
36638
36659
|
}, [b]), {
|
|
36639
36660
|
lastEvent: b,
|
|
36640
|
-
readyState:
|
|
36661
|
+
readyState: T,
|
|
36641
36662
|
getEventSource: v
|
|
36642
36663
|
};
|
|
36643
36664
|
};
|
|
@@ -36690,7 +36711,7 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36690
36711
|
CONVERSATION: "CONVERSATION",
|
|
36691
36712
|
FORM: "FORM"
|
|
36692
36713
|
}, Ur = ts({}), tm = ({ children: e, liveChatPayload: t }) => {
|
|
36693
|
-
const { conversationScreen: n } = ke(St), { pushXpertMessage: r } = ke(vr), { setHasError: a, setMode: i } = ke(zt), [s, u] = xe(""), [o, l] = xe(!1), [, c] = xe(""), [h, m] = xe([]), [p, y] = xe(null), [b,
|
|
36714
|
+
const { conversationScreen: n } = ke(St), { pushXpertMessage: r } = ke(vr), { setHasError: a, setMode: i } = ke(zt), [s, u] = xe(""), [o, l] = xe(!1), [, c] = xe(""), [h, m] = xe([]), [p, y] = xe(null), [b, T] = xe(er.FORM), [v, k] = xe(null), B = (W) => m((Z) => [...Z, W]), Y = async (W) => {
|
|
36694
36715
|
const Z = await vx(W.data), { conversation_id: A, event_type: ue, body: ye } = Z;
|
|
36695
36716
|
switch (ue) {
|
|
36696
36717
|
case "AGENT_TYPING":
|
|
@@ -36718,8 +36739,8 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36718
36739
|
}
|
|
36719
36740
|
}, { sendJsonMessage: U } = yx(p, {
|
|
36720
36741
|
onMessage: Y
|
|
36721
|
-
}),
|
|
36722
|
-
|
|
36742
|
+
}), C = () => {
|
|
36743
|
+
T(er.FORM);
|
|
36723
36744
|
const W = n?.liveChat?.form;
|
|
36724
36745
|
(!W || W.length === 0) && i(On.XPERT);
|
|
36725
36746
|
}, P = () => {
|
|
@@ -36733,7 +36754,7 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36733
36754
|
role: Ie.INFO
|
|
36734
36755
|
}), j();
|
|
36735
36756
|
}, j = () => {
|
|
36736
|
-
c(""), y(null),
|
|
36757
|
+
c(""), y(null), T(er.FORM), i(On.XPERT);
|
|
36737
36758
|
}, ne = () => {
|
|
36738
36759
|
v && clearTimeout(v), l(!0);
|
|
36739
36760
|
const W = setTimeout(() => {
|
|
@@ -36742,7 +36763,7 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36742
36763
|
k(W);
|
|
36743
36764
|
}, q = (W) => {
|
|
36744
36765
|
const { displayName: Z } = W;
|
|
36745
|
-
m([]), u(Z ?? "An agent"),
|
|
36766
|
+
m([]), u(Z ?? "An agent"), T(er.CONVERSATION);
|
|
36746
36767
|
}, V = (W) => {
|
|
36747
36768
|
const { messageId: Z, text: A, timestamp: ue } = W;
|
|
36748
36769
|
B({
|
|
@@ -36763,7 +36784,7 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36763
36784
|
}, te = {
|
|
36764
36785
|
agentName: s,
|
|
36765
36786
|
agentTyping: o,
|
|
36766
|
-
cancelLiveChatConnection:
|
|
36787
|
+
cancelLiveChatConnection: C,
|
|
36767
36788
|
endLiveChat: Q,
|
|
36768
36789
|
liveChatMessages: h,
|
|
36769
36790
|
pushLiveChatMessage: B,
|
|
@@ -36787,10 +36808,10 @@ const Tx = "This conversation with a live agent has ended. Please note that a tr
|
|
|
36787
36808
|
},
|
|
36788
36809
|
setLiveChatMessages: m,
|
|
36789
36810
|
step: b,
|
|
36790
|
-
setStep:
|
|
36811
|
+
setStep: T,
|
|
36791
36812
|
startLiveChat: (W) => {
|
|
36792
36813
|
try {
|
|
36793
|
-
|
|
36814
|
+
T(er.CONNECTING);
|
|
36794
36815
|
const Z = new URLSearchParams({ ...t, ...W });
|
|
36795
36816
|
Z.append("url", window.location.href), y(
|
|
36796
36817
|
`${n?.liveChat?.socketUrl}?${Z.toString()}`
|
|
@@ -37159,19 +37180,19 @@ function um({ onDismiss: e }) {
|
|
|
37159
37180
|
] }),
|
|
37160
37181
|
r && /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
37161
37182
|
/* @__PURE__ */ w.jsx("p", { children: "Before you go, let me know how I did:" }),
|
|
37162
|
-
/* @__PURE__ */ w.jsx("div", { className: "livechat-end-confirmation-container__icon-button-container", children: Ax.map(({ key: y, icon: b, text:
|
|
37183
|
+
/* @__PURE__ */ w.jsx("div", { className: "livechat-end-confirmation-container__icon-button-container", children: Ax.map(({ key: y, icon: b, text: T }) => {
|
|
37163
37184
|
const v = y === i, k = v ? { backgroundColor: "#E7E4DB", borderColor: "#767676" } : {};
|
|
37164
37185
|
return /* @__PURE__ */ w.jsxs(
|
|
37165
37186
|
"button",
|
|
37166
37187
|
{
|
|
37167
37188
|
"aria-checked": v,
|
|
37168
|
-
"aria-label":
|
|
37189
|
+
"aria-label": T,
|
|
37169
37190
|
role: "radio",
|
|
37170
37191
|
style: k,
|
|
37171
37192
|
onClick: () => s(y),
|
|
37172
37193
|
children: [
|
|
37173
37194
|
/* @__PURE__ */ w.jsx("span", { children: b }),
|
|
37174
|
-
/* @__PURE__ */ w.jsx("p", { children:
|
|
37195
|
+
/* @__PURE__ */ w.jsx("p", { children: T })
|
|
37175
37196
|
]
|
|
37176
37197
|
},
|
|
37177
37198
|
y
|
|
@@ -37328,13 +37349,13 @@ function lm() {
|
|
|
37328
37349
|
const { conversationScreen: e, primaryColor: t } = ke(St), { startLiveChat: n } = ke(Ur), { setMode: r } = ke(zt), { form: a, formHeader: i, privacyPolicyLink: s, privacyPolicyText: u } = e.liveChat, [o, , l] = Nx({}), [c, h] = xe(!1), { clearError: m, errors: p, setErrors: y } = Ox(), b = Yt(
|
|
37329
37350
|
() => (u ?? "").split(Mu, 2),
|
|
37330
37351
|
[u]
|
|
37331
|
-
),
|
|
37352
|
+
), T = () => {
|
|
37332
37353
|
r(On.XPERT);
|
|
37333
37354
|
}, v = () => {
|
|
37334
37355
|
m("privacyCheck"), h((U) => !U);
|
|
37335
|
-
}, k = (U,
|
|
37356
|
+
}, k = (U, C) => {
|
|
37336
37357
|
const P = U.target.value;
|
|
37337
|
-
m(
|
|
37358
|
+
m(C), l(C, P);
|
|
37338
37359
|
}, B = () => {
|
|
37339
37360
|
Y() && n(o);
|
|
37340
37361
|
};
|
|
@@ -37342,31 +37363,31 @@ function lm() {
|
|
|
37342
37363
|
(!a || a.length === 0) && n();
|
|
37343
37364
|
}, [a, n]);
|
|
37344
37365
|
const Y = () => {
|
|
37345
|
-
const U = a.reduce((
|
|
37366
|
+
const U = a.reduce((C, P) => {
|
|
37346
37367
|
const { key: Q, validations: j = [] } = P, ne = o[Q];
|
|
37347
|
-
if (!ne) return { ...
|
|
37368
|
+
if (!ne) return { ...C, [Q]: "Required" };
|
|
37348
37369
|
if (j?.length > 0)
|
|
37349
37370
|
for (const q of j)
|
|
37350
37371
|
switch (q) {
|
|
37351
37372
|
case "email": {
|
|
37352
37373
|
if (!kx(ne))
|
|
37353
|
-
return { ...
|
|
37374
|
+
return { ...C, [Q]: "Should be email" };
|
|
37354
37375
|
break;
|
|
37355
37376
|
}
|
|
37356
37377
|
}
|
|
37357
|
-
return
|
|
37378
|
+
return C;
|
|
37358
37379
|
}, {});
|
|
37359
37380
|
return !c && u && (U.privacyCheck = "Required"), y(U), Object.keys(U).length === 0;
|
|
37360
37381
|
};
|
|
37361
37382
|
return /* @__PURE__ */ w.jsxs("div", { className: "live-chat-form", children: [
|
|
37362
37383
|
i && /* @__PURE__ */ w.jsx("p", { children: i }),
|
|
37363
|
-
(a ?? []).map(({ key: U, name:
|
|
37384
|
+
(a ?? []).map(({ key: U, name: C }) => /* @__PURE__ */ w.jsxs(b2, { children: [
|
|
37364
37385
|
/* @__PURE__ */ w.jsx(
|
|
37365
37386
|
"input",
|
|
37366
37387
|
{
|
|
37367
37388
|
className: `live-chat-form-input ${p[U] ? "error" : ""}`,
|
|
37368
|
-
name:
|
|
37369
|
-
placeholder:
|
|
37389
|
+
name: C,
|
|
37390
|
+
placeholder: C,
|
|
37370
37391
|
onChange: (P) => k(P, U)
|
|
37371
37392
|
}
|
|
37372
37393
|
),
|
|
@@ -37424,7 +37445,7 @@ function lm() {
|
|
|
37424
37445
|
] }),
|
|
37425
37446
|
p.privacyCheck && /* @__PURE__ */ w.jsx("p", { className: "live-chat-form-error", children: p.privacyCheck }),
|
|
37426
37447
|
/* @__PURE__ */ w.jsxs("div", { className: "live-chat-buttons-container", children: [
|
|
37427
|
-
/* @__PURE__ */ w.jsx("button", { className: "live-chat-cancel-button", onClick:
|
|
37448
|
+
/* @__PURE__ */ w.jsx("button", { className: "live-chat-cancel-button", onClick: T, children: "Cancel" }),
|
|
37428
37449
|
/* @__PURE__ */ w.jsx(
|
|
37429
37450
|
"button",
|
|
37430
37451
|
{
|
|
@@ -37473,11 +37494,11 @@ function dm({
|
|
|
37473
37494
|
const h = () => {
|
|
37474
37495
|
u(!1), (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && m(t, 1, 1);
|
|
37475
37496
|
}, m = (p, y, b) => {
|
|
37476
|
-
const
|
|
37497
|
+
const T = {
|
|
37477
37498
|
expires: b,
|
|
37478
37499
|
path: "/"
|
|
37479
37500
|
};
|
|
37480
|
-
Qt.set(p, y,
|
|
37501
|
+
Qt.set(p, y, T);
|
|
37481
37502
|
};
|
|
37482
37503
|
return !o || !c || !r ? null : /* @__PURE__ */ w.jsx("div", { children: /* @__PURE__ */ w.jsxs(
|
|
37483
37504
|
"div",
|
|
@@ -37605,8 +37626,8 @@ function Mx({
|
|
|
37605
37626
|
setLoading: y,
|
|
37606
37627
|
xpertMessages: b
|
|
37607
37628
|
}) {
|
|
37608
|
-
const [
|
|
37609
|
-
if (o && u && !l && !
|
|
37629
|
+
const [T, v] = xe(!1), k = rt(b.length), B = pn(async () => {
|
|
37630
|
+
if (o && u && !l && !T && a && !c && !(b.length > 0) && !(!n?.endpoint || !n?.messagesKey)) {
|
|
37610
37631
|
v(!0);
|
|
37611
37632
|
try {
|
|
37612
37633
|
p(!1), m(!1), y(!0);
|
|
@@ -37642,7 +37663,7 @@ function Mx({
|
|
|
37642
37663
|
r,
|
|
37643
37664
|
a,
|
|
37644
37665
|
i,
|
|
37645
|
-
|
|
37666
|
+
T,
|
|
37646
37667
|
s,
|
|
37647
37668
|
u,
|
|
37648
37669
|
o,
|
|
@@ -37726,14 +37747,14 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
37726
37747
|
onMessageSent: p,
|
|
37727
37748
|
pushXpertMessage: y,
|
|
37728
37749
|
setXpertMessages: b,
|
|
37729
|
-
xpertMessages:
|
|
37750
|
+
xpertMessages: T
|
|
37730
37751
|
} = ke(vr), {
|
|
37731
37752
|
isMobile: v,
|
|
37732
37753
|
loadingHistory: k,
|
|
37733
37754
|
mode: B,
|
|
37734
37755
|
setDisableScroll: Y,
|
|
37735
37756
|
setHasError: U,
|
|
37736
|
-
setHasNewMessage:
|
|
37757
|
+
setHasNewMessage: C,
|
|
37737
37758
|
setIsNormalSize: P,
|
|
37738
37759
|
setLoading: Q,
|
|
37739
37760
|
setLoadingHistory: j,
|
|
@@ -37896,7 +37917,7 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
37896
37917
|
toolCalls: Ee.tool_calls,
|
|
37897
37918
|
toolCallId: Ee.tool_call_id
|
|
37898
37919
|
}))
|
|
37899
|
-
), Y(!0),
|
|
37920
|
+
), Y(!0), C(!0);
|
|
37900
37921
|
} catch (Pe) {
|
|
37901
37922
|
console.error(Pe);
|
|
37902
37923
|
} finally {
|
|
@@ -37949,9 +37970,9 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
37949
37970
|
loadingHistory: k,
|
|
37950
37971
|
setDisableScroll: Y,
|
|
37951
37972
|
setHasError: U,
|
|
37952
|
-
setHasNewMessage:
|
|
37973
|
+
setHasNewMessage: C,
|
|
37953
37974
|
setLoading: Q,
|
|
37954
|
-
xpertMessages:
|
|
37975
|
+
xpertMessages: T
|
|
37955
37976
|
}), !n || l?.enabled && !l?.experimentName && !ve || o?.enabled && !I?.current?.track && !e)
|
|
37956
37977
|
return null;
|
|
37957
37978
|
const At = async (Se, Ae, Me, Pe) => {
|
|
@@ -38031,8 +38052,8 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
38031
38052
|
if (!t?.endpoint || !t?.messagesKey || Se.trim().length === 0)
|
|
38032
38053
|
return;
|
|
38033
38054
|
const Ae = /* @__PURE__ */ new Date();
|
|
38034
|
-
|
|
38035
|
-
const Me =
|
|
38055
|
+
C(!1), U(!1);
|
|
38056
|
+
const Me = T.filter((X) => X.role === Ie.USER).length + 1;
|
|
38036
38057
|
Re({
|
|
38037
38058
|
name: "xpert.chatbot.popup.chat.message.sent",
|
|
38038
38059
|
payload: {
|
|
@@ -38048,7 +38069,7 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
38048
38069
|
let Pe = null;
|
|
38049
38070
|
(a?.conversationHistory?.enabled || we) && (Pe = mn(i));
|
|
38050
38071
|
const Fe = [
|
|
38051
|
-
...
|
|
38072
|
+
...T,
|
|
38052
38073
|
{ role: Ie.USER, content: Se }
|
|
38053
38074
|
].map((X) => ({
|
|
38054
38075
|
role: X.role,
|
|
@@ -38079,7 +38100,7 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
38079
38100
|
},
|
|
38080
38101
|
...X && { external_id: X }
|
|
38081
38102
|
}
|
|
38082
|
-
}), Y(!1),
|
|
38103
|
+
}), Y(!1), C(!0), Q(!1);
|
|
38083
38104
|
return;
|
|
38084
38105
|
}
|
|
38085
38106
|
y({ role: Ie.USER, content: Se }), m.current = new AbortController();
|
|
@@ -38108,7 +38129,7 @@ function hm({ submitEventExternal: e = null }) {
|
|
|
38108
38129
|
Se,
|
|
38109
38130
|
Fe,
|
|
38110
38131
|
Ae
|
|
38111
|
-
), Y(!1),
|
|
38132
|
+
), Y(!1), C(!0);
|
|
38112
38133
|
} catch (Ae) {
|
|
38113
38134
|
if (Ae.name === "AbortError")
|
|
38114
38135
|
return;
|
|
@@ -38234,7 +38255,7 @@ const fm = ({
|
|
|
38234
38255
|
conversation: a,
|
|
38235
38256
|
onMessageSent: c,
|
|
38236
38257
|
onStreamingStop: h
|
|
38237
|
-
},
|
|
38258
|
+
}, T = {
|
|
38238
38259
|
liveChatPayload: l
|
|
38239
38260
|
}, v = {
|
|
38240
38261
|
externalLoading: i,
|
|
@@ -38242,7 +38263,7 @@ const fm = ({
|
|
|
38242
38263
|
externalStreaming: u,
|
|
38243
38264
|
externalTriggerSurvey: o
|
|
38244
38265
|
};
|
|
38245
|
-
return /* @__PURE__ */ w.jsx(td, { ...y, children: /* @__PURE__ */ w.jsx(nd, { ...v, children: /* @__PURE__ */ w.jsx(ld, { ...b, children: /* @__PURE__ */ w.jsx(tm, { ...
|
|
38266
|
+
return /* @__PURE__ */ w.jsx(td, { ...y, children: /* @__PURE__ */ w.jsx(nd, { ...v, children: /* @__PURE__ */ w.jsx(ld, { ...b, children: /* @__PURE__ */ w.jsx(tm, { ...T, children: e }) }) }) });
|
|
38246
38267
|
};
|
|
38247
38268
|
fm.propTypes = {
|
|
38248
38269
|
children: x.element,
|