@2uinc/frontend-component-xpert-chatbot 1.14.1-beta.3 → 1.14.1-beta.4
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 +503 -503
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -646,12 +646,12 @@ function ur(e, t) {
|
|
646
646
|
}
|
647
647
|
);
|
648
648
|
}
|
649
|
-
var Re = ur(Ms, { path: "/" }),
|
650
|
-
function
|
649
|
+
var Re = ur(Ms, { path: "/" }), Co = { exports: {} }, xs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ws = xs, vs = ws;
|
650
|
+
function Eo() {
|
651
651
|
}
|
652
652
|
function Ao() {
|
653
653
|
}
|
654
|
-
Ao.resetWarningCache =
|
654
|
+
Ao.resetWarningCache = Eo;
|
655
655
|
var Ts = function() {
|
656
656
|
function e(r, i, o, a, l, s) {
|
657
657
|
if (s !== vs) {
|
@@ -686,19 +686,19 @@ var Ts = function() {
|
|
686
686
|
shape: t,
|
687
687
|
exact: t,
|
688
688
|
checkPropTypes: Ao,
|
689
|
-
resetWarningCache:
|
689
|
+
resetWarningCache: Eo
|
690
690
|
};
|
691
691
|
return n.PropTypes = n, n;
|
692
692
|
};
|
693
|
-
|
694
|
-
var B =
|
693
|
+
Co.exports = Ts();
|
694
|
+
var B = Co.exports;
|
695
695
|
const I = /* @__PURE__ */ rt(B);
|
696
696
|
var dn = { exports: {} };
|
697
697
|
dn.exports;
|
698
698
|
(function(e, t) {
|
699
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", p = "[object Function]", v = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", b = "[object Null]", z = "[object Object]",
|
700
|
-
g[S] = g[w] = g[j] = g[O] = g[P] = g[$] = g[G] = g[Z] = g[
|
701
|
-
var me = typeof en == "object" && en && en.Object === Object && en, De = typeof self == "object" && self && self.Object === Object && self,
|
699
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", p = "[object Function]", v = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", b = "[object Null]", z = "[object Object]", C = "[object Proxy]", _ = "[object RegExp]", Q = "[object Set]", M = "[object String]", L = "[object Undefined]", Y = "[object WeakMap]", q = "[object ArrayBuffer]", J = "[object DataView]", S = "[object Float32Array]", w = "[object Float64Array]", j = "[object Int8Array]", O = "[object Int16Array]", P = "[object Int32Array]", $ = "[object Uint8Array]", G = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", ie = "[object Uint32Array]", h = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, ve = /^(?:0|[1-9]\d*)$/, g = {};
|
700
|
+
g[S] = g[w] = g[j] = g[O] = g[P] = g[$] = g[G] = g[Z] = g[ie] = !0, g[l] = g[s] = g[q] = g[c] = g[J] = g[f] = g[m] = g[p] = g[x] = g[k] = g[z] = g[_] = g[Q] = g[M] = g[Y] = !1;
|
701
|
+
var me = typeof en == "object" && en && en.Object === Object && en, De = typeof self == "object" && self && self.Object === Object && self, le = me || De || Function("return this")(), Ie = t && !t.nodeType && t, Te = Ie && !0 && e && !e.nodeType && e, ze = Te && Te.exports === Ie, Le = ze && me.process, Ke = function() {
|
702
702
|
try {
|
703
703
|
var d = Te && Te.require && Te.require("util").types;
|
704
704
|
return d || Le && Le.binding && Le.binding("util");
|
@@ -736,18 +736,18 @@ dn.exports;
|
|
736
736
|
return d(y(T));
|
737
737
|
};
|
738
738
|
}
|
739
|
-
var Je = Array.prototype, jt = Function.prototype, $e = Object.prototype, Ze =
|
739
|
+
var Je = Array.prototype, jt = Function.prototype, $e = Object.prototype, Ze = le["__core-js_shared__"], F = jt.toString, W = $e.hasOwnProperty, be = function() {
|
740
740
|
var d = /[^.]+$/.exec(Ze && Ze.keys && Ze.keys.IE_PROTO || "");
|
741
741
|
return d ? "Symbol(src)_1." + d : "";
|
742
|
-
}(),
|
742
|
+
}(), oe = $e.toString, de = F.call(Object), N = RegExp(
|
743
743
|
"^" + F.call(W).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
744
|
-
),
|
744
|
+
), E = ze ? le.Buffer : void 0, U = le.Symbol, K = le.Uint8Array, ee = E ? E.allocUnsafe : void 0, Me = mt(Object.getPrototypeOf, Object), Ye = Object.create, He = $e.propertyIsEnumerable, lt = Je.splice, je = U ? U.toStringTag : void 0, ce = function() {
|
745
745
|
try {
|
746
746
|
var d = Bn(Object, "defineProperty");
|
747
747
|
return d({}, "", {}), d;
|
748
748
|
} catch {
|
749
749
|
}
|
750
|
-
}(),
|
750
|
+
}(), Ct = E ? E.isBuffer : void 0, _e = Math.max, rl = Date.now, ni = Bn(le, "Map"), Et = Bn(Object, "create"), il = function() {
|
751
751
|
function d() {
|
752
752
|
}
|
753
753
|
return function(y) {
|
@@ -768,7 +768,7 @@ dn.exports;
|
|
768
768
|
}
|
769
769
|
}
|
770
770
|
function ol() {
|
771
|
-
this.__data__ =
|
771
|
+
this.__data__ = Et ? Et(null) : {}, this.size = 0;
|
772
772
|
}
|
773
773
|
function al(d) {
|
774
774
|
var y = this.has(d) && delete this.__data__[d];
|
@@ -776,7 +776,7 @@ dn.exports;
|
|
776
776
|
}
|
777
777
|
function ll(d) {
|
778
778
|
var y = this.__data__;
|
779
|
-
if (
|
779
|
+
if (Et) {
|
780
780
|
var T = y[d];
|
781
781
|
return T === r ? void 0 : T;
|
782
782
|
}
|
@@ -784,11 +784,11 @@ dn.exports;
|
|
784
784
|
}
|
785
785
|
function sl(d) {
|
786
786
|
var y = this.__data__;
|
787
|
-
return
|
787
|
+
return Et ? y[d] !== void 0 : W.call(y, d);
|
788
788
|
}
|
789
789
|
function ul(d, y) {
|
790
790
|
var T = this.__data__;
|
791
|
-
return this.size += this.has(d) ? 0 : 1, T[d] =
|
791
|
+
return this.size += this.has(d) ? 0 : 1, T[d] = Et && y === void 0 ? r : y, this;
|
792
792
|
}
|
793
793
|
st.prototype.clear = ol, st.prototype.delete = al, st.prototype.get = ll, st.prototype.has = sl, st.prototype.set = ul;
|
794
794
|
function Xe(d) {
|
@@ -878,14 +878,14 @@ dn.exports;
|
|
878
878
|
}
|
879
879
|
bt.prototype.clear = xl, bt.prototype.delete = wl, bt.prototype.get = vl, bt.prototype.has = Tl, bt.prototype.set = Dl;
|
880
880
|
function Il(d, y) {
|
881
|
-
var T = Hn(d), R = !T && Yn(d),
|
881
|
+
var T = Hn(d), R = !T && Yn(d), re = !T && !R && li(d), ue = !T && !R && !re && ui(d), he = T || R || re || ue, te = he ? Nt(d.length, String) : [], ge = te.length;
|
882
882
|
for (var Fe in d)
|
883
883
|
(y || W.call(d, Fe)) && !(he && // Safari 9 has enumerable `arguments.length` in strict mode.
|
884
884
|
(Fe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
885
|
-
|
886
|
-
|
887
|
-
oi(Fe, ge))) &&
|
888
|
-
return
|
885
|
+
re && (Fe == "offset" || Fe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
886
|
+
ue && (Fe == "buffer" || Fe == "byteLength" || Fe == "byteOffset") || // Skip index properties.
|
887
|
+
oi(Fe, ge))) && te.push(Fe);
|
888
|
+
return te;
|
889
889
|
}
|
890
890
|
function Rn(d, y, T) {
|
891
891
|
(T !== void 0 && !Jt(d[y], T) || T === void 0 && !(y in d)) && Un(d, y, T);
|
@@ -918,13 +918,13 @@ dn.exports;
|
|
918
918
|
function jl(d) {
|
919
919
|
if (!ut(d) || $l(d))
|
920
920
|
return !1;
|
921
|
-
var y = qn(d) ? N :
|
921
|
+
var y = qn(d) ? N : ne;
|
922
922
|
return y.test(Xl(d));
|
923
923
|
}
|
924
|
-
function
|
924
|
+
function Cl(d) {
|
925
925
|
return At(d) && si(d.length) && !!g[Xt(d)];
|
926
926
|
}
|
927
|
-
function
|
927
|
+
function El(d) {
|
928
928
|
if (!ut(d))
|
929
929
|
return ql(d);
|
930
930
|
var y = ai(d), T = [];
|
@@ -932,28 +932,28 @@ dn.exports;
|
|
932
932
|
R == "constructor" && (y || !W.call(d, R)) || T.push(R);
|
933
933
|
return T;
|
934
934
|
}
|
935
|
-
function ii(d, y, T, R,
|
936
|
-
d !== y && kl(y, function(
|
937
|
-
if (
|
938
|
-
Al(d, y, he, T, ii, R,
|
935
|
+
function ii(d, y, T, R, re) {
|
936
|
+
d !== y && kl(y, function(ue, he) {
|
937
|
+
if (re || (re = new bt()), ut(ue))
|
938
|
+
Al(d, y, he, T, ii, R, re);
|
939
939
|
else {
|
940
|
-
var
|
941
|
-
|
940
|
+
var te = R ? R(Qn(d, he), ue, he + "", d, y, re) : void 0;
|
941
|
+
te === void 0 && (te = ue), Rn(d, he, te);
|
942
942
|
}
|
943
943
|
}, ci);
|
944
944
|
}
|
945
|
-
function Al(d, y, T, R,
|
946
|
-
var
|
945
|
+
function Al(d, y, T, R, re, ue, he) {
|
946
|
+
var te = Qn(d, T), ge = Qn(y, T), Fe = he.get(ge);
|
947
947
|
if (Fe) {
|
948
948
|
Rn(d, T, Fe);
|
949
949
|
return;
|
950
950
|
}
|
951
|
-
var
|
951
|
+
var Ce = ue ? ue(te, ge, T + "", d, y, he) : void 0, St = Ce === void 0;
|
952
952
|
if (St) {
|
953
953
|
var Vn = Hn(ge), Wn = !Vn && li(ge), fi = !Vn && !Wn && ui(ge);
|
954
|
-
|
954
|
+
Ce = ge, Vn || Wn || fi ? Hn(te) ? Ce = te : Kl(te) ? Ce = Fl(te) : Wn ? (St = !1, Ce = zl(ge, !0)) : fi ? (St = !1, Ce = _l(ge, !0)) : Ce = [] : Jl(ge) || Yn(ge) ? (Ce = te, Yn(te) ? Ce = es(te) : (!ut(te) || qn(te)) && (Ce = Ql(ge))) : St = !1;
|
955
955
|
}
|
956
|
-
St && (he.set(ge,
|
956
|
+
St && (he.set(ge, Ce), re(Ce, ge, R, ue, he), he.delete(ge)), Rn(d, T, Ce);
|
957
957
|
}
|
958
958
|
function Sl(d, y) {
|
959
959
|
return Gl(Wl(d, y, pi), d + "");
|
@@ -969,12 +969,12 @@ dn.exports;
|
|
969
969
|
function zl(d, y) {
|
970
970
|
if (y)
|
971
971
|
return d.slice();
|
972
|
-
var T = d.length, R =
|
972
|
+
var T = d.length, R = ee ? ee(T) : new d.constructor(T);
|
973
973
|
return d.copy(R), R;
|
974
974
|
}
|
975
975
|
function Ll(d) {
|
976
976
|
var y = new d.constructor(d.byteLength);
|
977
|
-
return new
|
977
|
+
return new K(y).set(new K(d)), y;
|
978
978
|
}
|
979
979
|
function _l(d, y) {
|
980
980
|
var T = y ? Ll(d.buffer) : d.buffer;
|
@@ -987,29 +987,29 @@ dn.exports;
|
|
987
987
|
return y;
|
988
988
|
}
|
989
989
|
function Pl(d, y, T, R) {
|
990
|
-
var
|
990
|
+
var re = !T;
|
991
991
|
T || (T = {});
|
992
|
-
for (var
|
993
|
-
var
|
994
|
-
ge === void 0 && (ge = d[
|
992
|
+
for (var ue = -1, he = y.length; ++ue < he; ) {
|
993
|
+
var te = y[ue], ge = R ? R(T[te], d[te], te, T, d) : void 0;
|
994
|
+
ge === void 0 && (ge = d[te]), re ? Un(T, te, ge) : Nl(T, te, ge);
|
995
995
|
}
|
996
996
|
return T;
|
997
997
|
}
|
998
998
|
function Rl(d) {
|
999
999
|
return Sl(function(y, T) {
|
1000
|
-
var R = -1,
|
1001
|
-
for (
|
1002
|
-
var
|
1003
|
-
|
1000
|
+
var R = -1, re = T.length, ue = re > 1 ? T[re - 1] : void 0, he = re > 2 ? T[2] : void 0;
|
1001
|
+
for (ue = d.length > 3 && typeof ue == "function" ? (re--, ue) : void 0, he && Yl(T[0], T[1], he) && (ue = re < 3 ? void 0 : ue, re = 1), y = Object(y); ++R < re; ) {
|
1002
|
+
var te = T[R];
|
1003
|
+
te && d(y, te, R, ue);
|
1004
1004
|
}
|
1005
1005
|
return y;
|
1006
1006
|
});
|
1007
1007
|
}
|
1008
1008
|
function Ul(d) {
|
1009
1009
|
return function(y, T, R) {
|
1010
|
-
for (var
|
1011
|
-
var ge = he[d ?
|
1012
|
-
if (T(
|
1010
|
+
for (var re = -1, ue = Object(y), he = R(y), te = he.length; te--; ) {
|
1011
|
+
var ge = he[d ? te : ++re];
|
1012
|
+
if (T(ue[ge], ge, ue) === !1)
|
1013
1013
|
break;
|
1014
1014
|
}
|
1015
1015
|
return y;
|
@@ -1030,8 +1030,8 @@ dn.exports;
|
|
1030
1030
|
var R = !0;
|
1031
1031
|
} catch {
|
1032
1032
|
}
|
1033
|
-
var
|
1034
|
-
return R && (y ? d[je] = T : delete d[je]),
|
1033
|
+
var re = oe.call(d);
|
1034
|
+
return R && (y ? d[je] = T : delete d[je]), re;
|
1035
1035
|
}
|
1036
1036
|
function Ql(d) {
|
1037
1037
|
return typeof d.constructor == "function" && !ai(d) ? il(Me(d)) : {};
|
@@ -1065,16 +1065,16 @@ dn.exports;
|
|
1065
1065
|
return y;
|
1066
1066
|
}
|
1067
1067
|
function Vl(d) {
|
1068
|
-
return
|
1068
|
+
return oe.call(d);
|
1069
1069
|
}
|
1070
1070
|
function Wl(d, y, T) {
|
1071
1071
|
return y = _e(y === void 0 ? d.length - 1 : y, 0), function() {
|
1072
|
-
for (var R = arguments,
|
1073
|
-
he[
|
1074
|
-
|
1075
|
-
for (var
|
1076
|
-
|
1077
|
-
return
|
1072
|
+
for (var R = arguments, re = -1, ue = _e(R.length - y, 0), he = Array(ue); ++re < ue; )
|
1073
|
+
he[re] = R[y + re];
|
1074
|
+
re = -1;
|
1075
|
+
for (var te = Array(y + 1); ++re < y; )
|
1076
|
+
te[re] = R[re];
|
1077
|
+
return te[y] = T(he), It(d, this, te);
|
1078
1078
|
};
|
1079
1079
|
}
|
1080
1080
|
function Qn(d, y) {
|
@@ -1085,8 +1085,8 @@ dn.exports;
|
|
1085
1085
|
function Zl(d) {
|
1086
1086
|
var y = 0, T = 0;
|
1087
1087
|
return function() {
|
1088
|
-
var R = rl(),
|
1089
|
-
if (T = R,
|
1088
|
+
var R = rl(), re = o - (R - T);
|
1089
|
+
if (T = R, re > 0) {
|
1090
1090
|
if (++y >= i)
|
1091
1091
|
return arguments[0];
|
1092
1092
|
} else
|
@@ -1121,12 +1121,12 @@ dn.exports;
|
|
1121
1121
|
function Kl(d) {
|
1122
1122
|
return At(d) && $n(d);
|
1123
1123
|
}
|
1124
|
-
var li =
|
1124
|
+
var li = Ct || rs;
|
1125
1125
|
function qn(d) {
|
1126
1126
|
if (!ut(d))
|
1127
1127
|
return !1;
|
1128
1128
|
var y = Xt(d);
|
1129
|
-
return y == p || y == v || y == u || y ==
|
1129
|
+
return y == p || y == v || y == u || y == C;
|
1130
1130
|
}
|
1131
1131
|
function si(d) {
|
1132
1132
|
return typeof d == "number" && d > -1 && d % 1 == 0 && d <= a;
|
@@ -1147,12 +1147,12 @@ dn.exports;
|
|
1147
1147
|
var T = W.call(y, "constructor") && y.constructor;
|
1148
1148
|
return typeof T == "function" && T instanceof T && F.call(T) == de;
|
1149
1149
|
}
|
1150
|
-
var ui = at ? kt(at) :
|
1150
|
+
var ui = at ? kt(at) : Cl;
|
1151
1151
|
function es(d) {
|
1152
1152
|
return Pl(d, ci(d));
|
1153
1153
|
}
|
1154
1154
|
function ci(d) {
|
1155
|
-
return $n(d) ? Il(d, !0) :
|
1155
|
+
return $n(d) ? Il(d, !0) : El(d);
|
1156
1156
|
}
|
1157
1157
|
var ts = Rl(function(d, y, T) {
|
1158
1158
|
ii(d, y, T);
|
@@ -1419,8 +1419,8 @@ var Lo = { exports: {} };
|
|
1419
1419
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
1420
1420
|
})();
|
1421
1421
|
})(Lo);
|
1422
|
-
var
|
1423
|
-
const _o = /* @__PURE__ */ rt(
|
1422
|
+
var Cs = Lo.exports;
|
1423
|
+
const _o = /* @__PURE__ */ rt(Cs), gi = 991, Es = () => {
|
1424
1424
|
const [e, t] = ye(
|
1425
1425
|
window.innerWidth < gi
|
1426
1426
|
);
|
@@ -1430,7 +1430,7 @@ const _o = /* @__PURE__ */ rt(Es), gi = 991, Cs = () => {
|
|
1430
1430
|
};
|
1431
1431
|
return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
|
1432
1432
|
}, []), e;
|
1433
|
-
}, it =
|
1433
|
+
}, it = Es;
|
1434
1434
|
function wn({
|
1435
1435
|
label: e,
|
1436
1436
|
className: t,
|
@@ -1513,7 +1513,7 @@ jr.defaultProps = {
|
|
1513
1513
|
};
|
1514
1514
|
const Ss = jr;
|
1515
1515
|
const Os = 1500, zs = `The parent container is wider than the chatbot launch button it contains so that the animated graduate
|
1516
|
-
eyes follow your mouse when you hover near it.`,
|
1516
|
+
eyes follow your mouse when you hover near it.`, Cr = ({
|
1517
1517
|
handleFloatingActionButtonClick: e
|
1518
1518
|
}) => {
|
1519
1519
|
var m, p, v, x, k, b, z;
|
@@ -1531,7 +1531,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
|
|
1531
1531
|
clearTimeout(_);
|
1532
1532
|
};
|
1533
1533
|
}, [a]), xe(() => {
|
1534
|
-
const
|
1534
|
+
const C = (_) => {
|
1535
1535
|
const Q = window.matchMedia(
|
1536
1536
|
`(max-width: ${Os}px)`
|
1537
1537
|
).matches, M = window.devicePixelRatio > 1.5;
|
@@ -1540,12 +1540,12 @@ eyes follow your mouse when you hover near it.`, Er = ({
|
|
1540
1540
|
i.current.querySelectorAll(
|
1541
1541
|
".xpert_chatbot__animated_graduate__pupil"
|
1542
1542
|
).forEach((Y) => {
|
1543
|
-
const q = Y.getBoundingClientRect(),
|
1544
|
-
Y.style.transform = "translate3d(" +
|
1543
|
+
const q = Y.getBoundingClientRect(), J = (_.pageX - window.scrollX - q.left) / 30 / 16 + "rem", S = (_.pageY - window.scrollY - q.top) / 30 / 16 + "rem";
|
1544
|
+
Y.style.transform = "translate3d(" + J + "," + S + ", 0rem)";
|
1545
1545
|
});
|
1546
1546
|
};
|
1547
|
-
return window.addEventListener("mousemove",
|
1548
|
-
window.removeEventListener("mousemove",
|
1547
|
+
return window.addEventListener("mousemove", C), () => {
|
1548
|
+
window.removeEventListener("mousemove", C);
|
1549
1549
|
};
|
1550
1550
|
}, []);
|
1551
1551
|
const c = () => {
|
@@ -1716,13 +1716,13 @@ eyes follow your mouse when you hover near it.`, Er = ({
|
|
1716
1716
|
}
|
1717
1717
|
);
|
1718
1718
|
};
|
1719
|
-
|
1719
|
+
Cr.propTypes = {
|
1720
1720
|
handleFloatingActionButtonClick: I.func
|
1721
1721
|
};
|
1722
|
-
|
1722
|
+
Cr.defaultProps = {
|
1723
1723
|
handleFloatingActionButtonClick: null
|
1724
1724
|
};
|
1725
|
-
const Ls =
|
1725
|
+
const Ls = Cr;
|
1726
1726
|
const _s = () => {
|
1727
1727
|
var n;
|
1728
1728
|
const e = it(), { launchButton: t } = Se(Oe);
|
@@ -2119,7 +2119,7 @@ var Mi = {
|
|
2119
2119
|
return ct(h);
|
2120
2120
|
}), Z = O.slice().reverse().find(function(h) {
|
2121
2121
|
return ct(h);
|
2122
|
-
}),
|
2122
|
+
}), ie = !!j.find(function(h) {
|
2123
2123
|
return tt(h) > 0;
|
2124
2124
|
});
|
2125
2125
|
return {
|
@@ -2127,7 +2127,7 @@ var Mi = {
|
|
2127
2127
|
tabbableNodes: j,
|
2128
2128
|
focusableNodes: O,
|
2129
2129
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
2130
|
-
posTabIndexesFound:
|
2130
|
+
posTabIndexesFound: ie,
|
2131
2131
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
2132
2132
|
firstTabbableNode: P,
|
2133
2133
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
@@ -2151,11 +2151,11 @@ var Mi = {
|
|
2151
2151
|
* in reverse.
|
2152
2152
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
2153
2153
|
*/
|
2154
|
-
nextTabbableNode: function(
|
2155
|
-
var ve = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = j.indexOf(
|
2156
|
-
return g < 0 ? ve ? O.slice(O.indexOf(
|
2154
|
+
nextTabbableNode: function(ne) {
|
2155
|
+
var ve = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = j.indexOf(ne);
|
2156
|
+
return g < 0 ? ve ? O.slice(O.indexOf(ne) + 1).find(function(me) {
|
2157
2157
|
return ct(me);
|
2158
|
-
}) : O.slice(0, O.indexOf(
|
2158
|
+
}) : O.slice(0, O.indexOf(ne)).reverse().find(function(me) {
|
2159
2159
|
return ct(me);
|
2160
2160
|
}) : j[g + (ve ? 1 : -1)];
|
2161
2161
|
}
|
@@ -2190,29 +2190,29 @@ var Mi = {
|
|
2190
2190
|
j = j || nn(O), m();
|
2191
2191
|
var G = null;
|
2192
2192
|
if (a.tabbableGroups.length > 0) {
|
2193
|
-
var Z = u(j, O),
|
2193
|
+
var Z = u(j, O), ie = Z >= 0 ? a.containerGroups[Z] : void 0;
|
2194
2194
|
if (Z < 0)
|
2195
2195
|
$ ? G = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : G = a.tabbableGroups[0].firstTabbableNode;
|
2196
2196
|
else if ($) {
|
2197
|
-
var h = wi(a.tabbableGroups, function(
|
2198
|
-
var Ie =
|
2197
|
+
var h = wi(a.tabbableGroups, function(le) {
|
2198
|
+
var Ie = le.firstTabbableNode;
|
2199
2199
|
return j === Ie;
|
2200
2200
|
});
|
2201
|
-
if (h < 0 && (
|
2202
|
-
var
|
2201
|
+
if (h < 0 && (ie.container === j || sn(j, o.tabbableOptions) && !ct(j, o.tabbableOptions) && !ie.nextTabbableNode(j, !1)) && (h = Z), h >= 0) {
|
2202
|
+
var ne = h === 0 ? a.tabbableGroups.length - 1 : h - 1, ve = a.tabbableGroups[ne];
|
2203
2203
|
G = tt(j) >= 0 ? ve.lastTabbableNode : ve.lastDomTabbableNode;
|
2204
2204
|
} else
|
2205
|
-
Rt(O) || (G =
|
2205
|
+
Rt(O) || (G = ie.nextTabbableNode(j, !1));
|
2206
2206
|
} else {
|
2207
|
-
var g = wi(a.tabbableGroups, function(
|
2208
|
-
var Ie =
|
2207
|
+
var g = wi(a.tabbableGroups, function(le) {
|
2208
|
+
var Ie = le.lastTabbableNode;
|
2209
2209
|
return j === Ie;
|
2210
2210
|
});
|
2211
|
-
if (g < 0 && (
|
2211
|
+
if (g < 0 && (ie.container === j || sn(j, o.tabbableOptions) && !ct(j, o.tabbableOptions) && !ie.nextTabbableNode(j)) && (g = Z), g >= 0) {
|
2212
2212
|
var me = g === a.tabbableGroups.length - 1 ? 0 : g + 1, De = a.tabbableGroups[me];
|
2213
2213
|
G = tt(j) >= 0 ? De.firstTabbableNode : De.firstDomTabbableNode;
|
2214
2214
|
} else
|
2215
|
-
Rt(O) || (G =
|
2215
|
+
Rt(O) || (G = ie.nextTabbableNode(j));
|
2216
2216
|
}
|
2217
2217
|
} else
|
2218
2218
|
G = c("fallbackFocus");
|
@@ -2245,15 +2245,15 @@ var Mi = {
|
|
2245
2245
|
if (tt(a.mostRecentlyFocusedNode) > 0) {
|
2246
2246
|
var G = u(a.mostRecentlyFocusedNode), Z = a.containerGroups[G].tabbableNodes;
|
2247
2247
|
if (Z.length > 0) {
|
2248
|
-
var
|
2248
|
+
var ie = Z.findIndex(function(h) {
|
2249
2249
|
return h === a.mostRecentlyFocusedNode;
|
2250
2250
|
});
|
2251
|
-
|
2251
|
+
ie >= 0 && (o.isKeyForward(a.recentNavEvent) ? ie + 1 < Z.length && (P = Z[ie + 1], $ = !1) : ie - 1 >= 0 && (P = Z[ie - 1], $ = !1));
|
2252
2252
|
}
|
2253
2253
|
} else
|
2254
2254
|
a.containerGroups.some(function(h) {
|
2255
|
-
return h.tabbableNodes.some(function(
|
2256
|
-
return tt(
|
2255
|
+
return h.tabbableNodes.some(function(ne) {
|
2256
|
+
return tt(ne) > 0;
|
2257
2257
|
});
|
2258
2258
|
}) || ($ = !1);
|
2259
2259
|
else
|
@@ -2266,7 +2266,7 @@ var Mi = {
|
|
2266
2266
|
})), v(P || a.mostRecentlyFocusedNode || f());
|
2267
2267
|
}
|
2268
2268
|
a.recentNavEvent = void 0;
|
2269
|
-
},
|
2269
|
+
}, C = function(w) {
|
2270
2270
|
var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
2271
2271
|
a.recentNavEvent = w;
|
2272
2272
|
var O = k({
|
@@ -2279,7 +2279,7 @@ var Mi = {
|
|
2279
2279
|
w.preventDefault(), l.deactivate();
|
2280
2280
|
return;
|
2281
2281
|
}
|
2282
|
-
(o.isKeyForward(w) || o.isKeyBackward(w)) &&
|
2282
|
+
(o.isKeyForward(w) || o.isKeyBackward(w)) && C(w, o.isKeyBackward(w));
|
2283
2283
|
}, Q = function(w) {
|
2284
2284
|
var j = nn(w);
|
2285
2285
|
u(j, w) >= 0 || zt(o.clickOutsideDeactivates, w) || zt(o.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
|
@@ -2311,7 +2311,7 @@ var Mi = {
|
|
2311
2311
|
});
|
2312
2312
|
});
|
2313
2313
|
j && v(f());
|
2314
|
-
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0,
|
2314
|
+
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0, J = function() {
|
2315
2315
|
q && (q.disconnect(), a.active && !a.paused && a.containers.map(function(w) {
|
2316
2316
|
q.observe(w, {
|
2317
2317
|
subtree: !0,
|
@@ -2332,7 +2332,7 @@ var Mi = {
|
|
2332
2332
|
var j = s(w, "onActivate"), O = s(w, "onPostActivate"), P = s(w, "checkCanFocusTrap");
|
2333
2333
|
P || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, j == null || j();
|
2334
2334
|
var $ = function() {
|
2335
|
-
P && m(), M(),
|
2335
|
+
P && m(), M(), J(), O == null || O();
|
2336
2336
|
};
|
2337
2337
|
return P ? (P(a.containers.concat()).then($, $), this) : ($(), this);
|
2338
2338
|
},
|
@@ -2344,7 +2344,7 @@ var Mi = {
|
|
2344
2344
|
onPostDeactivate: o.onPostDeactivate,
|
2345
2345
|
checkCanReturnFocus: o.checkCanReturnFocus
|
2346
2346
|
}, w);
|
2347
|
-
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1,
|
2347
|
+
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, J(), Mi.deactivateTrap(i, l);
|
2348
2348
|
var O = s(j, "onDeactivate"), P = s(j, "onPostDeactivate"), $ = s(j, "checkCanReturnFocus"), G = s(j, "returnFocus", "returnFocusOnDeactivate");
|
2349
2349
|
O == null || O();
|
2350
2350
|
var Z = function() {
|
@@ -2358,19 +2358,19 @@ var Mi = {
|
|
2358
2358
|
if (a.paused || !a.active)
|
2359
2359
|
return this;
|
2360
2360
|
var j = s(w, "onPause"), O = s(w, "onPostPause");
|
2361
|
-
return a.paused = !0, j == null || j(), L(),
|
2361
|
+
return a.paused = !0, j == null || j(), L(), J(), O == null || O(), this;
|
2362
2362
|
},
|
2363
2363
|
unpause: function(w) {
|
2364
2364
|
if (!a.paused || !a.active)
|
2365
2365
|
return this;
|
2366
2366
|
var j = s(w, "onUnpause"), O = s(w, "onPostUnpause");
|
2367
|
-
return a.paused = !1, j == null || j(), m(), M(),
|
2367
|
+
return a.paused = !1, j == null || j(), m(), M(), J(), O == null || O(), this;
|
2368
2368
|
},
|
2369
2369
|
updateContainerElements: function(w) {
|
2370
2370
|
var j = [].concat(w).filter(Boolean);
|
2371
2371
|
return a.containers = j.map(function(O) {
|
2372
2372
|
return typeof O == "string" ? r.querySelector(O) : O;
|
2373
|
-
}), a.active && m(),
|
2373
|
+
}), a.active && m(), J(), this;
|
2374
2374
|
}
|
2375
2375
|
}, l.updateContainerElements(t), l;
|
2376
2376
|
};
|
@@ -2469,7 +2469,7 @@ function Mu(e, t) {
|
|
2469
2469
|
}
|
2470
2470
|
return (t === "string" ? String : Number)(e);
|
2471
2471
|
}
|
2472
|
-
var rn = nt, H = B, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusable,
|
2472
|
+
var rn = nt, H = B, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusable, Er = /* @__PURE__ */ function(e) {
|
2473
2473
|
hu(n, e);
|
2474
2474
|
var t = gu(n);
|
2475
2475
|
function n(r) {
|
@@ -2657,7 +2657,7 @@ var rn = nt, H = B, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusab
|
|
2657
2657
|
}
|
2658
2658
|
}]), n;
|
2659
2659
|
}(rn.Component), Lt = typeof Element > "u" ? Function : Element;
|
2660
|
-
|
2660
|
+
Er.propTypes = {
|
2661
2661
|
active: H.bool,
|
2662
2662
|
paused: H.bool,
|
2663
2663
|
focusTrapOptions: H.shape({
|
@@ -2705,13 +2705,13 @@ Cr.propTypes = {
|
|
2705
2705
|
// specify it here. It's expected to be set to the function returned from
|
2706
2706
|
// require('focus-trap'), or one with a compatible interface.
|
2707
2707
|
};
|
2708
|
-
|
2708
|
+
Er.defaultProps = {
|
2709
2709
|
active: !0,
|
2710
2710
|
paused: !1,
|
2711
2711
|
focusTrapOptions: {},
|
2712
2712
|
_createFocusTrap: wu
|
2713
2713
|
};
|
2714
|
-
var Du =
|
2714
|
+
var Du = Er;
|
2715
2715
|
const Iu = /* @__PURE__ */ rt(Du);
|
2716
2716
|
function Ar({
|
2717
2717
|
style: e,
|
@@ -2872,7 +2872,7 @@ const Ut = /^[a-z0-9]+(-[a-z0-9]+)*$/, vn = (e, t, n, r = "") => {
|
|
2872
2872
|
return t && !un(l, n) ? null : l;
|
2873
2873
|
}
|
2874
2874
|
return null;
|
2875
|
-
}, un = (e, t) => e ? !!((e.provider === "" || e.provider.match(Ut)) && (t && e.prefix === "" || e.prefix.match(Ut)) && e.name.match(Ut)) : !1,
|
2875
|
+
}, un = (e, t) => e ? !!((e.provider === "" || e.provider.match(Ut)) && (t && e.prefix === "" || e.prefix.match(Ut)) && e.name.match(Ut)) : !1, Cu = {
|
2876
2876
|
provider: "",
|
2877
2877
|
aliases: {},
|
2878
2878
|
not_found: {},
|
@@ -2888,7 +2888,7 @@ function Go(e) {
|
|
2888
2888
|
if (typeof e != "object" || e === null)
|
2889
2889
|
return null;
|
2890
2890
|
const t = e;
|
2891
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Gn(e,
|
2891
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Gn(e, Cu))
|
2892
2892
|
return null;
|
2893
2893
|
const n = t.icons;
|
2894
2894
|
for (const i in n) {
|
@@ -2911,7 +2911,7 @@ function Go(e) {
|
|
2911
2911
|
return t;
|
2912
2912
|
}
|
2913
2913
|
const Di = /* @__PURE__ */ Object.create(null);
|
2914
|
-
function
|
2914
|
+
function Eu(e, t) {
|
2915
2915
|
return {
|
2916
2916
|
provider: e,
|
2917
2917
|
prefix: t,
|
@@ -2921,7 +2921,7 @@ function Cu(e, t) {
|
|
2921
2921
|
}
|
2922
2922
|
function dt(e, t) {
|
2923
2923
|
const n = Di[e] || (Di[e] = /* @__PURE__ */ Object.create(null));
|
2924
|
-
return n[t] || (n[t] =
|
2924
|
+
return n[t] || (n[t] = Eu(e, t));
|
2925
2925
|
}
|
2926
2926
|
function Or(e, t) {
|
2927
2927
|
return Go(t) ? Wo(t, (n, r) => {
|
@@ -3046,14 +3046,14 @@ function Uu(e, t) {
|
|
3046
3046
|
let o = n.body;
|
3047
3047
|
[n, r].forEach((x) => {
|
3048
3048
|
const k = [], b = x.hFlip, z = x.vFlip;
|
3049
|
-
let
|
3050
|
-
b ? z ?
|
3049
|
+
let C = x.rotate;
|
3050
|
+
b ? z ? C += 2 : (k.push(
|
3051
3051
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
3052
3052
|
), k.push("scale(-1 1)"), i.top = i.left = 0) : z && (k.push(
|
3053
3053
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
3054
3054
|
), k.push("scale(1 -1)"), i.top = i.left = 0);
|
3055
3055
|
let _;
|
3056
|
-
switch (
|
3056
|
+
switch (C < 0 && (C -= Math.floor(C / 4) * 4), C = C % 4, C) {
|
3057
3057
|
case 1:
|
3058
3058
|
_ = i.height / 2 + i.top, k.unshift(
|
3059
3059
|
"rotate(90 " + _.toString() + " " + _.toString() + ")"
|
@@ -3070,7 +3070,7 @@ function Uu(e, t) {
|
|
3070
3070
|
);
|
3071
3071
|
break;
|
3072
3072
|
}
|
3073
|
-
|
3073
|
+
C % 2 === 1 && (i.left !== i.top && (_ = i.left, i.left = i.top, i.top = _), i.width !== i.height && (_ = i.width, i.width = i.height, i.height = _)), k.length && (o = Pu(
|
3074
3074
|
o,
|
3075
3075
|
'<g transform="' + k.join(" ") + '">',
|
3076
3076
|
"</g>"
|
@@ -3405,14 +3405,14 @@ function ac(e, t, n, r) {
|
|
3405
3405
|
M(void 0, c);
|
3406
3406
|
});
|
3407
3407
|
}
|
3408
|
-
function
|
3408
|
+
function C() {
|
3409
3409
|
m.forEach((M) => {
|
3410
3410
|
M.status === "pending" && (M.status = "aborted");
|
3411
3411
|
}), m = [];
|
3412
3412
|
}
|
3413
3413
|
function _(M, L, Y) {
|
3414
3414
|
const q = L !== "success";
|
3415
|
-
switch (m = m.filter((
|
3415
|
+
switch (m = m.filter((J) => J !== M), s) {
|
3416
3416
|
case "pending":
|
3417
3417
|
break;
|
3418
3418
|
case "failed":
|
@@ -3430,12 +3430,12 @@ function ac(e, t, n, r) {
|
|
3430
3430
|
c = Y, m.length || (a.length ? Q() : z());
|
3431
3431
|
return;
|
3432
3432
|
}
|
3433
|
-
if (v(),
|
3434
|
-
const
|
3435
|
-
|
3433
|
+
if (v(), C(), !e.random) {
|
3434
|
+
const J = e.resources.indexOf(M.resource);
|
3435
|
+
J !== -1 && J !== e.index && (e.index = J);
|
3436
3436
|
}
|
3437
|
-
s = "completed", p.forEach((
|
3438
|
-
|
3437
|
+
s = "completed", p.forEach((J) => {
|
3438
|
+
J(Y);
|
3439
3439
|
});
|
3440
3440
|
}
|
3441
3441
|
function Q() {
|
@@ -3446,7 +3446,7 @@ function ac(e, t, n, r) {
|
|
3446
3446
|
if (M === void 0) {
|
3447
3447
|
if (m.length) {
|
3448
3448
|
f = setTimeout(() => {
|
3449
|
-
v(), s === "pending" && (
|
3449
|
+
v(), s === "pending" && (C(), z());
|
3450
3450
|
}, e.timeout);
|
3451
3451
|
return;
|
3452
3452
|
}
|
@@ -3532,7 +3532,7 @@ function sc(e, t, n) {
|
|
3532
3532
|
}
|
3533
3533
|
return !r || !i ? (n(void 0, 424), ji) : r.query(t, i, n)().abort;
|
3534
3534
|
}
|
3535
|
-
const
|
3535
|
+
const Ci = "iconify2", qt = "iconify", ta = qt + "-count", Ei = qt + "-version", na = 36e5, uc = 168, cc = 50;
|
3536
3536
|
function gr(e, t) {
|
3537
3537
|
try {
|
3538
3538
|
return e.getItem(t);
|
@@ -3582,14 +3582,14 @@ function oa(e, t) {
|
|
3582
3582
|
const n = ia(e);
|
3583
3583
|
if (!n)
|
3584
3584
|
return;
|
3585
|
-
const r = gr(n,
|
3586
|
-
if (r !==
|
3585
|
+
const r = gr(n, Ei);
|
3586
|
+
if (r !== Ci) {
|
3587
3587
|
if (r) {
|
3588
3588
|
const l = yr(n);
|
3589
3589
|
for (let s = 0; s < l; s++)
|
3590
3590
|
Ai(n, qt + s.toString());
|
3591
3591
|
}
|
3592
|
-
Fr(n,
|
3592
|
+
Fr(n, Ei, Ci), mr(n, 0);
|
3593
3593
|
return;
|
3594
3594
|
}
|
3595
3595
|
const i = Math.floor(Date.now() / na) - uc, o = (l) => {
|
@@ -3844,15 +3844,15 @@ for (const e in zi) {
|
|
3844
3844
|
for (const n in Oi)
|
3845
3845
|
t[e + n] = Oi[n];
|
3846
3846
|
}
|
3847
|
-
const
|
3847
|
+
const Cc = {
|
3848
3848
|
...la,
|
3849
3849
|
inline: !0
|
3850
3850
|
};
|
3851
3851
|
function Li(e) {
|
3852
3852
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
3853
3853
|
}
|
3854
|
-
const
|
3855
|
-
const r = t.inline ?
|
3854
|
+
const Ec = (e, t, n) => {
|
3855
|
+
const r = t.inline ? Cc : la, i = yc(r, t), o = t.mode || "svg", a = {}, l = t.style || {}, s = {
|
3856
3856
|
...o === "svg" ? kc : {}
|
3857
3857
|
};
|
3858
3858
|
if (n) {
|
@@ -3862,8 +3862,8 @@ const Cc = (e, t, n) => {
|
|
3862
3862
|
"provider",
|
3863
3863
|
"prefix"
|
3864
3864
|
];
|
3865
|
-
for (const
|
3866
|
-
k[
|
3865
|
+
for (const C of z)
|
3866
|
+
k[C] && b.push("iconify--" + k[C]);
|
3867
3867
|
s.className = b.join(" ");
|
3868
3868
|
}
|
3869
3869
|
}
|
@@ -4023,7 +4023,7 @@ function ua(e) {
|
|
4023
4023
|
t && c();
|
4024
4024
|
}, [e.icon, t]);
|
4025
4025
|
const { name: f, data: m } = a;
|
4026
|
-
return m ?
|
4026
|
+
return m ? Ec({
|
4027
4027
|
...Sr,
|
4028
4028
|
...m
|
4029
4029
|
}, e, f) : e.children ? e.children : sr("span", {});
|
@@ -4963,7 +4963,7 @@ function ba() {
|
|
4963
4963
|
if (typeof x == "function")
|
4964
4964
|
Q(x, ...k);
|
4965
4965
|
else if (typeof x == "object")
|
4966
|
-
Array.isArray(x) ? _(x) :
|
4966
|
+
Array.isArray(x) ? _(x) : C(x);
|
4967
4967
|
else
|
4968
4968
|
throw new TypeError("Expected usable value, not `" + x + "`");
|
4969
4969
|
return b && (n.settings = Object.assign(n.settings || {}, b)), o;
|
@@ -4975,11 +4975,11 @@ function ba() {
|
|
4975
4975
|
const [L, ...Y] = M;
|
4976
4976
|
Q(L, ...Y);
|
4977
4977
|
} else
|
4978
|
-
|
4978
|
+
C(M);
|
4979
4979
|
else
|
4980
4980
|
throw new TypeError("Expected usable value, not `" + M + "`");
|
4981
4981
|
}
|
4982
|
-
function
|
4982
|
+
function C(M) {
|
4983
4983
|
_(M.plugins), M.settings && (b = Object.assign(b || {}, M.settings));
|
4984
4984
|
}
|
4985
4985
|
function _(M) {
|
@@ -5017,17 +5017,17 @@ function ba() {
|
|
5017
5017
|
if (Gi(x), o.freeze(), !b && typeof k == "function" && (b = k, k = void 0), !b)
|
5018
5018
|
return new Promise(z);
|
5019
5019
|
z(null, b);
|
5020
|
-
function z(
|
5020
|
+
function z(C, _) {
|
5021
5021
|
e.run(x, Ft(k), Q);
|
5022
5022
|
function Q(M, L, Y) {
|
5023
|
-
L = L || x, M ? _(M) :
|
5023
|
+
L = L || x, M ? _(M) : C ? C(L) : b(null, L, Y);
|
5024
5024
|
}
|
5025
5025
|
}
|
5026
5026
|
}
|
5027
5027
|
function m(x, k) {
|
5028
5028
|
let b, z;
|
5029
|
-
return o.run(x, k,
|
5030
|
-
function
|
5029
|
+
return o.run(x, k, C), Zi("runSync", "run", z), b;
|
5030
|
+
function C(_, Q) {
|
5031
5031
|
Ui(_), b = Q, z = !0;
|
5032
5032
|
}
|
5033
5033
|
}
|
@@ -5035,7 +5035,7 @@ function ba() {
|
|
5035
5035
|
if (o.freeze(), er("process", o.Parser), tr("process", o.Compiler), !k)
|
5036
5036
|
return new Promise(b);
|
5037
5037
|
b(null, k);
|
5038
|
-
function b(z,
|
5038
|
+
function b(z, C) {
|
5039
5039
|
const _ = Ft(x);
|
5040
5040
|
o.run(o.parse(_), _, (M, L, Y) => {
|
5041
5041
|
if (M || !L || !Y)
|
@@ -5046,7 +5046,7 @@ function ba() {
|
|
5046
5046
|
}
|
5047
5047
|
});
|
5048
5048
|
function Q(M, L) {
|
5049
|
-
M || !L ?
|
5049
|
+
M || !L ? C(M) : z ? z(L) : k(null, L);
|
5050
5050
|
}
|
5051
5051
|
}
|
5052
5052
|
}
|
@@ -5055,8 +5055,8 @@ function ba() {
|
|
5055
5055
|
o.freeze(), er("processSync", o.Parser), tr("processSync", o.Compiler);
|
5056
5056
|
const b = Ft(x);
|
5057
5057
|
return o.process(b, z), Zi("processSync", "process", k), b;
|
5058
|
-
function z(
|
5059
|
-
k = !0, Ui(
|
5058
|
+
function z(C) {
|
5059
|
+
k = !0, Ui(C);
|
5060
5060
|
}
|
5061
5061
|
}
|
5062
5062
|
}
|
@@ -5194,7 +5194,7 @@ function V(e) {
|
|
5194
5194
|
function ke(e) {
|
5195
5195
|
return e !== null && (e < 0 || e === 32);
|
5196
5196
|
}
|
5197
|
-
function
|
5197
|
+
function ae(e) {
|
5198
5198
|
return e === -2 || e === -1 || e === 32;
|
5199
5199
|
}
|
5200
5200
|
const pp = ot(lp), fp = ot(/\s/);
|
@@ -5209,10 +5209,10 @@ function fe(e, t, n, r) {
|
|
5209
5209
|
let o = 0;
|
5210
5210
|
return a;
|
5211
5211
|
function a(s) {
|
5212
|
-
return
|
5212
|
+
return ae(s) ? (e.enter(n), l(s)) : t(s);
|
5213
5213
|
}
|
5214
5214
|
function l(s) {
|
5215
|
-
return
|
5215
|
+
return ae(s) && o++ < i ? (e.consume(s), l) : (e.exit(n), t(s));
|
5216
5216
|
}
|
5217
5217
|
}
|
5218
5218
|
const dp = {
|
@@ -5260,18 +5260,18 @@ function mp(e) {
|
|
5260
5260
|
const t = this, n = [];
|
5261
5261
|
let r = 0, i, o, a;
|
5262
5262
|
return l;
|
5263
|
-
function l(
|
5263
|
+
function l(C) {
|
5264
5264
|
if (r < n.length) {
|
5265
5265
|
const _ = n[r];
|
5266
5266
|
return t.containerState = _[1], e.attempt(
|
5267
5267
|
_[0].continuation,
|
5268
5268
|
s,
|
5269
5269
|
u
|
5270
|
-
)(
|
5270
|
+
)(C);
|
5271
5271
|
}
|
5272
|
-
return u(
|
5272
|
+
return u(C);
|
5273
5273
|
}
|
5274
|
-
function s(
|
5274
|
+
function s(C) {
|
5275
5275
|
if (r++, t.containerState._closeFlow) {
|
5276
5276
|
t.containerState._closeFlow = void 0, i && z();
|
5277
5277
|
const _ = t.events.length;
|
@@ -5290,61 +5290,61 @@ function mp(e) {
|
|
5290
5290
|
Q + 1,
|
5291
5291
|
0,
|
5292
5292
|
t.events.slice(_)
|
5293
|
-
), t.events.length = L, u(
|
5293
|
+
), t.events.length = L, u(C);
|
5294
5294
|
}
|
5295
|
-
return l(
|
5295
|
+
return l(C);
|
5296
5296
|
}
|
5297
|
-
function u(
|
5297
|
+
function u(C) {
|
5298
5298
|
if (r === n.length) {
|
5299
5299
|
if (!i)
|
5300
|
-
return m(
|
5300
|
+
return m(C);
|
5301
5301
|
if (i.currentConstruct && i.currentConstruct.concrete)
|
5302
|
-
return v(
|
5302
|
+
return v(C);
|
5303
5303
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
5304
5304
|
}
|
5305
5305
|
return t.containerState = {}, e.check(
|
5306
5306
|
Ji,
|
5307
5307
|
c,
|
5308
5308
|
f
|
5309
|
-
)(
|
5309
|
+
)(C);
|
5310
5310
|
}
|
5311
|
-
function c(
|
5312
|
-
return i && z(), b(r), m(
|
5311
|
+
function c(C) {
|
5312
|
+
return i && z(), b(r), m(C);
|
5313
5313
|
}
|
5314
|
-
function f(
|
5315
|
-
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, v(
|
5314
|
+
function f(C) {
|
5315
|
+
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, v(C);
|
5316
5316
|
}
|
5317
|
-
function m(
|
5317
|
+
function m(C) {
|
5318
5318
|
return t.containerState = {}, e.attempt(
|
5319
5319
|
Ji,
|
5320
5320
|
p,
|
5321
5321
|
v
|
5322
|
-
)(
|
5322
|
+
)(C);
|
5323
5323
|
}
|
5324
|
-
function p(
|
5325
|
-
return r++, n.push([t.currentConstruct, t.containerState]), m(
|
5324
|
+
function p(C) {
|
5325
|
+
return r++, n.push([t.currentConstruct, t.containerState]), m(C);
|
5326
5326
|
}
|
5327
|
-
function v(
|
5328
|
-
if (
|
5329
|
-
i && z(), b(0), e.consume(
|
5327
|
+
function v(C) {
|
5328
|
+
if (C === null) {
|
5329
|
+
i && z(), b(0), e.consume(C);
|
5330
5330
|
return;
|
5331
5331
|
}
|
5332
5332
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
5333
5333
|
contentType: "flow",
|
5334
5334
|
previous: o,
|
5335
5335
|
_tokenizer: i
|
5336
|
-
}), x(
|
5336
|
+
}), x(C);
|
5337
5337
|
}
|
5338
|
-
function x(
|
5339
|
-
if (
|
5340
|
-
k(e.exit("chunkFlow"), !0), b(0), e.consume(
|
5338
|
+
function x(C) {
|
5339
|
+
if (C === null) {
|
5340
|
+
k(e.exit("chunkFlow"), !0), b(0), e.consume(C);
|
5341
5341
|
return;
|
5342
5342
|
}
|
5343
|
-
return V(
|
5343
|
+
return V(C) ? (e.consume(C), k(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, l) : (e.consume(C), x);
|
5344
5344
|
}
|
5345
|
-
function k(
|
5346
|
-
const Q = t.sliceStream(
|
5347
|
-
if (_ && Q.push(null),
|
5345
|
+
function k(C, _) {
|
5346
|
+
const Q = t.sliceStream(C);
|
5347
|
+
if (_ && Q.push(null), C.previous = o, o && (o.next = C), o = C, i.defineSkip(C.start), i.write(Q), t.parser.lazy[C.start.line]) {
|
5348
5348
|
let M = i.events.length;
|
5349
5349
|
for (; M--; )
|
5350
5350
|
if (
|
@@ -5355,17 +5355,17 @@ function mp(e) {
|
|
5355
5355
|
)
|
5356
5356
|
return;
|
5357
5357
|
const L = t.events.length;
|
5358
|
-
let Y = L, q,
|
5358
|
+
let Y = L, q, J;
|
5359
5359
|
for (; Y--; )
|
5360
5360
|
if (t.events[Y][0] === "exit" && t.events[Y][1].type === "chunkFlow") {
|
5361
5361
|
if (q) {
|
5362
|
-
|
5362
|
+
J = t.events[Y][1].end;
|
5363
5363
|
break;
|
5364
5364
|
}
|
5365
5365
|
q = !0;
|
5366
5366
|
}
|
5367
5367
|
for (b(r), M = L; M < t.events.length; )
|
5368
|
-
t.events[M][1].end = Object.assign({},
|
5368
|
+
t.events[M][1].end = Object.assign({}, J), M++;
|
5369
5369
|
Ge(
|
5370
5370
|
t.events,
|
5371
5371
|
Y + 1,
|
@@ -5374,13 +5374,13 @@ function mp(e) {
|
|
5374
5374
|
), t.events.length = M;
|
5375
5375
|
}
|
5376
5376
|
}
|
5377
|
-
function b(
|
5377
|
+
function b(C) {
|
5378
5378
|
let _ = n.length;
|
5379
|
-
for (; _-- >
|
5379
|
+
for (; _-- > C; ) {
|
5380
5380
|
const Q = n[_];
|
5381
5381
|
t.containerState = Q[1], Q[0].exit.call(t, e);
|
5382
5382
|
}
|
5383
|
-
n.length =
|
5383
|
+
n.length = C;
|
5384
5384
|
}
|
5385
5385
|
function z() {
|
5386
5386
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
@@ -5535,7 +5535,7 @@ const Dn = {
|
|
5535
5535
|
function vp(e, t, n) {
|
5536
5536
|
return r;
|
5537
5537
|
function r(o) {
|
5538
|
-
return
|
5538
|
+
return ae(o) ? fe(e, i, "linePrefix")(o) : i(o);
|
5539
5539
|
}
|
5540
5540
|
function i(o) {
|
5541
5541
|
return o === null || V(o) ? t(o) : n(o);
|
@@ -5562,14 +5562,14 @@ function Tp(e, t, n) {
|
|
5562
5562
|
return n(a);
|
5563
5563
|
}
|
5564
5564
|
function o(a) {
|
5565
|
-
return
|
5565
|
+
return ae(a) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(a), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(a));
|
5566
5566
|
}
|
5567
5567
|
}
|
5568
5568
|
function Dp(e, t, n) {
|
5569
5569
|
const r = this;
|
5570
5570
|
return i;
|
5571
5571
|
function i(a) {
|
5572
|
-
return
|
5572
|
+
return ae(a) ? fe(
|
5573
5573
|
e,
|
5574
5574
|
o,
|
5575
5575
|
"linePrefix",
|
@@ -5629,7 +5629,7 @@ function kp(e, t, n) {
|
|
5629
5629
|
}
|
5630
5630
|
}
|
5631
5631
|
const ro = {
|
5632
|
-
tokenize:
|
5632
|
+
tokenize: Cp,
|
5633
5633
|
partial: !0
|
5634
5634
|
}, io = {
|
5635
5635
|
name: "codeFenced",
|
@@ -5651,7 +5651,7 @@ function jp(e, t, n) {
|
|
5651
5651
|
return o = L && L[1].type === "linePrefix" ? L[2].sliceSerialize(L[1], !0).length : 0, l = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(M);
|
5652
5652
|
}
|
5653
5653
|
function c(M) {
|
5654
|
-
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"),
|
5654
|
+
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), ae(M) ? fe(e, f, "whitespace")(M) : f(M));
|
5655
5655
|
}
|
5656
5656
|
function f(M) {
|
5657
5657
|
return M === null || V(M) ? (e.exit("codeFencedFence"), r.interrupt ? t(M) : e.check(ro, x, _)(M)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
@@ -5659,7 +5659,7 @@ function jp(e, t, n) {
|
|
5659
5659
|
}), m(M));
|
5660
5660
|
}
|
5661
5661
|
function m(M) {
|
5662
|
-
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(M)) :
|
5662
|
+
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(M)) : ae(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), fe(e, p, "whitespace")(M)) : M === 96 && M === l ? n(M) : (e.consume(M), m);
|
5663
5663
|
}
|
5664
5664
|
function p(M) {
|
5665
5665
|
return M === null || V(M) ? f(M) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
@@ -5676,7 +5676,7 @@ function jp(e, t, n) {
|
|
5676
5676
|
return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), b;
|
5677
5677
|
}
|
5678
5678
|
function b(M) {
|
5679
|
-
return o > 0 &&
|
5679
|
+
return o > 0 && ae(M) ? fe(
|
5680
5680
|
e,
|
5681
5681
|
z,
|
5682
5682
|
"linePrefix",
|
@@ -5684,22 +5684,22 @@ function jp(e, t, n) {
|
|
5684
5684
|
)(M) : z(M);
|
5685
5685
|
}
|
5686
5686
|
function z(M) {
|
5687
|
-
return M === null || V(M) ? e.check(ro, x, _)(M) : (e.enter("codeFlowValue"),
|
5687
|
+
return M === null || V(M) ? e.check(ro, x, _)(M) : (e.enter("codeFlowValue"), C(M));
|
5688
5688
|
}
|
5689
|
-
function
|
5690
|
-
return M === null || V(M) ? (e.exit("codeFlowValue"), z(M)) : (e.consume(M),
|
5689
|
+
function C(M) {
|
5690
|
+
return M === null || V(M) ? (e.exit("codeFlowValue"), z(M)) : (e.consume(M), C);
|
5691
5691
|
}
|
5692
5692
|
function _(M) {
|
5693
5693
|
return e.exit("codeFenced"), t(M);
|
5694
5694
|
}
|
5695
5695
|
function Q(M, L, Y) {
|
5696
5696
|
let q = 0;
|
5697
|
-
return
|
5698
|
-
function
|
5697
|
+
return J;
|
5698
|
+
function J(P) {
|
5699
5699
|
return M.enter("lineEnding"), M.consume(P), M.exit("lineEnding"), S;
|
5700
5700
|
}
|
5701
5701
|
function S(P) {
|
5702
|
-
return M.enter("codeFencedFence"),
|
5702
|
+
return M.enter("codeFencedFence"), ae(P) ? fe(
|
5703
5703
|
M,
|
5704
5704
|
w,
|
5705
5705
|
"linePrefix",
|
@@ -5710,14 +5710,14 @@ function jp(e, t, n) {
|
|
5710
5710
|
return P === l ? (M.enter("codeFencedFenceSequence"), j(P)) : Y(P);
|
5711
5711
|
}
|
5712
5712
|
function j(P) {
|
5713
|
-
return P === l ? (q++, M.consume(P), j) : q >= a ? (M.exit("codeFencedFenceSequence"),
|
5713
|
+
return P === l ? (q++, M.consume(P), j) : q >= a ? (M.exit("codeFencedFenceSequence"), ae(P) ? fe(M, O, "whitespace")(P) : O(P)) : Y(P);
|
5714
5714
|
}
|
5715
5715
|
function O(P) {
|
5716
5716
|
return P === null || V(P) ? (M.exit("codeFencedFence"), L(P)) : Y(P);
|
5717
5717
|
}
|
5718
5718
|
}
|
5719
5719
|
}
|
5720
|
-
function
|
5720
|
+
function Cp(e, t, n) {
|
5721
5721
|
const r = this;
|
5722
5722
|
return i;
|
5723
5723
|
function i(a) {
|
@@ -5730,7 +5730,7 @@ function Ep(e, t, n) {
|
|
5730
5730
|
const rr = {
|
5731
5731
|
name: "codeIndented",
|
5732
5732
|
tokenize: Ap
|
5733
|
-
},
|
5733
|
+
}, Ep = {
|
5734
5734
|
tokenize: Sp,
|
5735
5735
|
partial: !0
|
5736
5736
|
};
|
@@ -5745,7 +5745,7 @@ function Ap(e, t, n) {
|
|
5745
5745
|
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? a(u) : n(u);
|
5746
5746
|
}
|
5747
5747
|
function a(u) {
|
5748
|
-
return u === null ? s(u) : V(u) ? e.attempt(
|
5748
|
+
return u === null ? s(u) : V(u) ? e.attempt(Ep, a, s)(u) : (e.enter("codeFlowValue"), l(u));
|
5749
5749
|
}
|
5750
5750
|
function l(u) {
|
5751
5751
|
return u === null || V(u) ? (e.exit("codeFlowValue"), a(u)) : (e.consume(u), l);
|
@@ -5940,7 +5940,7 @@ function Ia(e, t, n, r, i, o) {
|
|
5940
5940
|
}), f(p));
|
5941
5941
|
}
|
5942
5942
|
function f(p) {
|
5943
|
-
return p === null || p === 91 || p === 93 || V(p) || l++ > 999 ? (e.exit("chunkString"), c(p)) : (e.consume(p), s || (s = !
|
5943
|
+
return p === null || p === 91 || p === 93 || V(p) || l++ > 999 ? (e.exit("chunkString"), c(p)) : (e.consume(p), s || (s = !ae(p)), p === 92 ? m : f);
|
5944
5944
|
}
|
5945
5945
|
function m(p) {
|
5946
5946
|
return p === 91 || p === 92 || p === 93 ? (e.consume(p), l++, f) : f(p);
|
@@ -5971,7 +5971,7 @@ function Yt(e, t) {
|
|
5971
5971
|
let n;
|
5972
5972
|
return r;
|
5973
5973
|
function r(i) {
|
5974
|
-
return V(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) :
|
5974
|
+
return V(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : ae(i) ? fe(
|
5975
5975
|
e,
|
5976
5976
|
r,
|
5977
5977
|
n ? "linePrefix" : "lineSuffix"
|
@@ -6032,7 +6032,7 @@ function $p(e, t, n) {
|
|
6032
6032
|
return e.attempt(Hp, f, f)(p);
|
6033
6033
|
}
|
6034
6034
|
function f(p) {
|
6035
|
-
return
|
6035
|
+
return ae(p) ? fe(e, m, "whitespace")(p) : m(p);
|
6036
6036
|
}
|
6037
6037
|
function m(p) {
|
6038
6038
|
return p === null || V(p) ? (e.exit("definition"), r.parser.defined.push(i), t(p)) : n(p);
|
@@ -6054,7 +6054,7 @@ function qp(e, t, n) {
|
|
6054
6054
|
)(l);
|
6055
6055
|
}
|
6056
6056
|
function o(l) {
|
6057
|
-
return
|
6057
|
+
return ae(l) ? fe(e, a, "whitespace")(l) : a(l);
|
6058
6058
|
}
|
6059
6059
|
function a(l) {
|
6060
6060
|
return l === null || V(l) ? t(l) : n(l);
|
@@ -6109,7 +6109,7 @@ function Xp(e, t, n) {
|
|
6109
6109
|
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || ke(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
|
6110
6110
|
}
|
6111
6111
|
function l(c) {
|
6112
|
-
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) :
|
6112
|
+
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : ae(c) ? fe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
|
6113
6113
|
}
|
6114
6114
|
function s(c) {
|
6115
6115
|
return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
|
@@ -6228,7 +6228,7 @@ function rf(e, t, n) {
|
|
6228
6228
|
function k(g) {
|
6229
6229
|
if (g === null || g === 47 || g === 62 || ke(g)) {
|
6230
6230
|
const me = g === 47, De = a.toLowerCase();
|
6231
|
-
return !me && !o && oo.includes(De) ? (i = 1, r.interrupt ? t(g) : w(g)) : Kp.includes(a.toLowerCase()) ? (i = 6, me ? (e.consume(g), b) : r.interrupt ? t(g) : w(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? z(g) :
|
6231
|
+
return !me && !o && oo.includes(De) ? (i = 1, r.interrupt ? t(g) : w(g)) : Kp.includes(a.toLowerCase()) ? (i = 6, me ? (e.consume(g), b) : r.interrupt ? t(g) : w(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? z(g) : C(g));
|
6232
6232
|
}
|
6233
6233
|
return g === 45 || Ae(g) ? (e.consume(g), a += String.fromCharCode(g), k) : n(g);
|
6234
6234
|
}
|
@@ -6236,19 +6236,19 @@ function rf(e, t, n) {
|
|
6236
6236
|
return g === 62 ? (e.consume(g), r.interrupt ? t : w) : n(g);
|
6237
6237
|
}
|
6238
6238
|
function z(g) {
|
6239
|
-
return
|
6239
|
+
return ae(g) ? (e.consume(g), z) : J(g);
|
6240
6240
|
}
|
6241
|
-
function
|
6242
|
-
return g === 47 ? (e.consume(g),
|
6241
|
+
function C(g) {
|
6242
|
+
return g === 47 ? (e.consume(g), J) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), _) : ae(g) ? (e.consume(g), C) : J(g);
|
6243
6243
|
}
|
6244
6244
|
function _(g) {
|
6245
6245
|
return g === 45 || g === 46 || g === 58 || g === 95 || Ae(g) ? (e.consume(g), _) : Q(g);
|
6246
6246
|
}
|
6247
6247
|
function Q(g) {
|
6248
|
-
return g === 61 ? (e.consume(g), M) :
|
6248
|
+
return g === 61 ? (e.consume(g), M) : ae(g) ? (e.consume(g), Q) : C(g);
|
6249
6249
|
}
|
6250
6250
|
function M(g) {
|
6251
|
-
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g, L) :
|
6251
|
+
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g, L) : ae(g) ? (e.consume(g), M) : Y(g);
|
6252
6252
|
}
|
6253
6253
|
function L(g) {
|
6254
6254
|
return g === s ? (e.consume(g), s = null, q) : g === null || V(g) ? n(g) : (e.consume(g), L);
|
@@ -6257,16 +6257,16 @@ function rf(e, t, n) {
|
|
6257
6257
|
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || ke(g) ? Q(g) : (e.consume(g), Y);
|
6258
6258
|
}
|
6259
6259
|
function q(g) {
|
6260
|
-
return g === 47 || g === 62 ||
|
6260
|
+
return g === 47 || g === 62 || ae(g) ? C(g) : n(g);
|
6261
6261
|
}
|
6262
|
-
function
|
6262
|
+
function J(g) {
|
6263
6263
|
return g === 62 ? (e.consume(g), S) : n(g);
|
6264
6264
|
}
|
6265
6265
|
function S(g) {
|
6266
|
-
return g === null || V(g) ? w(g) :
|
6266
|
+
return g === null || V(g) ? w(g) : ae(g) ? (e.consume(g), S) : n(g);
|
6267
6267
|
}
|
6268
6268
|
function w(g) {
|
6269
|
-
return g === 45 && i === 2 ? (e.consume(g), $) : g === 60 && i === 1 ? (e.consume(g), G) : g === 62 && i === 4 ? (e.consume(g),
|
6269
|
+
return g === 45 && i === 2 ? (e.consume(g), $) : g === 60 && i === 1 ? (e.consume(g), G) : g === 62 && i === 4 ? (e.consume(g), ne) : g === 63 && i === 3 ? (e.consume(g), h) : g === 93 && i === 5 ? (e.consume(g), ie) : V(g) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
6270
6270
|
ef,
|
6271
6271
|
ve,
|
6272
6272
|
j
|
@@ -6294,18 +6294,18 @@ function rf(e, t, n) {
|
|
6294
6294
|
function Z(g) {
|
6295
6295
|
if (g === 62) {
|
6296
6296
|
const me = a.toLowerCase();
|
6297
|
-
return oo.includes(me) ? (e.consume(g),
|
6297
|
+
return oo.includes(me) ? (e.consume(g), ne) : w(g);
|
6298
6298
|
}
|
6299
6299
|
return Ve(g) && a.length < 8 ? (e.consume(g), a += String.fromCharCode(g), Z) : w(g);
|
6300
6300
|
}
|
6301
|
-
function
|
6301
|
+
function ie(g) {
|
6302
6302
|
return g === 93 ? (e.consume(g), h) : w(g);
|
6303
6303
|
}
|
6304
6304
|
function h(g) {
|
6305
|
-
return g === 62 ? (e.consume(g),
|
6305
|
+
return g === 62 ? (e.consume(g), ne) : g === 45 && i === 2 ? (e.consume(g), h) : w(g);
|
6306
6306
|
}
|
6307
|
-
function
|
6308
|
-
return g === null || V(g) ? (e.exit("htmlFlowData"), ve(g)) : (e.consume(g),
|
6307
|
+
function ne(g) {
|
6308
|
+
return g === null || V(g) ? (e.exit("htmlFlowData"), ve(g)) : (e.consume(g), ne);
|
6309
6309
|
}
|
6310
6310
|
function ve(g) {
|
6311
6311
|
return e.exit("htmlFlow"), t(g);
|
@@ -6339,7 +6339,7 @@ function sf(e, t, n) {
|
|
6339
6339
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(h), s;
|
6340
6340
|
}
|
6341
6341
|
function s(h) {
|
6342
|
-
return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), Q) : h === 63 ? (e.consume(h),
|
6342
|
+
return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), Q) : h === 63 ? (e.consume(h), C) : Ve(h) ? (e.consume(h), Y) : n(h);
|
6343
6343
|
}
|
6344
6344
|
function u(h) {
|
6345
6345
|
return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), o = 0, v) : Ve(h) ? (e.consume(h), z) : n(h);
|
@@ -6357,8 +6357,8 @@ function sf(e, t, n) {
|
|
6357
6357
|
return h === 62 ? $(h) : h === 45 ? m(h) : f(h);
|
6358
6358
|
}
|
6359
6359
|
function v(h) {
|
6360
|
-
const
|
6361
|
-
return h ===
|
6360
|
+
const ne = "CDATA[";
|
6361
|
+
return h === ne.charCodeAt(o++) ? (e.consume(h), o === ne.length ? x : v) : n(h);
|
6362
6362
|
}
|
6363
6363
|
function x(h) {
|
6364
6364
|
return h === null ? n(h) : h === 93 ? (e.consume(h), k) : V(h) ? (a = x, G(h)) : (e.consume(h), x);
|
@@ -6372,11 +6372,11 @@ function sf(e, t, n) {
|
|
6372
6372
|
function z(h) {
|
6373
6373
|
return h === null || h === 62 ? $(h) : V(h) ? (a = z, G(h)) : (e.consume(h), z);
|
6374
6374
|
}
|
6375
|
-
function
|
6376
|
-
return h === null ? n(h) : h === 63 ? (e.consume(h), _) : V(h) ? (a =
|
6375
|
+
function C(h) {
|
6376
|
+
return h === null ? n(h) : h === 63 ? (e.consume(h), _) : V(h) ? (a = C, G(h)) : (e.consume(h), C);
|
6377
6377
|
}
|
6378
6378
|
function _(h) {
|
6379
|
-
return h === 62 ? $(h) :
|
6379
|
+
return h === 62 ? $(h) : C(h);
|
6380
6380
|
}
|
6381
6381
|
function Q(h) {
|
6382
6382
|
return Ve(h) ? (e.consume(h), M) : n(h);
|
@@ -6385,22 +6385,22 @@ function sf(e, t, n) {
|
|
6385
6385
|
return h === 45 || Ae(h) ? (e.consume(h), M) : L(h);
|
6386
6386
|
}
|
6387
6387
|
function L(h) {
|
6388
|
-
return V(h) ? (a = L, G(h)) :
|
6388
|
+
return V(h) ? (a = L, G(h)) : ae(h) ? (e.consume(h), L) : $(h);
|
6389
6389
|
}
|
6390
6390
|
function Y(h) {
|
6391
6391
|
return h === 45 || Ae(h) ? (e.consume(h), Y) : h === 47 || h === 62 || ke(h) ? q(h) : n(h);
|
6392
6392
|
}
|
6393
6393
|
function q(h) {
|
6394
|
-
return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h),
|
6394
|
+
return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), J) : V(h) ? (a = q, G(h)) : ae(h) ? (e.consume(h), q) : $(h);
|
6395
6395
|
}
|
6396
|
-
function
|
6397
|
-
return h === 45 || h === 46 || h === 58 || h === 95 || Ae(h) ? (e.consume(h),
|
6396
|
+
function J(h) {
|
6397
|
+
return h === 45 || h === 46 || h === 58 || h === 95 || Ae(h) ? (e.consume(h), J) : S(h);
|
6398
6398
|
}
|
6399
6399
|
function S(h) {
|
6400
|
-
return h === 61 ? (e.consume(h), w) : V(h) ? (a = S, G(h)) :
|
6400
|
+
return h === 61 ? (e.consume(h), w) : V(h) ? (a = S, G(h)) : ae(h) ? (e.consume(h), S) : q(h);
|
6401
6401
|
}
|
6402
6402
|
function w(h) {
|
6403
|
-
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), i = h, j) : V(h) ? (a = w, G(h)) :
|
6403
|
+
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), i = h, j) : V(h) ? (a = w, G(h)) : ae(h) ? (e.consume(h), w) : (e.consume(h), O);
|
6404
6404
|
}
|
6405
6405
|
function j(h) {
|
6406
6406
|
return h === i ? (e.consume(h), i = void 0, P) : h === null ? n(h) : V(h) ? (a = j, G(h)) : (e.consume(h), j);
|
@@ -6418,14 +6418,14 @@ function sf(e, t, n) {
|
|
6418
6418
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), Z;
|
6419
6419
|
}
|
6420
6420
|
function Z(h) {
|
6421
|
-
return
|
6421
|
+
return ae(h) ? fe(
|
6422
6422
|
e,
|
6423
|
-
|
6423
|
+
ie,
|
6424
6424
|
"linePrefix",
|
6425
6425
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
6426
|
-
)(h) :
|
6426
|
+
)(h) : ie(h);
|
6427
6427
|
}
|
6428
|
-
function
|
6428
|
+
function ie(h) {
|
6429
6429
|
return e.enter("htmlTextData"), a(h);
|
6430
6430
|
}
|
6431
6431
|
}
|
@@ -6675,7 +6675,7 @@ function Tf(e, t, n) {
|
|
6675
6675
|
return u === i ? (e.enter("thematicBreakSequence"), s(u)) : r >= 3 && (u === null || V(u)) ? (e.exit("thematicBreak"), t(u)) : n(u);
|
6676
6676
|
}
|
6677
6677
|
function s(u) {
|
6678
|
-
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"),
|
6678
|
+
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), ae(u) ? fe(e, l, "whitespace")(u) : l(u));
|
6679
6679
|
}
|
6680
6680
|
}
|
6681
6681
|
const Ne = {
|
@@ -6684,9 +6684,9 @@ const Ne = {
|
|
6684
6684
|
continuation: {
|
6685
6685
|
tokenize: kf
|
6686
6686
|
},
|
6687
|
-
exit:
|
6687
|
+
exit: Cf
|
6688
6688
|
}, Df = {
|
6689
|
-
tokenize:
|
6689
|
+
tokenize: Ef,
|
6690
6690
|
partial: !0
|
6691
6691
|
}, If = {
|
6692
6692
|
tokenize: jf,
|
@@ -6727,7 +6727,7 @@ function Nf(e, t, n) {
|
|
6727
6727
|
return r.containerState.initialBlankLine = !0, o++, m(p);
|
6728
6728
|
}
|
6729
6729
|
function f(p) {
|
6730
|
-
return
|
6730
|
+
return ae(p) ? (e.enter("listItemPrefixWhitespace"), e.consume(p), e.exit("listItemPrefixWhitespace"), m) : n(p);
|
6731
6731
|
}
|
6732
6732
|
function m(p) {
|
6733
6733
|
return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(p);
|
@@ -6745,7 +6745,7 @@ function kf(e, t, n) {
|
|
6745
6745
|
)(l);
|
6746
6746
|
}
|
6747
6747
|
function o(l) {
|
6748
|
-
return r.containerState.furtherBlankLines || !
|
6748
|
+
return r.containerState.furtherBlankLines || !ae(l) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, a(l)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(If, t, a)(l));
|
6749
6749
|
}
|
6750
6750
|
function a(l) {
|
6751
6751
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, fe(
|
@@ -6769,10 +6769,10 @@ function jf(e, t, n) {
|
|
6769
6769
|
return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === r.containerState.size ? t(o) : n(o);
|
6770
6770
|
}
|
6771
6771
|
}
|
6772
|
-
function
|
6772
|
+
function Cf(e) {
|
6773
6773
|
e.exit(this.containerState.type);
|
6774
6774
|
}
|
6775
|
-
function
|
6775
|
+
function Ef(e, t, n) {
|
6776
6776
|
const r = this;
|
6777
6777
|
return fe(
|
6778
6778
|
e,
|
@@ -6782,7 +6782,7 @@ function Cf(e, t, n) {
|
|
6782
6782
|
);
|
6783
6783
|
function i(o) {
|
6784
6784
|
const a = r.events[r.events.length - 1];
|
6785
|
-
return !
|
6785
|
+
return !ae(o) && a && a[1].type === "listItemPrefixWhitespace" ? t(o) : n(o);
|
6786
6786
|
}
|
6787
6787
|
}
|
6788
6788
|
const ao = {
|
@@ -6825,7 +6825,7 @@ function Sf(e, t, n) {
|
|
6825
6825
|
return e.enter("setextHeadingLineSequence"), l(u);
|
6826
6826
|
}
|
6827
6827
|
function l(u) {
|
6828
|
-
return u === i ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"),
|
6828
|
+
return u === i ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), ae(u) ? fe(e, s, "lineSuffix")(u) : s(u));
|
6829
6829
|
}
|
6830
6830
|
function s(u) {
|
6831
6831
|
return u === null || V(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
|
@@ -6980,7 +6980,7 @@ function Rf(e, t, n) {
|
|
6980
6980
|
let a = [], l = [];
|
6981
6981
|
const s = {
|
6982
6982
|
consume: z,
|
6983
|
-
enter:
|
6983
|
+
enter: C,
|
6984
6984
|
exit: _,
|
6985
6985
|
attempt: L(Q),
|
6986
6986
|
check: L(M),
|
@@ -7021,7 +7021,7 @@ function Rf(e, t, n) {
|
|
7021
7021
|
};
|
7022
7022
|
}
|
7023
7023
|
function x(S) {
|
7024
|
-
i[S.line] = S.column,
|
7024
|
+
i[S.line] = S.column, J();
|
7025
7025
|
}
|
7026
7026
|
function k() {
|
7027
7027
|
let S;
|
@@ -7038,9 +7038,9 @@ function Rf(e, t, n) {
|
|
7038
7038
|
c = c(S);
|
7039
7039
|
}
|
7040
7040
|
function z(S) {
|
7041
|
-
V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1,
|
7041
|
+
V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1, J()) : S !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = S;
|
7042
7042
|
}
|
7043
|
-
function
|
7043
|
+
function C(S, w) {
|
7044
7044
|
const j = w || {};
|
7045
7045
|
return j.type = S, j.start = v(), u.events.push(["enter", j, u]), l.push(j), j;
|
7046
7046
|
}
|
@@ -7057,15 +7057,15 @@ function Rf(e, t, n) {
|
|
7057
7057
|
function L(S, w) {
|
7058
7058
|
return j;
|
7059
7059
|
function j(O, P, $) {
|
7060
|
-
let G, Z,
|
7060
|
+
let G, Z, ie, h;
|
7061
7061
|
return Array.isArray(O) ? ve(O) : "tokenize" in O ? (
|
7062
7062
|
// @ts-expect-error Looks like a construct.
|
7063
7063
|
ve([O])
|
7064
|
-
) :
|
7065
|
-
function
|
7064
|
+
) : ne(O);
|
7065
|
+
function ne(le) {
|
7066
7066
|
return Ie;
|
7067
7067
|
function Ie(Te) {
|
7068
|
-
const ze = Te !== null &&
|
7068
|
+
const ze = Te !== null && le[Te], Le = Te !== null && le.null, Ke = [
|
7069
7069
|
// To do: add more extension tests.
|
7070
7070
|
/* c8 ignore next 2 */
|
7071
7071
|
...Array.isArray(ze) ? ze : ze ? [ze] : [],
|
@@ -7074,13 +7074,13 @@ function Rf(e, t, n) {
|
|
7074
7074
|
return ve(Ke)(Te);
|
7075
7075
|
}
|
7076
7076
|
}
|
7077
|
-
function ve(
|
7078
|
-
return G =
|
7077
|
+
function ve(le) {
|
7078
|
+
return G = le, Z = 0, le.length === 0 ? $ : g(le[Z]);
|
7079
7079
|
}
|
7080
|
-
function g(
|
7080
|
+
function g(le) {
|
7081
7081
|
return Ie;
|
7082
7082
|
function Ie(Te) {
|
7083
|
-
return h = q(),
|
7083
|
+
return h = q(), ie = le, le.partial || (u.currentConstruct = le), le.name && u.parser.constructs.disable.null.includes(le.name) ? De() : le.tokenize.call(
|
7084
7084
|
// If we do have fields, create an object w/ `context` as its
|
7085
7085
|
// prototype.
|
7086
7086
|
// This allows a “live binding”, which is needed for `interrupt`.
|
@@ -7091,10 +7091,10 @@ function Rf(e, t, n) {
|
|
7091
7091
|
)(Te);
|
7092
7092
|
}
|
7093
7093
|
}
|
7094
|
-
function me(
|
7095
|
-
return S(
|
7094
|
+
function me(le) {
|
7095
|
+
return S(ie, h), P;
|
7096
7096
|
}
|
7097
|
-
function De(
|
7097
|
+
function De(le) {
|
7098
7098
|
return h.restore(), ++Z < G.length ? g(G[Z]) : $;
|
7099
7099
|
}
|
7100
7100
|
}
|
@@ -7114,10 +7114,10 @@ function Rf(e, t, n) {
|
|
7114
7114
|
from: O
|
7115
7115
|
};
|
7116
7116
|
function $() {
|
7117
|
-
r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P,
|
7117
|
+
r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P, J();
|
7118
7118
|
}
|
7119
7119
|
}
|
7120
|
-
function
|
7120
|
+
function J() {
|
7121
7121
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
7122
7122
|
}
|
7123
7123
|
}
|
@@ -7305,7 +7305,7 @@ function ed(e) {
|
|
7305
7305
|
;
|
7306
7306
|
return e;
|
7307
7307
|
}
|
7308
|
-
function
|
7308
|
+
function Ca(e, t) {
|
7309
7309
|
const n = Number.parseInt(e, t);
|
7310
7310
|
return (
|
7311
7311
|
// C0 except for HT, LF, FF, CR, space.
|
@@ -7325,11 +7325,11 @@ function rd(e, t, n) {
|
|
7325
7325
|
return t;
|
7326
7326
|
if (n.charCodeAt(0) === 35) {
|
7327
7327
|
const i = n.charCodeAt(1), o = i === 120 || i === 88;
|
7328
|
-
return
|
7328
|
+
return Ca(n.slice(o ? 2 : 1), o ? 16 : 10);
|
7329
7329
|
}
|
7330
7330
|
return Qr(n) || e;
|
7331
7331
|
}
|
7332
|
-
const
|
7332
|
+
const Ea = {}.hasOwnProperty, id = (
|
7333
7333
|
/**
|
7334
7334
|
* @type {(
|
7335
7335
|
* ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) &
|
@@ -7413,7 +7413,7 @@ function od(e) {
|
|
7413
7413
|
codeFencedFenceInfo: x,
|
7414
7414
|
codeFencedFenceMeta: k,
|
7415
7415
|
codeFlowValue: w,
|
7416
|
-
codeIndented: c(
|
7416
|
+
codeIndented: c(C),
|
7417
7417
|
codeText: c(G),
|
7418
7418
|
codeTextData: w,
|
7419
7419
|
data: w,
|
@@ -7428,8 +7428,8 @@ function od(e) {
|
|
7428
7428
|
htmlFlowData: w,
|
7429
7429
|
htmlText: c($),
|
7430
7430
|
htmlTextData: w,
|
7431
|
-
image: c(
|
7432
|
-
label:
|
7431
|
+
image: c(ie),
|
7432
|
+
label: ne,
|
7433
7433
|
labelText: h,
|
7434
7434
|
lineEnding: j,
|
7435
7435
|
link: c(Z),
|
@@ -7437,11 +7437,11 @@ function od(e) {
|
|
7437
7437
|
listOrdered: c(),
|
7438
7438
|
listUnordered: c(),
|
7439
7439
|
paragraph: c(),
|
7440
|
-
referenceString:
|
7440
|
+
referenceString: le,
|
7441
7441
|
resourceDestinationString: ve,
|
7442
7442
|
resourceTitleString: g,
|
7443
7443
|
resource: me,
|
7444
|
-
setextHeading: c(
|
7444
|
+
setextHeading: c(J),
|
7445
7445
|
setextHeadingLineSequence: q,
|
7446
7446
|
setextHeadingText: Y,
|
7447
7447
|
strong: c(),
|
@@ -7452,12 +7452,12 @@ function od(e) {
|
|
7452
7452
|
const n = {};
|
7453
7453
|
return r;
|
7454
7454
|
function r(N) {
|
7455
|
-
let
|
7455
|
+
let E = {
|
7456
7456
|
type: "root",
|
7457
7457
|
children: []
|
7458
7458
|
};
|
7459
7459
|
const U = {
|
7460
|
-
stack: [
|
7460
|
+
stack: [E],
|
7461
7461
|
tokenStack: [],
|
7462
7462
|
config: t,
|
7463
7463
|
enter: u,
|
@@ -7466,33 +7466,33 @@ function od(e) {
|
|
7466
7466
|
resume: m,
|
7467
7467
|
setData: o,
|
7468
7468
|
getData: a
|
7469
|
-
},
|
7470
|
-
let
|
7471
|
-
for (; ++
|
7472
|
-
if (N[
|
7473
|
-
if (N[
|
7474
|
-
|
7469
|
+
}, K = [];
|
7470
|
+
let ee = -1;
|
7471
|
+
for (; ++ee < N.length; )
|
7472
|
+
if (N[ee][1].type === "listOrdered" || N[ee][1].type === "listUnordered")
|
7473
|
+
if (N[ee][0] === "enter")
|
7474
|
+
K.push(ee);
|
7475
7475
|
else {
|
7476
|
-
const Me =
|
7477
|
-
|
7476
|
+
const Me = K.pop();
|
7477
|
+
ee = i(N, Me, ee);
|
7478
7478
|
}
|
7479
|
-
for (
|
7480
|
-
const Me = t[N[
|
7481
|
-
|
7479
|
+
for (ee = -1; ++ee < N.length; ) {
|
7480
|
+
const Me = t[N[ee][0]];
|
7481
|
+
Ea.call(Me, N[ee][1].type) && Me[N[ee][1].type].call(
|
7482
7482
|
Object.assign(
|
7483
7483
|
{
|
7484
|
-
sliceSerialize: N[
|
7484
|
+
sliceSerialize: N[ee][2].sliceSerialize
|
7485
7485
|
},
|
7486
7486
|
U
|
7487
7487
|
),
|
7488
|
-
N[
|
7488
|
+
N[ee][1]
|
7489
7489
|
);
|
7490
7490
|
}
|
7491
7491
|
if (U.tokenStack.length > 0) {
|
7492
7492
|
const Me = U.tokenStack[U.tokenStack.length - 1];
|
7493
7493
|
(Me[1] || so).call(U, void 0, Me[0]);
|
7494
7494
|
}
|
7495
|
-
for (
|
7495
|
+
for (E.position = {
|
7496
7496
|
start: et(
|
7497
7497
|
N.length > 0 ? N[0][1].start : {
|
7498
7498
|
line: 1,
|
@@ -7507,30 +7507,30 @@ function od(e) {
|
|
7507
7507
|
offset: 0
|
7508
7508
|
}
|
7509
7509
|
)
|
7510
|
-
},
|
7511
|
-
|
7512
|
-
return
|
7513
|
-
}
|
7514
|
-
function i(N,
|
7515
|
-
let
|
7516
|
-
for (; ++
|
7517
|
-
const ce = N[
|
7518
|
-
if (ce[1].type === "listUnordered" || ce[1].type === "listOrdered" || ce[1].type === "blockQuote" ? (ce[0] === "enter" ?
|
7510
|
+
}, ee = -1; ++ee < t.transforms.length; )
|
7511
|
+
E = t.transforms[ee](E) || E;
|
7512
|
+
return E;
|
7513
|
+
}
|
7514
|
+
function i(N, E, U) {
|
7515
|
+
let K = E - 1, ee = -1, Me = !1, Ye, He, lt, je;
|
7516
|
+
for (; ++K <= U; ) {
|
7517
|
+
const ce = N[K];
|
7518
|
+
if (ce[1].type === "listUnordered" || ce[1].type === "listOrdered" || ce[1].type === "blockQuote" ? (ce[0] === "enter" ? ee++ : ee--, je = void 0) : ce[1].type === "lineEndingBlank" ? ce[0] === "enter" && (Ye && !je && !ee && !lt && (lt = K), je = void 0) : ce[1].type === "linePrefix" || ce[1].type === "listItemValue" || ce[1].type === "listItemMarker" || ce[1].type === "listItemPrefix" || ce[1].type === "listItemPrefixWhitespace" || (je = void 0), !ee && ce[0] === "enter" && ce[1].type === "listItemPrefix" || ee === -1 && ce[0] === "exit" && (ce[1].type === "listUnordered" || ce[1].type === "listOrdered")) {
|
7519
7519
|
if (Ye) {
|
7520
|
-
let
|
7521
|
-
for (He = void 0;
|
7522
|
-
const _e = N[
|
7520
|
+
let Ct = K;
|
7521
|
+
for (He = void 0; Ct--; ) {
|
7522
|
+
const _e = N[Ct];
|
7523
7523
|
if (_e[1].type === "lineEnding" || _e[1].type === "lineEndingBlank") {
|
7524
7524
|
if (_e[0] === "exit")
|
7525
7525
|
continue;
|
7526
|
-
He && (N[He][1].type = "lineEndingBlank", Me = !0), _e[1].type = "lineEnding", He =
|
7526
|
+
He && (N[He][1].type = "lineEndingBlank", Me = !0), _e[1].type = "lineEnding", He = Ct;
|
7527
7527
|
} else if (!(_e[1].type === "linePrefix" || _e[1].type === "blockQuotePrefix" || _e[1].type === "blockQuotePrefixWhitespace" || _e[1].type === "blockQuoteMarker" || _e[1].type === "listItemIndent"))
|
7528
7528
|
break;
|
7529
7529
|
}
|
7530
7530
|
lt && (!He || lt < He) && (Ye._spread = !0), Ye.end = Object.assign(
|
7531
7531
|
{},
|
7532
7532
|
He ? N[He][1].start : ce[1].end
|
7533
|
-
), N.splice(He ||
|
7533
|
+
), N.splice(He || K, 0, ["exit", Ye, ce[2]]), K++, U++;
|
7534
7534
|
}
|
7535
7535
|
ce[1].type === "listItemPrefix" && (Ye = {
|
7536
7536
|
type: "listItem",
|
@@ -7538,21 +7538,21 @@ function od(e) {
|
|
7538
7538
|
start: Object.assign({}, ce[1].start),
|
7539
7539
|
// @ts-expect-error: we’ll add `end` in a second.
|
7540
7540
|
end: void 0
|
7541
|
-
}, N.splice(
|
7541
|
+
}, N.splice(K, 0, ["enter", Ye, ce[2]]), K++, U++, lt = void 0, je = !0);
|
7542
7542
|
}
|
7543
7543
|
}
|
7544
|
-
return N[
|
7544
|
+
return N[E][1]._spread = Me, U;
|
7545
7545
|
}
|
7546
|
-
function o(N,
|
7547
|
-
n[N] =
|
7546
|
+
function o(N, E) {
|
7547
|
+
n[N] = E;
|
7548
7548
|
}
|
7549
7549
|
function a(N) {
|
7550
7550
|
return n[N];
|
7551
7551
|
}
|
7552
|
-
function l(N,
|
7552
|
+
function l(N, E) {
|
7553
7553
|
return U;
|
7554
|
-
function U(
|
7555
|
-
u.call(this, N(
|
7554
|
+
function U(K) {
|
7555
|
+
u.call(this, N(K), K), E && E.call(this, K);
|
7556
7556
|
}
|
7557
7557
|
}
|
7558
7558
|
function s() {
|
@@ -7561,21 +7561,21 @@ function od(e) {
|
|
7561
7561
|
children: []
|
7562
7562
|
});
|
7563
7563
|
}
|
7564
|
-
function u(N,
|
7565
|
-
return this.stack[this.stack.length - 1].children.push(N), this.stack.push(N), this.tokenStack.push([
|
7566
|
-
start: et(
|
7564
|
+
function u(N, E, U) {
|
7565
|
+
return this.stack[this.stack.length - 1].children.push(N), this.stack.push(N), this.tokenStack.push([E, U]), N.position = {
|
7566
|
+
start: et(E.start)
|
7567
7567
|
}, N;
|
7568
7568
|
}
|
7569
7569
|
function c(N) {
|
7570
|
-
return
|
7571
|
-
function
|
7570
|
+
return E;
|
7571
|
+
function E(U) {
|
7572
7572
|
N && N.call(this, U), f.call(this, U);
|
7573
7573
|
}
|
7574
7574
|
}
|
7575
|
-
function f(N,
|
7576
|
-
const U = this.stack.pop(),
|
7577
|
-
if (
|
7578
|
-
|
7575
|
+
function f(N, E) {
|
7576
|
+
const U = this.stack.pop(), K = this.tokenStack.pop();
|
7577
|
+
if (K)
|
7578
|
+
K[0].type !== N.type && (E ? E.call(this, N, K[0]) : (K[1] || so).call(this, N, K[0]));
|
7579
7579
|
else
|
7580
7580
|
throw new Error(
|
7581
7581
|
"Cannot close `" + N.type + "` (" + Qt({
|
@@ -7593,132 +7593,132 @@ function od(e) {
|
|
7593
7593
|
}
|
7594
7594
|
function v(N) {
|
7595
7595
|
if (a("expectingFirstListItemValue")) {
|
7596
|
-
const
|
7597
|
-
|
7596
|
+
const E = this.stack[this.stack.length - 2];
|
7597
|
+
E.start = Number.parseInt(this.sliceSerialize(N), 10), o("expectingFirstListItemValue");
|
7598
7598
|
}
|
7599
7599
|
}
|
7600
7600
|
function x() {
|
7601
|
-
const N = this.resume(),
|
7602
|
-
|
7601
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7602
|
+
E.lang = N;
|
7603
7603
|
}
|
7604
7604
|
function k() {
|
7605
|
-
const N = this.resume(),
|
7606
|
-
|
7605
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7606
|
+
E.meta = N;
|
7607
7607
|
}
|
7608
7608
|
function b() {
|
7609
7609
|
a("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
7610
7610
|
}
|
7611
7611
|
function z() {
|
7612
|
-
const N = this.resume(),
|
7613
|
-
|
7612
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7613
|
+
E.value = N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
7614
7614
|
}
|
7615
|
-
function
|
7616
|
-
const N = this.resume(),
|
7617
|
-
|
7615
|
+
function C() {
|
7616
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7617
|
+
E.value = N.replace(/(\r?\n|\r)$/g, "");
|
7618
7618
|
}
|
7619
7619
|
function _(N) {
|
7620
|
-
const
|
7621
|
-
U.label =
|
7620
|
+
const E = this.resume(), U = this.stack[this.stack.length - 1];
|
7621
|
+
U.label = E, U.identifier = Mt(
|
7622
7622
|
this.sliceSerialize(N)
|
7623
7623
|
).toLowerCase();
|
7624
7624
|
}
|
7625
7625
|
function Q() {
|
7626
|
-
const N = this.resume(),
|
7627
|
-
|
7626
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7627
|
+
E.title = N;
|
7628
7628
|
}
|
7629
7629
|
function M() {
|
7630
|
-
const N = this.resume(),
|
7631
|
-
|
7630
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7631
|
+
E.url = N;
|
7632
7632
|
}
|
7633
7633
|
function L(N) {
|
7634
|
-
const
|
7635
|
-
if (!
|
7634
|
+
const E = this.stack[this.stack.length - 1];
|
7635
|
+
if (!E.depth) {
|
7636
7636
|
const U = this.sliceSerialize(N).length;
|
7637
|
-
|
7637
|
+
E.depth = U;
|
7638
7638
|
}
|
7639
7639
|
}
|
7640
7640
|
function Y() {
|
7641
7641
|
o("setextHeadingSlurpLineEnding", !0);
|
7642
7642
|
}
|
7643
7643
|
function q(N) {
|
7644
|
-
const
|
7645
|
-
|
7644
|
+
const E = this.stack[this.stack.length - 1];
|
7645
|
+
E.depth = this.sliceSerialize(N).charCodeAt(0) === 61 ? 1 : 2;
|
7646
7646
|
}
|
7647
|
-
function
|
7647
|
+
function J() {
|
7648
7648
|
o("setextHeadingSlurpLineEnding");
|
7649
7649
|
}
|
7650
7650
|
function S(N) {
|
7651
|
-
const
|
7652
|
-
let U =
|
7653
|
-
(!U || U.type !== "text") && (U =
|
7651
|
+
const E = this.stack[this.stack.length - 1];
|
7652
|
+
let U = E.children[E.children.length - 1];
|
7653
|
+
(!U || U.type !== "text") && (U = oe(), U.position = {
|
7654
7654
|
start: et(N.start)
|
7655
|
-
},
|
7655
|
+
}, E.children.push(U)), this.stack.push(U);
|
7656
7656
|
}
|
7657
7657
|
function w(N) {
|
7658
|
-
const
|
7659
|
-
|
7658
|
+
const E = this.stack.pop();
|
7659
|
+
E.value += this.sliceSerialize(N), E.position.end = et(N.end);
|
7660
7660
|
}
|
7661
7661
|
function j(N) {
|
7662
|
-
const
|
7662
|
+
const E = this.stack[this.stack.length - 1];
|
7663
7663
|
if (a("atHardBreak")) {
|
7664
|
-
const U =
|
7664
|
+
const U = E.children[E.children.length - 1];
|
7665
7665
|
U.position.end = et(N.end), o("atHardBreak");
|
7666
7666
|
return;
|
7667
7667
|
}
|
7668
|
-
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(
|
7668
|
+
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(E.type) && (S.call(this, N), w.call(this, N));
|
7669
7669
|
}
|
7670
7670
|
function O() {
|
7671
7671
|
o("atHardBreak", !0);
|
7672
7672
|
}
|
7673
7673
|
function P() {
|
7674
|
-
const N = this.resume(),
|
7675
|
-
|
7674
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7675
|
+
E.value = N;
|
7676
7676
|
}
|
7677
7677
|
function $() {
|
7678
|
-
const N = this.resume(),
|
7679
|
-
|
7678
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7679
|
+
E.value = N;
|
7680
7680
|
}
|
7681
7681
|
function G() {
|
7682
|
-
const N = this.resume(),
|
7683
|
-
|
7682
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7683
|
+
E.value = N;
|
7684
7684
|
}
|
7685
7685
|
function Z() {
|
7686
7686
|
const N = this.stack[this.stack.length - 1];
|
7687
7687
|
if (a("inReference")) {
|
7688
|
-
const
|
7689
|
-
N.type += "Reference", N.referenceType =
|
7688
|
+
const E = a("referenceType") || "shortcut";
|
7689
|
+
N.type += "Reference", N.referenceType = E, delete N.url, delete N.title;
|
7690
7690
|
} else
|
7691
7691
|
delete N.identifier, delete N.label;
|
7692
7692
|
o("referenceType");
|
7693
7693
|
}
|
7694
|
-
function
|
7694
|
+
function ie() {
|
7695
7695
|
const N = this.stack[this.stack.length - 1];
|
7696
7696
|
if (a("inReference")) {
|
7697
|
-
const
|
7698
|
-
N.type += "Reference", N.referenceType =
|
7697
|
+
const E = a("referenceType") || "shortcut";
|
7698
|
+
N.type += "Reference", N.referenceType = E, delete N.url, delete N.title;
|
7699
7699
|
} else
|
7700
7700
|
delete N.identifier, delete N.label;
|
7701
7701
|
o("referenceType");
|
7702
7702
|
}
|
7703
7703
|
function h(N) {
|
7704
|
-
const
|
7705
|
-
U.label = nd(
|
7704
|
+
const E = this.sliceSerialize(N), U = this.stack[this.stack.length - 2];
|
7705
|
+
U.label = nd(E), U.identifier = Mt(E).toLowerCase();
|
7706
7706
|
}
|
7707
|
-
function
|
7708
|
-
const N = this.stack[this.stack.length - 1],
|
7707
|
+
function ne() {
|
7708
|
+
const N = this.stack[this.stack.length - 1], E = this.resume(), U = this.stack[this.stack.length - 1];
|
7709
7709
|
if (o("inReference", !0), U.type === "link") {
|
7710
|
-
const
|
7711
|
-
U.children =
|
7710
|
+
const K = N.children;
|
7711
|
+
U.children = K;
|
7712
7712
|
} else
|
7713
|
-
U.alt =
|
7713
|
+
U.alt = E;
|
7714
7714
|
}
|
7715
7715
|
function ve() {
|
7716
|
-
const N = this.resume(),
|
7717
|
-
|
7716
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7717
|
+
E.url = N;
|
7718
7718
|
}
|
7719
7719
|
function g() {
|
7720
|
-
const N = this.resume(),
|
7721
|
-
|
7720
|
+
const N = this.resume(), E = this.stack[this.stack.length - 1];
|
7721
|
+
E.title = N;
|
7722
7722
|
}
|
7723
7723
|
function me() {
|
7724
7724
|
o("inReference");
|
@@ -7726,9 +7726,9 @@ function od(e) {
|
|
7726
7726
|
function De() {
|
7727
7727
|
o("referenceType", "collapsed");
|
7728
7728
|
}
|
7729
|
-
function
|
7730
|
-
const
|
7731
|
-
U.label =
|
7729
|
+
function le(N) {
|
7730
|
+
const E = this.resume(), U = this.stack[this.stack.length - 1];
|
7731
|
+
U.label = E, U.identifier = Mt(
|
7732
7732
|
this.sliceSerialize(N)
|
7733
7733
|
).toLowerCase(), o("referenceType", "full");
|
7734
7734
|
}
|
@@ -7736,24 +7736,24 @@ function od(e) {
|
|
7736
7736
|
o("characterReferenceType", N.type);
|
7737
7737
|
}
|
7738
7738
|
function Te(N) {
|
7739
|
-
const
|
7740
|
-
let
|
7741
|
-
U ? (
|
7742
|
-
|
7739
|
+
const E = this.sliceSerialize(N), U = a("characterReferenceType");
|
7740
|
+
let K;
|
7741
|
+
U ? (K = Ca(
|
7742
|
+
E,
|
7743
7743
|
U === "characterReferenceMarkerNumeric" ? 10 : 16
|
7744
|
-
), o("characterReferenceType")) :
|
7745
|
-
const
|
7746
|
-
|
7744
|
+
), o("characterReferenceType")) : K = Qr(E);
|
7745
|
+
const ee = this.stack.pop();
|
7746
|
+
ee.value += K, ee.position.end = et(N.end);
|
7747
7747
|
}
|
7748
7748
|
function ze(N) {
|
7749
7749
|
w.call(this, N);
|
7750
|
-
const
|
7751
|
-
|
7750
|
+
const E = this.stack[this.stack.length - 1];
|
7751
|
+
E.url = this.sliceSerialize(N);
|
7752
7752
|
}
|
7753
7753
|
function Le(N) {
|
7754
7754
|
w.call(this, N);
|
7755
|
-
const
|
7756
|
-
|
7755
|
+
const E = this.stack[this.stack.length - 1];
|
7756
|
+
E.url = "mailto:" + this.sliceSerialize(N);
|
7757
7757
|
}
|
7758
7758
|
function Ke() {
|
7759
7759
|
return {
|
@@ -7853,7 +7853,7 @@ function od(e) {
|
|
7853
7853
|
children: []
|
7854
7854
|
};
|
7855
7855
|
}
|
7856
|
-
function
|
7856
|
+
function oe() {
|
7857
7857
|
return {
|
7858
7858
|
type: "text",
|
7859
7859
|
value: ""
|
@@ -7882,7 +7882,7 @@ function Aa(e, t) {
|
|
7882
7882
|
function ad(e, t) {
|
7883
7883
|
let n;
|
7884
7884
|
for (n in t)
|
7885
|
-
if (
|
7885
|
+
if (Ea.call(t, n)) {
|
7886
7886
|
if (n === "canContainEols") {
|
7887
7887
|
const r = t[n];
|
7888
7888
|
r && e[n].push(...r);
|
@@ -8235,7 +8235,7 @@ function jd(e, t) {
|
|
8235
8235
|
};
|
8236
8236
|
return e.patch(t, o), e.applyData(t, o);
|
8237
8237
|
}
|
8238
|
-
function
|
8238
|
+
function Cd(e, t, n) {
|
8239
8239
|
const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", a = n && n.type === "table" ? n.align : void 0, l = a ? a.length : t.children.length;
|
8240
8240
|
let s = -1;
|
8241
8241
|
const u = [];
|
@@ -8253,7 +8253,7 @@ function Ed(e, t, n) {
|
|
8253
8253
|
};
|
8254
8254
|
return e.patch(t, c), e.applyData(t, c);
|
8255
8255
|
}
|
8256
|
-
function
|
8256
|
+
function Ed(e, t) {
|
8257
8257
|
const n = {
|
8258
8258
|
type: "element",
|
8259
8259
|
tagName: "td",
|
@@ -8323,8 +8323,8 @@ const zd = {
|
|
8323
8323
|
root: Id,
|
8324
8324
|
strong: Nd,
|
8325
8325
|
table: jd,
|
8326
|
-
tableCell:
|
8327
|
-
tableRow:
|
8326
|
+
tableCell: Ed,
|
8327
|
+
tableRow: Cd,
|
8328
8328
|
text: Sd,
|
8329
8329
|
thematicBreak: Od,
|
8330
8330
|
toml: an,
|
@@ -8730,7 +8730,7 @@ Be.prototype.commaOrSpaceSeparated = !1;
|
|
8730
8730
|
Be.prototype.mustUseProperty = !1;
|
8731
8731
|
Be.prototype.defined = !1;
|
8732
8732
|
let th = 0;
|
8733
|
-
const X = ht(), we = ht(), Ua = ht(), A = ht(), pe = ht(), xt = ht(),
|
8733
|
+
const X = ht(), we = ht(), Ua = ht(), A = ht(), pe = ht(), xt = ht(), Ee = ht();
|
8734
8734
|
function ht() {
|
8735
8735
|
return 2 ** ++th;
|
8736
8736
|
}
|
@@ -8738,7 +8738,7 @@ const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8738
8738
|
__proto__: null,
|
8739
8739
|
boolean: X,
|
8740
8740
|
booleanish: we,
|
8741
|
-
commaOrSpaceSeparated:
|
8741
|
+
commaOrSpaceSeparated: Ee,
|
8742
8742
|
commaSeparated: xt,
|
8743
8743
|
number: A,
|
8744
8744
|
overloadedBoolean: Ua,
|
@@ -9406,7 +9406,7 @@ const $a = Dt({
|
|
9406
9406
|
},
|
9407
9407
|
transform: Ya,
|
9408
9408
|
properties: {
|
9409
|
-
about:
|
9409
|
+
about: Ee,
|
9410
9410
|
accentHeight: A,
|
9411
9411
|
accumulate: null,
|
9412
9412
|
additive: null,
|
@@ -9518,7 +9518,7 @@ const $a = Dt({
|
|
9518
9518
|
k2: A,
|
9519
9519
|
k3: A,
|
9520
9520
|
k4: A,
|
9521
|
-
kernelMatrix:
|
9521
|
+
kernelMatrix: Ee,
|
9522
9522
|
kernelUnitLength: null,
|
9523
9523
|
keyPoints: null,
|
9524
9524
|
// SEMI_COLON_SEPARATED
|
@@ -9675,21 +9675,21 @@ const $a = Dt({
|
|
9675
9675
|
preserveAspectRatio: null,
|
9676
9676
|
primitiveUnits: null,
|
9677
9677
|
propagate: null,
|
9678
|
-
property:
|
9678
|
+
property: Ee,
|
9679
9679
|
r: null,
|
9680
9680
|
radius: null,
|
9681
9681
|
referrerPolicy: null,
|
9682
9682
|
refX: null,
|
9683
9683
|
refY: null,
|
9684
|
-
rel:
|
9685
|
-
rev:
|
9684
|
+
rel: Ee,
|
9685
|
+
rev: Ee,
|
9686
9686
|
renderingIntent: null,
|
9687
9687
|
repeatCount: null,
|
9688
9688
|
repeatDur: null,
|
9689
|
-
requiredExtensions:
|
9690
|
-
requiredFeatures:
|
9691
|
-
requiredFonts:
|
9692
|
-
requiredFormats:
|
9689
|
+
requiredExtensions: Ee,
|
9690
|
+
requiredFeatures: Ee,
|
9691
|
+
requiredFonts: Ee,
|
9692
|
+
requiredFormats: Ee,
|
9693
9693
|
resource: null,
|
9694
9694
|
restart: null,
|
9695
9695
|
result: null,
|
@@ -9717,7 +9717,7 @@ const $a = Dt({
|
|
9717
9717
|
strikethroughThickness: A,
|
9718
9718
|
string: null,
|
9719
9719
|
stroke: null,
|
9720
|
-
strokeDashArray:
|
9720
|
+
strokeDashArray: Ee,
|
9721
9721
|
strokeDashOffset: null,
|
9722
9722
|
strokeLineCap: null,
|
9723
9723
|
strokeLineJoin: null,
|
@@ -9731,7 +9731,7 @@ const $a = Dt({
|
|
9731
9731
|
syncMaster: null,
|
9732
9732
|
syncTolerance: null,
|
9733
9733
|
syncToleranceDefault: null,
|
9734
|
-
systemLanguage:
|
9734
|
+
systemLanguage: Ee,
|
9735
9735
|
tabIndex: A,
|
9736
9736
|
tableValues: null,
|
9737
9737
|
target: null,
|
@@ -9745,7 +9745,7 @@ const $a = Dt({
|
|
9745
9745
|
title: null,
|
9746
9746
|
transformBehavior: null,
|
9747
9747
|
type: null,
|
9748
|
-
typeOf:
|
9748
|
+
typeOf: Ee,
|
9749
9749
|
to: null,
|
9750
9750
|
transform: null,
|
9751
9751
|
transformOrigin: null,
|
@@ -9850,7 +9850,7 @@ function fh(e) {
|
|
9850
9850
|
});
|
9851
9851
|
};
|
9852
9852
|
}
|
9853
|
-
var Va = { exports: {} },
|
9853
|
+
var Va = { exports: {} }, se = {};
|
9854
9854
|
/**
|
9855
9855
|
* @license React
|
9856
9856
|
* react-is.production.min.js
|
@@ -9860,7 +9860,7 @@ var Va = { exports: {} }, le = {};
|
|
9860
9860
|
* This source code is licensed under the MIT license found in the
|
9861
9861
|
* LICENSE file in the root directory of this source tree.
|
9862
9862
|
*/
|
9863
|
-
var Gr = Symbol.for("react.element"), Zr = Symbol.for("react.portal"), Nn = Symbol.for("react.fragment"), kn = Symbol.for("react.strict_mode"), jn = Symbol.for("react.profiler"),
|
9863
|
+
var Gr = Symbol.for("react.element"), Zr = Symbol.for("react.portal"), Nn = Symbol.for("react.fragment"), kn = Symbol.for("react.strict_mode"), jn = Symbol.for("react.profiler"), Cn = Symbol.for("react.provider"), En = Symbol.for("react.context"), dh = Symbol.for("react.server_context"), An = Symbol.for("react.forward_ref"), Sn = Symbol.for("react.suspense"), On = Symbol.for("react.suspense_list"), zn = Symbol.for("react.memo"), Ln = Symbol.for("react.lazy"), hh = Symbol.for("react.offscreen"), Wa;
|
9864
9864
|
Wa = Symbol.for("react.module.reference");
|
9865
9865
|
function Qe(e) {
|
9866
9866
|
if (typeof e == "object" && e !== null) {
|
@@ -9877,11 +9877,11 @@ function Qe(e) {
|
|
9877
9877
|
default:
|
9878
9878
|
switch (e = e && e.$$typeof, e) {
|
9879
9879
|
case dh:
|
9880
|
-
case
|
9880
|
+
case En:
|
9881
9881
|
case An:
|
9882
9882
|
case Ln:
|
9883
9883
|
case zn:
|
9884
|
-
case
|
9884
|
+
case Cn:
|
9885
9885
|
return e;
|
9886
9886
|
default:
|
9887
9887
|
return t;
|
@@ -9892,65 +9892,65 @@ function Qe(e) {
|
|
9892
9892
|
}
|
9893
9893
|
}
|
9894
9894
|
}
|
9895
|
-
|
9896
|
-
|
9897
|
-
|
9898
|
-
|
9899
|
-
|
9900
|
-
|
9901
|
-
|
9902
|
-
|
9903
|
-
|
9904
|
-
|
9905
|
-
|
9906
|
-
|
9907
|
-
|
9895
|
+
se.ContextConsumer = En;
|
9896
|
+
se.ContextProvider = Cn;
|
9897
|
+
se.Element = Gr;
|
9898
|
+
se.ForwardRef = An;
|
9899
|
+
se.Fragment = Nn;
|
9900
|
+
se.Lazy = Ln;
|
9901
|
+
se.Memo = zn;
|
9902
|
+
se.Portal = Zr;
|
9903
|
+
se.Profiler = jn;
|
9904
|
+
se.StrictMode = kn;
|
9905
|
+
se.Suspense = Sn;
|
9906
|
+
se.SuspenseList = On;
|
9907
|
+
se.isAsyncMode = function() {
|
9908
9908
|
return !1;
|
9909
9909
|
};
|
9910
|
-
|
9910
|
+
se.isConcurrentMode = function() {
|
9911
9911
|
return !1;
|
9912
9912
|
};
|
9913
|
-
|
9914
|
-
return Qe(e) === Cn;
|
9915
|
-
};
|
9916
|
-
le.isContextProvider = function(e) {
|
9913
|
+
se.isContextConsumer = function(e) {
|
9917
9914
|
return Qe(e) === En;
|
9918
9915
|
};
|
9919
|
-
|
9916
|
+
se.isContextProvider = function(e) {
|
9917
|
+
return Qe(e) === Cn;
|
9918
|
+
};
|
9919
|
+
se.isElement = function(e) {
|
9920
9920
|
return typeof e == "object" && e !== null && e.$$typeof === Gr;
|
9921
9921
|
};
|
9922
|
-
|
9922
|
+
se.isForwardRef = function(e) {
|
9923
9923
|
return Qe(e) === An;
|
9924
9924
|
};
|
9925
|
-
|
9925
|
+
se.isFragment = function(e) {
|
9926
9926
|
return Qe(e) === Nn;
|
9927
9927
|
};
|
9928
|
-
|
9928
|
+
se.isLazy = function(e) {
|
9929
9929
|
return Qe(e) === Ln;
|
9930
9930
|
};
|
9931
|
-
|
9931
|
+
se.isMemo = function(e) {
|
9932
9932
|
return Qe(e) === zn;
|
9933
9933
|
};
|
9934
|
-
|
9934
|
+
se.isPortal = function(e) {
|
9935
9935
|
return Qe(e) === Zr;
|
9936
9936
|
};
|
9937
|
-
|
9937
|
+
se.isProfiler = function(e) {
|
9938
9938
|
return Qe(e) === jn;
|
9939
9939
|
};
|
9940
|
-
|
9940
|
+
se.isStrictMode = function(e) {
|
9941
9941
|
return Qe(e) === kn;
|
9942
9942
|
};
|
9943
|
-
|
9943
|
+
se.isSuspense = function(e) {
|
9944
9944
|
return Qe(e) === Sn;
|
9945
9945
|
};
|
9946
|
-
|
9946
|
+
se.isSuspenseList = function(e) {
|
9947
9947
|
return Qe(e) === On;
|
9948
9948
|
};
|
9949
|
-
|
9950
|
-
return typeof e == "string" || typeof e == "function" || e === Nn || e === jn || e === kn || e === Sn || e === On || e === hh || typeof e == "object" && e !== null && (e.$$typeof === Ln || e.$$typeof === zn || e.$$typeof ===
|
9949
|
+
se.isValidElementType = function(e) {
|
9950
|
+
return typeof e == "string" || typeof e == "function" || e === Nn || e === jn || e === kn || e === Sn || e === On || e === hh || typeof e == "object" && e !== null && (e.$$typeof === Ln || e.$$typeof === zn || e.$$typeof === Cn || e.$$typeof === En || e.$$typeof === An || e.$$typeof === Wa || e.getModuleId !== void 0);
|
9951
9951
|
};
|
9952
|
-
|
9953
|
-
Va.exports =
|
9952
|
+
se.typeOf = Qe;
|
9953
|
+
Va.exports = se;
|
9954
9954
|
var gh = Va.exports;
|
9955
9955
|
const mh = /* @__PURE__ */ rt(gh);
|
9956
9956
|
function yh(e) {
|
@@ -9973,7 +9973,7 @@ function Mh(e, t) {
|
|
9973
9973
|
).trim();
|
9974
9974
|
}
|
9975
9975
|
var Xr = { exports: {} }, Mo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh = /^\s*/, vh = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Th = /^:\s*/, Dh = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Ih = /^[;\s]*/, Nh = /^\s+|\s+$/g, kh = `
|
9976
|
-
`, xo = "/", wo = "*", pt = "", jh = "comment",
|
9976
|
+
`, xo = "/", wo = "*", pt = "", jh = "comment", Ch = "declaration", Eh = function(e, t) {
|
9977
9977
|
if (typeof e != "string")
|
9978
9978
|
throw new TypeError("First argument must be a string");
|
9979
9979
|
if (!e)
|
@@ -10039,7 +10039,7 @@ var Xr = { exports: {} }, Mo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh
|
|
10039
10039
|
if (f(), !s(Th))
|
10040
10040
|
return l("property missing ':'");
|
10041
10041
|
var k = s(Dh), b = v({
|
10042
|
-
type:
|
10042
|
+
type: Ch,
|
10043
10043
|
property: vo(x[0].replace(Mo, pt)),
|
10044
10044
|
value: k ? vo(k[0].replace(Mo, pt)) : pt
|
10045
10045
|
});
|
@@ -10058,7 +10058,7 @@ var Xr = { exports: {} }, Mo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh
|
|
10058
10058
|
function vo(e) {
|
10059
10059
|
return e ? e.replace(Nh, pt) : pt;
|
10060
10060
|
}
|
10061
|
-
var Ah =
|
10061
|
+
var Ah = Eh;
|
10062
10062
|
function Ga(e, t) {
|
10063
10063
|
var n = null;
|
10064
10064
|
if (!e || typeof e != "string")
|
@@ -10338,8 +10338,8 @@ function _n({
|
|
10338
10338
|
}) {
|
10339
10339
|
const [s, u] = ye(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: p } = Se(Oe), v = Ht(
|
10340
10340
|
(b) => {
|
10341
|
-
var z,
|
10342
|
-
((z = b == null ? void 0 : b.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (
|
10341
|
+
var z, C, _, Q;
|
10342
|
+
((z = b == null ? void 0 : b.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (C = window == null ? void 0 : window.OnetrustActiveGroups) != null && C.includes("C0003")) && Re.set(`${f}-live-chat-open`, 1, {
|
10343
10343
|
expires: 1,
|
10344
10344
|
path: "/"
|
10345
10345
|
}), ((_ = b == null ? void 0 : b.data) == null ? void 0 : _.type) === "connection" && ((Q = b == null ? void 0 : b.data) == null ? void 0 : Q.state) === "disconnected" && Re.remove(`${f}-live-chat-open`);
|
@@ -10347,8 +10347,8 @@ function _n({
|
|
10347
10347
|
[f]
|
10348
10348
|
), x = Ht(
|
10349
10349
|
(b) => {
|
10350
|
-
var z,
|
10351
|
-
((z = b == null ? void 0 : b.data) == null ? void 0 : z.type) === "unhide" && ((
|
10350
|
+
var z, C, _, Q;
|
10351
|
+
((z = b == null ? void 0 : b.data) == null ? void 0 : z.type) === "unhide" && ((C = b == null ? void 0 : b.data) == null ? void 0 : C.reason) === "pop-out" && t(!0), ((_ = b == null ? void 0 : b.data) == null ? void 0 : _.type) === "open" && ((Q = b == null ? void 0 : b.data) == null ? void 0 : Q.chatState) === !0 && t(!0);
|
10352
10352
|
},
|
10353
10353
|
[t]
|
10354
10354
|
);
|
@@ -10988,16 +10988,16 @@ function ti({ submitEventExternal: e }) {
|
|
10988
10988
|
userTracking: o,
|
10989
10989
|
webExperimentation: a,
|
10990
10990
|
xpertKey: l
|
10991
|
-
} = Se(Oe), s = it(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p, v] = ye(ag), [x, k] = ye(!1), [b, z] = ye(!1), [
|
10991
|
+
} = Se(Oe), s = it(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p, v] = ye(ag), [x, k] = ye(!1), [b, z] = ye(!1), [C, _] = ye(!1), [Q, M] = ye(""), [L, Y] = ye(!1), [q, J] = ye(!0), [S, w] = ye(!1), [j, O] = ye(!1), [P, $] = ye(!1), G = We(null), Z = We(null), ie = We(null), h = Re.get(`${l}-test`) === "1";
|
10992
10992
|
eg(
|
10993
10993
|
n.liveChat.enabled,
|
10994
|
-
|
10994
|
+
C,
|
10995
10995
|
_
|
10996
10996
|
);
|
10997
|
-
const
|
10997
|
+
const ne = Ht(
|
10998
10998
|
({ name: F, payload: W }) => {
|
10999
10999
|
const be = So(o == null ? void 0 : o.payloadParams, W);
|
11000
|
-
e ? e({ name: F, payload: be }) :
|
11000
|
+
e ? e({ name: F, payload: be }) : ie.current.track(
|
11001
11001
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
11002
11002
|
F,
|
11003
11003
|
be
|
@@ -11030,8 +11030,8 @@ function ti({ submitEventExternal: e }) {
|
|
11030
11030
|
throw new lr(`HTTPError: ${W.status} ${W.statusText}`);
|
11031
11031
|
const be = await W.json();
|
11032
11032
|
v(
|
11033
|
-
be.map((
|
11034
|
-
...
|
11033
|
+
be.map((oe) => ({
|
11034
|
+
...oe,
|
11035
11035
|
disableFeedback: !0
|
11036
11036
|
}))
|
11037
11037
|
), O(!0), $(!0);
|
@@ -11044,8 +11044,8 @@ function ti({ submitEventExternal: e }) {
|
|
11044
11044
|
ng(ve), xe(() => {
|
11045
11045
|
let F, W;
|
11046
11046
|
return o.enabled && (F = setInterval(() => {
|
11047
|
-
var
|
11048
|
-
console.log("Chatbot - Finding Segment"), (
|
11047
|
+
var oe;
|
11048
|
+
console.log("Chatbot - Finding Segment"), (oe = window.analytics) != null && oe.track && (console.log("Chatbot - Segment found"), ie.current = window.analytics, clearInterval(F), clearTimeout(W), u(!0));
|
11049
11049
|
}, 1e3), W = setTimeout(() => {
|
11050
11050
|
clearInterval(F);
|
11051
11051
|
}, 6e4)), () => {
|
@@ -11063,46 +11063,46 @@ function ti({ submitEventExternal: e }) {
|
|
11063
11063
|
}, [a.enabled, a.experimentName]), xe(() => {
|
11064
11064
|
let F, W;
|
11065
11065
|
return F = setInterval(() => {
|
11066
|
-
var N,
|
11066
|
+
var N, E, U;
|
11067
11067
|
console.log(
|
11068
11068
|
"Chatbot - Finding Mobile banners",
|
11069
11069
|
s,
|
11070
11070
|
f
|
11071
11071
|
);
|
11072
|
-
const
|
11072
|
+
const oe = document.querySelectorAll(
|
11073
11073
|
'[class^="branch-banner"]'
|
11074
|
-
), de = document.
|
11074
|
+
), de = (N = document.querySelectorAll(
|
11075
11075
|
".onetrust-banner-sdk"
|
11076
|
-
);
|
11077
|
-
if ((
|
11076
|
+
)) == null ? void 0 : N[0];
|
11077
|
+
if (((oe == null ? void 0 : oe.length) > 0 || de && ((E = de == null ? void 0 : de.style) == null ? void 0 : E.display) !== "none") && s && !f && (console.log("Chatbot - Mobile banners found"), m(!0)), (oe == null ? void 0 : oe.length) === 0 && (!de || ((U = de == null ? void 0 : de.style) == null ? void 0 : U.display) === "none") && s && f) {
|
11078
11078
|
console.log("Chatbot - Mobile banners not found");
|
11079
|
-
const
|
11079
|
+
const K = document.getElementById(
|
11080
11080
|
"xpert_chatbot__proactive-message"
|
11081
11081
|
);
|
11082
|
-
|
11083
|
-
const
|
11082
|
+
K && (K.style.bottom = "6rem");
|
11083
|
+
const ee = document.getElementById(
|
11084
11084
|
"xpert_chatbot__floating-action-btn"
|
11085
11085
|
);
|
11086
|
-
|
11086
|
+
ee && (ee.style.bottom = "0rem"), clearInterval(F), clearTimeout(W);
|
11087
11087
|
}
|
11088
11088
|
}, 1e3), W = setTimeout(() => {
|
11089
|
-
var N;
|
11089
|
+
var N, E;
|
11090
11090
|
console.log("Chatbot - Mobile banner search time out"), clearInterval(F);
|
11091
|
-
const
|
11091
|
+
const oe = document.querySelectorAll(
|
11092
11092
|
'[class^="branch-banner"]'
|
11093
|
-
), de = document.
|
11093
|
+
), de = (N = document.querySelectorAll(
|
11094
11094
|
".onetrust-banner-sdk"
|
11095
|
-
);
|
11096
|
-
if (
|
11095
|
+
)) == null ? void 0 : N[0];
|
11096
|
+
if ((oe == null ? void 0 : oe.length) === 0 && (!de || ((E = de == null ? void 0 : de.style) == null ? void 0 : E.display) === "none") && s) {
|
11097
11097
|
console.log("Chatbot - Mobile banners not found");
|
11098
|
-
const
|
11098
|
+
const U = document.getElementById(
|
11099
11099
|
"xpert_chatbot__proactive-message"
|
11100
11100
|
);
|
11101
|
-
|
11102
|
-
const
|
11101
|
+
U && (U.style.bottom = "6rem");
|
11102
|
+
const K = document.getElementById(
|
11103
11103
|
"xpert_chatbot__floating-action-btn"
|
11104
11104
|
);
|
11105
|
-
|
11105
|
+
K && (K.style.bottom = "0rem");
|
11106
11106
|
}
|
11107
11107
|
}, 6e4), () => {
|
11108
11108
|
clearInterval(F), clearTimeout(W);
|
@@ -11110,7 +11110,7 @@ function ti({ submitEventExternal: e }) {
|
|
11110
11110
|
}, [s, f]);
|
11111
11111
|
const g = (F) => {
|
11112
11112
|
var W, be;
|
11113
|
-
(W = F == null ? void 0 : F.target) != null && W.href &&
|
11113
|
+
(W = F == null ? void 0 : F.target) != null && W.href && ne({
|
11114
11114
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
11115
11115
|
payload: {
|
11116
11116
|
category: "2u",
|
@@ -11126,12 +11126,12 @@ function ti({ submitEventExternal: e }) {
|
|
11126
11126
|
return a.enabled && !a.experimentName && console.log(
|
11127
11127
|
`Chatbot - Experiment not setup: ${l}, ${me}, ${window.optimizely}`
|
11128
11128
|
), h || console.log(`Chatbot - Test user not setup: ${l}, ${h}`), null;
|
11129
|
-
if (o.prefix && !(($e =
|
11129
|
+
if (o.prefix && !(($e = ie == null ? void 0 : ie.current) != null && $e.track) && !e)
|
11130
11130
|
return console.log(`Chatbot - Segment not setup: ${l}`), null;
|
11131
11131
|
const De = () => {
|
11132
11132
|
M(""), Z.current.value = "", Z.current.style.height = "auto";
|
11133
|
-
},
|
11134
|
-
|
11133
|
+
}, le = (F, W) => {
|
11134
|
+
ne({
|
11135
11135
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
|
11136
11136
|
payload: {
|
11137
11137
|
category: "2u",
|
@@ -11146,10 +11146,10 @@ function ti({ submitEventExternal: e }) {
|
|
11146
11146
|
conversationSize: F,
|
11147
11147
|
userInputMessage: W,
|
11148
11148
|
apiResponseMessage: be,
|
11149
|
-
elapsedSeconds:
|
11149
|
+
elapsedSeconds: oe,
|
11150
11150
|
conversationByteSize: de
|
11151
11151
|
}) => {
|
11152
|
-
|
11152
|
+
ne({
|
11153
11153
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
|
11154
11154
|
payload: {
|
11155
11155
|
category: "2u",
|
@@ -11158,7 +11158,7 @@ function ti({ submitEventExternal: e }) {
|
|
11158
11158
|
conversationSize: F,
|
11159
11159
|
userInputMessage: W,
|
11160
11160
|
apiResponseMessage: be,
|
11161
|
-
elapsedSeconds:
|
11161
|
+
elapsedSeconds: oe,
|
11162
11162
|
conversationByteSize: de
|
11163
11163
|
}
|
11164
11164
|
});
|
@@ -11169,7 +11169,7 @@ function ti({ submitEventExternal: e }) {
|
|
11169
11169
|
const W = /* @__PURE__ */ new Date();
|
11170
11170
|
$(!1), Y(!1);
|
11171
11171
|
const be = p.filter((Me) => Me.role === "user").length + 1;
|
11172
|
-
|
11172
|
+
ne({
|
11173
11173
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
11174
11174
|
payload: {
|
11175
11175
|
category: "2u",
|
@@ -11179,8 +11179,8 @@ function ti({ submitEventExternal: e }) {
|
|
11179
11179
|
isTestUser: h
|
11180
11180
|
}
|
11181
11181
|
}), De();
|
11182
|
-
let
|
11183
|
-
!
|
11182
|
+
let oe = Re.get(`${l}-conversation-history-id`) || "";
|
11183
|
+
!oe && n.conversationHistory.enabled ? v([
|
11184
11184
|
{
|
11185
11185
|
role: "user",
|
11186
11186
|
content: F
|
@@ -11205,7 +11205,7 @@ function ti({ submitEventExternal: e }) {
|
|
11205
11205
|
method: "POST",
|
11206
11206
|
headers: {
|
11207
11207
|
"Content-Type": "application/json",
|
11208
|
-
"Conversation-History-Id":
|
11208
|
+
"Conversation-History-Id": oe
|
11209
11209
|
},
|
11210
11210
|
body: JSON.stringify({
|
11211
11211
|
message_list: de,
|
@@ -11214,26 +11214,26 @@ function ti({ submitEventExternal: e }) {
|
|
11214
11214
|
});
|
11215
11215
|
if (!N.ok)
|
11216
11216
|
throw new lr(`HTTPError: ${N.status} ${N.statusText}`);
|
11217
|
-
|
11217
|
+
oe = N.headers.get("Conversation-History-Id"), oe && Re.set(
|
11218
11218
|
`${l}-conversation-history-id`,
|
11219
|
-
|
11219
|
+
oe,
|
11220
11220
|
{ expires: 1 }
|
11221
11221
|
);
|
11222
|
-
const
|
11223
|
-
|
11224
|
-
const
|
11222
|
+
const E = await N.json(), U = E.content, K = E.live_agent;
|
11223
|
+
le(U, oe);
|
11224
|
+
const ee = /* @__PURE__ */ new Date();
|
11225
11225
|
Ie({
|
11226
11226
|
conversationByteSize: og(JSON.stringify(de)),
|
11227
11227
|
conversationSize: p.length + 2,
|
11228
11228
|
userInputMessage: F,
|
11229
11229
|
apiResponseMessage: U,
|
11230
|
-
elapsedSeconds: rg(W,
|
11230
|
+
elapsedSeconds: rg(W, ee)
|
11231
11231
|
}), v((Me) => [
|
11232
11232
|
...Me,
|
11233
11233
|
{
|
11234
11234
|
role: "assistant",
|
11235
11235
|
content: U,
|
11236
|
-
liveAgent:
|
11236
|
+
liveAgent: K,
|
11237
11237
|
createdAt: /* @__PURE__ */ new Date()
|
11238
11238
|
}
|
11239
11239
|
]), O(!1), k(!1), De(), $(!0);
|
@@ -11241,7 +11241,7 @@ function ti({ submitEventExternal: e }) {
|
|
11241
11241
|
k(!1), De(), Y(!0), console.error(W);
|
11242
11242
|
}
|
11243
11243
|
}, ze = () => {
|
11244
|
-
_(!1), z(!0),
|
11244
|
+
_(!1), z(!0), ne({
|
11245
11245
|
name: `${o.prefix}.bi.xpert.chatbot.action.button.clicked`,
|
11246
11246
|
payload: {
|
11247
11247
|
category: "2u",
|
@@ -11250,16 +11250,16 @@ function ti({ submitEventExternal: e }) {
|
|
11250
11250
|
}
|
11251
11251
|
});
|
11252
11252
|
}, Le = (F) => {
|
11253
|
-
|
11253
|
+
ne({
|
11254
11254
|
name: `${o.prefix}.bi.xpert.chatbot.${F ? "normal" : "expand"}.size.button.clicked`,
|
11255
11255
|
payload: {
|
11256
11256
|
category: "2u",
|
11257
11257
|
label: "xpert-chatbot",
|
11258
11258
|
isTestUser: h
|
11259
11259
|
}
|
11260
|
-
}),
|
11260
|
+
}), J(F);
|
11261
11261
|
}, Ke = () => {
|
11262
|
-
z(!0),
|
11262
|
+
z(!0), ne({
|
11263
11263
|
name: `${o.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
|
11264
11264
|
payload: {
|
11265
11265
|
category: "2u",
|
@@ -11268,7 +11268,7 @@ function ti({ submitEventExternal: e }) {
|
|
11268
11268
|
}
|
11269
11269
|
});
|
11270
11270
|
}, at = () => {
|
11271
|
-
|
11271
|
+
ne({
|
11272
11272
|
name: `${o.prefix}.bi.xpert.chatbot.proactive.message.closed`,
|
11273
11273
|
payload: {
|
11274
11274
|
category: "2u",
|
@@ -11277,7 +11277,7 @@ function ti({ submitEventExternal: e }) {
|
|
11277
11277
|
}
|
11278
11278
|
});
|
11279
11279
|
}, It = () => {
|
11280
|
-
z(!1), w(!1),
|
11280
|
+
z(!1), w(!1), ne({
|
11281
11281
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.minimized`,
|
11282
11282
|
payload: {
|
11283
11283
|
category: "2u",
|
@@ -11297,7 +11297,7 @@ function ti({ submitEventExternal: e }) {
|
|
11297
11297
|
}, gt = (F) => {
|
11298
11298
|
F.key === "Enter" && Q.trim() === "" || F.key === "Enter" && !F.shiftKey && (F.preventDefault(), Te(Q));
|
11299
11299
|
}, mt = (F, W = "") => {
|
11300
|
-
const be = p.map((
|
11300
|
+
const be = p.map((oe, de) => F === de ? (ne({
|
11301
11301
|
name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${W.toLowerCase()}.clicked`,
|
11302
11302
|
payload: {
|
11303
11303
|
category: "2u",
|
@@ -11308,9 +11308,9 @@ function ti({ submitEventExternal: e }) {
|
|
11308
11308
|
isTestUser: h
|
11309
11309
|
}
|
11310
11310
|
}), {
|
11311
|
-
...
|
11311
|
+
...oe,
|
11312
11312
|
feedbackThumbType: W
|
11313
|
-
}) :
|
11313
|
+
}) : oe);
|
11314
11314
|
v(be), O(!1);
|
11315
11315
|
}, Je = ((Ze = r.animatedGraduate) == null ? void 0 : Ze.enabled) && a.enabled && me === "A", jt = i.enabled ? Je ? s ? i.style.mobile.animatedGraduateExperiment : i.style.animatedGraduateExperiment : s ? i.style.mobile : i.style : null;
|
11316
11316
|
return (
|
@@ -11363,7 +11363,7 @@ function ti({ submitEventExternal: e }) {
|
|
11363
11363
|
}
|
11364
11364
|
),
|
11365
11365
|
/* @__PURE__ */ D.jsx(Fs, {}),
|
11366
|
-
b && !
|
11366
|
+
b && !C && /* @__PURE__ */ D.jsx(Ar, { isNormalSize: q, isMounted: S, children: /* @__PURE__ */ D.jsx(
|
11367
11367
|
"div",
|
11368
11368
|
{
|
11369
11369
|
ref: G,
|
@@ -11399,7 +11399,7 @@ function ti({ submitEventExternal: e }) {
|
|
11399
11399
|
onFeedbackThumbSelection: mt,
|
11400
11400
|
onPromptClick: Te,
|
11401
11401
|
handleMessageLinkClicked: g,
|
11402
|
-
submitEvent:
|
11402
|
+
submitEvent: ne,
|
11403
11403
|
setLiveChatOpen: _,
|
11404
11404
|
isTestUser: h
|
11405
11405
|
}
|
@@ -11414,7 +11414,7 @@ function ti({ submitEventExternal: e }) {
|
|
11414
11414
|
n.liveChat.enabled && /* @__PURE__ */ D.jsx(
|
11415
11415
|
_n,
|
11416
11416
|
{
|
11417
|
-
submitEvent:
|
11417
|
+
submitEvent: ne,
|
11418
11418
|
setLiveChatOpen: _,
|
11419
11419
|
isTestUser: h,
|
11420
11420
|
containerStyle: { margin: "auto -1rem auto 1rem" },
|