@2uinc/frontend-component-xpert-chatbot 1.7.0-alpha.1 → 1.7.0-beta.2
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 +201 -197
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -13,7 +13,7 @@ const Jl = {
|
|
13
13
|
userTracking: {
|
14
14
|
enabled: !0,
|
15
15
|
prefix: "edx",
|
16
|
-
|
16
|
+
defaultProperties: null
|
17
17
|
},
|
18
18
|
webExperimentation: {
|
19
19
|
enabled: !1,
|
@@ -96,7 +96,7 @@ const Jl = {
|
|
96
96
|
userTracking: {
|
97
97
|
enabled: !0,
|
98
98
|
prefix: "speech.emerson",
|
99
|
-
|
99
|
+
defaultProperties: null
|
100
100
|
},
|
101
101
|
webExperimentation: {
|
102
102
|
enabled: !0,
|
@@ -188,7 +188,7 @@ const Jl = {
|
|
188
188
|
userTracking: {
|
189
189
|
enabled: !0,
|
190
190
|
prefix: "get.smarter",
|
191
|
-
|
191
|
+
defaultProperties: null
|
192
192
|
},
|
193
193
|
webExperimentation: {
|
194
194
|
enabled: !1,
|
@@ -403,7 +403,7 @@ const N = /* @__PURE__ */ nt(Q);
|
|
403
403
|
var pn = { exports: {} };
|
404
404
|
pn.exports;
|
405
405
|
(function(e, t) {
|
406
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", q = "[object Set]", M = "[object String]",
|
406
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", q = "[object Set]", M = "[object String]", P = "[object Undefined]", H = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", A = "[object Float32Array]", b = "[object Float64Array]", I = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", U = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", V = "[object Uint16Array]", re = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ue = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
|
407
407
|
h[A] = h[b] = h[I] = h[z] = h[L] = h[U] = h[_] = h[V] = h[re] = !0, h[l] = h[u] = h[G] = h[c] = h[K] = h[p] = h[m] = h[d] = h[x] = h[j] = h[C] = h[W] = h[q] = h[M] = h[H] = !1;
|
408
408
|
var ge = typeof Jt == "object" && Jt && Jt.Object === Object && Jt, De = typeof self == "object" && self && self.Object === Object && self, ie = ge || De || Function("return this")(), Te = t && !t.nodeType && t, be = Te && !0 && e && !e.nodeType && e, Be = be && be.exports === Te, ze = Be && ge.process, Ke = function() {
|
409
409
|
try {
|
@@ -426,9 +426,9 @@ pn.exports;
|
|
426
426
|
return f.apply(y, w);
|
427
427
|
}
|
428
428
|
function Nt(f, y) {
|
429
|
-
for (var w = -1,
|
430
|
-
|
431
|
-
return
|
429
|
+
for (var w = -1, F = Array(f); ++w < f; )
|
430
|
+
F[w] = y(w);
|
431
|
+
return F;
|
432
432
|
}
|
433
433
|
function gt(f) {
|
434
434
|
return function(y) {
|
@@ -450,11 +450,11 @@ pn.exports;
|
|
450
450
|
"^" + je.call(xe).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
451
451
|
), O = Be ? ie.Buffer : void 0, Y = ie.Symbol, ee = ie.Uint8Array, ne = O ? O.allocUnsafe : void 0, Ie = at(Object.getPrototypeOf, Object), Qe = Object.create, Ye = me.propertyIsEnumerable, lt = R.splice, Ee = Y ? Y.toStringTag : void 0, se = function() {
|
452
452
|
try {
|
453
|
-
var f =
|
453
|
+
var f = Fn(Object, "defineProperty");
|
454
454
|
return f({}, "", {}), f;
|
455
455
|
} catch {
|
456
456
|
}
|
457
|
-
}(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr =
|
457
|
+
}(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Fn(ie, "Map"), At = Fn(Object, "create"), Ka = function() {
|
458
458
|
function f() {
|
459
459
|
}
|
460
460
|
return function(y) {
|
@@ -470,8 +470,8 @@ pn.exports;
|
|
470
470
|
function ut(f) {
|
471
471
|
var y = -1, w = f == null ? 0 : f.length;
|
472
472
|
for (this.clear(); ++y < w; ) {
|
473
|
-
var
|
474
|
-
this.set(
|
473
|
+
var F = f[y];
|
474
|
+
this.set(F[0], F[1]);
|
475
475
|
}
|
476
476
|
}
|
477
477
|
function Xa() {
|
@@ -501,8 +501,8 @@ pn.exports;
|
|
501
501
|
function Ze(f) {
|
502
502
|
var y = -1, w = f == null ? 0 : f.length;
|
503
503
|
for (this.clear(); ++y < w; ) {
|
504
|
-
var
|
505
|
-
this.set(
|
504
|
+
var F = f[y];
|
505
|
+
this.set(F[0], F[1]);
|
506
506
|
}
|
507
507
|
}
|
508
508
|
function rl() {
|
@@ -512,8 +512,8 @@ pn.exports;
|
|
512
512
|
var y = this.__data__, w = Gt(y, f);
|
513
513
|
if (w < 0)
|
514
514
|
return !1;
|
515
|
-
var
|
516
|
-
return w ==
|
515
|
+
var F = y.length - 1;
|
516
|
+
return w == F ? y.pop() : lt.call(y, w, 1), --this.size, !0;
|
517
517
|
}
|
518
518
|
function ol(f) {
|
519
519
|
var y = this.__data__, w = Gt(y, f);
|
@@ -523,15 +523,15 @@ pn.exports;
|
|
523
523
|
return Gt(this.__data__, f) > -1;
|
524
524
|
}
|
525
525
|
function ll(f, y) {
|
526
|
-
var w = this.__data__,
|
527
|
-
return
|
526
|
+
var w = this.__data__, F = Gt(w, f);
|
527
|
+
return F < 0 ? (++this.size, w.push([f, y])) : w[F][1] = y, this;
|
528
528
|
}
|
529
529
|
Ze.prototype.clear = rl, Ze.prototype.delete = il, Ze.prototype.get = ol, Ze.prototype.has = al, Ze.prototype.set = ll;
|
530
530
|
function mt(f) {
|
531
531
|
var y = -1, w = f == null ? 0 : f.length;
|
532
532
|
for (this.clear(); ++y < w; ) {
|
533
|
-
var
|
534
|
-
this.set(
|
533
|
+
var F = f[y];
|
534
|
+
this.set(F[0], F[1]);
|
535
535
|
}
|
536
536
|
}
|
537
537
|
function ul() {
|
@@ -552,8 +552,8 @@ pn.exports;
|
|
552
552
|
return Kt(this, f).has(f);
|
553
553
|
}
|
554
554
|
function pl(f, y) {
|
555
|
-
var w = Kt(this, f),
|
556
|
-
return w.set(f, y), this.size += w.size ==
|
555
|
+
var w = Kt(this, f), F = w.size;
|
556
|
+
return w.set(f, y), this.size += w.size == F ? 0 : 1, this;
|
557
557
|
}
|
558
558
|
mt.prototype.clear = ul, mt.prototype.delete = sl, mt.prototype.get = cl, mt.prototype.has = fl, mt.prototype.set = pl;
|
559
559
|
function yt(f) {
|
@@ -576,30 +576,30 @@ pn.exports;
|
|
576
576
|
function yl(f, y) {
|
577
577
|
var w = this.__data__;
|
578
578
|
if (w instanceof Ze) {
|
579
|
-
var
|
580
|
-
if (!Jr ||
|
581
|
-
return
|
582
|
-
w = this.__data__ = new mt(
|
579
|
+
var F = w.__data__;
|
580
|
+
if (!Jr || F.length < n - 1)
|
581
|
+
return F.push([f, y]), this.size = ++w.size, this;
|
582
|
+
w = this.__data__ = new mt(F);
|
583
583
|
}
|
584
584
|
return w.set(f, y), this.size = w.size, this;
|
585
585
|
}
|
586
586
|
yt.prototype.clear = dl, yt.prototype.delete = hl, yt.prototype.get = gl, yt.prototype.has = ml, yt.prototype.set = yl;
|
587
587
|
function Ml(f, y) {
|
588
|
-
var w = Un(f),
|
589
|
-
for (var
|
590
|
-
(y || xe.call(f,
|
591
|
-
(
|
592
|
-
J && (
|
593
|
-
le && (
|
594
|
-
ni(
|
588
|
+
var w = Un(f), F = !w && Rn(f), J = !w && !F && ii(f), le = !w && !F && !J && ai(f), pe = w || F || J || le, X = pe ? Nt(f.length, String) : [], de = X.length;
|
589
|
+
for (var Pe in f)
|
590
|
+
(y || xe.call(f, Pe)) && !(pe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
591
|
+
(Pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
592
|
+
J && (Pe == "offset" || Pe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
593
|
+
le && (Pe == "buffer" || Pe == "byteLength" || Pe == "byteOffset") || // Skip index properties.
|
594
|
+
ni(Pe, de))) && X.push(Pe);
|
595
595
|
return X;
|
596
596
|
}
|
597
597
|
function Ln(f, y, w) {
|
598
|
-
(w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) &&
|
598
|
+
(w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) && Pn(f, y, w);
|
599
599
|
}
|
600
600
|
function xl(f, y, w) {
|
601
|
-
var
|
602
|
-
(!(xe.call(f, y) && Xt(
|
601
|
+
var F = f[y];
|
602
|
+
(!(xe.call(f, y) && Xt(F, w)) || w === void 0 && !(y in f)) && Pn(f, y, w);
|
603
603
|
}
|
604
604
|
function Gt(f, y) {
|
605
605
|
for (var w = f.length; w--; )
|
@@ -607,7 +607,7 @@ pn.exports;
|
|
607
607
|
return w;
|
608
608
|
return -1;
|
609
609
|
}
|
610
|
-
function
|
610
|
+
function Pn(f, y, w) {
|
611
611
|
y == "__proto__" && se ? se(f, y, {
|
612
612
|
configurable: !0,
|
613
613
|
enumerable: !0,
|
@@ -617,7 +617,7 @@ pn.exports;
|
|
617
617
|
}
|
618
618
|
var bl = Ol();
|
619
619
|
function Zt(f) {
|
620
|
-
return f == null ? f === void 0 ?
|
620
|
+
return f == null ? f === void 0 ? P : v : Ee && Ee in Object(f) ? zl(f) : Ul(f);
|
621
621
|
}
|
622
622
|
function ei(f) {
|
623
623
|
return Ct(f) && Zt(f) == l;
|
@@ -635,24 +635,24 @@ pn.exports;
|
|
635
635
|
if (!st(f))
|
636
636
|
return Rl(f);
|
637
637
|
var y = ri(f), w = [];
|
638
|
-
for (var
|
639
|
-
|
638
|
+
for (var F in f)
|
639
|
+
F == "constructor" && (y || !xe.call(f, F)) || w.push(F);
|
640
640
|
return w;
|
641
641
|
}
|
642
|
-
function ti(f, y, w,
|
642
|
+
function ti(f, y, w, F, J) {
|
643
643
|
f !== y && bl(y, function(le, pe) {
|
644
644
|
if (J || (J = new yt()), st(le))
|
645
|
-
Tl(f, y, pe, w, ti,
|
645
|
+
Tl(f, y, pe, w, ti, F, J);
|
646
646
|
else {
|
647
|
-
var X =
|
647
|
+
var X = F ? F(_n(f, pe), le, pe + "", f, y, J) : void 0;
|
648
648
|
X === void 0 && (X = le), Ln(f, pe, X);
|
649
649
|
}
|
650
650
|
}, li);
|
651
651
|
}
|
652
|
-
function Tl(f, y, w,
|
653
|
-
var X = _n(f, w), de = _n(y, w),
|
654
|
-
if (
|
655
|
-
Ln(f, w,
|
652
|
+
function Tl(f, y, w, F, J, le, pe) {
|
653
|
+
var X = _n(f, w), de = _n(y, w), Pe = pe.get(de);
|
654
|
+
if (Pe) {
|
655
|
+
Ln(f, w, Pe);
|
656
656
|
return;
|
657
657
|
}
|
658
658
|
var Ae = le ? le(X, de, w + "", f, y, pe) : void 0, St = Ae === void 0;
|
@@ -660,7 +660,7 @@ pn.exports;
|
|
660
660
|
var Yn = Un(de), Hn = !Yn && ii(de), si = !Yn && !Hn && ai(de);
|
661
661
|
Ae = de, Yn || Hn || si ? Un(X) ? Ae = X : $l(X) ? Ae = Al(X) : Hn ? (St = !1, Ae = kl(de, !0)) : si ? (St = !1, Ae = El(de, !0)) : Ae = [] : ql(de) || Rn(de) ? (Ae = X, Rn(X) ? Ae = Vl(X) : (!st(X) || Qn(X)) && (Ae = Ll(de))) : St = !1;
|
662
662
|
}
|
663
|
-
St && (pe.set(de, Ae), J(Ae, de,
|
663
|
+
St && (pe.set(de, Ae), J(Ae, de, F, le, pe), pe.delete(de)), Ln(f, w, Ae);
|
664
664
|
}
|
665
665
|
function Il(f, y) {
|
666
666
|
return Ql(Bl(f, y, ui), f + "");
|
@@ -676,8 +676,8 @@ pn.exports;
|
|
676
676
|
function kl(f, y) {
|
677
677
|
if (y)
|
678
678
|
return f.slice();
|
679
|
-
var w = f.length,
|
680
|
-
return f.copy(
|
679
|
+
var w = f.length, F = ne ? ne(w) : new f.constructor(w);
|
680
|
+
return f.copy(F), F;
|
681
681
|
}
|
682
682
|
function jl(f) {
|
683
683
|
var y = new f.constructor(f.byteLength);
|
@@ -688,33 +688,33 @@ pn.exports;
|
|
688
688
|
return new f.constructor(w, f.byteOffset, f.length);
|
689
689
|
}
|
690
690
|
function Al(f, y) {
|
691
|
-
var w = -1,
|
692
|
-
for (y || (y = Array(
|
691
|
+
var w = -1, F = f.length;
|
692
|
+
for (y || (y = Array(F)); ++w < F; )
|
693
693
|
y[w] = f[w];
|
694
694
|
return y;
|
695
695
|
}
|
696
|
-
function Cl(f, y, w,
|
696
|
+
function Cl(f, y, w, F) {
|
697
697
|
var J = !w;
|
698
698
|
w || (w = {});
|
699
699
|
for (var le = -1, pe = y.length; ++le < pe; ) {
|
700
|
-
var X = y[le], de =
|
701
|
-
de === void 0 && (de = f[X]), J ?
|
700
|
+
var X = y[le], de = F ? F(w[X], f[X], X, w, f) : void 0;
|
701
|
+
de === void 0 && (de = f[X]), J ? Pn(w, X, de) : xl(w, X, de);
|
702
702
|
}
|
703
703
|
return w;
|
704
704
|
}
|
705
705
|
function Sl(f) {
|
706
706
|
return Il(function(y, w) {
|
707
|
-
var
|
708
|
-
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe &&
|
709
|
-
var X = w[
|
710
|
-
X && f(y, X,
|
707
|
+
var F = -1, J = w.length, le = J > 1 ? w[J - 1] : void 0, pe = J > 2 ? w[2] : void 0;
|
708
|
+
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe && Pl(w[0], w[1], pe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++F < J; ) {
|
709
|
+
var X = w[F];
|
710
|
+
X && f(y, X, F, le);
|
711
711
|
}
|
712
712
|
return y;
|
713
713
|
});
|
714
714
|
}
|
715
715
|
function Ol(f) {
|
716
|
-
return function(y, w,
|
717
|
-
for (var J = -1, le = Object(y), pe =
|
716
|
+
return function(y, w, F) {
|
717
|
+
for (var J = -1, le = Object(y), pe = F(y), X = pe.length; X--; ) {
|
718
718
|
var de = pe[f ? X : ++J];
|
719
719
|
if (w(le[de], de, le) === !1)
|
720
720
|
break;
|
@@ -724,9 +724,9 @@ pn.exports;
|
|
724
724
|
}
|
725
725
|
function Kt(f, y) {
|
726
726
|
var w = f.__data__;
|
727
|
-
return
|
727
|
+
return Fl(y) ? w[typeof y == "string" ? "string" : "hash"] : w.map;
|
728
728
|
}
|
729
|
-
function
|
729
|
+
function Fn(f, y) {
|
730
730
|
var w = ot(f, y);
|
731
731
|
return wl(w) ? w : void 0;
|
732
732
|
}
|
@@ -734,11 +734,11 @@ pn.exports;
|
|
734
734
|
var y = xe.call(f, Ee), w = f[Ee];
|
735
735
|
try {
|
736
736
|
f[Ee] = void 0;
|
737
|
-
var
|
737
|
+
var F = !0;
|
738
738
|
} catch {
|
739
739
|
}
|
740
740
|
var J = Xe.call(f);
|
741
|
-
return
|
741
|
+
return F && (y ? f[Ee] = w : delete f[Ee]), J;
|
742
742
|
}
|
743
743
|
function Ll(f) {
|
744
744
|
return typeof f.constructor == "function" && !ri(f) ? Ka(Ie(f)) : {};
|
@@ -747,13 +747,13 @@ pn.exports;
|
|
747
747
|
var w = typeof f;
|
748
748
|
return y = y ?? a, !!y && (w == "number" || w != "symbol" && ye.test(f)) && f > -1 && f % 1 == 0 && f < y;
|
749
749
|
}
|
750
|
-
function
|
750
|
+
function Pl(f, y, w) {
|
751
751
|
if (!st(w))
|
752
752
|
return !1;
|
753
|
-
var
|
754
|
-
return (
|
753
|
+
var F = typeof y;
|
754
|
+
return (F == "number" ? Bn(w) && ni(y, w.length) : F == "string" && y in w) ? Xt(w[y], f) : !1;
|
755
755
|
}
|
756
|
-
function
|
756
|
+
function Fl(f) {
|
757
757
|
var y = typeof f;
|
758
758
|
return y == "string" || y == "number" || y == "symbol" || y == "boolean" ? f !== "__proto__" : f === null;
|
759
759
|
}
|
@@ -776,11 +776,11 @@ pn.exports;
|
|
776
776
|
}
|
777
777
|
function Bl(f, y, w) {
|
778
778
|
return y = Le(y === void 0 ? f.length - 1 : y, 0), function() {
|
779
|
-
for (var
|
780
|
-
pe[J] =
|
779
|
+
for (var F = arguments, J = -1, le = Le(F.length - y, 0), pe = Array(le); ++J < le; )
|
780
|
+
pe[J] = F[y + J];
|
781
781
|
J = -1;
|
782
782
|
for (var X = Array(y + 1); ++J < y; )
|
783
|
-
X[J] =
|
783
|
+
X[J] = F[J];
|
784
784
|
return X[y] = w(pe), It(f, this, X);
|
785
785
|
};
|
786
786
|
}
|
@@ -792,8 +792,8 @@ pn.exports;
|
|
792
792
|
function Yl(f) {
|
793
793
|
var y = 0, w = 0;
|
794
794
|
return function() {
|
795
|
-
var
|
796
|
-
if (w =
|
795
|
+
var F = Za(), J = o - (F - w);
|
796
|
+
if (w = F, J > 0) {
|
797
797
|
if (++y >= i)
|
798
798
|
return arguments[0];
|
799
799
|
} else
|
@@ -894,7 +894,7 @@ const No = /* @__PURE__ */ nt(hu), gu = {
|
|
894
894
|
userTracking: {
|
895
895
|
enabled: !0,
|
896
896
|
prefix: "exec.ed.ss.olc.moodle",
|
897
|
-
|
897
|
+
defaultProperties: null
|
898
898
|
},
|
899
899
|
webExperimentation: {
|
900
900
|
enabled: !1,
|
@@ -1021,7 +1021,7 @@ jo.propTypes = {
|
|
1021
1021
|
userTracking: Q.shape({
|
1022
1022
|
enabled: Q.bool.isRequired,
|
1023
1023
|
prefix: Q.string.isRequired,
|
1024
|
-
|
1024
|
+
defaultProperties: Q.object
|
1025
1025
|
}).isRequired,
|
1026
1026
|
webExperimentation: Q.shape({
|
1027
1027
|
enabled: Q.bool.isRequired,
|
@@ -1439,7 +1439,7 @@ function Su(e, t) {
|
|
1439
1439
|
}
|
1440
1440
|
const Ou = /\sid="(\S+)"/g, zu = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
1441
1441
|
let Lu = 0;
|
1442
|
-
function
|
1442
|
+
function Pu(e, t = zu) {
|
1443
1443
|
const n = [];
|
1444
1444
|
let r;
|
1445
1445
|
for (; r = Ou.exec(e); )
|
@@ -1458,7 +1458,7 @@ function Fu(e, t = zu) {
|
|
1458
1458
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
1459
1459
|
}
|
1460
1460
|
const lr = /* @__PURE__ */ Object.create(null);
|
1461
|
-
function
|
1461
|
+
function Fu(e, t) {
|
1462
1462
|
lr[e] = t;
|
1463
1463
|
}
|
1464
1464
|
function ur(e) {
|
@@ -1716,8 +1716,8 @@ function Xu(e, t, n, r) {
|
|
1716
1716
|
if (e.random) {
|
1717
1717
|
let M = e.resources.slice(0);
|
1718
1718
|
for (a = []; M.length > 1; ) {
|
1719
|
-
const
|
1720
|
-
a.push(M[
|
1719
|
+
const P = Math.floor(Math.random() * M.length);
|
1720
|
+
a.push(M[P]), M = M.slice(0, P).concat(M.slice(P + 1));
|
1721
1721
|
}
|
1722
1722
|
a = a.concat(M);
|
1723
1723
|
} else
|
@@ -1733,8 +1733,8 @@ function Xu(e, t, n, r) {
|
|
1733
1733
|
M.status === "pending" && (M.status = "aborted");
|
1734
1734
|
}), m = [];
|
1735
1735
|
}
|
1736
|
-
function j(M,
|
1737
|
-
|
1736
|
+
function j(M, P) {
|
1737
|
+
P && (d = []), typeof M == "function" && d.push(M);
|
1738
1738
|
}
|
1739
1739
|
function v() {
|
1740
1740
|
return {
|
@@ -1757,8 +1757,8 @@ function Xu(e, t, n, r) {
|
|
1757
1757
|
M.status === "pending" && (M.status = "aborted");
|
1758
1758
|
}), m = [];
|
1759
1759
|
}
|
1760
|
-
function W(M,
|
1761
|
-
const G =
|
1760
|
+
function W(M, P, H) {
|
1761
|
+
const G = P !== "success";
|
1762
1762
|
switch (m = m.filter((K) => K !== M), u) {
|
1763
1763
|
case "pending":
|
1764
1764
|
break;
|
@@ -1769,7 +1769,7 @@ function Xu(e, t, n, r) {
|
|
1769
1769
|
default:
|
1770
1770
|
return;
|
1771
1771
|
}
|
1772
|
-
if (
|
1772
|
+
if (P === "abort") {
|
1773
1773
|
c = H, C();
|
1774
1774
|
return;
|
1775
1775
|
}
|
@@ -1800,18 +1800,18 @@ function Xu(e, t, n, r) {
|
|
1800
1800
|
C();
|
1801
1801
|
return;
|
1802
1802
|
}
|
1803
|
-
const
|
1803
|
+
const P = {
|
1804
1804
|
status: "pending",
|
1805
1805
|
resource: M,
|
1806
1806
|
callback: (H, G) => {
|
1807
|
-
W(
|
1807
|
+
W(P, H, G);
|
1808
1808
|
}
|
1809
1809
|
};
|
1810
|
-
m.push(
|
1810
|
+
m.push(P), s++, p = setTimeout(q, e.rotate), n(M, t, P.callback);
|
1811
1811
|
}
|
1812
1812
|
return setTimeout(q), v;
|
1813
1813
|
}
|
1814
|
-
function
|
1814
|
+
function Po(e) {
|
1815
1815
|
const t = {
|
1816
1816
|
...Ku,
|
1817
1817
|
...e
|
@@ -1852,7 +1852,7 @@ function Ju(e) {
|
|
1852
1852
|
const t = jr(e);
|
1853
1853
|
if (!t)
|
1854
1854
|
return;
|
1855
|
-
const n =
|
1855
|
+
const n = Po(t), r = {
|
1856
1856
|
config: t,
|
1857
1857
|
redundancy: n
|
1858
1858
|
};
|
@@ -1872,14 +1872,14 @@ function es(e, t, n) {
|
|
1872
1872
|
} else {
|
1873
1873
|
const o = Nr(e);
|
1874
1874
|
if (o) {
|
1875
|
-
r =
|
1875
|
+
r = Po(o);
|
1876
1876
|
const a = e.resources ? e.resources[0] : "", l = ur(a);
|
1877
1877
|
l && (i = l.send);
|
1878
1878
|
}
|
1879
1879
|
}
|
1880
1880
|
return !r || !i ? (n(void 0, 424), mi) : r.query(t, i, n)().abort;
|
1881
1881
|
}
|
1882
|
-
const yi = "iconify2", $t = "iconify",
|
1882
|
+
const yi = "iconify2", $t = "iconify", Fo = $t + "-count", Mi = $t + "-version", _o = 36e5, ts = 168;
|
1883
1883
|
function sr(e, t) {
|
1884
1884
|
try {
|
1885
1885
|
return e.getItem(t);
|
@@ -1899,10 +1899,10 @@ function xi(e, t) {
|
|
1899
1899
|
}
|
1900
1900
|
}
|
1901
1901
|
function cr(e, t) {
|
1902
|
-
return Er(e,
|
1902
|
+
return Er(e, Fo, t.toString());
|
1903
1903
|
}
|
1904
1904
|
function fr(e) {
|
1905
|
-
return parseInt(sr(e,
|
1905
|
+
return parseInt(sr(e, Fo)) || 0;
|
1906
1906
|
}
|
1907
1907
|
const wn = {
|
1908
1908
|
local: !0,
|
@@ -2245,7 +2245,7 @@ const ws = (e, t, n, r) => {
|
|
2245
2245
|
}, Object.assign(s, p);
|
2246
2246
|
let v = 0, C = t.id;
|
2247
2247
|
return typeof C == "string" && (C = C.replace(/-/g, "_")), s.dangerouslySetInnerHTML = {
|
2248
|
-
__html: ys(
|
2248
|
+
__html: ys(Pu(c.body, C ? () => C + "ID" + v++ : "iconifyReact"))
|
2249
2249
|
}, ve.createElement("svg", s);
|
2250
2250
|
}
|
2251
2251
|
const { body: m, width: d, height: T } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), j = ps(m, {
|
@@ -2264,7 +2264,7 @@ const ws = (e, t, n, r) => {
|
|
2264
2264
|
}, ve.createElement("span", s);
|
2265
2265
|
};
|
2266
2266
|
So(!0);
|
2267
|
-
|
2267
|
+
Fu("", $u);
|
2268
2268
|
if (typeof document < "u" && typeof window < "u") {
|
2269
2269
|
Qo();
|
2270
2270
|
const e = window;
|
@@ -2879,10 +2879,10 @@ function zs(...e) {
|
|
2879
2879
|
function Ls(e) {
|
2880
2880
|
Vt(e);
|
2881
2881
|
const t = e.charCodeAt(0) === 47;
|
2882
|
-
let n =
|
2882
|
+
let n = Ps(e, !t);
|
2883
2883
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
2884
2884
|
}
|
2885
|
-
function
|
2885
|
+
function Ps(e, t) {
|
2886
2886
|
let n = "", r = 0, i = -1, o = 0, a = -1, l, u;
|
2887
2887
|
for (; ++a <= e.length; ) {
|
2888
2888
|
if (a < e.length)
|
@@ -2921,7 +2921,7 @@ function Vt(e) {
|
|
2921
2921
|
"Path must be a string. Received " + JSON.stringify(e)
|
2922
2922
|
);
|
2923
2923
|
}
|
2924
|
-
const
|
2924
|
+
const Fs = { cwd: _s };
|
2925
2925
|
function _s() {
|
2926
2926
|
return "/";
|
2927
2927
|
}
|
@@ -2992,7 +2992,7 @@ class Ko {
|
|
2992
2992
|
*/
|
2993
2993
|
constructor(t) {
|
2994
2994
|
let n;
|
2995
|
-
t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd =
|
2995
|
+
t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Fs.cwd(), this.value, this.stored, this.result, this.map;
|
2996
2996
|
let r = -1;
|
2997
2997
|
for (; ++r < Vn.length; ) {
|
2998
2998
|
const o = Vn[r];
|
@@ -3329,8 +3329,8 @@ function ea() {
|
|
3329
3329
|
q(M);
|
3330
3330
|
else if (typeof M == "object")
|
3331
3331
|
if (Array.isArray(M)) {
|
3332
|
-
const [
|
3333
|
-
q(
|
3332
|
+
const [P, ...H] = M;
|
3333
|
+
q(P, ...H);
|
3334
3334
|
} else
|
3335
3335
|
S(M);
|
3336
3336
|
else
|
@@ -3340,44 +3340,44 @@ function ea() {
|
|
3340
3340
|
W(M.plugins), M.settings && (v = Object.assign(v || {}, M.settings));
|
3341
3341
|
}
|
3342
3342
|
function W(M) {
|
3343
|
-
let
|
3343
|
+
let P = -1;
|
3344
3344
|
if (M != null)
|
3345
3345
|
if (Array.isArray(M))
|
3346
|
-
for (; ++
|
3347
|
-
const H = M[
|
3346
|
+
for (; ++P < M.length; ) {
|
3347
|
+
const H = M[P];
|
3348
3348
|
C(H);
|
3349
3349
|
}
|
3350
3350
|
else
|
3351
3351
|
throw new TypeError("Expected a list of plugins, not `" + M + "`");
|
3352
3352
|
}
|
3353
|
-
function q(M,
|
3353
|
+
function q(M, P) {
|
3354
3354
|
let H = -1, G;
|
3355
3355
|
for (; ++H < t.length; )
|
3356
3356
|
if (t[H][0] === M) {
|
3357
3357
|
G = t[H];
|
3358
3358
|
break;
|
3359
3359
|
}
|
3360
|
-
G ? (gr(G[1]) && gr(
|
3360
|
+
G ? (gr(G[1]) && gr(P) && (P = Li(!0, G[1], P)), G[1] = P) : t.push([...arguments]);
|
3361
3361
|
}
|
3362
3362
|
}
|
3363
3363
|
function s(x) {
|
3364
3364
|
o.freeze();
|
3365
3365
|
const j = zt(x), v = o.Parser;
|
3366
|
-
return Zn("parse", v),
|
3366
|
+
return Zn("parse", v), Pi(v, "parse") ? new v(String(j), j).parse() : v(String(j), j);
|
3367
3367
|
}
|
3368
3368
|
function c(x, j) {
|
3369
3369
|
o.freeze();
|
3370
3370
|
const v = zt(j), C = o.Compiler;
|
3371
|
-
return Kn("stringify", C),
|
3371
|
+
return Kn("stringify", C), Fi(x), Pi(C, "compile") ? new C(x, v).compile() : C(x, v);
|
3372
3372
|
}
|
3373
3373
|
function p(x, j, v) {
|
3374
|
-
if (
|
3374
|
+
if (Fi(x), o.freeze(), !v && typeof j == "function" && (v = j, j = void 0), !v)
|
3375
3375
|
return new Promise(C);
|
3376
3376
|
C(null, v);
|
3377
3377
|
function C(S, W) {
|
3378
3378
|
e.run(x, zt(j), q);
|
3379
|
-
function q(M,
|
3380
|
-
|
3379
|
+
function q(M, P, H) {
|
3380
|
+
P = P || x, M ? W(M) : S ? S(P) : v(null, P, H);
|
3381
3381
|
}
|
3382
3382
|
}
|
3383
3383
|
}
|
@@ -3394,16 +3394,16 @@ function ea() {
|
|
3394
3394
|
v(null, j);
|
3395
3395
|
function v(C, S) {
|
3396
3396
|
const W = zt(x);
|
3397
|
-
o.run(o.parse(W), W, (M,
|
3398
|
-
if (M || !
|
3397
|
+
o.run(o.parse(W), W, (M, P, H) => {
|
3398
|
+
if (M || !P || !H)
|
3399
3399
|
q(M);
|
3400
3400
|
else {
|
3401
|
-
const G = o.stringify(
|
3401
|
+
const G = o.stringify(P, H);
|
3402
3402
|
G == null || (Ws(G) ? H.value = G : H.result = G), q(M, H);
|
3403
3403
|
}
|
3404
3404
|
});
|
3405
|
-
function q(M,
|
3406
|
-
M || !
|
3405
|
+
function q(M, P) {
|
3406
|
+
M || !P ? S(M) : C ? C(P) : j(null, P);
|
3407
3407
|
}
|
3408
3408
|
}
|
3409
3409
|
}
|
@@ -3417,7 +3417,7 @@ function ea() {
|
|
3417
3417
|
}
|
3418
3418
|
}
|
3419
3419
|
}
|
3420
|
-
function
|
3420
|
+
function Pi(e, t) {
|
3421
3421
|
return typeof e == "function" && // Prototypes do exist.
|
3422
3422
|
// type-coverage:ignore-next-line
|
3423
3423
|
e.prototype && // A function with keys in its prototype is probably a constructor.
|
@@ -3447,7 +3447,7 @@ function Xn(e, t) {
|
|
3447
3447
|
"Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
|
3448
3448
|
);
|
3449
3449
|
}
|
3450
|
-
function
|
3450
|
+
function Fi(e) {
|
3451
3451
|
if (!gr(e) || typeof e.type != "string")
|
3452
3452
|
throw new TypeError("Expected node, got `" + e + "`");
|
3453
3453
|
}
|
@@ -3501,7 +3501,7 @@ function Ve(e, t, n, r) {
|
|
3501
3501
|
for (n && e.splice(t, n); o < r.length; )
|
3502
3502
|
a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
|
3503
3503
|
}
|
3504
|
-
function
|
3504
|
+
function Fe(e, t) {
|
3505
3505
|
return e.length > 0 ? (Ve(e, e.length, 0, t), e) : t;
|
3506
3506
|
}
|
3507
3507
|
const Ui = {}.hasOwnProperty;
|
@@ -3639,15 +3639,15 @@ function cc(e) {
|
|
3639
3639
|
break;
|
3640
3640
|
}
|
3641
3641
|
v(r);
|
3642
|
-
let
|
3643
|
-
for (;
|
3644
|
-
t.events[
|
3642
|
+
let P = W;
|
3643
|
+
for (; P < t.events.length; )
|
3644
|
+
t.events[P][1].end = Object.assign({}, M), P++;
|
3645
3645
|
return Ve(
|
3646
3646
|
t.events,
|
3647
3647
|
q + 1,
|
3648
3648
|
0,
|
3649
3649
|
t.events.slice(W)
|
3650
|
-
), t.events.length =
|
3650
|
+
), t.events.length = P, s(S);
|
3651
3651
|
}
|
3652
3652
|
return l(S);
|
3653
3653
|
}
|
@@ -3711,8 +3711,8 @@ function cc(e) {
|
|
3711
3711
|
i.events[M][1].end.offset > a)
|
3712
3712
|
)
|
3713
3713
|
return;
|
3714
|
-
const
|
3715
|
-
let H =
|
3714
|
+
const P = t.events.length;
|
3715
|
+
let H = P, G, K;
|
3716
3716
|
for (; H--; )
|
3717
3717
|
if (t.events[H][0] === "exit" && t.events[H][1].type === "chunkFlow") {
|
3718
3718
|
if (G) {
|
@@ -3721,13 +3721,13 @@ function cc(e) {
|
|
3721
3721
|
}
|
3722
3722
|
G = !0;
|
3723
3723
|
}
|
3724
|
-
for (v(r), M =
|
3724
|
+
for (v(r), M = P; M < t.events.length; )
|
3725
3725
|
t.events[M][1].end = Object.assign({}, K), M++;
|
3726
3726
|
Ve(
|
3727
3727
|
t.events,
|
3728
3728
|
H + 1,
|
3729
3729
|
0,
|
3730
|
-
t.events.slice(
|
3730
|
+
t.events.slice(P)
|
3731
3731
|
), t.events.length = M;
|
3732
3732
|
}
|
3733
3733
|
}
|
@@ -3798,27 +3798,27 @@ function pc(e, t) {
|
|
3798
3798
|
type: u > 1 ? "strong" : "emphasis",
|
3799
3799
|
start: Object.assign({}, a.start),
|
3800
3800
|
end: Object.assign({}, l.end)
|
3801
|
-
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s =
|
3801
|
+
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s = Fe(s, [
|
3802
3802
|
["enter", e[r][1], t],
|
3803
3803
|
["exit", e[r][1], t]
|
3804
|
-
])), s =
|
3804
|
+
])), s = Fe(s, [
|
3805
3805
|
["enter", i, t],
|
3806
3806
|
["enter", a, t],
|
3807
3807
|
["exit", a, t],
|
3808
3808
|
["enter", o, t]
|
3809
|
-
]), s =
|
3809
|
+
]), s = Fe(
|
3810
3810
|
s,
|
3811
3811
|
Or(
|
3812
3812
|
t.parser.constructs.insideSpan.null,
|
3813
3813
|
e.slice(r + 1, n),
|
3814
3814
|
t
|
3815
3815
|
)
|
3816
|
-
), s =
|
3816
|
+
), s = Fe(s, [
|
3817
3817
|
["exit", o, t],
|
3818
3818
|
["enter", l, t],
|
3819
3819
|
["exit", l, t],
|
3820
3820
|
["exit", i, t]
|
3821
|
-
]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s =
|
3821
|
+
]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s = Fe(s, [
|
3822
3822
|
["enter", e[n][1], t],
|
3823
3823
|
["exit", e[n][1], t]
|
3824
3824
|
])) : c = 0, Ve(e, r - 1, n - r + 3, s), n = r + s.length - c - 2;
|
@@ -4004,8 +4004,8 @@ function vc(e, t, n) {
|
|
4004
4004
|
return s(M);
|
4005
4005
|
}
|
4006
4006
|
function s(M) {
|
4007
|
-
const
|
4008
|
-
return o =
|
4007
|
+
const P = r.events[r.events.length - 1];
|
4008
|
+
return o = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, l = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(M);
|
4009
4009
|
}
|
4010
4010
|
function c(M) {
|
4011
4011
|
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), te(M) ? fe(e, p, "whitespace")(M) : p(M));
|
@@ -4049,7 +4049,7 @@ function vc(e, t, n) {
|
|
4049
4049
|
function W(M) {
|
4050
4050
|
return e.exit("codeFenced"), t(M);
|
4051
4051
|
}
|
4052
|
-
function q(M,
|
4052
|
+
function q(M, P, H) {
|
4053
4053
|
let G = 0;
|
4054
4054
|
return K;
|
4055
4055
|
function K(L) {
|
@@ -4070,7 +4070,7 @@ function vc(e, t, n) {
|
|
4070
4070
|
return L === l ? (G++, M.consume(L), I) : G >= a ? (M.exit("codeFencedFenceSequence"), te(L) ? fe(M, z, "whitespace")(L) : z(L)) : H(L);
|
4071
4071
|
}
|
4072
4072
|
function z(L) {
|
4073
|
-
return L === null || $(L) ? (M.exit("codeFencedFence"),
|
4073
|
+
return L === null || $(L) ? (M.exit("codeFencedFence"), P(L)) : H(L);
|
4074
4074
|
}
|
4075
4075
|
}
|
4076
4076
|
}
|
@@ -4208,7 +4208,7 @@ const Sc = {
|
|
4208
4208
|
tokenize: Lc,
|
4209
4209
|
resolve: zc
|
4210
4210
|
}, Oc = {
|
4211
|
-
tokenize:
|
4211
|
+
tokenize: Pc,
|
4212
4212
|
partial: !0
|
4213
4213
|
};
|
4214
4214
|
function zc(e) {
|
@@ -4239,7 +4239,7 @@ function Lc(e, t) {
|
|
4239
4239
|
}), n = n.next, i;
|
4240
4240
|
}
|
4241
4241
|
}
|
4242
|
-
function
|
4242
|
+
function Pc(e, t, n) {
|
4243
4243
|
const r = this;
|
4244
4244
|
return i;
|
4245
4245
|
function i(a) {
|
@@ -4338,7 +4338,7 @@ function Bt(e, t) {
|
|
4338
4338
|
function Mt(e) {
|
4339
4339
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
4340
4340
|
}
|
4341
|
-
const
|
4341
|
+
const Fc = {
|
4342
4342
|
name: "definition",
|
4343
4343
|
tokenize: Rc
|
4344
4344
|
}, _c = {
|
@@ -4605,10 +4605,10 @@ function Kc(e, t, n) {
|
|
4605
4605
|
return h === 61 ? (e.consume(h), M) : te(h) ? (e.consume(h), q) : S(h);
|
4606
4606
|
}
|
4607
4607
|
function M(h) {
|
4608
|
-
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h,
|
4608
|
+
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h, P) : te(h) ? (e.consume(h), M) : H(h);
|
4609
4609
|
}
|
4610
|
-
function
|
4611
|
-
return h === u ? (e.consume(h), u = null, G) : h === null || $(h) ? n(h) : (e.consume(h),
|
4610
|
+
function P(h) {
|
4611
|
+
return h === u ? (e.consume(h), u = null, G) : h === null || $(h) ? n(h) : (e.consume(h), P);
|
4612
4612
|
}
|
4613
4613
|
function H(h) {
|
4614
4614
|
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || ke(h) ? q(h) : (e.consume(h), H);
|
@@ -4739,10 +4739,10 @@ function tf(e, t, n) {
|
|
4739
4739
|
return qe(g) ? (e.consume(g), M) : n(g);
|
4740
4740
|
}
|
4741
4741
|
function M(g) {
|
4742
|
-
return g === 45 || Se(g) ? (e.consume(g), M) :
|
4742
|
+
return g === 45 || Se(g) ? (e.consume(g), M) : P(g);
|
4743
4743
|
}
|
4744
|
-
function
|
4745
|
-
return $(g) ? (a =
|
4744
|
+
function P(g) {
|
4745
|
+
return $(g) ? (a = P, _(g)) : te(g) ? (e.consume(g), P) : U(g);
|
4746
4746
|
}
|
4747
4747
|
function H(g) {
|
4748
4748
|
return g === 45 || Se(g) ? (e.consume(g), H) : g === 47 || g === 62 || ke(g) ? G(g) : n(g);
|
@@ -4836,19 +4836,19 @@ function lf(e, t) {
|
|
4836
4836
|
return l = [
|
4837
4837
|
["enter", u, t],
|
4838
4838
|
["enter", s, t]
|
4839
|
-
], l =
|
4839
|
+
], l = Fe(l, e.slice(o + 1, o + r + 3)), l = Fe(l, [["enter", c, t]]), l = Fe(
|
4840
4840
|
l,
|
4841
4841
|
Or(
|
4842
4842
|
t.parser.constructs.insideSpan.null,
|
4843
4843
|
e.slice(o + r + 4, a - 3),
|
4844
4844
|
t
|
4845
4845
|
)
|
4846
|
-
), l =
|
4846
|
+
), l = Fe(l, [
|
4847
4847
|
["exit", c, t],
|
4848
4848
|
e[a - 2],
|
4849
4849
|
e[a - 1],
|
4850
4850
|
["exit", s, t]
|
4851
|
-
]), l =
|
4851
|
+
]), l = Fe(l, e.slice(a + 1)), l = Fe(l, [["exit", u, t]]), Ve(e, o, e.length, l), e;
|
4852
4852
|
}
|
4853
4853
|
function uf(e, t, n) {
|
4854
4854
|
const r = this;
|
@@ -5339,9 +5339,9 @@ function Of(e, t, n) {
|
|
5339
5339
|
consume: C,
|
5340
5340
|
enter: S,
|
5341
5341
|
exit: W,
|
5342
|
-
attempt:
|
5343
|
-
check:
|
5344
|
-
interrupt:
|
5342
|
+
attempt: P(q),
|
5343
|
+
check: P(M),
|
5344
|
+
interrupt: P(M, {
|
5345
5345
|
interrupt: !0
|
5346
5346
|
})
|
5347
5347
|
}, s = {
|
@@ -5359,7 +5359,7 @@ function Of(e, t, n) {
|
|
5359
5359
|
let c = t.tokenize.call(s, u);
|
5360
5360
|
return t.resolveAll && o.push(t), s;
|
5361
5361
|
function p(A) {
|
5362
|
-
return a =
|
5362
|
+
return a = Fe(a, A), j(), a[a.length - 1] !== null ? [] : (H(t, 0), s.events = Or(o, s.events, s), s.events);
|
5363
5363
|
}
|
5364
5364
|
function m(A, b) {
|
5365
5365
|
return Lf(d(A), b);
|
@@ -5411,7 +5411,7 @@ function Of(e, t, n) {
|
|
5411
5411
|
function M(A, b) {
|
5412
5412
|
b.restore();
|
5413
5413
|
}
|
5414
|
-
function
|
5414
|
+
function P(A, b) {
|
5415
5415
|
return I;
|
5416
5416
|
function I(z, L, U) {
|
5417
5417
|
let _, V, re, g;
|
@@ -5534,7 +5534,7 @@ function Lf(e, t) {
|
|
5534
5534
|
}
|
5535
5535
|
return r.join("");
|
5536
5536
|
}
|
5537
|
-
const
|
5537
|
+
const Pf = {
|
5538
5538
|
42: Ne,
|
5539
5539
|
43: Ne,
|
5540
5540
|
45: Ne,
|
@@ -5549,8 +5549,8 @@ const Ff = {
|
|
5549
5549
|
56: Ne,
|
5550
5550
|
57: Ne,
|
5551
5551
|
62: na
|
5552
|
-
},
|
5553
|
-
91:
|
5552
|
+
}, Ff = {
|
5553
|
+
91: Fc
|
5554
5554
|
}, _f = {
|
5555
5555
|
[-2]: Jn,
|
5556
5556
|
[-1]: Jn,
|
@@ -5589,9 +5589,9 @@ const Ff = {
|
|
5589
5589
|
}, $f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
5590
5590
|
__proto__: null,
|
5591
5591
|
attentionMarkers: Yf,
|
5592
|
-
contentInitial:
|
5592
|
+
contentInitial: Ff,
|
5593
5593
|
disable: Hf,
|
5594
|
-
document:
|
5594
|
+
document: Pf,
|
5595
5595
|
flow: Rf,
|
5596
5596
|
flowInitial: _f,
|
5597
5597
|
insideSpan: Qf,
|
@@ -5756,7 +5756,7 @@ function Jf(e) {
|
|
5756
5756
|
},
|
5757
5757
|
exit: {
|
5758
5758
|
atxHeading: c(),
|
5759
|
-
atxHeadingSequence:
|
5759
|
+
atxHeadingSequence: P,
|
5760
5760
|
autolink: c(),
|
5761
5761
|
autolinkEmail: ze,
|
5762
5762
|
autolinkProtocol: Be,
|
@@ -5987,7 +5987,7 @@ function Jf(e) {
|
|
5987
5987
|
const D = this.resume(), O = this.stack[this.stack.length - 1];
|
5988
5988
|
O.url = D;
|
5989
5989
|
}
|
5990
|
-
function
|
5990
|
+
function P(D) {
|
5991
5991
|
const O = this.stack[this.stack.length - 1];
|
5992
5992
|
if (!O.depth) {
|
5993
5993
|
const Y = this.sliceSerialize(D).length;
|
@@ -6546,9 +6546,9 @@ function bp(e, t) {
|
|
6546
6546
|
};
|
6547
6547
|
return e.patch(t, n), e.applyData(t, n);
|
6548
6548
|
}
|
6549
|
-
const
|
6549
|
+
const Pr = ya("start"), Fr = ya("end");
|
6550
6550
|
function wp(e) {
|
6551
|
-
return { start:
|
6551
|
+
return { start: Pr(e), end: Fr(e) };
|
6552
6552
|
}
|
6553
6553
|
function ya(e) {
|
6554
6554
|
return t;
|
@@ -6581,7 +6581,7 @@ function vp(e, t) {
|
|
6581
6581
|
tagName: "tbody",
|
6582
6582
|
properties: {},
|
6583
6583
|
children: e.wrap(n, !0)
|
6584
|
-
}, l =
|
6584
|
+
}, l = Pr(t.children[1]), u = Fr(t.children[t.children.length - 1]);
|
6585
6585
|
l.line && u.line && (a.position = { start: l, end: u }), i.push(a);
|
6586
6586
|
}
|
6587
6587
|
const o = {
|
@@ -6789,7 +6789,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6789
6789
|
return p;
|
6790
6790
|
function p() {
|
6791
6791
|
let m = [], d, T, x;
|
6792
|
-
if ((!t || i(l, u, s[s.length - 1] || null)) && (m =
|
6792
|
+
if ((!t || i(l, u, s[s.length - 1] || null)) && (m = Pp(n(l, s)), m[0] === eo))
|
6793
6793
|
return m;
|
6794
6794
|
if (l.children && m[0] !== zp)
|
6795
6795
|
for (T = (r ? l.children.length : -1) + o, x = s.concat(l); T > -1 && T < l.children.length; ) {
|
@@ -6802,7 +6802,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6802
6802
|
}
|
6803
6803
|
}
|
6804
6804
|
);
|
6805
|
-
function
|
6805
|
+
function Pp(e) {
|
6806
6806
|
return Array.isArray(e) ? e : typeof e == "number" ? [Op, e] : [e];
|
6807
6807
|
}
|
6808
6808
|
const _r = (
|
@@ -6831,7 +6831,7 @@ const _r = (
|
|
6831
6831
|
}
|
6832
6832
|
}
|
6833
6833
|
);
|
6834
|
-
function
|
6834
|
+
function Fp(e) {
|
6835
6835
|
return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
|
6836
6836
|
}
|
6837
6837
|
const to = {}.hasOwnProperty;
|
@@ -6872,7 +6872,7 @@ function Rp(e, t) {
|
|
6872
6872
|
}
|
6873
6873
|
if (s) {
|
6874
6874
|
const p = "type" in s ? s : { position: s };
|
6875
|
-
|
6875
|
+
Fp(p) || (c.position = { start: Pr(p), end: Fr(p) });
|
6876
6876
|
}
|
6877
6877
|
return c;
|
6878
6878
|
}
|
@@ -8666,19 +8666,19 @@ za.propTypes = {
|
|
8666
8666
|
message: N.shape().isRequired,
|
8667
8667
|
onFeedbackThumbSelection: N.func.isRequired
|
8668
8668
|
};
|
8669
|
-
const
|
8669
|
+
const Pd = (e) => {
|
8670
8670
|
Array.from(e.entries()).forEach((n) => {
|
8671
8671
|
const r = n[0], i = n[1];
|
8672
8672
|
r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
|
8673
8673
|
});
|
8674
|
-
},
|
8674
|
+
}, Fd = (e) => {
|
8675
8675
|
e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
|
8676
8676
|
};
|
8677
8677
|
function _d(e) {
|
8678
8678
|
const t = new URL(e), n = t.host;
|
8679
8679
|
if (n == null ? void 0 : n.includes("edx.org")) {
|
8680
8680
|
const i = t.searchParams;
|
8681
|
-
|
8681
|
+
Pd(i), Fd(i), t.search = i;
|
8682
8682
|
}
|
8683
8683
|
return t.toString();
|
8684
8684
|
}
|
@@ -8989,7 +8989,7 @@ const Hd = zn, $d = () => {
|
|
8989
8989
|
}
|
8990
8990
|
);
|
8991
8991
|
}, rr = $d;
|
8992
|
-
var
|
8992
|
+
var Pa = { exports: {} };
|
8993
8993
|
/*!
|
8994
8994
|
Copyright (c) 2018 Jed Watson.
|
8995
8995
|
Licensed under the MIT License (MIT), see
|
@@ -9024,9 +9024,9 @@ var Fa = { exports: {} };
|
|
9024
9024
|
}
|
9025
9025
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
9026
9026
|
})();
|
9027
|
-
})(
|
9028
|
-
var qd =
|
9029
|
-
const
|
9027
|
+
})(Pa);
|
9028
|
+
var qd = Pa.exports;
|
9029
|
+
const Fa = /* @__PURE__ */ nt(qd), Vd = 991;
|
9030
9030
|
function Wr({
|
9031
9031
|
label: e,
|
9032
9032
|
className: t,
|
@@ -9041,7 +9041,7 @@ function Wr({
|
|
9041
9041
|
{
|
9042
9042
|
type: "button",
|
9043
9043
|
"aria-label": e,
|
9044
|
-
className:
|
9044
|
+
className: Fa(
|
9045
9045
|
{
|
9046
9046
|
"xpert_chatbot__floating-action-btn__icon": !a,
|
9047
9047
|
"xpert_chatbot__floating-action-btn__icon--mobile": a
|
@@ -9628,7 +9628,7 @@ var go = {
|
|
9628
9628
|
capture: !0,
|
9629
9629
|
passive: !1
|
9630
9630
|
}), l;
|
9631
|
-
},
|
9631
|
+
}, P = function() {
|
9632
9632
|
if (a.active)
|
9633
9633
|
return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", q, !0), r.removeEventListener("keydown", W, !0), l;
|
9634
9634
|
}, H = function(b) {
|
@@ -9672,7 +9672,7 @@ var go = {
|
|
9672
9672
|
onPostDeactivate: o.onPostDeactivate,
|
9673
9673
|
checkCanReturnFocus: o.checkCanReturnFocus
|
9674
9674
|
}, b);
|
9675
|
-
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0,
|
9675
|
+
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, P(), a.active = !1, a.paused = !1, K(), go.deactivateTrap(i, l);
|
9676
9676
|
var z = u(I, "onDeactivate"), L = u(I, "onPostDeactivate"), U = u(I, "checkCanReturnFocus"), _ = u(I, "returnFocus", "returnFocusOnDeactivate");
|
9677
9677
|
z == null || z();
|
9678
9678
|
var V = function() {
|
@@ -9686,7 +9686,7 @@ var go = {
|
|
9686
9686
|
if (a.paused || !a.active)
|
9687
9687
|
return this;
|
9688
9688
|
var I = u(b, "onPause"), z = u(b, "onPostPause");
|
9689
|
-
return a.paused = !0, I == null || I(),
|
9689
|
+
return a.paused = !0, I == null || I(), P(), K(), z == null || z(), this;
|
9690
9690
|
},
|
9691
9691
|
unpause: function(b) {
|
9692
9692
|
if (!a.paused || !a.active)
|
@@ -9754,9 +9754,9 @@ function Nh(e, t) {
|
|
9754
9754
|
return t;
|
9755
9755
|
if (t !== void 0)
|
9756
9756
|
throw new TypeError("Derived constructors may only return object or undefined");
|
9757
|
-
return
|
9757
|
+
return Ft(e);
|
9758
9758
|
}
|
9759
|
-
function
|
9759
|
+
function Ft(e) {
|
9760
9760
|
if (e === void 0)
|
9761
9761
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
9762
9762
|
return e;
|
@@ -9802,7 +9802,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
|
|
9802
9802
|
var t = Ih(n);
|
9803
9803
|
function n(r) {
|
9804
9804
|
var i;
|
9805
|
-
vh(this, n), i = t.call(this, r), jh(
|
9805
|
+
vh(this, n), i = t.call(this, r), jh(Ft(i), "getNodeForOption", function(l) {
|
9806
9806
|
var u, s = (u = this.internalOptions[l]) !== null && u !== void 0 ? u : this.originalOptions[l];
|
9807
9807
|
if (typeof s == "function") {
|
9808
9808
|
for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
|
@@ -9821,7 +9821,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
|
|
9821
9821
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
9822
9822
|
}
|
9823
9823
|
return d;
|
9824
|
-
}), i.handleDeactivate = i.handleDeactivate.bind(
|
9824
|
+
}), i.handleDeactivate = i.handleDeactivate.bind(Ft(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(Ft(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(Ft(i)), i.internalOptions = {
|
9825
9825
|
// We need to hijack the returnFocusOnDeactivate option,
|
9826
9826
|
// because React can move focus into the element before we arrived at
|
9827
9827
|
// this lifecycle hook (e.g. with autoFocus inputs). So the component
|
@@ -9984,7 +9984,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
|
|
9984
9984
|
return null;
|
9985
9985
|
}
|
9986
9986
|
}]), n;
|
9987
|
-
}(an.Component),
|
9987
|
+
}(an.Component), Pt = typeof Element > "u" ? Function : Element;
|
9988
9988
|
Gr.propTypes = {
|
9989
9989
|
active: B.bool,
|
9990
9990
|
paused: B.bool,
|
@@ -10000,9 +10000,9 @@ Gr.propTypes = {
|
|
10000
10000
|
onDeactivate: B.func,
|
10001
10001
|
onPostDeactivate: B.func,
|
10002
10002
|
checkCanReturnFocus: B.func,
|
10003
|
-
initialFocus: B.oneOfType([B.instanceOf(
|
10003
|
+
initialFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
|
10004
10004
|
fallbackFocus: B.oneOfType([
|
10005
|
-
B.instanceOf(
|
10005
|
+
B.instanceOf(Pt),
|
10006
10006
|
B.string,
|
10007
10007
|
// NOTE: does not support `false` as value (or return value from function)
|
10008
10008
|
B.func
|
@@ -10010,7 +10010,7 @@ Gr.propTypes = {
|
|
10010
10010
|
escapeDeactivates: B.oneOfType([B.bool, B.func]),
|
10011
10011
|
clickOutsideDeactivates: B.oneOfType([B.bool, B.func]),
|
10012
10012
|
returnFocusOnDeactivate: B.bool,
|
10013
|
-
setReturnFocus: B.oneOfType([B.instanceOf(
|
10013
|
+
setReturnFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
|
10014
10014
|
allowOutsideClick: B.oneOfType([B.bool, B.func]),
|
10015
10015
|
preventScroll: B.bool,
|
10016
10016
|
tabbableOptions: B.shape({
|
@@ -10021,12 +10021,12 @@ Gr.propTypes = {
|
|
10021
10021
|
isKeyForward: B.func,
|
10022
10022
|
isKeyBackward: B.func
|
10023
10023
|
}),
|
10024
|
-
containerElements: B.arrayOf(B.instanceOf(
|
10024
|
+
containerElements: B.arrayOf(B.instanceOf(Pt)),
|
10025
10025
|
// DOM element ONLY
|
10026
10026
|
children: B.oneOfType([
|
10027
10027
|
B.element,
|
10028
10028
|
// React element
|
10029
|
-
B.instanceOf(
|
10029
|
+
B.instanceOf(Pt)
|
10030
10030
|
// DOM element
|
10031
10031
|
])
|
10032
10032
|
// NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
|
@@ -10041,7 +10041,7 @@ Gr.defaultProps = {
|
|
10041
10041
|
};
|
10042
10042
|
var zh = Gr;
|
10043
10043
|
const Lh = /* @__PURE__ */ nt(zh);
|
10044
|
-
const
|
10044
|
+
const Ph = 991;
|
10045
10045
|
function Zr({
|
10046
10046
|
style: e,
|
10047
10047
|
className: t,
|
@@ -10049,7 +10049,7 @@ function Zr({
|
|
10049
10049
|
isNormalSize: r,
|
10050
10050
|
isMounted: i
|
10051
10051
|
}) {
|
10052
|
-
const o = vt(
|
10052
|
+
const o = vt(Ph), a = tt(null);
|
10053
10053
|
return /* @__PURE__ */ k.jsx(
|
10054
10054
|
Lh,
|
10055
10055
|
{
|
@@ -10066,7 +10066,7 @@ function Zr({
|
|
10066
10066
|
tabIndex: -1,
|
10067
10067
|
role: "dialog",
|
10068
10068
|
"aria-modal": !0,
|
10069
|
-
className:
|
10069
|
+
className: Fa(
|
10070
10070
|
{
|
10071
10071
|
"xpert_chatbot__floating-popup": !o,
|
10072
10072
|
"xpert_chatbot__floating-popup--mobile": o,
|
@@ -10095,7 +10095,7 @@ Zr.defaultProps = {
|
|
10095
10095
|
isNormalSize: !0,
|
10096
10096
|
isMounted: !1
|
10097
10097
|
};
|
10098
|
-
const
|
10098
|
+
const Fh = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
|
10099
10099
|
function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
|
10100
10100
|
const [r, i] = we(!0), { primaryColor: o, xpertKey: a, userTracking: l, conversationScreen: u } = We(Ge), s = Yt(
|
10101
10101
|
(m) => {
|
@@ -10168,7 +10168,7 @@ function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
|
|
10168
10168
|
{
|
10169
10169
|
height: "24px",
|
10170
10170
|
width: "24px",
|
10171
|
-
src:
|
10171
|
+
src: Fh,
|
10172
10172
|
alt: "Open live chat window icon"
|
10173
10173
|
}
|
10174
10174
|
)
|
@@ -10393,16 +10393,20 @@ function Xr({ submitEventExternal: e }) {
|
|
10393
10393
|
launchButton: o,
|
10394
10394
|
proactiveMessage: a,
|
10395
10395
|
conversationScreen: l
|
10396
|
-
} = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, q] = we(!1), [M,
|
10396
|
+
} = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, q] = we(!1), [M, P] = we(!0), [H, G] = we(!1), [K, A] = we(!1), [b, I] = we(!1), z = tt(null), L = tt(null), U = tt(null), _ = He.get(`${t}-test`) === "1", V = Yt(
|
10397
10397
|
({ name: R, payload: oe }) => {
|
10398
|
-
|
10398
|
+
console.log(
|
10399
|
+
"serTracking.defaultProperties",
|
10400
|
+
r == null ? void 0 : r.defaultProperties
|
10401
|
+
);
|
10402
|
+
const me = No(r.defaultProperties, oe);
|
10399
10403
|
e ? e({ name: R, payload: me }) : U.current.track(
|
10400
10404
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
10401
10405
|
R,
|
10402
10406
|
me
|
10403
10407
|
);
|
10404
10408
|
},
|
10405
|
-
[e, r.
|
10409
|
+
[e, r.defaultProperties]
|
10406
10410
|
), re = Yt(async () => {
|
10407
10411
|
if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
|
10408
10412
|
try {
|
@@ -10608,7 +10612,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10608
10612
|
label: "xpert-chatbot",
|
10609
10613
|
isTestUser: _
|
10610
10614
|
}
|
10611
|
-
}),
|
10615
|
+
}), P(R);
|
10612
10616
|
}, be = () => {
|
10613
10617
|
x(!0), V({
|
10614
10618
|
name: `${r.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
|