@2uinc/frontend-component-xpert-chatbot 1.15.4-beta.2 → 1.15.4-beta.3
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 +508 -508
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -701,31 +701,31 @@ const N = /* @__PURE__ */ it(B);
|
|
701
701
|
var dn = { exports: {} };
|
702
702
|
dn.exports;
|
703
703
|
(function(e, t) {
|
704
|
-
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]",
|
705
|
-
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[
|
706
|
-
var me = typeof en == "object" && en && en.Object === Object && en,
|
704
|
+
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]", D = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", b = "[object Null]", z = "[object Object]", E = "[object Proxy]", _ = "[object RegExp]", Q = "[object Set]", M = "[object String]", L = "[object Undefined]", Y = "[object WeakMap]", q = "[object ArrayBuffer]", ee = "[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\]$/, we = /^(?:0|[1-9]\d*)$/, g = {};
|
705
|
+
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[ee] = g[f] = g[m] = g[p] = g[x] = g[k] = g[z] = g[_] = g[Q] = g[M] = g[Y] = !1;
|
706
|
+
var me = typeof en == "object" && en && en.Object === Object && en, Ne = typeof self == "object" && self && self.Object === Object && self, ae = me || Ne || Function("return this")(), ke = t && !t.nodeType && t, ve = ke && !0 && e && !e.nodeType && e, Fe = ve && ve.exports === ke, Pe = Fe && me.process, Ke = function() {
|
707
707
|
try {
|
708
708
|
var d = ve && ve.require && ve.require("util").types;
|
709
709
|
return d || Pe && Pe.binding && Pe.binding("util");
|
710
710
|
} catch {
|
711
711
|
}
|
712
712
|
}(), lt = Ke && Ke.isTypedArray;
|
713
|
-
function It(d, y,
|
714
|
-
switch (
|
713
|
+
function It(d, y, I) {
|
714
|
+
switch (I.length) {
|
715
715
|
case 0:
|
716
716
|
return d.call(y);
|
717
717
|
case 1:
|
718
|
-
return d.call(y,
|
718
|
+
return d.call(y, I[0]);
|
719
719
|
case 2:
|
720
|
-
return d.call(y,
|
720
|
+
return d.call(y, I[0], I[1]);
|
721
721
|
case 3:
|
722
|
-
return d.call(y,
|
722
|
+
return d.call(y, I[0], I[1], I[2]);
|
723
723
|
}
|
724
|
-
return d.apply(y,
|
724
|
+
return d.apply(y, I);
|
725
725
|
}
|
726
726
|
function Nt(d, y) {
|
727
|
-
for (var
|
728
|
-
R[
|
727
|
+
for (var I = -1, R = Array(d); ++I < d; )
|
728
|
+
R[I] = y(I);
|
729
729
|
return R;
|
730
730
|
}
|
731
731
|
function kt(d) {
|
@@ -737,16 +737,16 @@ dn.exports;
|
|
737
737
|
return d == null ? void 0 : d[y];
|
738
738
|
}
|
739
739
|
function yt(d, y) {
|
740
|
-
return function(
|
741
|
-
return d(y(
|
740
|
+
return function(I) {
|
741
|
+
return d(y(I));
|
742
742
|
};
|
743
743
|
}
|
744
744
|
var Je = Array.prototype, jt = Function.prototype, $e = Object.prototype, Ze = ae["__core-js_shared__"], F = jt.toString, W = $e.hasOwnProperty, be = function() {
|
745
745
|
var d = /[^.]+$/.exec(Ze && Ze.keys && Ze.keys.IE_PROTO || "");
|
746
746
|
return d ? "Symbol(src)_1." + d : "";
|
747
|
-
}(), se = $e.toString,
|
747
|
+
}(), se = $e.toString, Ie = F.call(Object), T = RegExp(
|
748
748
|
"^" + F.call(W).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
749
|
-
), C = Fe ? ae.Buffer : void 0, U = ae.Symbol, K = ae.Uint8Array,
|
749
|
+
), C = Fe ? ae.Buffer : void 0, U = ae.Symbol, K = ae.Uint8Array, J = C ? C.allocUnsafe : void 0, ue = yt(Object.getPrototypeOf, Object), Te = Object.create, De = $e.propertyIsEnumerable, st = Je.splice, Ae = U ? U.toStringTag : void 0, pe = function() {
|
750
750
|
try {
|
751
751
|
var d = Bn(Object, "defineProperty");
|
752
752
|
return d({}, "", {}), d;
|
@@ -758,16 +758,16 @@ dn.exports;
|
|
758
758
|
return function(y) {
|
759
759
|
if (!ct(y))
|
760
760
|
return {};
|
761
|
-
if (
|
762
|
-
return
|
761
|
+
if (Te)
|
762
|
+
return Te(y);
|
763
763
|
d.prototype = y;
|
764
|
-
var
|
765
|
-
return d.prototype = void 0,
|
764
|
+
var I = new d();
|
765
|
+
return d.prototype = void 0, I;
|
766
766
|
};
|
767
767
|
}();
|
768
768
|
function ut(d) {
|
769
|
-
var y = -1,
|
770
|
-
for (this.clear(); ++y <
|
769
|
+
var y = -1, I = d == null ? 0 : d.length;
|
770
|
+
for (this.clear(); ++y < I; ) {
|
771
771
|
var R = d[y];
|
772
772
|
this.set(R[0], R[1]);
|
773
773
|
}
|
@@ -782,8 +782,8 @@ dn.exports;
|
|
782
782
|
function ll(d) {
|
783
783
|
var y = this.__data__;
|
784
784
|
if (Ct) {
|
785
|
-
var
|
786
|
-
return
|
785
|
+
var I = y[d];
|
786
|
+
return I === r ? void 0 : I;
|
787
787
|
}
|
788
788
|
return W.call(y, d) ? y[d] : void 0;
|
789
789
|
}
|
@@ -792,13 +792,13 @@ dn.exports;
|
|
792
792
|
return Ct ? y[d] !== void 0 : W.call(y, d);
|
793
793
|
}
|
794
794
|
function ul(d, y) {
|
795
|
-
var
|
796
|
-
return this.size += this.has(d) ? 0 : 1,
|
795
|
+
var I = this.__data__;
|
796
|
+
return this.size += this.has(d) ? 0 : 1, I[d] = Ct && y === void 0 ? r : y, this;
|
797
797
|
}
|
798
798
|
ut.prototype.clear = ol, ut.prototype.delete = al, ut.prototype.get = ll, ut.prototype.has = sl, ut.prototype.set = ul;
|
799
799
|
function Xe(d) {
|
800
|
-
var y = -1,
|
801
|
-
for (this.clear(); ++y <
|
800
|
+
var y = -1, I = d == null ? 0 : d.length;
|
801
|
+
for (this.clear(); ++y < I; ) {
|
802
802
|
var R = d[y];
|
803
803
|
this.set(R[0], R[1]);
|
804
804
|
}
|
@@ -807,27 +807,27 @@ dn.exports;
|
|
807
807
|
this.__data__ = [], this.size = 0;
|
808
808
|
}
|
809
809
|
function pl(d) {
|
810
|
-
var y = this.__data__,
|
811
|
-
if (
|
810
|
+
var y = this.__data__, I = Zt(y, d);
|
811
|
+
if (I < 0)
|
812
812
|
return !1;
|
813
813
|
var R = y.length - 1;
|
814
|
-
return
|
814
|
+
return I == R ? y.pop() : st.call(y, I, 1), --this.size, !0;
|
815
815
|
}
|
816
816
|
function fl(d) {
|
817
|
-
var y = this.__data__,
|
818
|
-
return
|
817
|
+
var y = this.__data__, I = Zt(y, d);
|
818
|
+
return I < 0 ? void 0 : y[I][1];
|
819
819
|
}
|
820
820
|
function dl(d) {
|
821
821
|
return Zt(this.__data__, d) > -1;
|
822
822
|
}
|
823
823
|
function hl(d, y) {
|
824
|
-
var
|
825
|
-
return R < 0 ? (++this.size,
|
824
|
+
var I = this.__data__, R = Zt(I, d);
|
825
|
+
return R < 0 ? (++this.size, I.push([d, y])) : I[R][1] = y, this;
|
826
826
|
}
|
827
827
|
Xe.prototype.clear = cl, Xe.prototype.delete = pl, Xe.prototype.get = fl, Xe.prototype.has = dl, Xe.prototype.set = hl;
|
828
828
|
function bt(d) {
|
829
|
-
var y = -1,
|
830
|
-
for (this.clear(); ++y <
|
829
|
+
var y = -1, I = d == null ? 0 : d.length;
|
830
|
+
for (this.clear(); ++y < I; ) {
|
831
831
|
var R = d[y];
|
832
832
|
this.set(R[0], R[1]);
|
833
833
|
}
|
@@ -850,8 +850,8 @@ dn.exports;
|
|
850
850
|
return Kt(this, d).has(d);
|
851
851
|
}
|
852
852
|
function Ml(d, y) {
|
853
|
-
var
|
854
|
-
return
|
853
|
+
var I = Kt(this, d), R = I.size;
|
854
|
+
return I.set(d, y), this.size += I.size == R ? 0 : 1, this;
|
855
855
|
}
|
856
856
|
bt.prototype.clear = gl, bt.prototype.delete = ml, bt.prototype.get = yl, bt.prototype.has = bl, bt.prototype.set = Ml;
|
857
857
|
function Mt(d) {
|
@@ -862,8 +862,8 @@ dn.exports;
|
|
862
862
|
this.__data__ = new Xe(), this.size = 0;
|
863
863
|
}
|
864
864
|
function wl(d) {
|
865
|
-
var y = this.__data__,
|
866
|
-
return this.size = y.size,
|
865
|
+
var y = this.__data__, I = y.delete(d);
|
866
|
+
return this.size = y.size, I;
|
867
867
|
}
|
868
868
|
function vl(d) {
|
869
869
|
return this.__data__.get(d);
|
@@ -872,46 +872,46 @@ dn.exports;
|
|
872
872
|
return this.__data__.has(d);
|
873
873
|
}
|
874
874
|
function Dl(d, y) {
|
875
|
-
var
|
876
|
-
if (
|
877
|
-
var R =
|
875
|
+
var I = this.__data__;
|
876
|
+
if (I instanceof Xe) {
|
877
|
+
var R = I.__data__;
|
878
878
|
if (!ri || R.length < n - 1)
|
879
|
-
return R.push([d, y]), this.size = ++
|
880
|
-
|
879
|
+
return R.push([d, y]), this.size = ++I.size, this;
|
880
|
+
I = this.__data__ = new bt(R);
|
881
881
|
}
|
882
|
-
return
|
882
|
+
return I.set(d, y), this.size = I.size, this;
|
883
883
|
}
|
884
884
|
Mt.prototype.clear = xl, Mt.prototype.delete = wl, Mt.prototype.get = vl, Mt.prototype.has = Tl, Mt.prototype.set = Dl;
|
885
885
|
function Il(d, y) {
|
886
|
-
var
|
886
|
+
var I = Hn(d), R = !I && Yn(d), re = !I && !R && si(d), ce = !I && !R && !re && ci(d), he = I || R || re || ce, te = he ? Nt(d.length, String) : [], ge = te.length;
|
887
887
|
for (var Ue in d)
|
888
888
|
(y || W.call(d, Ue)) && !(he && // Safari 9 has enumerable `arguments.length` in strict mode.
|
889
889
|
(Ue == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
890
890
|
re && (Ue == "offset" || Ue == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
891
|
-
|
891
|
+
ce && (Ue == "buffer" || Ue == "byteLength" || Ue == "byteOffset") || // Skip index properties.
|
892
892
|
ai(Ue, ge))) && te.push(Ue);
|
893
893
|
return te;
|
894
894
|
}
|
895
|
-
function Rn(d, y,
|
896
|
-
(
|
895
|
+
function Rn(d, y, I) {
|
896
|
+
(I !== void 0 && !Jt(d[y], I) || I === void 0 && !(y in d)) && Un(d, y, I);
|
897
897
|
}
|
898
|
-
function Nl(d, y,
|
898
|
+
function Nl(d, y, I) {
|
899
899
|
var R = d[y];
|
900
|
-
(!(W.call(d, y) && Jt(R,
|
900
|
+
(!(W.call(d, y) && Jt(R, I)) || I === void 0 && !(y in d)) && Un(d, y, I);
|
901
901
|
}
|
902
902
|
function Zt(d, y) {
|
903
|
-
for (var
|
904
|
-
if (Jt(d[
|
905
|
-
return
|
903
|
+
for (var I = d.length; I--; )
|
904
|
+
if (Jt(d[I][0], y))
|
905
|
+
return I;
|
906
906
|
return -1;
|
907
907
|
}
|
908
|
-
function Un(d, y,
|
909
|
-
y == "__proto__" &&
|
908
|
+
function Un(d, y, I) {
|
909
|
+
y == "__proto__" && pe ? pe(d, y, {
|
910
910
|
configurable: !0,
|
911
911
|
enumerable: !0,
|
912
|
-
value:
|
912
|
+
value: I,
|
913
913
|
writable: !0
|
914
|
-
}) : d[y] =
|
914
|
+
}) : d[y] = I;
|
915
915
|
}
|
916
916
|
var kl = Ul();
|
917
917
|
function Xt(d) {
|
@@ -923,7 +923,7 @@ dn.exports;
|
|
923
923
|
function jl(d) {
|
924
924
|
if (!ct(d) || $l(d))
|
925
925
|
return !1;
|
926
|
-
var y = qn(d) ?
|
926
|
+
var y = qn(d) ? T : ne;
|
927
927
|
return y.test(Xl(d));
|
928
928
|
}
|
929
929
|
function El(d) {
|
@@ -932,39 +932,39 @@ dn.exports;
|
|
932
932
|
function Cl(d) {
|
933
933
|
if (!ct(d))
|
934
934
|
return ql(d);
|
935
|
-
var y = li(d),
|
935
|
+
var y = li(d), I = [];
|
936
936
|
for (var R in d)
|
937
|
-
R == "constructor" && (y || !W.call(d, R)) ||
|
938
|
-
return
|
937
|
+
R == "constructor" && (y || !W.call(d, R)) || I.push(R);
|
938
|
+
return I;
|
939
939
|
}
|
940
|
-
function oi(d, y,
|
941
|
-
d !== y && kl(y, function(
|
942
|
-
if (re || (re = new Mt()), ct(
|
943
|
-
Al(d, y, he,
|
940
|
+
function oi(d, y, I, R, re) {
|
941
|
+
d !== y && kl(y, function(ce, he) {
|
942
|
+
if (re || (re = new Mt()), ct(ce))
|
943
|
+
Al(d, y, he, I, oi, R, re);
|
944
944
|
else {
|
945
|
-
var te = R ? R(Qn(d, he),
|
946
|
-
te === void 0 && (te =
|
945
|
+
var te = R ? R(Qn(d, he), ce, he + "", d, y, re) : void 0;
|
946
|
+
te === void 0 && (te = ce), Rn(d, he, te);
|
947
947
|
}
|
948
948
|
}, pi);
|
949
949
|
}
|
950
|
-
function Al(d, y,
|
951
|
-
var te = Qn(d,
|
950
|
+
function Al(d, y, I, R, re, ce, he) {
|
951
|
+
var te = Qn(d, I), ge = Qn(y, I), Ue = he.get(ge);
|
952
952
|
if (Ue) {
|
953
|
-
Rn(d,
|
953
|
+
Rn(d, I, Ue);
|
954
954
|
return;
|
955
955
|
}
|
956
|
-
var Se =
|
956
|
+
var Se = ce ? ce(te, ge, I + "", d, y, he) : void 0, St = Se === void 0;
|
957
957
|
if (St) {
|
958
958
|
var Vn = Hn(ge), Wn = !Vn && si(ge), di = !Vn && !Wn && ci(ge);
|
959
959
|
Se = ge, Vn || Wn || di ? Hn(te) ? Se = te : Kl(te) ? Se = Fl(te) : Wn ? (St = !1, Se = zl(ge, !0)) : di ? (St = !1, Se = _l(ge, !0)) : Se = [] : Jl(ge) || Yn(ge) ? (Se = te, Yn(te) ? Se = es(te) : (!ct(te) || qn(te)) && (Se = Ql(ge))) : St = !1;
|
960
960
|
}
|
961
|
-
St && (he.set(ge, Se), re(Se, ge, R,
|
961
|
+
St && (he.set(ge, Se), re(Se, ge, R, ce, he), he.delete(ge)), Rn(d, I, Se);
|
962
962
|
}
|
963
963
|
function Sl(d, y) {
|
964
964
|
return Gl(Wl(d, y, fi), d + "");
|
965
965
|
}
|
966
|
-
var Ol =
|
967
|
-
return
|
966
|
+
var Ol = pe ? function(d, y) {
|
967
|
+
return pe(d, "toString", {
|
968
968
|
configurable: !0,
|
969
969
|
enumerable: !1,
|
970
970
|
value: ns(y),
|
@@ -974,7 +974,7 @@ dn.exports;
|
|
974
974
|
function zl(d, y) {
|
975
975
|
if (y)
|
976
976
|
return d.slice();
|
977
|
-
var
|
977
|
+
var I = d.length, R = J ? J(I) : new d.constructor(I);
|
978
978
|
return d.copy(R), R;
|
979
979
|
}
|
980
980
|
function Ll(d) {
|
@@ -982,74 +982,74 @@ dn.exports;
|
|
982
982
|
return new K(y).set(new K(d)), y;
|
983
983
|
}
|
984
984
|
function _l(d, y) {
|
985
|
-
var
|
986
|
-
return new d.constructor(
|
985
|
+
var I = y ? Ll(d.buffer) : d.buffer;
|
986
|
+
return new d.constructor(I, d.byteOffset, d.length);
|
987
987
|
}
|
988
988
|
function Fl(d, y) {
|
989
|
-
var
|
990
|
-
for (y || (y = Array(R)); ++
|
991
|
-
y[
|
989
|
+
var I = -1, R = d.length;
|
990
|
+
for (y || (y = Array(R)); ++I < R; )
|
991
|
+
y[I] = d[I];
|
992
992
|
return y;
|
993
993
|
}
|
994
|
-
function Pl(d, y,
|
995
|
-
var re = !
|
996
|
-
|
997
|
-
for (var
|
998
|
-
var te = y[
|
999
|
-
ge === void 0 && (ge = d[te]), re ? Un(
|
994
|
+
function Pl(d, y, I, R) {
|
995
|
+
var re = !I;
|
996
|
+
I || (I = {});
|
997
|
+
for (var ce = -1, he = y.length; ++ce < he; ) {
|
998
|
+
var te = y[ce], ge = R ? R(I[te], d[te], te, I, d) : void 0;
|
999
|
+
ge === void 0 && (ge = d[te]), re ? Un(I, te, ge) : Nl(I, te, ge);
|
1000
1000
|
}
|
1001
|
-
return
|
1001
|
+
return I;
|
1002
1002
|
}
|
1003
1003
|
function Rl(d) {
|
1004
|
-
return Sl(function(y,
|
1005
|
-
var R = -1, re =
|
1006
|
-
for (
|
1007
|
-
var te =
|
1008
|
-
te && d(y, te, R,
|
1004
|
+
return Sl(function(y, I) {
|
1005
|
+
var R = -1, re = I.length, ce = re > 1 ? I[re - 1] : void 0, he = re > 2 ? I[2] : void 0;
|
1006
|
+
for (ce = d.length > 3 && typeof ce == "function" ? (re--, ce) : void 0, he && Yl(I[0], I[1], he) && (ce = re < 3 ? void 0 : ce, re = 1), y = Object(y); ++R < re; ) {
|
1007
|
+
var te = I[R];
|
1008
|
+
te && d(y, te, R, ce);
|
1009
1009
|
}
|
1010
1010
|
return y;
|
1011
1011
|
});
|
1012
1012
|
}
|
1013
1013
|
function Ul(d) {
|
1014
|
-
return function(y,
|
1015
|
-
for (var re = -1,
|
1014
|
+
return function(y, I, R) {
|
1015
|
+
for (var re = -1, ce = Object(y), he = R(y), te = he.length; te--; ) {
|
1016
1016
|
var ge = he[d ? te : ++re];
|
1017
|
-
if (
|
1017
|
+
if (I(ce[ge], ge, ce) === !1)
|
1018
1018
|
break;
|
1019
1019
|
}
|
1020
1020
|
return y;
|
1021
1021
|
};
|
1022
1022
|
}
|
1023
1023
|
function Kt(d, y) {
|
1024
|
-
var
|
1025
|
-
return Hl(y) ?
|
1024
|
+
var I = d.__data__;
|
1025
|
+
return Hl(y) ? I[typeof y == "string" ? "string" : "hash"] : I.map;
|
1026
1026
|
}
|
1027
1027
|
function Bn(d, y) {
|
1028
|
-
var
|
1029
|
-
return jl(
|
1028
|
+
var I = mt(d, y);
|
1029
|
+
return jl(I) ? I : void 0;
|
1030
1030
|
}
|
1031
1031
|
function Bl(d) {
|
1032
|
-
var y = W.call(d, Ae),
|
1032
|
+
var y = W.call(d, Ae), I = d[Ae];
|
1033
1033
|
try {
|
1034
1034
|
d[Ae] = void 0;
|
1035
1035
|
var R = !0;
|
1036
1036
|
} catch {
|
1037
1037
|
}
|
1038
1038
|
var re = se.call(d);
|
1039
|
-
return R && (y ? d[Ae] =
|
1039
|
+
return R && (y ? d[Ae] = I : delete d[Ae]), re;
|
1040
1040
|
}
|
1041
1041
|
function Ql(d) {
|
1042
|
-
return typeof d.constructor == "function" && !li(d) ? il(
|
1042
|
+
return typeof d.constructor == "function" && !li(d) ? il(ue(d)) : {};
|
1043
1043
|
}
|
1044
1044
|
function ai(d, y) {
|
1045
|
-
var
|
1046
|
-
return y = y ?? a, !!y && (
|
1045
|
+
var I = typeof d;
|
1046
|
+
return y = y ?? a, !!y && (I == "number" || I != "symbol" && we.test(d)) && d > -1 && d % 1 == 0 && d < y;
|
1047
1047
|
}
|
1048
|
-
function Yl(d, y,
|
1049
|
-
if (!ct(
|
1048
|
+
function Yl(d, y, I) {
|
1049
|
+
if (!ct(I))
|
1050
1050
|
return !1;
|
1051
1051
|
var R = typeof y;
|
1052
|
-
return (R == "number" ? $n(
|
1052
|
+
return (R == "number" ? $n(I) && ai(y, I.length) : R == "string" && y in I) ? Jt(I[y], d) : !1;
|
1053
1053
|
}
|
1054
1054
|
function Hl(d) {
|
1055
1055
|
var y = typeof d;
|
@@ -1059,27 +1059,27 @@ dn.exports;
|
|
1059
1059
|
return !!be && be in d;
|
1060
1060
|
}
|
1061
1061
|
function li(d) {
|
1062
|
-
var y = d && d.constructor,
|
1063
|
-
return d ===
|
1062
|
+
var y = d && d.constructor, I = typeof y == "function" && y.prototype || $e;
|
1063
|
+
return d === I;
|
1064
1064
|
}
|
1065
1065
|
function ql(d) {
|
1066
1066
|
var y = [];
|
1067
1067
|
if (d != null)
|
1068
|
-
for (var
|
1069
|
-
y.push(
|
1068
|
+
for (var I in Object(d))
|
1069
|
+
y.push(I);
|
1070
1070
|
return y;
|
1071
1071
|
}
|
1072
1072
|
function Vl(d) {
|
1073
1073
|
return se.call(d);
|
1074
1074
|
}
|
1075
|
-
function Wl(d, y,
|
1075
|
+
function Wl(d, y, I) {
|
1076
1076
|
return y = Re(y === void 0 ? d.length - 1 : y, 0), function() {
|
1077
|
-
for (var R = arguments, re = -1,
|
1077
|
+
for (var R = arguments, re = -1, ce = Re(R.length - y, 0), he = Array(ce); ++re < ce; )
|
1078
1078
|
he[re] = R[y + re];
|
1079
1079
|
re = -1;
|
1080
1080
|
for (var te = Array(y + 1); ++re < y; )
|
1081
1081
|
te[re] = R[re];
|
1082
|
-
return te[y] =
|
1082
|
+
return te[y] = I(he), It(d, this, te);
|
1083
1083
|
};
|
1084
1084
|
}
|
1085
1085
|
function Qn(d, y) {
|
@@ -1088,10 +1088,10 @@ dn.exports;
|
|
1088
1088
|
}
|
1089
1089
|
var Gl = Zl(Ol);
|
1090
1090
|
function Zl(d) {
|
1091
|
-
var y = 0,
|
1091
|
+
var y = 0, I = 0;
|
1092
1092
|
return function() {
|
1093
|
-
var R = rl(), re = o - (R -
|
1094
|
-
if (
|
1093
|
+
var R = rl(), re = o - (R - I);
|
1094
|
+
if (I = R, re > 0) {
|
1095
1095
|
if (++y >= i)
|
1096
1096
|
return arguments[0];
|
1097
1097
|
} else
|
@@ -1118,7 +1118,7 @@ dn.exports;
|
|
1118
1118
|
var Yn = ii(function() {
|
1119
1119
|
return arguments;
|
1120
1120
|
}()) ? ii : function(d) {
|
1121
|
-
return At(d) && W.call(d, "callee") && !
|
1121
|
+
return At(d) && W.call(d, "callee") && !De.call(d, "callee");
|
1122
1122
|
}, Hn = Array.isArray;
|
1123
1123
|
function $n(d) {
|
1124
1124
|
return d != null && ui(d.length) && !qn(d);
|
@@ -1131,7 +1131,7 @@ dn.exports;
|
|
1131
1131
|
if (!ct(d))
|
1132
1132
|
return !1;
|
1133
1133
|
var y = Xt(d);
|
1134
|
-
return y == p || y ==
|
1134
|
+
return y == p || y == D || y == u || y == E;
|
1135
1135
|
}
|
1136
1136
|
function ui(d) {
|
1137
1137
|
return typeof d == "number" && d > -1 && d % 1 == 0 && d <= a;
|
@@ -1146,11 +1146,11 @@ dn.exports;
|
|
1146
1146
|
function Jl(d) {
|
1147
1147
|
if (!At(d) || Xt(d) != z)
|
1148
1148
|
return !1;
|
1149
|
-
var y =
|
1149
|
+
var y = ue(d);
|
1150
1150
|
if (y === null)
|
1151
1151
|
return !0;
|
1152
|
-
var
|
1153
|
-
return typeof
|
1152
|
+
var I = W.call(y, "constructor") && y.constructor;
|
1153
|
+
return typeof I == "function" && I instanceof I && F.call(I) == Ie;
|
1154
1154
|
}
|
1155
1155
|
var ci = lt ? kt(lt) : El;
|
1156
1156
|
function es(d) {
|
@@ -1159,8 +1159,8 @@ dn.exports;
|
|
1159
1159
|
function pi(d) {
|
1160
1160
|
return $n(d) ? Il(d, !0) : Cl(d);
|
1161
1161
|
}
|
1162
|
-
var ts = Rl(function(d, y,
|
1163
|
-
oi(d, y,
|
1162
|
+
var ts = Rl(function(d, y, I) {
|
1163
|
+
oi(d, y, I);
|
1164
1164
|
});
|
1165
1165
|
function ns(d) {
|
1166
1166
|
return function() {
|
@@ -1522,7 +1522,7 @@ const Os = 1500, zs = `The parent container is wider than the chatbot launch but
|
|
1522
1522
|
eyes follow your mouse when you hover near it.`, Er = ({
|
1523
1523
|
handleFloatingActionButtonClick: e
|
1524
1524
|
}) => {
|
1525
|
-
var m, p,
|
1525
|
+
var m, p, D, x, k, b, z;
|
1526
1526
|
const { xpertKey: t, launchButton: n } = Le(_e), r = !Ee.get(
|
1527
1527
|
`${t}-proactive-message-xpert-chatbot`
|
1528
1528
|
), i = We(null), o = We(!1), a = r ? (m = n.animatedGraduate) == null ? void 0 : m.delayMs : ((p = n.animatedGraduate) == null ? void 0 : p.delayMs) * 2, [l, s] = ye(!1), u = ot();
|
@@ -1546,8 +1546,8 @@ eyes follow your mouse when you hover near it.`, Er = ({
|
|
1546
1546
|
i.current.querySelectorAll(
|
1547
1547
|
".xpert_chatbot__animated_graduate__pupil"
|
1548
1548
|
).forEach((Y) => {
|
1549
|
-
const q = Y.getBoundingClientRect(),
|
1550
|
-
Y.style.transform = "translate3d(" +
|
1549
|
+
const q = Y.getBoundingClientRect(), ee = (_.pageX - window.scrollX - q.left) / 30 / 16 + "rem", S = (_.pageY - window.scrollY - q.top) / 30 / 16 + "rem";
|
1550
|
+
Y.style.transform = "translate3d(" + ee + "," + S + ", 0rem)";
|
1551
1551
|
});
|
1552
1552
|
};
|
1553
1553
|
return window.addEventListener("mousemove", E), () => {
|
@@ -1575,7 +1575,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
|
|
1575
1575
|
onClick: e,
|
1576
1576
|
label: "Open XPERT Chatbot",
|
1577
1577
|
className: "xpert-chatbot-button__animated_graduate__launch-button",
|
1578
|
-
style: u ? { ...(x = (
|
1578
|
+
style: u ? { ...(x = (D = n.style) == null ? void 0 : D.mobile) == null ? void 0 : x.animatedGraduateExperiment } : { ...(k = n.style) == null ? void 0 : k.animatedGraduateExperiment },
|
1579
1579
|
"aria-haspopup": "dialog",
|
1580
1580
|
"aria-expanded": open,
|
1581
1581
|
children: /* @__PURE__ */ v.jsx("div", { ref: i, children: /* @__PURE__ */ v.jsxs(
|
@@ -2178,7 +2178,7 @@ var xi = {
|
|
2178
2178
|
var j = w.activeElement;
|
2179
2179
|
if (j)
|
2180
2180
|
return j.shadowRoot && j.shadowRoot.activeElement !== null ? S(j.shadowRoot) : j;
|
2181
|
-
},
|
2181
|
+
}, D = function S(w) {
|
2182
2182
|
if (w !== !1 && w !== p(document)) {
|
2183
2183
|
if (!w || !w.focus) {
|
2184
2184
|
S(f());
|
@@ -2201,8 +2201,8 @@ var xi = {
|
|
2201
2201
|
$ ? G = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : G = a.tabbableGroups[0].firstTabbableNode;
|
2202
2202
|
else if ($) {
|
2203
2203
|
var h = vi(a.tabbableGroups, function(ae) {
|
2204
|
-
var
|
2205
|
-
return j ===
|
2204
|
+
var ke = ae.firstTabbableNode;
|
2205
|
+
return j === ke;
|
2206
2206
|
});
|
2207
2207
|
if (h < 0 && (ie.container === j || sn(j, o.tabbableOptions) && !pt(j, o.tabbableOptions) && !ie.nextTabbableNode(j, !1)) && (h = Z), h >= 0) {
|
2208
2208
|
var ne = h === 0 ? a.tabbableGroups.length - 1 : h - 1, we = a.tabbableGroups[ne];
|
@@ -2211,12 +2211,12 @@ var xi = {
|
|
2211
2211
|
Rt(O) || (G = ie.nextTabbableNode(j, !1));
|
2212
2212
|
} else {
|
2213
2213
|
var g = vi(a.tabbableGroups, function(ae) {
|
2214
|
-
var
|
2215
|
-
return j ===
|
2214
|
+
var ke = ae.lastTabbableNode;
|
2215
|
+
return j === ke;
|
2216
2216
|
});
|
2217
2217
|
if (g < 0 && (ie.container === j || sn(j, o.tabbableOptions) && !pt(j, o.tabbableOptions) && !ie.nextTabbableNode(j)) && (g = Z), g >= 0) {
|
2218
|
-
var me = g === a.tabbableGroups.length - 1 ? 0 : g + 1,
|
2219
|
-
G = tt(j) >= 0 ?
|
2218
|
+
var me = g === a.tabbableGroups.length - 1 ? 0 : g + 1, Ne = a.tabbableGroups[me];
|
2219
|
+
G = tt(j) >= 0 ? Ne.firstTabbableNode : Ne.firstDomTabbableNode;
|
2220
2220
|
} else
|
2221
2221
|
Rt(O) || (G = ie.nextTabbableNode(j));
|
2222
2222
|
}
|
@@ -2269,7 +2269,7 @@ var xi = {
|
|
2269
2269
|
// outside the trap causing the focus escape we're trying to fix)
|
2270
2270
|
target: a.mostRecentlyFocusedNode,
|
2271
2271
|
isBackward: o.isKeyBackward(a.recentNavEvent)
|
2272
|
-
})),
|
2272
|
+
})), D(P || a.mostRecentlyFocusedNode || f());
|
2273
2273
|
}
|
2274
2274
|
a.recentNavEvent = void 0;
|
2275
2275
|
}, E = function(w) {
|
@@ -2279,7 +2279,7 @@ var xi = {
|
|
2279
2279
|
event: w,
|
2280
2280
|
isBackward: j
|
2281
2281
|
});
|
2282
|
-
O && (Rt(w) && w.preventDefault(),
|
2282
|
+
O && (Rt(w) && w.preventDefault(), D(O));
|
2283
2283
|
}, _ = function(w) {
|
2284
2284
|
if (iu(w) && zt(o.escapeDeactivates, w) !== !1) {
|
2285
2285
|
w.preventDefault(), l.deactivate();
|
@@ -2292,8 +2292,8 @@ var xi = {
|
|
2292
2292
|
}, M = function() {
|
2293
2293
|
if (a.active)
|
2294
2294
|
return xi.activateTrap(i, l), a.delayInitialFocusTimer = o.delayInitialFocus ? wi(function() {
|
2295
|
-
|
2296
|
-
}) :
|
2295
|
+
D(f());
|
2296
|
+
}) : D(f()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", b, {
|
2297
2297
|
capture: !0,
|
2298
2298
|
passive: !1
|
2299
2299
|
}), r.addEventListener("touchstart", b, {
|
@@ -2316,8 +2316,8 @@ var xi = {
|
|
2316
2316
|
return $ === a.mostRecentlyFocusedNode;
|
2317
2317
|
});
|
2318
2318
|
});
|
2319
|
-
j &&
|
2320
|
-
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0,
|
2319
|
+
j && D(f());
|
2320
|
+
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0, ee = function() {
|
2321
2321
|
q && (q.disconnect(), a.active && !a.paused && a.containers.map(function(w) {
|
2322
2322
|
q.observe(w, {
|
2323
2323
|
subtree: !0,
|
@@ -2338,7 +2338,7 @@ var xi = {
|
|
2338
2338
|
var j = s(w, "onActivate"), O = s(w, "onPostActivate"), P = s(w, "checkCanFocusTrap");
|
2339
2339
|
P || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, j == null || j();
|
2340
2340
|
var $ = function() {
|
2341
|
-
P && m(), M(),
|
2341
|
+
P && m(), M(), ee(), O == null || O();
|
2342
2342
|
};
|
2343
2343
|
return P ? (P(a.containers.concat()).then($, $), this) : ($(), this);
|
2344
2344
|
},
|
@@ -2350,12 +2350,12 @@ var xi = {
|
|
2350
2350
|
onPostDeactivate: o.onPostDeactivate,
|
2351
2351
|
checkCanReturnFocus: o.checkCanReturnFocus
|
2352
2352
|
}, w);
|
2353
|
-
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1,
|
2353
|
+
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, ee(), xi.deactivateTrap(i, l);
|
2354
2354
|
var O = s(j, "onDeactivate"), P = s(j, "onPostDeactivate"), $ = s(j, "checkCanReturnFocus"), G = s(j, "returnFocus", "returnFocusOnDeactivate");
|
2355
2355
|
O == null || O();
|
2356
2356
|
var Z = function() {
|
2357
2357
|
wi(function() {
|
2358
|
-
G &&
|
2358
|
+
G && D(x(a.nodeFocusedBeforeActivation)), P == null || P();
|
2359
2359
|
});
|
2360
2360
|
};
|
2361
2361
|
return G && $ ? ($(x(a.nodeFocusedBeforeActivation)).then(Z, Z), this) : (Z(), this);
|
@@ -2364,19 +2364,19 @@ var xi = {
|
|
2364
2364
|
if (a.paused || !a.active)
|
2365
2365
|
return this;
|
2366
2366
|
var j = s(w, "onPause"), O = s(w, "onPostPause");
|
2367
|
-
return a.paused = !0, j == null || j(), L(),
|
2367
|
+
return a.paused = !0, j == null || j(), L(), ee(), O == null || O(), this;
|
2368
2368
|
},
|
2369
2369
|
unpause: function(w) {
|
2370
2370
|
if (!a.paused || !a.active)
|
2371
2371
|
return this;
|
2372
2372
|
var j = s(w, "onUnpause"), O = s(w, "onPostUnpause");
|
2373
|
-
return a.paused = !1, j == null || j(), m(), M(),
|
2373
|
+
return a.paused = !1, j == null || j(), m(), M(), ee(), O == null || O(), this;
|
2374
2374
|
},
|
2375
2375
|
updateContainerElements: function(w) {
|
2376
2376
|
var j = [].concat(w).filter(Boolean);
|
2377
2377
|
return a.containers = j.map(function(O) {
|
2378
2378
|
return typeof O == "string" ? r.querySelector(O) : O;
|
2379
|
-
}), a.active && m(),
|
2379
|
+
}), a.active && m(), ee(), this;
|
2380
2380
|
}
|
2381
2381
|
}, l.updateContainerElements(t), l;
|
2382
2382
|
};
|
@@ -2494,8 +2494,8 @@ var rn = nt, H = B, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusab
|
|
2494
2494
|
}
|
2495
2495
|
var p = u;
|
2496
2496
|
if (typeof u == "string") {
|
2497
|
-
var
|
2498
|
-
if (p = (
|
2497
|
+
var D;
|
2498
|
+
if (p = (D = this.getDocument()) === null || D === void 0 ? void 0 : D.querySelector(u), !p)
|
2499
2499
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
2500
2500
|
}
|
2501
2501
|
return p;
|
@@ -3089,10 +3089,10 @@ function Uu(e, t) {
|
|
3089
3089
|
Ru(k) || (m[x] = k.toString());
|
3090
3090
|
};
|
3091
3091
|
p("width", c), p("height", f);
|
3092
|
-
const
|
3093
|
-
return m.viewBox =
|
3092
|
+
const D = [i.left, i.top, s, u];
|
3093
|
+
return m.viewBox = D.join(" "), {
|
3094
3094
|
attributes: m,
|
3095
|
-
viewBox:
|
3095
|
+
viewBox: D,
|
3096
3096
|
body: o
|
3097
3097
|
};
|
3098
3098
|
}
|
@@ -3384,11 +3384,11 @@ function ac(e, t, n, r) {
|
|
3384
3384
|
const l = Date.now();
|
3385
3385
|
let s = "pending", u = 0, c, f = null, m = [], p = [];
|
3386
3386
|
typeof r == "function" && p.push(r);
|
3387
|
-
function
|
3387
|
+
function D() {
|
3388
3388
|
f && (clearTimeout(f), f = null);
|
3389
3389
|
}
|
3390
3390
|
function x() {
|
3391
|
-
s === "pending" && (s = "aborted"),
|
3391
|
+
s === "pending" && (s = "aborted"), D(), m.forEach((M) => {
|
3392
3392
|
M.status === "pending" && (M.status = "aborted");
|
3393
3393
|
}), m = [];
|
3394
3394
|
}
|
@@ -3418,7 +3418,7 @@ function ac(e, t, n, r) {
|
|
3418
3418
|
}
|
3419
3419
|
function _(M, L, Y) {
|
3420
3420
|
const q = L !== "success";
|
3421
|
-
switch (m = m.filter((
|
3421
|
+
switch (m = m.filter((ee) => ee !== M), s) {
|
3422
3422
|
case "pending":
|
3423
3423
|
break;
|
3424
3424
|
case "failed":
|
@@ -3436,23 +3436,23 @@ function ac(e, t, n, r) {
|
|
3436
3436
|
c = Y, m.length || (a.length ? Q() : z());
|
3437
3437
|
return;
|
3438
3438
|
}
|
3439
|
-
if (
|
3440
|
-
const
|
3441
|
-
|
3439
|
+
if (D(), E(), !e.random) {
|
3440
|
+
const ee = e.resources.indexOf(M.resource);
|
3441
|
+
ee !== -1 && ee !== e.index && (e.index = ee);
|
3442
3442
|
}
|
3443
|
-
s = "completed", p.forEach((
|
3444
|
-
|
3443
|
+
s = "completed", p.forEach((ee) => {
|
3444
|
+
ee(Y);
|
3445
3445
|
});
|
3446
3446
|
}
|
3447
3447
|
function Q() {
|
3448
3448
|
if (s !== "pending")
|
3449
3449
|
return;
|
3450
|
-
|
3450
|
+
D();
|
3451
3451
|
const M = a.shift();
|
3452
3452
|
if (M === void 0) {
|
3453
3453
|
if (m.length) {
|
3454
3454
|
f = setTimeout(() => {
|
3455
|
-
|
3455
|
+
D(), s === "pending" && (E(), z());
|
3456
3456
|
}, e.timeout);
|
3457
3457
|
return;
|
3458
3458
|
}
|
@@ -3923,7 +3923,7 @@ const Cc = (e, t, n) => {
|
|
3923
3923
|
__html: Nc(Hu(u.body, b ? () => b + "ID" + k++ : "iconifyReact"))
|
3924
3924
|
}, sr("svg", s);
|
3925
3925
|
}
|
3926
|
-
const { body: f, width: m, height: p } = e,
|
3926
|
+
const { body: f, width: m, height: p } = e, D = o === "mask" || (o === "bg" ? !1 : f.indexOf("currentColor") !== -1), x = wc(f, {
|
3927
3927
|
...c,
|
3928
3928
|
width: m + "",
|
3929
3929
|
height: p + ""
|
@@ -3934,7 +3934,7 @@ const Cc = (e, t, n) => {
|
|
3934
3934
|
width: _i(c.width),
|
3935
3935
|
height: _i(c.height),
|
3936
3936
|
...jc,
|
3937
|
-
...
|
3937
|
+
...D ? br : ua,
|
3938
3938
|
...l
|
3939
3939
|
}, sr("span", s);
|
3940
3940
|
};
|
@@ -3976,16 +3976,16 @@ function ca(e) {
|
|
3976
3976
|
const [t, n] = ye(!!e.ssr), [r, i] = ye({});
|
3977
3977
|
function o(p) {
|
3978
3978
|
if (p) {
|
3979
|
-
const
|
3980
|
-
if (typeof
|
3979
|
+
const D = e.icon;
|
3980
|
+
if (typeof D == "object")
|
3981
3981
|
return {
|
3982
3982
|
name: "",
|
3983
|
-
data:
|
3983
|
+
data: D
|
3984
3984
|
};
|
3985
|
-
const x = Ni(
|
3985
|
+
const x = Ni(D);
|
3986
3986
|
if (x)
|
3987
3987
|
return {
|
3988
|
-
name:
|
3988
|
+
name: D,
|
3989
3989
|
data: x
|
3990
3990
|
};
|
3991
3991
|
}
|
@@ -4004,26 +4004,26 @@ function ca(e) {
|
|
4004
4004
|
}
|
4005
4005
|
function c() {
|
4006
4006
|
var p;
|
4007
|
-
const
|
4008
|
-
if (typeof
|
4007
|
+
const D = e.icon;
|
4008
|
+
if (typeof D == "object") {
|
4009
4009
|
u({
|
4010
4010
|
name: "",
|
4011
|
-
data:
|
4011
|
+
data: D
|
4012
4012
|
});
|
4013
4013
|
return;
|
4014
4014
|
}
|
4015
|
-
const x = Ni(
|
4015
|
+
const x = Ni(D);
|
4016
4016
|
if (u({
|
4017
|
-
name:
|
4017
|
+
name: D,
|
4018
4018
|
data: x
|
4019
4019
|
}))
|
4020
4020
|
if (x === void 0) {
|
4021
|
-
const k = mc([
|
4021
|
+
const k = mc([D], c);
|
4022
4022
|
i({
|
4023
4023
|
callback: k
|
4024
4024
|
});
|
4025
4025
|
} else
|
4026
|
-
x && ((p = e.onLoad) === null || p === void 0 || p.call(e,
|
4026
|
+
x && ((p = e.onLoad) === null || p === void 0 || p.call(e, D));
|
4027
4027
|
}
|
4028
4028
|
Me(() => (n(!0), s), []), Me(() => {
|
4029
4029
|
t && c();
|
@@ -4207,7 +4207,7 @@ function da({
|
|
4207
4207
|
setIsMounted: r,
|
4208
4208
|
onClose: i
|
4209
4209
|
}) {
|
4210
|
-
var s, u, c, f, m, p,
|
4210
|
+
var s, u, c, f, m, p, D, x, k;
|
4211
4211
|
const { primaryColor: o, conversationScreen: a } = Le(_e), l = ot();
|
4212
4212
|
return /* @__PURE__ */ v.jsxs(
|
4213
4213
|
"div",
|
@@ -4245,7 +4245,7 @@ function da({
|
|
4245
4245
|
Oc,
|
4246
4246
|
{
|
4247
4247
|
backgroundColor: (p = a.header.logo.style) == null ? void 0 : p.backgroundColor,
|
4248
|
-
textColor: (
|
4248
|
+
textColor: (D = a.header.logo.style) == null ? void 0 : D.color
|
4249
4249
|
}
|
4250
4250
|
),
|
4251
4251
|
/* @__PURE__ */ v.jsx(
|
@@ -4844,7 +4844,7 @@ const Zc = ba().freeze(), ya = {}.hasOwnProperty;
|
|
4844
4844
|
function ba() {
|
4845
4845
|
const e = Wc(), t = [];
|
4846
4846
|
let n = {}, r, i = -1;
|
4847
|
-
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = p, o.processSync =
|
4847
|
+
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = p, o.processSync = D, o;
|
4848
4848
|
function o() {
|
4849
4849
|
const x = ba();
|
4850
4850
|
let k = -1;
|
@@ -4961,7 +4961,7 @@ function ba() {
|
|
4961
4961
|
}
|
4962
4962
|
}
|
4963
4963
|
}
|
4964
|
-
function
|
4964
|
+
function D(x) {
|
4965
4965
|
let k;
|
4966
4966
|
o.freeze(), er("processSync", o.Parser), tr("processSync", o.Compiler);
|
4967
4967
|
const b = Ft(x);
|
@@ -5115,7 +5115,7 @@ function at(e) {
|
|
5115
5115
|
return n !== null && e.test(String.fromCharCode(n));
|
5116
5116
|
}
|
5117
5117
|
}
|
5118
|
-
function
|
5118
|
+
function de(e, t, n, r) {
|
5119
5119
|
const i = r ? r - 1 : Number.POSITIVE_INFINITY;
|
5120
5120
|
let o = 0;
|
5121
5121
|
return a;
|
@@ -5142,7 +5142,7 @@ function dp(e) {
|
|
5142
5142
|
e.consume(l);
|
5143
5143
|
return;
|
5144
5144
|
}
|
5145
|
-
return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"),
|
5145
|
+
return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), de(e, t, "linePrefix");
|
5146
5146
|
}
|
5147
5147
|
function i(l) {
|
5148
5148
|
return e.enter("paragraph"), o(l);
|
@@ -5210,7 +5210,7 @@ function gp(e) {
|
|
5210
5210
|
if (!i)
|
5211
5211
|
return m(E);
|
5212
5212
|
if (i.currentConstruct && i.currentConstruct.concrete)
|
5213
|
-
return
|
5213
|
+
return D(E);
|
5214
5214
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
5215
5215
|
}
|
5216
5216
|
return t.containerState = {}, e.check(
|
@@ -5223,19 +5223,19 @@ function gp(e) {
|
|
5223
5223
|
return i && z(), b(r), m(E);
|
5224
5224
|
}
|
5225
5225
|
function f(E) {
|
5226
|
-
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset,
|
5226
|
+
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, D(E);
|
5227
5227
|
}
|
5228
5228
|
function m(E) {
|
5229
5229
|
return t.containerState = {}, e.attempt(
|
5230
5230
|
eo,
|
5231
5231
|
p,
|
5232
|
-
|
5232
|
+
D
|
5233
5233
|
)(E);
|
5234
5234
|
}
|
5235
5235
|
function p(E) {
|
5236
5236
|
return r++, n.push([t.currentConstruct, t.containerState]), m(E);
|
5237
5237
|
}
|
5238
|
-
function
|
5238
|
+
function D(E) {
|
5239
5239
|
if (E === null) {
|
5240
5240
|
i && z(), b(0), e.consume(E);
|
5241
5241
|
return;
|
@@ -5266,17 +5266,17 @@ function gp(e) {
|
|
5266
5266
|
)
|
5267
5267
|
return;
|
5268
5268
|
const L = t.events.length;
|
5269
|
-
let Y = L, q,
|
5269
|
+
let Y = L, q, ee;
|
5270
5270
|
for (; Y--; )
|
5271
5271
|
if (t.events[Y][0] === "exit" && t.events[Y][1].type === "chunkFlow") {
|
5272
5272
|
if (q) {
|
5273
|
-
|
5273
|
+
ee = t.events[Y][1].end;
|
5274
5274
|
break;
|
5275
5275
|
}
|
5276
5276
|
q = !0;
|
5277
5277
|
}
|
5278
5278
|
for (b(r), M = L; M < t.events.length; )
|
5279
|
-
t.events[M][1].end = Object.assign({},
|
5279
|
+
t.events[M][1].end = Object.assign({}, ee), M++;
|
5280
5280
|
Ge(
|
5281
5281
|
t.events,
|
5282
5282
|
Y + 1,
|
@@ -5298,7 +5298,7 @@ function gp(e) {
|
|
5298
5298
|
}
|
5299
5299
|
}
|
5300
5300
|
function mp(e, t, n) {
|
5301
|
-
return
|
5301
|
+
return de(
|
5302
5302
|
e,
|
5303
5303
|
e.attempt(this.parser.constructs.document, t, n),
|
5304
5304
|
"linePrefix",
|
@@ -5433,8 +5433,8 @@ function xp(e, t, n) {
|
|
5433
5433
|
}
|
5434
5434
|
function m(p) {
|
5435
5435
|
if ((p === 45 || ze(p)) && r++ < 63) {
|
5436
|
-
const
|
5437
|
-
return e.consume(p),
|
5436
|
+
const D = p === 45 ? m : f;
|
5437
|
+
return e.consume(p), D;
|
5438
5438
|
}
|
5439
5439
|
return n(p);
|
5440
5440
|
}
|
@@ -5446,7 +5446,7 @@ const Dn = {
|
|
5446
5446
|
function wp(e, t, n) {
|
5447
5447
|
return r;
|
5448
5448
|
function r(o) {
|
5449
|
-
return oe(o) ?
|
5449
|
+
return oe(o) ? de(e, i, "linePrefix")(o) : i(o);
|
5450
5450
|
}
|
5451
5451
|
function i(o) {
|
5452
5452
|
return o === null || V(o) ? t(o) : n(o);
|
@@ -5480,7 +5480,7 @@ function Tp(e, t, n) {
|
|
5480
5480
|
const r = this;
|
5481
5481
|
return i;
|
5482
5482
|
function i(a) {
|
5483
|
-
return oe(a) ?
|
5483
|
+
return oe(a) ? de(
|
5484
5484
|
e,
|
5485
5485
|
o,
|
5486
5486
|
"linePrefix",
|
@@ -5562,7 +5562,7 @@ function kp(e, t, n) {
|
|
5562
5562
|
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);
|
5563
5563
|
}
|
5564
5564
|
function c(M) {
|
5565
|
-
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), oe(M) ?
|
5565
|
+
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), oe(M) ? de(e, f, "whitespace")(M) : f(M));
|
5566
5566
|
}
|
5567
5567
|
function f(M) {
|
5568
5568
|
return M === null || V(M) ? (e.exit("codeFencedFence"), r.interrupt ? t(M) : e.check(io, x, _)(M)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
@@ -5570,15 +5570,15 @@ function kp(e, t, n) {
|
|
5570
5570
|
}), m(M));
|
5571
5571
|
}
|
5572
5572
|
function m(M) {
|
5573
|
-
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(M)) : oe(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
5573
|
+
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(M)) : oe(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), de(e, p, "whitespace")(M)) : M === 96 && M === l ? n(M) : (e.consume(M), m);
|
5574
5574
|
}
|
5575
5575
|
function p(M) {
|
5576
5576
|
return M === null || V(M) ? f(M) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
5577
5577
|
contentType: "string"
|
5578
|
-
}),
|
5578
|
+
}), D(M));
|
5579
5579
|
}
|
5580
|
-
function
|
5581
|
-
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(M)) : M === 96 && M === l ? n(M) : (e.consume(M),
|
5580
|
+
function D(M) {
|
5581
|
+
return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(M)) : M === 96 && M === l ? n(M) : (e.consume(M), D);
|
5582
5582
|
}
|
5583
5583
|
function x(M) {
|
5584
5584
|
return e.attempt(i, _, k)(M);
|
@@ -5587,7 +5587,7 @@ function kp(e, t, n) {
|
|
5587
5587
|
return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), b;
|
5588
5588
|
}
|
5589
5589
|
function b(M) {
|
5590
|
-
return o > 0 && oe(M) ?
|
5590
|
+
return o > 0 && oe(M) ? de(
|
5591
5591
|
e,
|
5592
5592
|
z,
|
5593
5593
|
"linePrefix",
|
@@ -5605,12 +5605,12 @@ function kp(e, t, n) {
|
|
5605
5605
|
}
|
5606
5606
|
function Q(M, L, Y) {
|
5607
5607
|
let q = 0;
|
5608
|
-
return
|
5609
|
-
function
|
5608
|
+
return ee;
|
5609
|
+
function ee(P) {
|
5610
5610
|
return M.enter("lineEnding"), M.consume(P), M.exit("lineEnding"), S;
|
5611
5611
|
}
|
5612
5612
|
function S(P) {
|
5613
|
-
return M.enter("codeFencedFence"), oe(P) ?
|
5613
|
+
return M.enter("codeFencedFence"), oe(P) ? de(
|
5614
5614
|
M,
|
5615
5615
|
w,
|
5616
5616
|
"linePrefix",
|
@@ -5621,7 +5621,7 @@ function kp(e, t, n) {
|
|
5621
5621
|
return P === l ? (M.enter("codeFencedFenceSequence"), j(P)) : Y(P);
|
5622
5622
|
}
|
5623
5623
|
function j(P) {
|
5624
|
-
return P === l ? (q++, M.consume(P), j) : q >= a ? (M.exit("codeFencedFenceSequence"), oe(P) ?
|
5624
|
+
return P === l ? (q++, M.consume(P), j) : q >= a ? (M.exit("codeFencedFenceSequence"), oe(P) ? de(M, O, "whitespace")(P) : O(P)) : Y(P);
|
5625
5625
|
}
|
5626
5626
|
function O(P) {
|
5627
5627
|
return P === null || V(P) ? (M.exit("codeFencedFence"), L(P)) : Y(P);
|
@@ -5649,7 +5649,7 @@ function Cp(e, t, n) {
|
|
5649
5649
|
const r = this;
|
5650
5650
|
return i;
|
5651
5651
|
function i(u) {
|
5652
|
-
return e.enter("codeIndented"),
|
5652
|
+
return e.enter("codeIndented"), de(e, o, "linePrefix", 4 + 1)(u);
|
5653
5653
|
}
|
5654
5654
|
function o(u) {
|
5655
5655
|
const c = r.events[r.events.length - 1];
|
@@ -5669,7 +5669,7 @@ function Ap(e, t, n) {
|
|
5669
5669
|
const r = this;
|
5670
5670
|
return i;
|
5671
5671
|
function i(a) {
|
5672
|
-
return r.parser.lazy[r.now().line] ? n(a) : V(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) :
|
5672
|
+
return r.parser.lazy[r.now().line] ? n(a) : V(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) : de(e, o, "linePrefix", 4 + 1)(a);
|
5673
5673
|
}
|
5674
5674
|
function o(a) {
|
5675
5675
|
const l = r.events[r.events.length - 1];
|
@@ -5740,7 +5740,7 @@ function _p(e, t) {
|
|
5740
5740
|
const n = e[t][1], r = e[t][2];
|
5741
5741
|
let i = t - 1;
|
5742
5742
|
const o = [], a = n._tokenizer || r.parser[n.contentType](n.start), l = a.events, s = [], u = {};
|
5743
|
-
let c, f, m = -1, p = n,
|
5743
|
+
let c, f, m = -1, p = n, D = 0, x = 0;
|
5744
5744
|
const k = [x];
|
5745
5745
|
for (; p; ) {
|
5746
5746
|
for (; e[++i][1] !== p; )
|
@@ -5755,7 +5755,7 @@ function _p(e, t) {
|
|
5755
5755
|
s.unshift([z, z + b.length - 1]), Ge(e, z, 2, b);
|
5756
5756
|
}
|
5757
5757
|
for (m = -1; ++m < s.length; )
|
5758
|
-
u[
|
5758
|
+
u[D + s[m][0]] = D + s[m][1], D += s[m][1] - s[m][0] - 1;
|
5759
5759
|
return u;
|
5760
5760
|
}
|
5761
5761
|
const Fp = {
|
@@ -5797,7 +5797,7 @@ function Bp(e, t, n) {
|
|
5797
5797
|
const r = this;
|
5798
5798
|
return i;
|
5799
5799
|
function i(a) {
|
5800
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"),
|
5800
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), de(e, o, "linePrefix");
|
5801
5801
|
}
|
5802
5802
|
function o(a) {
|
5803
5803
|
if (a === null || V(a))
|
@@ -5821,9 +5821,9 @@ function Da(e, t, n, r, i, o, a, l, s) {
|
|
5821
5821
|
}), p(b));
|
5822
5822
|
}
|
5823
5823
|
function p(b) {
|
5824
|
-
return b === 62 ? (e.exit("chunkString"), e.exit(l), m(b)) : b === null || b === 60 || V(b) ? n(b) : (e.consume(b), b === 92 ?
|
5824
|
+
return b === 62 ? (e.exit("chunkString"), e.exit(l), m(b)) : b === null || b === 60 || V(b) ? n(b) : (e.consume(b), b === 92 ? D : p);
|
5825
5825
|
}
|
5826
|
-
function
|
5826
|
+
function D(b) {
|
5827
5827
|
return b === 60 || b === 62 || b === 92 ? (e.consume(b), p) : p(b);
|
5828
5828
|
}
|
5829
5829
|
function x(b) {
|
@@ -5867,7 +5867,7 @@ function Na(e, t, n, r, i, o) {
|
|
5867
5867
|
return m === a ? (e.enter(i), e.consume(m), e.exit(i), e.exit(r), t) : (e.enter(o), u(m));
|
5868
5868
|
}
|
5869
5869
|
function u(m) {
|
5870
|
-
return m === a ? (e.exit(o), s(a)) : m === null ? n(m) : V(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"),
|
5870
|
+
return m === a ? (e.exit(o), s(a)) : m === null ? n(m) : V(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), de(e, u, "linePrefix")) : (e.enter("chunkString", {
|
5871
5871
|
contentType: "string"
|
5872
5872
|
}), c(m));
|
5873
5873
|
}
|
@@ -5882,7 +5882,7 @@ function Yt(e, t) {
|
|
5882
5882
|
let n;
|
5883
5883
|
return r;
|
5884
5884
|
function r(i) {
|
5885
|
-
return V(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : oe(i) ?
|
5885
|
+
return V(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : oe(i) ? de(
|
5886
5886
|
e,
|
5887
5887
|
r,
|
5888
5888
|
n ? "linePrefix" : "lineSuffix"
|
@@ -5943,7 +5943,7 @@ function Hp(e, t, n) {
|
|
5943
5943
|
return e.attempt(Yp, f, f)(p);
|
5944
5944
|
}
|
5945
5945
|
function f(p) {
|
5946
|
-
return oe(p) ?
|
5946
|
+
return oe(p) ? de(e, m, "whitespace")(p) : m(p);
|
5947
5947
|
}
|
5948
5948
|
function m(p) {
|
5949
5949
|
return p === null || V(p) ? (e.exit("definition"), r.parser.defined.push(i), t(p)) : n(p);
|
@@ -5965,7 +5965,7 @@ function $p(e, t, n) {
|
|
5965
5965
|
)(l);
|
5966
5966
|
}
|
5967
5967
|
function o(l) {
|
5968
|
-
return oe(l) ?
|
5968
|
+
return oe(l) ? de(e, a, "whitespace")(l) : a(l);
|
5969
5969
|
}
|
5970
5970
|
function a(l) {
|
5971
5971
|
return l === null || V(l) ? t(l) : n(l);
|
@@ -6020,7 +6020,7 @@ function Zp(e, t, n) {
|
|
6020
6020
|
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || Ce(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
|
6021
6021
|
}
|
6022
6022
|
function l(c) {
|
6023
|
-
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : oe(c) ?
|
6023
|
+
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : oe(c) ? de(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
|
6024
6024
|
}
|
6025
6025
|
function s(c) {
|
6026
6026
|
return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
|
@@ -6124,22 +6124,22 @@ function nf(e, t, n) {
|
|
6124
6124
|
return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : h) : Ve(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
|
6125
6125
|
}
|
6126
6126
|
function m(g) {
|
6127
|
-
return g === 45 ? (e.consume(g), i = 2, p) : g === 91 ? (e.consume(g), i = 5, l = 0,
|
6127
|
+
return g === 45 ? (e.consume(g), i = 2, p) : g === 91 ? (e.consume(g), i = 5, l = 0, D) : Ve(g) ? (e.consume(g), i = 4, r.interrupt ? t : h) : n(g);
|
6128
6128
|
}
|
6129
6129
|
function p(g) {
|
6130
6130
|
return g === 45 ? (e.consume(g), r.interrupt ? t : h) : n(g);
|
6131
6131
|
}
|
6132
|
-
function
|
6132
|
+
function D(g) {
|
6133
6133
|
const me = "CDATA[";
|
6134
|
-
return g === me.charCodeAt(l++) ? (e.consume(g), l === me.length ? r.interrupt ? t : w :
|
6134
|
+
return g === me.charCodeAt(l++) ? (e.consume(g), l === me.length ? r.interrupt ? t : w : D) : n(g);
|
6135
6135
|
}
|
6136
6136
|
function x(g) {
|
6137
6137
|
return Ve(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
|
6138
6138
|
}
|
6139
6139
|
function k(g) {
|
6140
6140
|
if (g === null || g === 47 || g === 62 || Ce(g)) {
|
6141
|
-
const me = g === 47,
|
6142
|
-
return !me && !o && ao.includes(
|
6141
|
+
const me = g === 47, Ne = a.toLowerCase();
|
6142
|
+
return !me && !o && ao.includes(Ne) ? (i = 1, r.interrupt ? t(g) : w(g)) : Xp.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) : E(g));
|
6143
6143
|
}
|
6144
6144
|
return g === 45 || ze(g) ? (e.consume(g), a += String.fromCharCode(g), k) : n(g);
|
6145
6145
|
}
|
@@ -6147,10 +6147,10 @@ function nf(e, t, n) {
|
|
6147
6147
|
return g === 62 ? (e.consume(g), r.interrupt ? t : w) : n(g);
|
6148
6148
|
}
|
6149
6149
|
function z(g) {
|
6150
|
-
return oe(g) ? (e.consume(g), z) :
|
6150
|
+
return oe(g) ? (e.consume(g), z) : ee(g);
|
6151
6151
|
}
|
6152
6152
|
function E(g) {
|
6153
|
-
return g === 47 ? (e.consume(g),
|
6153
|
+
return g === 47 ? (e.consume(g), ee) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), _) : oe(g) ? (e.consume(g), E) : ee(g);
|
6154
6154
|
}
|
6155
6155
|
function _(g) {
|
6156
6156
|
return g === 45 || g === 46 || g === 58 || g === 95 || ze(g) ? (e.consume(g), _) : Q(g);
|
@@ -6170,7 +6170,7 @@ function nf(e, t, n) {
|
|
6170
6170
|
function q(g) {
|
6171
6171
|
return g === 47 || g === 62 || oe(g) ? E(g) : n(g);
|
6172
6172
|
}
|
6173
|
-
function
|
6173
|
+
function ee(g) {
|
6174
6174
|
return g === 62 ? (e.consume(g), S) : n(g);
|
6175
6175
|
}
|
6176
6176
|
function S(g) {
|
@@ -6253,7 +6253,7 @@ function lf(e, t, n) {
|
|
6253
6253
|
return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), Q) : h === 63 ? (e.consume(h), E) : Ve(h) ? (e.consume(h), Y) : n(h);
|
6254
6254
|
}
|
6255
6255
|
function u(h) {
|
6256
|
-
return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), o = 0,
|
6256
|
+
return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), o = 0, D) : Ve(h) ? (e.consume(h), z) : n(h);
|
6257
6257
|
}
|
6258
6258
|
function c(h) {
|
6259
6259
|
return h === 45 ? (e.consume(h), p) : n(h);
|
@@ -6267,9 +6267,9 @@ function lf(e, t, n) {
|
|
6267
6267
|
function p(h) {
|
6268
6268
|
return h === 62 ? $(h) : h === 45 ? m(h) : f(h);
|
6269
6269
|
}
|
6270
|
-
function
|
6270
|
+
function D(h) {
|
6271
6271
|
const ne = "CDATA[";
|
6272
|
-
return h === ne.charCodeAt(o++) ? (e.consume(h), o === ne.length ? x :
|
6272
|
+
return h === ne.charCodeAt(o++) ? (e.consume(h), o === ne.length ? x : D) : n(h);
|
6273
6273
|
}
|
6274
6274
|
function x(h) {
|
6275
6275
|
return h === null ? n(h) : h === 93 ? (e.consume(h), k) : V(h) ? (a = x, G(h)) : (e.consume(h), x);
|
@@ -6302,10 +6302,10 @@ function lf(e, t, n) {
|
|
6302
6302
|
return h === 45 || ze(h) ? (e.consume(h), Y) : h === 47 || h === 62 || Ce(h) ? q(h) : n(h);
|
6303
6303
|
}
|
6304
6304
|
function q(h) {
|
6305
|
-
return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h),
|
6305
|
+
return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), ee) : V(h) ? (a = q, G(h)) : oe(h) ? (e.consume(h), q) : $(h);
|
6306
6306
|
}
|
6307
|
-
function
|
6308
|
-
return h === 45 || h === 46 || h === 58 || h === 95 || ze(h) ? (e.consume(h),
|
6307
|
+
function ee(h) {
|
6308
|
+
return h === 45 || h === 46 || h === 58 || h === 95 || ze(h) ? (e.consume(h), ee) : S(h);
|
6309
6309
|
}
|
6310
6310
|
function S(h) {
|
6311
6311
|
return h === 61 ? (e.consume(h), w) : V(h) ? (a = S, G(h)) : oe(h) ? (e.consume(h), S) : q(h);
|
@@ -6329,7 +6329,7 @@ function lf(e, t, n) {
|
|
6329
6329
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), Z;
|
6330
6330
|
}
|
6331
6331
|
function Z(h) {
|
6332
|
-
return oe(h) ?
|
6332
|
+
return oe(h) ? de(
|
6333
6333
|
e,
|
6334
6334
|
ie,
|
6335
6335
|
"linePrefix",
|
@@ -6566,7 +6566,7 @@ const ir = {
|
|
6566
6566
|
function wf(e, t) {
|
6567
6567
|
return n;
|
6568
6568
|
function n(r) {
|
6569
|
-
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"),
|
6569
|
+
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), de(e, t, "linePrefix");
|
6570
6570
|
}
|
6571
6571
|
}
|
6572
6572
|
const fn = {
|
@@ -6586,7 +6586,7 @@ function vf(e, t, n) {
|
|
6586
6586
|
return u === i ? (e.enter("thematicBreakSequence"), s(u)) : r >= 3 && (u === null || V(u)) ? (e.exit("thematicBreak"), t(u)) : n(u);
|
6587
6587
|
}
|
6588
6588
|
function s(u) {
|
6589
|
-
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), oe(u) ?
|
6589
|
+
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), oe(u) ? de(e, l, "whitespace")(u) : l(u));
|
6590
6590
|
}
|
6591
6591
|
}
|
6592
6592
|
const je = {
|
@@ -6608,11 +6608,11 @@ function If(e, t, n) {
|
|
6608
6608
|
let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, a = 0;
|
6609
6609
|
return l;
|
6610
6610
|
function l(p) {
|
6611
|
-
const
|
6612
|
-
if (
|
6613
|
-
if (r.containerState.type || (r.containerState.type =
|
6611
|
+
const D = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
|
6612
|
+
if (D === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Tr(p)) {
|
6613
|
+
if (r.containerState.type || (r.containerState.type = D, e.enter(D, {
|
6614
6614
|
_container: !0
|
6615
|
-
})),
|
6615
|
+
})), D === "listUnordered")
|
6616
6616
|
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(fn, n, u)(p) : u(p);
|
6617
6617
|
if (!r.interrupt || p === 49)
|
6618
6618
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(p);
|
@@ -6648,7 +6648,7 @@ function Nf(e, t, n) {
|
|
6648
6648
|
const r = this;
|
6649
6649
|
return r.containerState._closeFlow = void 0, e.check(Dn, i, o);
|
6650
6650
|
function i(l) {
|
6651
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
6651
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, de(
|
6652
6652
|
e,
|
6653
6653
|
t,
|
6654
6654
|
"listItemIndent",
|
@@ -6659,7 +6659,7 @@ function Nf(e, t, n) {
|
|
6659
6659
|
return r.containerState.furtherBlankLines || !oe(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(Df, t, a)(l));
|
6660
6660
|
}
|
6661
6661
|
function a(l) {
|
6662
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
6662
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, de(
|
6663
6663
|
e,
|
6664
6664
|
e.attempt(je, t, n),
|
6665
6665
|
"linePrefix",
|
@@ -6669,7 +6669,7 @@ function Nf(e, t, n) {
|
|
6669
6669
|
}
|
6670
6670
|
function kf(e, t, n) {
|
6671
6671
|
const r = this;
|
6672
|
-
return
|
6672
|
+
return de(
|
6673
6673
|
e,
|
6674
6674
|
i,
|
6675
6675
|
"listItemIndent",
|
@@ -6685,7 +6685,7 @@ function jf(e) {
|
|
6685
6685
|
}
|
6686
6686
|
function Ef(e, t, n) {
|
6687
6687
|
const r = this;
|
6688
|
-
return
|
6688
|
+
return de(
|
6689
6689
|
e,
|
6690
6690
|
i,
|
6691
6691
|
"listItemPrefixWhitespace",
|
@@ -6736,7 +6736,7 @@ function Af(e, t, n) {
|
|
6736
6736
|
return e.enter("setextHeadingLineSequence"), l(u);
|
6737
6737
|
}
|
6738
6738
|
function l(u) {
|
6739
|
-
return u === i ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), oe(u) ?
|
6739
|
+
return u === i ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), oe(u) ? de(e, s, "lineSuffix")(u) : s(u));
|
6740
6740
|
}
|
6741
6741
|
function s(u) {
|
6742
6742
|
return u === null || V(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
|
@@ -6754,7 +6754,7 @@ function Of(e) {
|
|
6754
6754
|
e.attempt(
|
6755
6755
|
this.parser.constructs.flowInitial,
|
6756
6756
|
i,
|
6757
|
-
|
6757
|
+
de(
|
6758
6758
|
e,
|
6759
6759
|
e.attempt(
|
6760
6760
|
this.parser.constructs.flow,
|
@@ -6906,7 +6906,7 @@ function Pf(e, t, n) {
|
|
6906
6906
|
parser: e,
|
6907
6907
|
sliceStream: p,
|
6908
6908
|
sliceSerialize: m,
|
6909
|
-
now:
|
6909
|
+
now: D,
|
6910
6910
|
defineSkip: x,
|
6911
6911
|
write: f
|
6912
6912
|
};
|
@@ -6921,7 +6921,7 @@ function Pf(e, t, n) {
|
|
6921
6921
|
function p(S) {
|
6922
6922
|
return Rf(a, S);
|
6923
6923
|
}
|
6924
|
-
function
|
6924
|
+
function D() {
|
6925
6925
|
const { line: S, column: w, offset: j, _index: O, _bufferIndex: P } = r;
|
6926
6926
|
return {
|
6927
6927
|
line: S,
|
@@ -6932,7 +6932,7 @@ function Pf(e, t, n) {
|
|
6932
6932
|
};
|
6933
6933
|
}
|
6934
6934
|
function x(S) {
|
6935
|
-
i[S.line] = S.column,
|
6935
|
+
i[S.line] = S.column, ee();
|
6936
6936
|
}
|
6937
6937
|
function k() {
|
6938
6938
|
let S;
|
@@ -6949,15 +6949,15 @@ function Pf(e, t, n) {
|
|
6949
6949
|
c = c(S);
|
6950
6950
|
}
|
6951
6951
|
function z(S) {
|
6952
|
-
V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1,
|
6952
|
+
V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1, ee()) : 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;
|
6953
6953
|
}
|
6954
6954
|
function E(S, w) {
|
6955
6955
|
const j = w || {};
|
6956
|
-
return j.type = S, j.start =
|
6956
|
+
return j.type = S, j.start = D(), u.events.push(["enter", j, u]), l.push(j), j;
|
6957
6957
|
}
|
6958
6958
|
function _(S) {
|
6959
6959
|
const w = l.pop();
|
6960
|
-
return w.end =
|
6960
|
+
return w.end = D(), u.events.push(["exit", w, u]), w;
|
6961
6961
|
}
|
6962
6962
|
function Q(S, w) {
|
6963
6963
|
Y(S, w.from);
|
@@ -6974,8 +6974,8 @@ function Pf(e, t, n) {
|
|
6974
6974
|
we([O])
|
6975
6975
|
) : ne(O);
|
6976
6976
|
function ne(ae) {
|
6977
|
-
return
|
6978
|
-
function
|
6977
|
+
return ke;
|
6978
|
+
function ke(ve) {
|
6979
6979
|
const Fe = ve !== null && ae[ve], Pe = ve !== null && ae.null, Ke = [
|
6980
6980
|
// To do: add more extension tests.
|
6981
6981
|
/* c8 ignore next 2 */
|
@@ -6989,23 +6989,23 @@ function Pf(e, t, n) {
|
|
6989
6989
|
return G = ae, Z = 0, ae.length === 0 ? $ : g(ae[Z]);
|
6990
6990
|
}
|
6991
6991
|
function g(ae) {
|
6992
|
-
return
|
6993
|
-
function
|
6994
|
-
return h = q(), ie = ae, ae.partial || (u.currentConstruct = ae), ae.name && u.parser.constructs.disable.null.includes(ae.name) ?
|
6992
|
+
return ke;
|
6993
|
+
function ke(ve) {
|
6994
|
+
return h = q(), ie = ae, ae.partial || (u.currentConstruct = ae), ae.name && u.parser.constructs.disable.null.includes(ae.name) ? Ne() : ae.tokenize.call(
|
6995
6995
|
// If we do have fields, create an object w/ `context` as its
|
6996
6996
|
// prototype.
|
6997
6997
|
// This allows a “live binding”, which is needed for `interrupt`.
|
6998
6998
|
w ? Object.assign(Object.create(u), w) : u,
|
6999
6999
|
s,
|
7000
7000
|
me,
|
7001
|
-
|
7001
|
+
Ne
|
7002
7002
|
)(ve);
|
7003
7003
|
}
|
7004
7004
|
}
|
7005
7005
|
function me(ae) {
|
7006
7006
|
return S(ie, h), P;
|
7007
7007
|
}
|
7008
|
-
function
|
7008
|
+
function Ne(ae) {
|
7009
7009
|
return h.restore(), ++Z < G.length ? g(G[Z]) : $;
|
7010
7010
|
}
|
7011
7011
|
}
|
@@ -7019,16 +7019,16 @@ function Pf(e, t, n) {
|
|
7019
7019
|
), S.resolveTo && (u.events = S.resolveTo(u.events, u));
|
7020
7020
|
}
|
7021
7021
|
function q() {
|
7022
|
-
const S =
|
7022
|
+
const S = D(), w = u.previous, j = u.currentConstruct, O = u.events.length, P = Array.from(l);
|
7023
7023
|
return {
|
7024
7024
|
restore: $,
|
7025
7025
|
from: O
|
7026
7026
|
};
|
7027
7027
|
function $() {
|
7028
|
-
r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P,
|
7028
|
+
r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P, ee();
|
7029
7029
|
}
|
7030
7030
|
}
|
7031
|
-
function
|
7031
|
+
function ee() {
|
7032
7032
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
7033
7033
|
}
|
7034
7034
|
}
|
@@ -7296,17 +7296,17 @@ function id(e) {
|
|
7296
7296
|
label: s,
|
7297
7297
|
link: l($e),
|
7298
7298
|
listItem: l(F),
|
7299
|
-
listItemValue:
|
7299
|
+
listItemValue: D,
|
7300
7300
|
listOrdered: l(Ze, p),
|
7301
7301
|
listUnordered: l(Ze),
|
7302
7302
|
paragraph: l(W),
|
7303
|
-
reference:
|
7303
|
+
reference: Ne,
|
7304
7304
|
referenceString: s,
|
7305
7305
|
resourceDestinationString: s,
|
7306
7306
|
resourceTitleString: s,
|
7307
7307
|
setextHeading: l(mt),
|
7308
7308
|
strong: l(be),
|
7309
|
-
thematicBreak: l(
|
7309
|
+
thematicBreak: l(Ie)
|
7310
7310
|
},
|
7311
7311
|
exit: {
|
7312
7312
|
atxHeading: c(),
|
@@ -7316,8 +7316,8 @@ function id(e) {
|
|
7316
7316
|
autolinkProtocol: Fe,
|
7317
7317
|
blockQuote: c(),
|
7318
7318
|
characterEscapeValue: w,
|
7319
|
-
characterReferenceMarkerHexadecimal:
|
7320
|
-
characterReferenceMarkerNumeric:
|
7319
|
+
characterReferenceMarkerHexadecimal: ke,
|
7320
|
+
characterReferenceMarkerNumeric: ke,
|
7321
7321
|
characterReferenceValue: ve,
|
7322
7322
|
codeFenced: c(z),
|
7323
7323
|
codeFencedFence: b,
|
@@ -7352,7 +7352,7 @@ function id(e) {
|
|
7352
7352
|
resourceDestinationString: we,
|
7353
7353
|
resourceTitleString: g,
|
7354
7354
|
resource: me,
|
7355
|
-
setextHeading: c(
|
7355
|
+
setextHeading: c(ee),
|
7356
7356
|
setextHeadingLineSequence: q,
|
7357
7357
|
setextHeadingText: Y,
|
7358
7358
|
strong: c(),
|
@@ -7362,7 +7362,7 @@ function id(e) {
|
|
7362
7362
|
Aa(t, (e || {}).mdastExtensions || []);
|
7363
7363
|
const n = {};
|
7364
7364
|
return r;
|
7365
|
-
function r(
|
7365
|
+
function r(T) {
|
7366
7366
|
let C = {
|
7367
7367
|
type: "root",
|
7368
7368
|
children: []
|
@@ -7378,92 +7378,92 @@ function id(e) {
|
|
7378
7378
|
setData: o,
|
7379
7379
|
getData: a
|
7380
7380
|
}, K = [];
|
7381
|
-
let
|
7382
|
-
for (; ++
|
7383
|
-
if (
|
7384
|
-
if (
|
7385
|
-
K.push(
|
7381
|
+
let J = -1;
|
7382
|
+
for (; ++J < T.length; )
|
7383
|
+
if (T[J][1].type === "listOrdered" || T[J][1].type === "listUnordered")
|
7384
|
+
if (T[J][0] === "enter")
|
7385
|
+
K.push(J);
|
7386
7386
|
else {
|
7387
|
-
const
|
7388
|
-
|
7387
|
+
const ue = K.pop();
|
7388
|
+
J = i(T, ue, J);
|
7389
7389
|
}
|
7390
|
-
for (
|
7391
|
-
const
|
7392
|
-
Ca.call(
|
7390
|
+
for (J = -1; ++J < T.length; ) {
|
7391
|
+
const ue = t[T[J][0]];
|
7392
|
+
Ca.call(ue, T[J][1].type) && ue[T[J][1].type].call(
|
7393
7393
|
Object.assign(
|
7394
7394
|
{
|
7395
|
-
sliceSerialize:
|
7395
|
+
sliceSerialize: T[J][2].sliceSerialize
|
7396
7396
|
},
|
7397
7397
|
U
|
7398
7398
|
),
|
7399
|
-
|
7399
|
+
T[J][1]
|
7400
7400
|
);
|
7401
7401
|
}
|
7402
7402
|
if (U.tokenStack.length > 0) {
|
7403
|
-
const
|
7404
|
-
(
|
7403
|
+
const ue = U.tokenStack[U.tokenStack.length - 1];
|
7404
|
+
(ue[1] || uo).call(U, void 0, ue[0]);
|
7405
7405
|
}
|
7406
7406
|
for (C.position = {
|
7407
7407
|
start: et(
|
7408
|
-
|
7408
|
+
T.length > 0 ? T[0][1].start : {
|
7409
7409
|
line: 1,
|
7410
7410
|
column: 1,
|
7411
7411
|
offset: 0
|
7412
7412
|
}
|
7413
7413
|
),
|
7414
7414
|
end: et(
|
7415
|
-
|
7415
|
+
T.length > 0 ? T[T.length - 2][1].end : {
|
7416
7416
|
line: 1,
|
7417
7417
|
column: 1,
|
7418
7418
|
offset: 0
|
7419
7419
|
}
|
7420
7420
|
)
|
7421
|
-
},
|
7422
|
-
C = t.transforms[
|
7421
|
+
}, J = -1; ++J < t.transforms.length; )
|
7422
|
+
C = t.transforms[J](C) || C;
|
7423
7423
|
return C;
|
7424
7424
|
}
|
7425
|
-
function i(
|
7426
|
-
let K = C - 1,
|
7425
|
+
function i(T, C, U) {
|
7426
|
+
let K = C - 1, J = -1, ue = !1, Te, De, st, Ae;
|
7427
7427
|
for (; ++K <= U; ) {
|
7428
|
-
const
|
7429
|
-
if (
|
7430
|
-
if (
|
7428
|
+
const pe = T[K];
|
7429
|
+
if (pe[1].type === "listUnordered" || pe[1].type === "listOrdered" || pe[1].type === "blockQuote" ? (pe[0] === "enter" ? J++ : J--, Ae = void 0) : pe[1].type === "lineEndingBlank" ? pe[0] === "enter" && (Te && !Ae && !J && !st && (st = K), Ae = void 0) : pe[1].type === "linePrefix" || pe[1].type === "listItemValue" || pe[1].type === "listItemMarker" || pe[1].type === "listItemPrefix" || pe[1].type === "listItemPrefixWhitespace" || (Ae = void 0), !J && pe[0] === "enter" && pe[1].type === "listItemPrefix" || J === -1 && pe[0] === "exit" && (pe[1].type === "listUnordered" || pe[1].type === "listOrdered")) {
|
7430
|
+
if (Te) {
|
7431
7431
|
let Et = K;
|
7432
|
-
for (
|
7433
|
-
const Re =
|
7432
|
+
for (De = void 0; Et--; ) {
|
7433
|
+
const Re = T[Et];
|
7434
7434
|
if (Re[1].type === "lineEnding" || Re[1].type === "lineEndingBlank") {
|
7435
7435
|
if (Re[0] === "exit")
|
7436
7436
|
continue;
|
7437
|
-
|
7437
|
+
De && (T[De][1].type = "lineEndingBlank", ue = !0), Re[1].type = "lineEnding", De = Et;
|
7438
7438
|
} else if (!(Re[1].type === "linePrefix" || Re[1].type === "blockQuotePrefix" || Re[1].type === "blockQuotePrefixWhitespace" || Re[1].type === "blockQuoteMarker" || Re[1].type === "listItemIndent"))
|
7439
7439
|
break;
|
7440
7440
|
}
|
7441
|
-
st && (!
|
7441
|
+
st && (!De || st < De) && (Te._spread = !0), Te.end = Object.assign(
|
7442
7442
|
{},
|
7443
|
-
|
7444
|
-
),
|
7443
|
+
De ? T[De][1].start : pe[1].end
|
7444
|
+
), T.splice(De || K, 0, ["exit", Te, pe[2]]), K++, U++;
|
7445
7445
|
}
|
7446
|
-
|
7446
|
+
pe[1].type === "listItemPrefix" && (Te = {
|
7447
7447
|
type: "listItem",
|
7448
7448
|
_spread: !1,
|
7449
|
-
start: Object.assign({},
|
7449
|
+
start: Object.assign({}, pe[1].start),
|
7450
7450
|
// @ts-expect-error: we’ll add `end` in a second.
|
7451
7451
|
end: void 0
|
7452
|
-
},
|
7452
|
+
}, T.splice(K, 0, ["enter", Te, pe[2]]), K++, U++, st = void 0, Ae = !0);
|
7453
7453
|
}
|
7454
7454
|
}
|
7455
|
-
return
|
7455
|
+
return T[C][1]._spread = ue, U;
|
7456
7456
|
}
|
7457
|
-
function o(
|
7458
|
-
n[
|
7457
|
+
function o(T, C) {
|
7458
|
+
n[T] = C;
|
7459
7459
|
}
|
7460
|
-
function a(
|
7461
|
-
return n[
|
7460
|
+
function a(T) {
|
7461
|
+
return n[T];
|
7462
7462
|
}
|
7463
|
-
function l(
|
7463
|
+
function l(T, C) {
|
7464
7464
|
return U;
|
7465
7465
|
function U(K) {
|
7466
|
-
u.call(this,
|
7466
|
+
u.call(this, T(K), K), C && C.call(this, K);
|
7467
7467
|
}
|
7468
7468
|
}
|
7469
7469
|
function s() {
|
@@ -7472,29 +7472,29 @@ function id(e) {
|
|
7472
7472
|
children: []
|
7473
7473
|
});
|
7474
7474
|
}
|
7475
|
-
function u(
|
7476
|
-
return this.stack[this.stack.length - 1].children.push(
|
7475
|
+
function u(T, C, U) {
|
7476
|
+
return this.stack[this.stack.length - 1].children.push(T), this.stack.push(T), this.tokenStack.push([C, U]), T.position = {
|
7477
7477
|
start: et(C.start)
|
7478
|
-
},
|
7478
|
+
}, T;
|
7479
7479
|
}
|
7480
|
-
function c(
|
7480
|
+
function c(T) {
|
7481
7481
|
return C;
|
7482
7482
|
function C(U) {
|
7483
|
-
|
7483
|
+
T && T.call(this, U), f.call(this, U);
|
7484
7484
|
}
|
7485
7485
|
}
|
7486
|
-
function f(
|
7486
|
+
function f(T, C) {
|
7487
7487
|
const U = this.stack.pop(), K = this.tokenStack.pop();
|
7488
7488
|
if (K)
|
7489
|
-
K[0].type !==
|
7489
|
+
K[0].type !== T.type && (C ? C.call(this, T, K[0]) : (K[1] || uo).call(this, T, K[0]));
|
7490
7490
|
else
|
7491
7491
|
throw new Error(
|
7492
|
-
"Cannot close `" +
|
7493
|
-
start:
|
7494
|
-
end:
|
7492
|
+
"Cannot close `" + T.type + "` (" + Qt({
|
7493
|
+
start: T.start,
|
7494
|
+
end: T.end
|
7495
7495
|
}) + "): it’s not open"
|
7496
7496
|
);
|
7497
|
-
return U.position.end = et(
|
7497
|
+
return U.position.end = et(T.end), U;
|
7498
7498
|
}
|
7499
7499
|
function m() {
|
7500
7500
|
return tp(this.stack.pop());
|
@@ -7502,169 +7502,169 @@ function id(e) {
|
|
7502
7502
|
function p() {
|
7503
7503
|
o("expectingFirstListItemValue", !0);
|
7504
7504
|
}
|
7505
|
-
function T
|
7505
|
+
function D(T) {
|
7506
7506
|
if (a("expectingFirstListItemValue")) {
|
7507
7507
|
const C = this.stack[this.stack.length - 2];
|
7508
|
-
C.start = Number.parseInt(this.sliceSerialize(
|
7508
|
+
C.start = Number.parseInt(this.sliceSerialize(T), 10), o("expectingFirstListItemValue");
|
7509
7509
|
}
|
7510
7510
|
}
|
7511
7511
|
function x() {
|
7512
|
-
const
|
7513
|
-
C.lang =
|
7512
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7513
|
+
C.lang = T;
|
7514
7514
|
}
|
7515
7515
|
function k() {
|
7516
|
-
const
|
7517
|
-
C.meta =
|
7516
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7517
|
+
C.meta = T;
|
7518
7518
|
}
|
7519
7519
|
function b() {
|
7520
7520
|
a("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
7521
7521
|
}
|
7522
7522
|
function z() {
|
7523
|
-
const
|
7524
|
-
C.value =
|
7523
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7524
|
+
C.value = T.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
7525
7525
|
}
|
7526
7526
|
function E() {
|
7527
|
-
const
|
7528
|
-
C.value =
|
7527
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7528
|
+
C.value = T.replace(/(\r?\n|\r)$/g, "");
|
7529
7529
|
}
|
7530
|
-
function _(
|
7530
|
+
function _(T) {
|
7531
7531
|
const C = this.resume(), U = this.stack[this.stack.length - 1];
|
7532
7532
|
U.label = C, U.identifier = xt(
|
7533
|
-
this.sliceSerialize(
|
7533
|
+
this.sliceSerialize(T)
|
7534
7534
|
).toLowerCase();
|
7535
7535
|
}
|
7536
7536
|
function Q() {
|
7537
|
-
const
|
7538
|
-
C.title =
|
7537
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7538
|
+
C.title = T;
|
7539
7539
|
}
|
7540
7540
|
function M() {
|
7541
|
-
const
|
7542
|
-
C.url =
|
7541
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7542
|
+
C.url = T;
|
7543
7543
|
}
|
7544
|
-
function L(
|
7544
|
+
function L(T) {
|
7545
7545
|
const C = this.stack[this.stack.length - 1];
|
7546
7546
|
if (!C.depth) {
|
7547
|
-
const U = this.sliceSerialize(
|
7547
|
+
const U = this.sliceSerialize(T).length;
|
7548
7548
|
C.depth = U;
|
7549
7549
|
}
|
7550
7550
|
}
|
7551
7551
|
function Y() {
|
7552
7552
|
o("setextHeadingSlurpLineEnding", !0);
|
7553
7553
|
}
|
7554
|
-
function q(
|
7554
|
+
function q(T) {
|
7555
7555
|
const C = this.stack[this.stack.length - 1];
|
7556
|
-
C.depth = this.sliceSerialize(
|
7556
|
+
C.depth = this.sliceSerialize(T).charCodeAt(0) === 61 ? 1 : 2;
|
7557
7557
|
}
|
7558
|
-
function
|
7558
|
+
function ee() {
|
7559
7559
|
o("setextHeadingSlurpLineEnding");
|
7560
7560
|
}
|
7561
|
-
function S(
|
7561
|
+
function S(T) {
|
7562
7562
|
const C = this.stack[this.stack.length - 1];
|
7563
7563
|
let U = C.children[C.children.length - 1];
|
7564
7564
|
(!U || U.type !== "text") && (U = se(), U.position = {
|
7565
|
-
start: et(
|
7565
|
+
start: et(T.start)
|
7566
7566
|
}, C.children.push(U)), this.stack.push(U);
|
7567
7567
|
}
|
7568
|
-
function w(
|
7568
|
+
function w(T) {
|
7569
7569
|
const C = this.stack.pop();
|
7570
|
-
C.value += this.sliceSerialize(
|
7570
|
+
C.value += this.sliceSerialize(T), C.position.end = et(T.end);
|
7571
7571
|
}
|
7572
|
-
function j(
|
7572
|
+
function j(T) {
|
7573
7573
|
const C = this.stack[this.stack.length - 1];
|
7574
7574
|
if (a("atHardBreak")) {
|
7575
7575
|
const U = C.children[C.children.length - 1];
|
7576
|
-
U.position.end = et(
|
7576
|
+
U.position.end = et(T.end), o("atHardBreak");
|
7577
7577
|
return;
|
7578
7578
|
}
|
7579
|
-
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(C.type) && (S.call(this,
|
7579
|
+
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(C.type) && (S.call(this, T), w.call(this, T));
|
7580
7580
|
}
|
7581
7581
|
function O() {
|
7582
7582
|
o("atHardBreak", !0);
|
7583
7583
|
}
|
7584
7584
|
function P() {
|
7585
|
-
const
|
7586
|
-
C.value =
|
7585
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7586
|
+
C.value = T;
|
7587
7587
|
}
|
7588
7588
|
function $() {
|
7589
|
-
const
|
7590
|
-
C.value =
|
7589
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7590
|
+
C.value = T;
|
7591
7591
|
}
|
7592
7592
|
function G() {
|
7593
|
-
const
|
7594
|
-
C.value =
|
7593
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7594
|
+
C.value = T;
|
7595
7595
|
}
|
7596
7596
|
function Z() {
|
7597
|
-
const
|
7597
|
+
const T = this.stack[this.stack.length - 1];
|
7598
7598
|
if (a("inReference")) {
|
7599
7599
|
const C = a("referenceType") || "shortcut";
|
7600
|
-
|
7600
|
+
T.type += "Reference", T.referenceType = C, delete T.url, delete T.title;
|
7601
7601
|
} else
|
7602
|
-
delete
|
7602
|
+
delete T.identifier, delete T.label;
|
7603
7603
|
o("referenceType");
|
7604
7604
|
}
|
7605
7605
|
function ie() {
|
7606
|
-
const
|
7606
|
+
const T = this.stack[this.stack.length - 1];
|
7607
7607
|
if (a("inReference")) {
|
7608
7608
|
const C = a("referenceType") || "shortcut";
|
7609
|
-
|
7609
|
+
T.type += "Reference", T.referenceType = C, delete T.url, delete T.title;
|
7610
7610
|
} else
|
7611
|
-
delete
|
7611
|
+
delete T.identifier, delete T.label;
|
7612
7612
|
o("referenceType");
|
7613
7613
|
}
|
7614
|
-
function h(
|
7615
|
-
const C = this.sliceSerialize(
|
7614
|
+
function h(T) {
|
7615
|
+
const C = this.sliceSerialize(T), U = this.stack[this.stack.length - 2];
|
7616
7616
|
U.label = td(C), U.identifier = xt(C).toLowerCase();
|
7617
7617
|
}
|
7618
7618
|
function ne() {
|
7619
|
-
const
|
7619
|
+
const T = this.stack[this.stack.length - 1], C = this.resume(), U = this.stack[this.stack.length - 1];
|
7620
7620
|
if (o("inReference", !0), U.type === "link") {
|
7621
|
-
const K =
|
7621
|
+
const K = T.children;
|
7622
7622
|
U.children = K;
|
7623
7623
|
} else
|
7624
7624
|
U.alt = C;
|
7625
7625
|
}
|
7626
7626
|
function we() {
|
7627
|
-
const
|
7628
|
-
C.url =
|
7627
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7628
|
+
C.url = T;
|
7629
7629
|
}
|
7630
7630
|
function g() {
|
7631
|
-
const
|
7632
|
-
C.title =
|
7631
|
+
const T = this.resume(), C = this.stack[this.stack.length - 1];
|
7632
|
+
C.title = T;
|
7633
7633
|
}
|
7634
7634
|
function me() {
|
7635
7635
|
o("inReference");
|
7636
7636
|
}
|
7637
|
-
function
|
7637
|
+
function Ne() {
|
7638
7638
|
o("referenceType", "collapsed");
|
7639
7639
|
}
|
7640
|
-
function ae(
|
7640
|
+
function ae(T) {
|
7641
7641
|
const C = this.resume(), U = this.stack[this.stack.length - 1];
|
7642
7642
|
U.label = C, U.identifier = xt(
|
7643
|
-
this.sliceSerialize(
|
7643
|
+
this.sliceSerialize(T)
|
7644
7644
|
).toLowerCase(), o("referenceType", "full");
|
7645
7645
|
}
|
7646
|
-
function
|
7647
|
-
o("characterReferenceType",
|
7646
|
+
function ke(T) {
|
7647
|
+
o("characterReferenceType", T.type);
|
7648
7648
|
}
|
7649
|
-
function ve(
|
7650
|
-
const C = this.sliceSerialize(
|
7649
|
+
function ve(T) {
|
7650
|
+
const C = this.sliceSerialize(T), U = a("characterReferenceType");
|
7651
7651
|
let K;
|
7652
7652
|
U ? (K = Ea(
|
7653
7653
|
C,
|
7654
7654
|
U === "characterReferenceMarkerNumeric" ? 10 : 16
|
7655
7655
|
), o("characterReferenceType")) : K = Br(C);
|
7656
|
-
const
|
7657
|
-
|
7656
|
+
const J = this.stack.pop();
|
7657
|
+
J.value += K, J.position.end = et(T.end);
|
7658
7658
|
}
|
7659
|
-
function Fe(
|
7660
|
-
w.call(this,
|
7659
|
+
function Fe(T) {
|
7660
|
+
w.call(this, T);
|
7661
7661
|
const C = this.stack[this.stack.length - 1];
|
7662
|
-
C.url = this.sliceSerialize(
|
7662
|
+
C.url = this.sliceSerialize(T);
|
7663
7663
|
}
|
7664
|
-
function Pe(
|
7665
|
-
w.call(this,
|
7664
|
+
function Pe(T) {
|
7665
|
+
w.call(this, T);
|
7666
7666
|
const C = this.stack[this.stack.length - 1];
|
7667
|
-
C.url = "mailto:" + this.sliceSerialize(
|
7667
|
+
C.url = "mailto:" + this.sliceSerialize(T);
|
7668
7668
|
}
|
7669
7669
|
function Ke() {
|
7670
7670
|
return {
|
@@ -7735,19 +7735,19 @@ function id(e) {
|
|
7735
7735
|
children: []
|
7736
7736
|
};
|
7737
7737
|
}
|
7738
|
-
function Ze(
|
7738
|
+
function Ze(T) {
|
7739
7739
|
return {
|
7740
7740
|
type: "list",
|
7741
|
-
ordered:
|
7741
|
+
ordered: T.type === "listOrdered",
|
7742
7742
|
start: null,
|
7743
|
-
spread:
|
7743
|
+
spread: T._spread,
|
7744
7744
|
children: []
|
7745
7745
|
};
|
7746
7746
|
}
|
7747
|
-
function F(
|
7747
|
+
function F(T) {
|
7748
7748
|
return {
|
7749
7749
|
type: "listItem",
|
7750
|
-
spread:
|
7750
|
+
spread: T._spread,
|
7751
7751
|
checked: null,
|
7752
7752
|
children: []
|
7753
7753
|
};
|
@@ -7770,7 +7770,7 @@ function id(e) {
|
|
7770
7770
|
value: ""
|
7771
7771
|
};
|
7772
7772
|
}
|
7773
|
-
function
|
7773
|
+
function Ie() {
|
7774
7774
|
return {
|
7775
7775
|
type: "thematicBreak"
|
7776
7776
|
};
|
@@ -8153,8 +8153,8 @@ function jd(e, t, n) {
|
|
8153
8153
|
for (; ++s < l; ) {
|
8154
8154
|
const f = t.children[s], m = {}, p = a ? a[s] : void 0;
|
8155
8155
|
p && (m.align = p);
|
8156
|
-
let
|
8157
|
-
f && (
|
8156
|
+
let D = { type: "element", tagName: o, properties: m, children: [] };
|
8157
|
+
f && (D.children = e.all(f), e.patch(f, D), D = e.applyData(t, D)), u.push(D);
|
8158
8158
|
}
|
8159
8159
|
const c = {
|
8160
8160
|
type: "element",
|
@@ -8342,14 +8342,14 @@ const Pd = !0, ho = !1, Rd = "skip", Ud = (
|
|
8342
8342
|
}
|
8343
8343
|
return f;
|
8344
8344
|
function f() {
|
8345
|
-
let m = [], p,
|
8345
|
+
let m = [], p, D, x;
|
8346
8346
|
if ((!t || i(l, s, u[u.length - 1] || null)) && (m = Bd(n(l, u)), m[0] === ho))
|
8347
8347
|
return m;
|
8348
8348
|
if (l.children && m[0] !== Rd)
|
8349
|
-
for (
|
8350
|
-
if (p = a(l.children[
|
8349
|
+
for (D = (r ? l.children.length : -1) + o, x = u.concat(l); D > -1 && D < l.children.length; ) {
|
8350
|
+
if (p = a(l.children[D], D, x)(), p[0] === ho)
|
8351
8351
|
return p;
|
8352
|
-
|
8352
|
+
D = typeof p[1] == "number" ? p[1] : D + o;
|
8353
8353
|
}
|
8354
8354
|
return m;
|
8355
8355
|
}
|
@@ -8641,7 +8641,7 @@ Ye.prototype.commaOrSpaceSeparated = !1;
|
|
8641
8641
|
Ye.prototype.mustUseProperty = !1;
|
8642
8642
|
Ye.prototype.defined = !1;
|
8643
8643
|
let eh = 0;
|
8644
|
-
const X = gt(), xe = gt(), Ua = gt(), A = gt(),
|
8644
|
+
const X = gt(), xe = gt(), Ua = gt(), A = gt(), fe = gt(), wt = gt(), Oe = gt();
|
8645
8645
|
function gt() {
|
8646
8646
|
return 2 ** ++eh;
|
8647
8647
|
}
|
@@ -8653,7 +8653,7 @@ const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8653
8653
|
commaSeparated: wt,
|
8654
8654
|
number: A,
|
8655
8655
|
overloadedBoolean: Ua,
|
8656
|
-
spaceSeparated:
|
8656
|
+
spaceSeparated: fe
|
8657
8657
|
}, Symbol.toStringTag, { value: "Module" })), or = Object.keys(Nr);
|
8658
8658
|
class Vr extends Ye {
|
8659
8659
|
/**
|
@@ -8737,36 +8737,36 @@ const $a = Dt({
|
|
8737
8737
|
ariaColCount: A,
|
8738
8738
|
ariaColIndex: A,
|
8739
8739
|
ariaColSpan: A,
|
8740
|
-
ariaControls:
|
8740
|
+
ariaControls: fe,
|
8741
8741
|
ariaCurrent: null,
|
8742
|
-
ariaDescribedBy:
|
8742
|
+
ariaDescribedBy: fe,
|
8743
8743
|
ariaDetails: null,
|
8744
8744
|
ariaDisabled: xe,
|
8745
|
-
ariaDropEffect:
|
8745
|
+
ariaDropEffect: fe,
|
8746
8746
|
ariaErrorMessage: null,
|
8747
8747
|
ariaExpanded: xe,
|
8748
|
-
ariaFlowTo:
|
8748
|
+
ariaFlowTo: fe,
|
8749
8749
|
ariaGrabbed: xe,
|
8750
8750
|
ariaHasPopup: null,
|
8751
8751
|
ariaHidden: xe,
|
8752
8752
|
ariaInvalid: null,
|
8753
8753
|
ariaKeyShortcuts: null,
|
8754
8754
|
ariaLabel: null,
|
8755
|
-
ariaLabelledBy:
|
8755
|
+
ariaLabelledBy: fe,
|
8756
8756
|
ariaLevel: A,
|
8757
8757
|
ariaLive: null,
|
8758
8758
|
ariaModal: xe,
|
8759
8759
|
ariaMultiLine: xe,
|
8760
8760
|
ariaMultiSelectable: xe,
|
8761
8761
|
ariaOrientation: null,
|
8762
|
-
ariaOwns:
|
8762
|
+
ariaOwns: fe,
|
8763
8763
|
ariaPlaceholder: null,
|
8764
8764
|
ariaPosInSet: A,
|
8765
8765
|
ariaPressed: xe,
|
8766
8766
|
ariaReadOnly: xe,
|
8767
8767
|
ariaRelevant: null,
|
8768
8768
|
ariaRequired: xe,
|
8769
|
-
ariaRoleDescription:
|
8769
|
+
ariaRoleDescription: fe,
|
8770
8770
|
ariaRowCount: A,
|
8771
8771
|
ariaRowIndex: A,
|
8772
8772
|
ariaRowSpan: A,
|
@@ -8793,8 +8793,8 @@ const $a = Dt({
|
|
8793
8793
|
// Standard Properties.
|
8794
8794
|
abbr: null,
|
8795
8795
|
accept: wt,
|
8796
|
-
acceptCharset:
|
8797
|
-
accessKey:
|
8796
|
+
acceptCharset: fe,
|
8797
|
+
accessKey: fe,
|
8798
8798
|
action: null,
|
8799
8799
|
allow: null,
|
8800
8800
|
allowFullScreen: X,
|
@@ -8804,21 +8804,21 @@ const $a = Dt({
|
|
8804
8804
|
as: null,
|
8805
8805
|
async: X,
|
8806
8806
|
autoCapitalize: null,
|
8807
|
-
autoComplete:
|
8807
|
+
autoComplete: fe,
|
8808
8808
|
autoFocus: X,
|
8809
8809
|
autoPlay: X,
|
8810
|
-
blocking:
|
8810
|
+
blocking: fe,
|
8811
8811
|
capture: null,
|
8812
8812
|
charSet: null,
|
8813
8813
|
checked: X,
|
8814
8814
|
cite: null,
|
8815
|
-
className:
|
8815
|
+
className: fe,
|
8816
8816
|
cols: A,
|
8817
8817
|
colSpan: null,
|
8818
8818
|
content: null,
|
8819
8819
|
contentEditable: xe,
|
8820
8820
|
controls: X,
|
8821
|
-
controlsList:
|
8821
|
+
controlsList: fe,
|
8822
8822
|
coords: A | wt,
|
8823
8823
|
crossOrigin: null,
|
8824
8824
|
data: null,
|
@@ -8840,14 +8840,14 @@ const $a = Dt({
|
|
8840
8840
|
formMethod: null,
|
8841
8841
|
formNoValidate: X,
|
8842
8842
|
formTarget: null,
|
8843
|
-
headers:
|
8843
|
+
headers: fe,
|
8844
8844
|
height: A,
|
8845
8845
|
hidden: X,
|
8846
8846
|
high: A,
|
8847
8847
|
href: null,
|
8848
8848
|
hrefLang: null,
|
8849
|
-
htmlFor:
|
8850
|
-
httpEquiv:
|
8849
|
+
htmlFor: fe,
|
8850
|
+
httpEquiv: fe,
|
8851
8851
|
id: null,
|
8852
8852
|
imageSizes: null,
|
8853
8853
|
imageSrcSet: null,
|
@@ -8857,10 +8857,10 @@ const $a = Dt({
|
|
8857
8857
|
is: null,
|
8858
8858
|
isMap: X,
|
8859
8859
|
itemId: null,
|
8860
|
-
itemProp:
|
8861
|
-
itemRef:
|
8860
|
+
itemProp: fe,
|
8861
|
+
itemRef: fe,
|
8862
8862
|
itemScope: X,
|
8863
|
-
itemType:
|
8863
|
+
itemType: fe,
|
8864
8864
|
kind: null,
|
8865
8865
|
label: null,
|
8866
8866
|
lang: null,
|
@@ -8973,7 +8973,7 @@ const $a = Dt({
|
|
8973
8973
|
open: X,
|
8974
8974
|
optimum: A,
|
8975
8975
|
pattern: null,
|
8976
|
-
ping:
|
8976
|
+
ping: fe,
|
8977
8977
|
placeholder: null,
|
8978
8978
|
playsInline: X,
|
8979
8979
|
popover: null,
|
@@ -8983,12 +8983,12 @@ const $a = Dt({
|
|
8983
8983
|
preload: null,
|
8984
8984
|
readOnly: X,
|
8985
8985
|
referrerPolicy: null,
|
8986
|
-
rel:
|
8986
|
+
rel: fe,
|
8987
8987
|
required: X,
|
8988
8988
|
reversed: X,
|
8989
8989
|
rows: A,
|
8990
8990
|
rowSpan: A,
|
8991
|
-
sandbox:
|
8991
|
+
sandbox: fe,
|
8992
8992
|
scope: null,
|
8993
8993
|
scoped: X,
|
8994
8994
|
seamless: X,
|
@@ -9024,7 +9024,7 @@ const $a = Dt({
|
|
9024
9024
|
// Several. Use CSS `text-align` instead,
|
9025
9025
|
aLink: null,
|
9026
9026
|
// `<body>`. Use CSS `a:active {color}` instead
|
9027
|
-
archive:
|
9027
|
+
archive: fe,
|
9028
9028
|
// `<object>`. List of URIs to archives
|
9029
9029
|
axis: null,
|
9030
9030
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
@@ -9339,7 +9339,7 @@ const $a = Dt({
|
|
9339
9339
|
by: null,
|
9340
9340
|
calcMode: null,
|
9341
9341
|
capHeight: A,
|
9342
|
-
className:
|
9342
|
+
className: fe,
|
9343
9343
|
clip: null,
|
9344
9344
|
clipPath: null,
|
9345
9345
|
clipPathUnits: null,
|
@@ -9574,7 +9574,7 @@ const $a = Dt({
|
|
9574
9574
|
patternTransform: null,
|
9575
9575
|
patternUnits: null,
|
9576
9576
|
phase: null,
|
9577
|
-
ping:
|
9577
|
+
ping: fe,
|
9578
9578
|
pitch: null,
|
9579
9579
|
playbackOrder: null,
|
9580
9580
|
pointerEvents: null,
|
@@ -9891,31 +9891,31 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
|
|
9891
9891
|
return [];
|
9892
9892
|
t = t || {};
|
9893
9893
|
var n = 1, r = 1;
|
9894
|
-
function i(
|
9895
|
-
var x =
|
9894
|
+
function i(D) {
|
9895
|
+
var x = D.match(Mh);
|
9896
9896
|
x && (n += x.length);
|
9897
|
-
var k =
|
9898
|
-
r = ~k ?
|
9897
|
+
var k = D.lastIndexOf(Nh);
|
9898
|
+
r = ~k ? D.length - k : r + D.length;
|
9899
9899
|
}
|
9900
9900
|
function o() {
|
9901
|
-
var
|
9901
|
+
var D = { line: n, column: r };
|
9902
9902
|
return function(x) {
|
9903
|
-
return x.position = new a(
|
9903
|
+
return x.position = new a(D), u(), x;
|
9904
9904
|
};
|
9905
9905
|
}
|
9906
|
-
function a(
|
9907
|
-
this.start =
|
9906
|
+
function a(D) {
|
9907
|
+
this.start = D, this.end = { line: n, column: r }, this.source = t.source;
|
9908
9908
|
}
|
9909
9909
|
a.prototype.content = e;
|
9910
|
-
function l(
|
9910
|
+
function l(D) {
|
9911
9911
|
var x = new Error(
|
9912
|
-
t.source + ":" + n + ":" + r + ": " +
|
9912
|
+
t.source + ":" + n + ":" + r + ": " + D
|
9913
9913
|
);
|
9914
|
-
if (x.reason =
|
9914
|
+
if (x.reason = D, x.filename = t.source, x.line = n, x.column = r, x.source = e, !t.silent)
|
9915
9915
|
throw x;
|
9916
9916
|
}
|
9917
|
-
function s(
|
9918
|
-
var x =
|
9917
|
+
function s(D) {
|
9918
|
+
var x = D.exec(e);
|
9919
9919
|
if (x) {
|
9920
9920
|
var k = x[0];
|
9921
9921
|
return i(k), e = e.slice(k.length), x;
|
@@ -9924,32 +9924,32 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
|
|
9924
9924
|
function u() {
|
9925
9925
|
s(xh);
|
9926
9926
|
}
|
9927
|
-
function c(
|
9927
|
+
function c(D) {
|
9928
9928
|
var x;
|
9929
|
-
for (
|
9930
|
-
x !== !1 &&
|
9931
|
-
return
|
9929
|
+
for (D = D || []; x = f(); )
|
9930
|
+
x !== !1 && D.push(x);
|
9931
|
+
return D;
|
9932
9932
|
}
|
9933
9933
|
function f() {
|
9934
|
-
var
|
9934
|
+
var D = o();
|
9935
9935
|
if (!(wo != e.charAt(0) || vo != e.charAt(1))) {
|
9936
9936
|
for (var x = 2; ft != e.charAt(x) && (vo != e.charAt(x) || wo != e.charAt(x + 1)); )
|
9937
9937
|
++x;
|
9938
9938
|
if (x += 2, ft === e.charAt(x - 1))
|
9939
9939
|
return l("End of comment missing");
|
9940
9940
|
var k = e.slice(2, x - 2);
|
9941
|
-
return r += 2, i(k), e = e.slice(x), r += 2,
|
9941
|
+
return r += 2, i(k), e = e.slice(x), r += 2, D({
|
9942
9942
|
type: kh,
|
9943
9943
|
comment: k
|
9944
9944
|
});
|
9945
9945
|
}
|
9946
9946
|
}
|
9947
9947
|
function m() {
|
9948
|
-
var
|
9948
|
+
var D = o(), x = s(wh);
|
9949
9949
|
if (x) {
|
9950
9950
|
if (f(), !s(vh))
|
9951
9951
|
return l("property missing ':'");
|
9952
|
-
var k = s(Th), b =
|
9952
|
+
var k = s(Th), b = D({
|
9953
9953
|
type: jh,
|
9954
9954
|
property: To(x[0].replace(xo, ft)),
|
9955
9955
|
value: k ? To(k[0].replace(xo, ft)) : ft
|
@@ -9958,11 +9958,11 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
|
|
9958
9958
|
}
|
9959
9959
|
}
|
9960
9960
|
function p() {
|
9961
|
-
var
|
9962
|
-
c(
|
9961
|
+
var D = [];
|
9962
|
+
c(D);
|
9963
9963
|
for (var x; x = m(); )
|
9964
|
-
x !== !1 && (
|
9965
|
-
return
|
9964
|
+
x !== !1 && (D.push(x), c(D));
|
9965
|
+
return D;
|
9966
9966
|
}
|
9967
9967
|
return u(), p();
|
9968
9968
|
};
|
@@ -10001,7 +10001,7 @@ function zh(e, t, n, r) {
|
|
10001
10001
|
const m = t.position || {
|
10002
10002
|
start: { line: null, column: null, offset: null },
|
10003
10003
|
end: { line: null, column: null, offset: null }
|
10004
|
-
}, p = i.components && kr.call(i.components, l) ? i.components[l] : l,
|
10004
|
+
}, p = i.components && kr.call(i.components, l) ? i.components[l] : l, D = typeof p == "string" || p === nt.Fragment;
|
10005
10005
|
if (!gh.isValidElementType(p))
|
10006
10006
|
throw new TypeError(
|
10007
10007
|
`Component for name \`${l}\` not defined or is not renderable`
|
@@ -10014,15 +10014,15 @@ function zh(e, t, n, r) {
|
|
10014
10014
|
String(s.href || ""),
|
10015
10015
|
t.children,
|
10016
10016
|
typeof s.title == "string" ? s.title : null
|
10017
|
-
)), !
|
10017
|
+
)), !D && l === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !D && (l === "h1" || l === "h2" || l === "h3" || l === "h4" || l === "h5" || l === "h6") && (s.level = Number.parseInt(l.charAt(1), 10)), l === "img" && i.transformImageUri && (s.src = i.transformImageUri(
|
10018
10018
|
String(s.src || ""),
|
10019
10019
|
String(s.alt || ""),
|
10020
10020
|
typeof s.title == "string" ? s.title : null
|
10021
|
-
)), !
|
10021
|
+
)), !D && l === "li" && r.type === "element") {
|
10022
10022
|
const x = Lh(t);
|
10023
10023
|
s.checked = x && x.properties ? !!x.properties.checked : null, s.index = ar(r, t), s.ordered = r.tagName === "ol";
|
10024
10024
|
}
|
10025
|
-
return !
|
10025
|
+
return !D && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), D || (s.isHeader = l === "th")), !D && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Rh(m)), !D && i.rawSourcePos && (s.sourcePosition = t.position), !D && i.includeElementIndex && (s.index = ar(r, t), s.siblingCount = ar(r)), D || (s.node = t), f.length > 0 ? nt.createElement(p, s, f) : nt.createElement(p, s);
|
10026
10026
|
}
|
10027
10027
|
function Lh(e) {
|
10028
10028
|
let t = -1;
|
@@ -10378,7 +10378,7 @@ function _n({
|
|
10378
10378
|
text: a,
|
10379
10379
|
userTrackingName: l
|
10380
10380
|
}) {
|
10381
|
-
const [s, u] = ye(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: p } = Le(_e),
|
10381
|
+
const [s, u] = ye(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: p } = Le(_e), D = Ht(
|
10382
10382
|
(b) => {
|
10383
10383
|
var z, E, _, Q;
|
10384
10384
|
((z = b == null ? void 0 : b.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (E = window == null ? void 0 : window.OnetrustActiveGroups) != null && E.includes("C0003")) && Ee.set(`${f}-live-chat-open`, 1, {
|
@@ -10398,16 +10398,16 @@ function _n({
|
|
10398
10398
|
let b, z;
|
10399
10399
|
return p.liveChat.enabled && (window.Five9ChatPlugin || (b = document.createElement("script"), b.type = "text/javascript", b.src = p.liveChat.sourceCode, b.async = !0, b.onload = () => {
|
10400
10400
|
window.Five9ChatPlugin(p.liveChat.options);
|
10401
|
-
}, document.body.appendChild(b)), window.addEventListener("message",
|
10401
|
+
}, document.body.appendChild(b)), window.addEventListener("message", D), window.addEventListener("message", x), z = setTimeout(() => {
|
10402
10402
|
u(!1);
|
10403
10403
|
}, 3e3)), () => {
|
10404
|
-
p.liveChat.enabled && (window.removeEventListener("message",
|
10404
|
+
p.liveChat.enabled && (window.removeEventListener("message", D), window.removeEventListener("message", x), clearTimeout(z));
|
10405
10405
|
};
|
10406
10406
|
}, [
|
10407
10407
|
p.liveChat.enabled,
|
10408
10408
|
p.liveChat.options,
|
10409
10409
|
p.liveChat.sourceCode,
|
10410
|
-
|
10410
|
+
D,
|
10411
10411
|
x
|
10412
10412
|
]);
|
10413
10413
|
const k = () => {
|
@@ -10704,10 +10704,10 @@ const Xh = ti, Pn = ({
|
|
10704
10704
|
"aria-busy": t,
|
10705
10705
|
style: { display: "flex", flexDirection: "column" },
|
10706
10706
|
children: e.map(
|
10707
|
-
(p,
|
10707
|
+
(p, D) => p.role === "assistant" ? /* @__PURE__ */ v.jsx(
|
10708
10708
|
Vh,
|
10709
10709
|
{
|
10710
|
-
index:
|
10710
|
+
index: D,
|
10711
10711
|
message: p,
|
10712
10712
|
isNormalSize: n,
|
10713
10713
|
onFeedbackThumbSelection: r,
|
@@ -10717,14 +10717,14 @@ const Xh = ti, Pn = ({
|
|
10717
10717
|
setLiveChatOpen: l,
|
10718
10718
|
isTestUser: s
|
10719
10719
|
},
|
10720
|
-
`${p.role}-${
|
10720
|
+
`${p.role}-${D}`
|
10721
10721
|
) : /* @__PURE__ */ v.jsx(
|
10722
10722
|
Xh,
|
10723
10723
|
{
|
10724
10724
|
content: p.content,
|
10725
10725
|
isNormalSize: n
|
10726
10726
|
},
|
10727
|
-
`${p.role}-${p.timestamp ||
|
10727
|
+
`${p.role}-${p.timestamp || D}`
|
10728
10728
|
)
|
10729
10729
|
)
|
10730
10730
|
}
|
@@ -10855,8 +10855,8 @@ function tl({
|
|
10855
10855
|
showMessage: i = !1,
|
10856
10856
|
style: o = {}
|
10857
10857
|
}) {
|
10858
|
-
var
|
10859
|
-
const { proactiveMessage: a } = Le(_e), [l, s] = ye(!0), [u, c] = ye(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((
|
10858
|
+
var D;
|
10859
|
+
const { proactiveMessage: a } = Le(_e), [l, s] = ye(!0), [u, c] = ye(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((D = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : D.includes("C0003"))) && Ee.get(t) === void 0;
|
10860
10860
|
Me(() => {
|
10861
10861
|
var x;
|
10862
10862
|
(x = window == null ? void 0 : window.OneTrust) == null || x.OnConsentChanged(() => {
|
@@ -11030,7 +11030,7 @@ function ni({ submitEventExternal: e }) {
|
|
11030
11030
|
userTracking: o,
|
11031
11031
|
webExperimentation: a,
|
11032
11032
|
xpertKey: l
|
11033
|
-
} = Le(_e), s = ot(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p,
|
11033
|
+
} = Le(_e), s = ot(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p, D] = ye(ag), [x, k] = ye(!1), [b, z] = ye(!1), [E, _] = ye(!1), [Q, M] = ye(""), [L, Y] = ye(!1), [q, ee] = ye(!0), [S, w] = ye(!1), [j, O] = ye(!1), [P, $] = ye(!1), G = We(null), Z = We(null), ie = We(null), h = Ee.get(`${l}-test`) === "1";
|
11034
11034
|
eg(
|
11035
11035
|
n.liveChat.enabled,
|
11036
11036
|
E,
|
@@ -11071,7 +11071,7 @@ function ni({ submitEventExternal: e }) {
|
|
11071
11071
|
if (!W.ok)
|
11072
11072
|
throw new lr(`HTTPError: ${W.status} ${W.statusText}`);
|
11073
11073
|
const be = await W.json();
|
11074
|
-
|
11074
|
+
D(
|
11075
11075
|
be.map((se) => ({
|
11076
11076
|
...se,
|
11077
11077
|
disableFeedback: !0
|
@@ -11105,46 +11105,46 @@ function ni({ submitEventExternal: e }) {
|
|
11105
11105
|
}, [a.enabled, a.experimentName]), Me(() => {
|
11106
11106
|
let F, W;
|
11107
11107
|
return F = setInterval(() => {
|
11108
|
-
var C, U, K,
|
11108
|
+
var C, U, K, J, ue;
|
11109
11109
|
console.log(
|
11110
11110
|
"Chatbot - Finding Mobile banners",
|
11111
11111
|
s,
|
11112
11112
|
f
|
11113
11113
|
);
|
11114
|
-
const se = (C = document.querySelectorAll(".branch-banner-ios")) == null ? void 0 : C[0],
|
11114
|
+
const se = (C = document.querySelectorAll(".branch-banner-ios")) == null ? void 0 : C[0], Ie = (U = document.querySelectorAll(
|
11115
11115
|
".branch-banner-android"
|
11116
|
-
)) == null ? void 0 : U[0],
|
11116
|
+
)) == null ? void 0 : U[0], T = (K = document.querySelectorAll(
|
11117
11117
|
".onetrust-banner-sdk"
|
11118
11118
|
)) == null ? void 0 : K[0];
|
11119
|
-
if ((se ||
|
11119
|
+
if ((se || Ie || T && ((J = T == null ? void 0 : T.style) == null ? void 0 : J.display) !== "none") && s && !f && (console.log("Chatbot - Mobile banners found"), m(!0)), !se && !Ie && (!T || ((ue = T == null ? void 0 : T.style) == null ? void 0 : ue.display) === "none") && s && f) {
|
11120
11120
|
console.log("Chatbot - Mobile banners not found");
|
11121
|
-
const
|
11121
|
+
const Te = document.getElementById(
|
11122
11122
|
"xpert_chatbot__proactive-message"
|
11123
11123
|
);
|
11124
|
-
|
11125
|
-
const
|
11124
|
+
Te && (Te.style.bottom = "6rem");
|
11125
|
+
const De = document.getElementById(
|
11126
11126
|
"xpert_chatbot__floating-action-btn"
|
11127
11127
|
);
|
11128
|
-
|
11128
|
+
De && (De.style.bottom = "0rem"), clearInterval(F), clearTimeout(W);
|
11129
11129
|
}
|
11130
11130
|
}, 1e3), W = setTimeout(() => {
|
11131
|
-
var
|
11131
|
+
var C, U, K, J, ue;
|
11132
11132
|
console.log("Chatbot - Mobile banner search time out"), clearInterval(F);
|
11133
|
-
const se = document.querySelectorAll(
|
11134
|
-
|
11135
|
-
),
|
11133
|
+
const se = (C = document.querySelectorAll(".branch-banner-ios")) == null ? void 0 : C[0], Ie = (U = document.querySelectorAll(
|
11134
|
+
".branch-banner-android"
|
11135
|
+
)) == null ? void 0 : U[0], T = (K = document.querySelectorAll(
|
11136
11136
|
".onetrust-banner-sdk"
|
11137
|
-
)) == null ? void 0 :
|
11138
|
-
if ((se == null ? void 0 :
|
11137
|
+
)) == null ? void 0 : K[0];
|
11138
|
+
if ((se || Ie || T && ((J = T == null ? void 0 : T.style) == null ? void 0 : J.display) !== "none") && s && !f && (console.log("Chatbot - Mobile banners found"), m(!0)), !se && !Ie && (!T || ((ue = T == null ? void 0 : T.style) == null ? void 0 : ue.display) === "none") && s && f) {
|
11139
11139
|
console.log("Chatbot - Mobile banners not found");
|
11140
|
-
const
|
11140
|
+
const Te = document.getElementById(
|
11141
11141
|
"xpert_chatbot__proactive-message"
|
11142
11142
|
);
|
11143
|
-
|
11144
|
-
const
|
11143
|
+
Te && (Te.style.bottom = "6rem");
|
11144
|
+
const De = document.getElementById(
|
11145
11145
|
"xpert_chatbot__floating-action-btn"
|
11146
11146
|
);
|
11147
|
-
|
11147
|
+
De && (De.style.bottom = "0rem");
|
11148
11148
|
}
|
11149
11149
|
}, 6e4), () => {
|
11150
11150
|
clearInterval(F), clearTimeout(W);
|
@@ -11170,7 +11170,7 @@ function ni({ submitEventExternal: e }) {
|
|
11170
11170
|
), h || console.log(`Chatbot - Test user not setup: ${l}, ${h}`), null;
|
11171
11171
|
if (o.prefix && !(($e = ie == null ? void 0 : ie.current) != null && $e.track) && !e)
|
11172
11172
|
return console.log(`Chatbot - Segment not setup: ${l}`), null;
|
11173
|
-
const
|
11173
|
+
const Ne = () => {
|
11174
11174
|
M(""), Z.current.value = "", Z.current.style.height = "auto";
|
11175
11175
|
}, ae = (F, W) => {
|
11176
11176
|
ne({
|
@@ -11184,12 +11184,12 @@ function ni({ submitEventExternal: e }) {
|
|
11184
11184
|
conversationHistoryId: W
|
11185
11185
|
}
|
11186
11186
|
});
|
11187
|
-
},
|
11187
|
+
}, ke = ({
|
11188
11188
|
conversationSize: F,
|
11189
11189
|
userInputMessage: W,
|
11190
11190
|
apiResponseMessage: be,
|
11191
11191
|
elapsedSeconds: se,
|
11192
|
-
conversationByteSize:
|
11192
|
+
conversationByteSize: Ie
|
11193
11193
|
}) => {
|
11194
11194
|
ne({
|
11195
11195
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
|
@@ -11201,7 +11201,7 @@ function ni({ submitEventExternal: e }) {
|
|
11201
11201
|
userInputMessage: W,
|
11202
11202
|
apiResponseMessage: be,
|
11203
11203
|
elapsedSeconds: se,
|
11204
|
-
conversationByteSize:
|
11204
|
+
conversationByteSize: Ie
|
11205
11205
|
}
|
11206
11206
|
});
|
11207
11207
|
}, ve = async (F) => {
|
@@ -11210,7 +11210,7 @@ function ni({ submitEventExternal: e }) {
|
|
11210
11210
|
return;
|
11211
11211
|
const W = /* @__PURE__ */ new Date();
|
11212
11212
|
$(!1), Y(!1);
|
11213
|
-
const be = p.filter((
|
11213
|
+
const be = p.filter((ue) => ue.role === "user").length + 1;
|
11214
11214
|
ne({
|
11215
11215
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
11216
11216
|
payload: {
|
@@ -11220,67 +11220,67 @@ function ni({ submitEventExternal: e }) {
|
|
11220
11220
|
userInputMessage: F,
|
11221
11221
|
isTestUser: h
|
11222
11222
|
}
|
11223
|
-
}),
|
11223
|
+
}), Ne();
|
11224
11224
|
let se = Ee.get(`${l}-conversation-history-id`) || "";
|
11225
|
-
!se && n.conversationHistory.enabled ?
|
11225
|
+
!se && n.conversationHistory.enabled ? D([
|
11226
11226
|
{
|
11227
11227
|
role: "user",
|
11228
11228
|
content: F
|
11229
11229
|
}
|
11230
|
-
]) :
|
11230
|
+
]) : D([
|
11231
11231
|
...p,
|
11232
11232
|
{
|
11233
11233
|
role: "user",
|
11234
11234
|
content: F
|
11235
11235
|
}
|
11236
11236
|
]), k(!0);
|
11237
|
-
const
|
11237
|
+
const Ie = [
|
11238
11238
|
...p,
|
11239
11239
|
{
|
11240
11240
|
role: "user",
|
11241
11241
|
content: F
|
11242
11242
|
}
|
11243
|
-
].map((
|
11244
|
-
role:
|
11245
|
-
content:
|
11246
|
-
})),
|
11243
|
+
].map((ue) => ({
|
11244
|
+
role: ue.role,
|
11245
|
+
content: ue.content
|
11246
|
+
})), T = await fetch(t.endpoint, {
|
11247
11247
|
method: "POST",
|
11248
11248
|
headers: {
|
11249
11249
|
"Content-Type": "application/json",
|
11250
11250
|
"Conversation-History-Id": se
|
11251
11251
|
},
|
11252
11252
|
body: JSON.stringify({
|
11253
|
-
message_list:
|
11253
|
+
message_list: Ie,
|
11254
11254
|
...t.payloadParams
|
11255
11255
|
})
|
11256
11256
|
});
|
11257
|
-
if (!
|
11258
|
-
throw new lr(`HTTPError: ${
|
11259
|
-
se =
|
11257
|
+
if (!T.ok)
|
11258
|
+
throw new lr(`HTTPError: ${T.status} ${T.statusText}`);
|
11259
|
+
se = T.headers.get("Conversation-History-Id"), se && Ee.set(
|
11260
11260
|
`${l}-conversation-history-id`,
|
11261
11261
|
se,
|
11262
11262
|
{ expires: 1 }
|
11263
11263
|
);
|
11264
|
-
const C = await
|
11264
|
+
const C = await T.json(), U = C.content, K = C.live_agent;
|
11265
11265
|
ae(U, se);
|
11266
|
-
const
|
11267
|
-
|
11268
|
-
conversationByteSize: og(JSON.stringify(
|
11266
|
+
const J = /* @__PURE__ */ new Date();
|
11267
|
+
ke({
|
11268
|
+
conversationByteSize: og(JSON.stringify(Ie)),
|
11269
11269
|
conversationSize: p.length + 2,
|
11270
11270
|
userInputMessage: F,
|
11271
11271
|
apiResponseMessage: U,
|
11272
|
-
elapsedSeconds: rg(W,
|
11273
|
-
}),
|
11274
|
-
...
|
11272
|
+
elapsedSeconds: rg(W, J)
|
11273
|
+
}), D((ue) => [
|
11274
|
+
...ue,
|
11275
11275
|
{
|
11276
11276
|
role: "assistant",
|
11277
11277
|
content: U,
|
11278
11278
|
liveAgent: K,
|
11279
11279
|
createdAt: /* @__PURE__ */ new Date()
|
11280
11280
|
}
|
11281
|
-
]), O(!1), k(!1),
|
11281
|
+
]), O(!1), k(!1), Ne(), $(!0);
|
11282
11282
|
} catch (W) {
|
11283
|
-
k(!1),
|
11283
|
+
k(!1), Ne(), Y(!0), console.error(W);
|
11284
11284
|
}
|
11285
11285
|
}, Fe = () => {
|
11286
11286
|
_(!1), z(!0), ne({
|
@@ -11299,7 +11299,7 @@ function ni({ submitEventExternal: e }) {
|
|
11299
11299
|
label: "xpert-chatbot",
|
11300
11300
|
isTestUser: h
|
11301
11301
|
}
|
11302
|
-
}),
|
11302
|
+
}), ee(F);
|
11303
11303
|
}, Ke = () => {
|
11304
11304
|
z(!0), ne({
|
11305
11305
|
name: `${o.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
|
@@ -11339,7 +11339,7 @@ function ni({ submitEventExternal: e }) {
|
|
11339
11339
|
}, mt = (F) => {
|
11340
11340
|
F.key === "Enter" && Q.trim() === "" || F.key === "Enter" && !F.shiftKey && (F.preventDefault(), ve(Q));
|
11341
11341
|
}, yt = (F, W = "") => {
|
11342
|
-
const be = p.map((se,
|
11342
|
+
const be = p.map((se, Ie) => F === Ie ? (ne({
|
11343
11343
|
name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${W.toLowerCase()}.clicked`,
|
11344
11344
|
payload: {
|
11345
11345
|
category: "2u",
|
@@ -11353,7 +11353,7 @@ function ni({ submitEventExternal: e }) {
|
|
11353
11353
|
...se,
|
11354
11354
|
feedbackThumbType: W
|
11355
11355
|
}) : se);
|
11356
|
-
|
11356
|
+
D(be), O(!1);
|
11357
11357
|
}, 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;
|
11358
11358
|
return (
|
11359
11359
|
// do not remove this class as it's needed to turn off chatbot
|