@2uinc/frontend-component-xpert-chatbot 1.6.6 → 1.7.0-alpha.1
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 +553 -547
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import ve, { createContext as
|
2
|
-
const
|
1
|
+
import ve, { createContext as Kl, useMemo as Xl, useState as we, useCallback as Yt, useEffect as Oe, useContext as We, useRef as tt } from "react";
|
2
|
+
const Jl = {
|
3
3
|
xpertKey: "edx",
|
4
4
|
chatApi: {
|
5
5
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chat",
|
@@ -12,7 +12,8 @@ const Xl = {
|
|
12
12
|
},
|
13
13
|
userTracking: {
|
14
14
|
enabled: !0,
|
15
|
-
prefix: "edx"
|
15
|
+
prefix: "edx",
|
16
|
+
payloadParams: null
|
16
17
|
},
|
17
18
|
webExperimentation: {
|
18
19
|
enabled: !1,
|
@@ -81,7 +82,7 @@ const Xl = {
|
|
81
82
|
options: null
|
82
83
|
}
|
83
84
|
}
|
84
|
-
},
|
85
|
+
}, eu = {
|
85
86
|
xpertKey: "speech-emerson",
|
86
87
|
chatApi: {
|
87
88
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/admissions",
|
@@ -94,7 +95,8 @@ const Xl = {
|
|
94
95
|
},
|
95
96
|
userTracking: {
|
96
97
|
enabled: !0,
|
97
|
-
prefix: "speech.emerson"
|
98
|
+
prefix: "speech.emerson",
|
99
|
+
payloadParams: null
|
98
100
|
},
|
99
101
|
webExperimentation: {
|
100
102
|
enabled: !0,
|
@@ -170,10 +172,10 @@ const Xl = {
|
|
170
172
|
options: null
|
171
173
|
}
|
172
174
|
}
|
173
|
-
},
|
175
|
+
}, tu = {
|
174
176
|
xpertKey: "get-smarter",
|
175
177
|
chatApi: {
|
176
|
-
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/
|
178
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
177
179
|
payloadParams: {
|
178
180
|
use_case: "GET_SMARTER"
|
179
181
|
}
|
@@ -185,7 +187,8 @@ const Xl = {
|
|
185
187
|
},
|
186
188
|
userTracking: {
|
187
189
|
enabled: !0,
|
188
|
-
prefix: "get.smarter"
|
190
|
+
prefix: "get.smarter",
|
191
|
+
payloadParams: null
|
189
192
|
},
|
190
193
|
webExperimentation: {
|
191
194
|
enabled: !1,
|
@@ -293,13 +296,13 @@ object-assign
|
|
293
296
|
(c) Sindre Sorhus
|
294
297
|
@license MIT
|
295
298
|
*/
|
296
|
-
var ci = Object.getOwnPropertySymbols,
|
297
|
-
function
|
299
|
+
var ci = Object.getOwnPropertySymbols, nu = Object.prototype.hasOwnProperty, ru = Object.prototype.propertyIsEnumerable;
|
300
|
+
function iu(e) {
|
298
301
|
if (e == null)
|
299
302
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
300
303
|
return Object(e);
|
301
304
|
}
|
302
|
-
function
|
305
|
+
function ou() {
|
303
306
|
try {
|
304
307
|
if (!Object.assign)
|
305
308
|
return !1;
|
@@ -321,7 +324,7 @@ function iu() {
|
|
321
324
|
return !1;
|
322
325
|
}
|
323
326
|
}
|
324
|
-
|
327
|
+
ou();
|
325
328
|
/** @license React v17.0.2
|
326
329
|
* react-jsx-runtime.production.min.js
|
327
330
|
*
|
@@ -330,35 +333,35 @@ iu();
|
|
330
333
|
* This source code is licensed under the MIT license found in the
|
331
334
|
* LICENSE file in the root directory of this source tree.
|
332
335
|
*/
|
333
|
-
var
|
336
|
+
var au = ve, wo = 60103;
|
334
337
|
qt.Fragment = 60107;
|
335
338
|
if (typeof Symbol == "function" && Symbol.for) {
|
336
339
|
var fi = Symbol.for;
|
337
340
|
wo = fi("react.element"), qt.Fragment = fi("react.fragment");
|
338
341
|
}
|
339
|
-
var
|
342
|
+
var lu = au.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, uu = Object.prototype.hasOwnProperty, su = { key: !0, ref: !0, __self: !0, __source: !0 };
|
340
343
|
function vo(e, t, n) {
|
341
344
|
var r, i = {}, o = null, a = null;
|
342
345
|
n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (a = t.ref);
|
343
346
|
for (r in t)
|
344
|
-
|
347
|
+
uu.call(t, r) && !su.hasOwnProperty(r) && (i[r] = t[r]);
|
345
348
|
if (e && e.defaultProps)
|
346
349
|
for (r in t = e.defaultProps, t)
|
347
350
|
i[r] === void 0 && (i[r] = t[r]);
|
348
|
-
return { $$typeof: wo, type: e, key: o, ref: a, props: i, _owner:
|
351
|
+
return { $$typeof: wo, type: e, key: o, ref: a, props: i, _owner: lu.current };
|
349
352
|
}
|
350
353
|
qt.jsx = vo;
|
351
354
|
qt.jsxs = vo;
|
352
355
|
bo.exports = qt;
|
353
|
-
var k = bo.exports, Do = { exports: {} },
|
356
|
+
var k = bo.exports, Do = { exports: {} }, cu = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", fu = cu, pu = fu;
|
354
357
|
function To() {
|
355
358
|
}
|
356
359
|
function Io() {
|
357
360
|
}
|
358
361
|
Io.resetWarningCache = To;
|
359
|
-
var
|
362
|
+
var du = function() {
|
360
363
|
function e(r, i, o, a, l, u) {
|
361
|
-
if (u !==
|
364
|
+
if (u !== pu) {
|
362
365
|
var s = new Error(
|
363
366
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
364
367
|
);
|
@@ -394,15 +397,15 @@ var pu = function() {
|
|
394
397
|
};
|
395
398
|
return n.PropTypes = n, n;
|
396
399
|
};
|
397
|
-
Do.exports =
|
398
|
-
var
|
399
|
-
const N = /* @__PURE__ */ nt(
|
400
|
+
Do.exports = du();
|
401
|
+
var Q = Do.exports;
|
402
|
+
const N = /* @__PURE__ */ nt(Q);
|
400
403
|
var pn = { exports: {} };
|
401
404
|
pn.exports;
|
402
405
|
(function(e, t) {
|
403
|
-
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]", F = "[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]",
|
404
|
-
h[A] = h[b] = h[I] = h[z] = h[L] = h[U] = h[_] = h[V] = h[
|
405
|
-
var ge = typeof Jt == "object" && Jt && Jt.Object === Object && Jt, De = typeof self == "object" && self && self.Object === Object && self,
|
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]", F = "[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
|
+
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
|
+
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() {
|
406
409
|
try {
|
407
410
|
var f = be && be.require && be.require("util").types;
|
408
411
|
return f || ze && ze.binding && ze.binding("util");
|
@@ -440,18 +443,18 @@ pn.exports;
|
|
440
443
|
return f(y(w));
|
441
444
|
};
|
442
445
|
}
|
443
|
-
var R = Array.prototype,
|
446
|
+
var R = Array.prototype, oe = Function.prototype, me = Object.prototype, he = ie["__core-js_shared__"], je = oe.toString, xe = me.hasOwnProperty, kt = function() {
|
444
447
|
var f = /[^.]+$/.exec(he && he.keys && he.keys.IE_PROTO || "");
|
445
448
|
return f ? "Symbol(src)_1." + f : "";
|
446
|
-
}(), Xe =
|
449
|
+
}(), Xe = me.toString, jt = je.call(Object), D = RegExp(
|
447
450
|
"^" + je.call(xe).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
448
|
-
), O = Be ?
|
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() {
|
449
452
|
try {
|
450
453
|
var f = Pn(Object, "defineProperty");
|
451
454
|
return f({}, "", {}), f;
|
452
455
|
} catch {
|
453
456
|
}
|
454
|
-
}(), Et = O ? O.isBuffer : void 0, Le = Math.max,
|
457
|
+
}(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Pn(ie, "Map"), At = Pn(Object, "create"), Ka = function() {
|
455
458
|
function f() {
|
456
459
|
}
|
457
460
|
return function(y) {
|
@@ -471,14 +474,14 @@ pn.exports;
|
|
471
474
|
this.set(P[0], P[1]);
|
472
475
|
}
|
473
476
|
}
|
474
|
-
function
|
477
|
+
function Xa() {
|
475
478
|
this.__data__ = At ? At(null) : {}, this.size = 0;
|
476
479
|
}
|
477
|
-
function
|
480
|
+
function Ja(f) {
|
478
481
|
var y = this.has(f) && delete this.__data__[f];
|
479
482
|
return this.size -= y ? 1 : 0, y;
|
480
483
|
}
|
481
|
-
function
|
484
|
+
function el(f) {
|
482
485
|
var y = this.__data__;
|
483
486
|
if (At) {
|
484
487
|
var w = y[f];
|
@@ -486,15 +489,15 @@ pn.exports;
|
|
486
489
|
}
|
487
490
|
return xe.call(y, f) ? y[f] : void 0;
|
488
491
|
}
|
489
|
-
function
|
492
|
+
function tl(f) {
|
490
493
|
var y = this.__data__;
|
491
494
|
return At ? y[f] !== void 0 : xe.call(y, f);
|
492
495
|
}
|
493
|
-
function
|
496
|
+
function nl(f, y) {
|
494
497
|
var w = this.__data__;
|
495
498
|
return this.size += this.has(f) ? 0 : 1, w[f] = At && y === void 0 ? r : y, this;
|
496
499
|
}
|
497
|
-
ut.prototype.clear =
|
500
|
+
ut.prototype.clear = Xa, ut.prototype.delete = Ja, ut.prototype.get = el, ut.prototype.has = tl, ut.prototype.set = nl;
|
498
501
|
function Ze(f) {
|
499
502
|
var y = -1, w = f == null ? 0 : f.length;
|
500
503
|
for (this.clear(); ++y < w; ) {
|
@@ -502,28 +505,28 @@ pn.exports;
|
|
502
505
|
this.set(P[0], P[1]);
|
503
506
|
}
|
504
507
|
}
|
505
|
-
function
|
508
|
+
function rl() {
|
506
509
|
this.__data__ = [], this.size = 0;
|
507
510
|
}
|
508
|
-
function
|
511
|
+
function il(f) {
|
509
512
|
var y = this.__data__, w = Gt(y, f);
|
510
513
|
if (w < 0)
|
511
514
|
return !1;
|
512
515
|
var P = y.length - 1;
|
513
516
|
return w == P ? y.pop() : lt.call(y, w, 1), --this.size, !0;
|
514
517
|
}
|
515
|
-
function
|
518
|
+
function ol(f) {
|
516
519
|
var y = this.__data__, w = Gt(y, f);
|
517
520
|
return w < 0 ? void 0 : y[w][1];
|
518
521
|
}
|
519
|
-
function
|
522
|
+
function al(f) {
|
520
523
|
return Gt(this.__data__, f) > -1;
|
521
524
|
}
|
522
|
-
function
|
525
|
+
function ll(f, y) {
|
523
526
|
var w = this.__data__, P = Gt(w, f);
|
524
527
|
return P < 0 ? (++this.size, w.push([f, y])) : w[P][1] = y, this;
|
525
528
|
}
|
526
|
-
Ze.prototype.clear =
|
529
|
+
Ze.prototype.clear = rl, Ze.prototype.delete = il, Ze.prototype.get = ol, Ze.prototype.has = al, Ze.prototype.set = ll;
|
527
530
|
function mt(f) {
|
528
531
|
var y = -1, w = f == null ? 0 : f.length;
|
529
532
|
for (this.clear(); ++y < w; ) {
|
@@ -531,46 +534,46 @@ pn.exports;
|
|
531
534
|
this.set(P[0], P[1]);
|
532
535
|
}
|
533
536
|
}
|
534
|
-
function
|
537
|
+
function ul() {
|
535
538
|
this.size = 0, this.__data__ = {
|
536
539
|
hash: new ut(),
|
537
540
|
map: new (Jr || Ze)(),
|
538
541
|
string: new ut()
|
539
542
|
};
|
540
543
|
}
|
541
|
-
function
|
544
|
+
function sl(f) {
|
542
545
|
var y = Kt(this, f).delete(f);
|
543
546
|
return this.size -= y ? 1 : 0, y;
|
544
547
|
}
|
545
|
-
function
|
548
|
+
function cl(f) {
|
546
549
|
return Kt(this, f).get(f);
|
547
550
|
}
|
548
|
-
function
|
551
|
+
function fl(f) {
|
549
552
|
return Kt(this, f).has(f);
|
550
553
|
}
|
551
|
-
function
|
554
|
+
function pl(f, y) {
|
552
555
|
var w = Kt(this, f), P = w.size;
|
553
556
|
return w.set(f, y), this.size += w.size == P ? 0 : 1, this;
|
554
557
|
}
|
555
|
-
mt.prototype.clear =
|
558
|
+
mt.prototype.clear = ul, mt.prototype.delete = sl, mt.prototype.get = cl, mt.prototype.has = fl, mt.prototype.set = pl;
|
556
559
|
function yt(f) {
|
557
560
|
var y = this.__data__ = new Ze(f);
|
558
561
|
this.size = y.size;
|
559
562
|
}
|
560
|
-
function
|
563
|
+
function dl() {
|
561
564
|
this.__data__ = new Ze(), this.size = 0;
|
562
565
|
}
|
563
|
-
function
|
566
|
+
function hl(f) {
|
564
567
|
var y = this.__data__, w = y.delete(f);
|
565
568
|
return this.size = y.size, w;
|
566
569
|
}
|
567
|
-
function
|
570
|
+
function gl(f) {
|
568
571
|
return this.__data__.get(f);
|
569
572
|
}
|
570
|
-
function
|
573
|
+
function ml(f) {
|
571
574
|
return this.__data__.has(f);
|
572
575
|
}
|
573
|
-
function
|
576
|
+
function yl(f, y) {
|
574
577
|
var w = this.__data__;
|
575
578
|
if (w instanceof Ze) {
|
576
579
|
var P = w.__data__;
|
@@ -580,8 +583,8 @@ pn.exports;
|
|
580
583
|
}
|
581
584
|
return w.set(f, y), this.size = w.size, this;
|
582
585
|
}
|
583
|
-
yt.prototype.clear =
|
584
|
-
function
|
586
|
+
yt.prototype.clear = dl, yt.prototype.delete = hl, yt.prototype.get = gl, yt.prototype.has = ml, yt.prototype.set = yl;
|
587
|
+
function Ml(f, y) {
|
585
588
|
var w = Un(f), P = !w && Rn(f), J = !w && !P && ii(f), le = !w && !P && !J && ai(f), pe = w || P || J || le, X = pe ? Nt(f.length, String) : [], de = X.length;
|
586
589
|
for (var Fe in f)
|
587
590
|
(y || xe.call(f, Fe)) && !(pe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
@@ -594,7 +597,7 @@ pn.exports;
|
|
594
597
|
function Ln(f, y, w) {
|
595
598
|
(w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) && Fn(f, y, w);
|
596
599
|
}
|
597
|
-
function
|
600
|
+
function xl(f, y, w) {
|
598
601
|
var P = f[y];
|
599
602
|
(!(xe.call(f, y) && Xt(P, w)) || w === void 0 && !(y in f)) && Fn(f, y, w);
|
600
603
|
}
|
@@ -612,41 +615,41 @@ pn.exports;
|
|
612
615
|
writable: !0
|
613
616
|
}) : f[y] = w;
|
614
617
|
}
|
615
|
-
var
|
618
|
+
var bl = Ol();
|
616
619
|
function Zt(f) {
|
617
|
-
return f == null ? f === void 0 ? F : v : Ee && Ee in Object(f) ?
|
620
|
+
return f == null ? f === void 0 ? F : v : Ee && Ee in Object(f) ? zl(f) : Ul(f);
|
618
621
|
}
|
619
622
|
function ei(f) {
|
620
623
|
return Ct(f) && Zt(f) == l;
|
621
624
|
}
|
622
|
-
function
|
623
|
-
if (!st(f) ||
|
625
|
+
function wl(f) {
|
626
|
+
if (!st(f) || _l(f))
|
624
627
|
return !1;
|
625
628
|
var y = Qn(f) ? D : ue;
|
626
|
-
return y.test(
|
629
|
+
return y.test(Hl(f));
|
627
630
|
}
|
628
|
-
function
|
631
|
+
function vl(f) {
|
629
632
|
return Ct(f) && oi(f.length) && !!h[Zt(f)];
|
630
633
|
}
|
631
|
-
function
|
634
|
+
function Dl(f) {
|
632
635
|
if (!st(f))
|
633
|
-
return
|
636
|
+
return Rl(f);
|
634
637
|
var y = ri(f), w = [];
|
635
638
|
for (var P in f)
|
636
639
|
P == "constructor" && (y || !xe.call(f, P)) || w.push(P);
|
637
640
|
return w;
|
638
641
|
}
|
639
642
|
function ti(f, y, w, P, J) {
|
640
|
-
f !== y &&
|
643
|
+
f !== y && bl(y, function(le, pe) {
|
641
644
|
if (J || (J = new yt()), st(le))
|
642
|
-
|
645
|
+
Tl(f, y, pe, w, ti, P, J);
|
643
646
|
else {
|
644
647
|
var X = P ? P(_n(f, pe), le, pe + "", f, y, J) : void 0;
|
645
648
|
X === void 0 && (X = le), Ln(f, pe, X);
|
646
649
|
}
|
647
650
|
}, li);
|
648
651
|
}
|
649
|
-
function
|
652
|
+
function Tl(f, y, w, P, J, le, pe) {
|
650
653
|
var X = _n(f, w), de = _n(y, w), Fe = pe.get(de);
|
651
654
|
if (Fe) {
|
652
655
|
Ln(f, w, Fe);
|
@@ -655,61 +658,61 @@ pn.exports;
|
|
655
658
|
var Ae = le ? le(X, de, w + "", f, y, pe) : void 0, St = Ae === void 0;
|
656
659
|
if (St) {
|
657
660
|
var Yn = Un(de), Hn = !Yn && ii(de), si = !Yn && !Hn && ai(de);
|
658
|
-
Ae = de, Yn || Hn || si ? Un(X) ? Ae = X :
|
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;
|
659
662
|
}
|
660
663
|
St && (pe.set(de, Ae), J(Ae, de, P, le, pe), pe.delete(de)), Ln(f, w, Ae);
|
661
664
|
}
|
662
|
-
function
|
663
|
-
return Bl(
|
665
|
+
function Il(f, y) {
|
666
|
+
return Ql(Bl(f, y, ui), f + "");
|
664
667
|
}
|
665
|
-
var
|
668
|
+
var Nl = se ? function(f, y) {
|
666
669
|
return se(f, "toString", {
|
667
670
|
configurable: !0,
|
668
671
|
enumerable: !1,
|
669
|
-
value:
|
672
|
+
value: Gl(y),
|
670
673
|
writable: !0
|
671
674
|
});
|
672
675
|
} : ui;
|
673
|
-
function
|
676
|
+
function kl(f, y) {
|
674
677
|
if (y)
|
675
678
|
return f.slice();
|
676
|
-
var w = f.length, P =
|
679
|
+
var w = f.length, P = ne ? ne(w) : new f.constructor(w);
|
677
680
|
return f.copy(P), P;
|
678
681
|
}
|
679
|
-
function
|
682
|
+
function jl(f) {
|
680
683
|
var y = new f.constructor(f.byteLength);
|
681
684
|
return new ee(y).set(new ee(f)), y;
|
682
685
|
}
|
683
|
-
function
|
684
|
-
var w = y ?
|
686
|
+
function El(f, y) {
|
687
|
+
var w = y ? jl(f.buffer) : f.buffer;
|
685
688
|
return new f.constructor(w, f.byteOffset, f.length);
|
686
689
|
}
|
687
|
-
function
|
690
|
+
function Al(f, y) {
|
688
691
|
var w = -1, P = f.length;
|
689
692
|
for (y || (y = Array(P)); ++w < P; )
|
690
693
|
y[w] = f[w];
|
691
694
|
return y;
|
692
695
|
}
|
693
|
-
function
|
696
|
+
function Cl(f, y, w, P) {
|
694
697
|
var J = !w;
|
695
698
|
w || (w = {});
|
696
699
|
for (var le = -1, pe = y.length; ++le < pe; ) {
|
697
700
|
var X = y[le], de = P ? P(w[X], f[X], X, w, f) : void 0;
|
698
|
-
de === void 0 && (de = f[X]), J ? Fn(w, X, de) :
|
701
|
+
de === void 0 && (de = f[X]), J ? Fn(w, X, de) : xl(w, X, de);
|
699
702
|
}
|
700
703
|
return w;
|
701
704
|
}
|
702
|
-
function
|
703
|
-
return
|
705
|
+
function Sl(f) {
|
706
|
+
return Il(function(y, w) {
|
704
707
|
var P = -1, J = w.length, le = J > 1 ? w[J - 1] : void 0, pe = J > 2 ? w[2] : void 0;
|
705
|
-
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe &&
|
708
|
+
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe && Fl(w[0], w[1], pe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++P < J; ) {
|
706
709
|
var X = w[P];
|
707
710
|
X && f(y, X, P, le);
|
708
711
|
}
|
709
712
|
return y;
|
710
713
|
});
|
711
714
|
}
|
712
|
-
function
|
715
|
+
function Ol(f) {
|
713
716
|
return function(y, w, P) {
|
714
717
|
for (var J = -1, le = Object(y), pe = P(y), X = pe.length; X--; ) {
|
715
718
|
var de = pe[f ? X : ++J];
|
@@ -721,13 +724,13 @@ pn.exports;
|
|
721
724
|
}
|
722
725
|
function Kt(f, y) {
|
723
726
|
var w = f.__data__;
|
724
|
-
return
|
727
|
+
return Pl(y) ? w[typeof y == "string" ? "string" : "hash"] : w.map;
|
725
728
|
}
|
726
729
|
function Pn(f, y) {
|
727
730
|
var w = ot(f, y);
|
728
|
-
return
|
731
|
+
return wl(w) ? w : void 0;
|
729
732
|
}
|
730
|
-
function
|
733
|
+
function zl(f) {
|
731
734
|
var y = xe.call(f, Ee), w = f[Ee];
|
732
735
|
try {
|
733
736
|
f[Ee] = void 0;
|
@@ -737,41 +740,41 @@ pn.exports;
|
|
737
740
|
var J = Xe.call(f);
|
738
741
|
return P && (y ? f[Ee] = w : delete f[Ee]), J;
|
739
742
|
}
|
740
|
-
function
|
741
|
-
return typeof f.constructor == "function" && !ri(f) ?
|
743
|
+
function Ll(f) {
|
744
|
+
return typeof f.constructor == "function" && !ri(f) ? Ka(Ie(f)) : {};
|
742
745
|
}
|
743
746
|
function ni(f, y) {
|
744
747
|
var w = typeof f;
|
745
|
-
return y = y ?? a, !!y && (w == "number" || w != "symbol" &&
|
748
|
+
return y = y ?? a, !!y && (w == "number" || w != "symbol" && ye.test(f)) && f > -1 && f % 1 == 0 && f < y;
|
746
749
|
}
|
747
|
-
function
|
750
|
+
function Fl(f, y, w) {
|
748
751
|
if (!st(w))
|
749
752
|
return !1;
|
750
753
|
var P = typeof y;
|
751
754
|
return (P == "number" ? Bn(w) && ni(y, w.length) : P == "string" && y in w) ? Xt(w[y], f) : !1;
|
752
755
|
}
|
753
|
-
function
|
756
|
+
function Pl(f) {
|
754
757
|
var y = typeof f;
|
755
758
|
return y == "string" || y == "number" || y == "symbol" || y == "boolean" ? f !== "__proto__" : f === null;
|
756
759
|
}
|
757
|
-
function
|
760
|
+
function _l(f) {
|
758
761
|
return !!kt && kt in f;
|
759
762
|
}
|
760
763
|
function ri(f) {
|
761
|
-
var y = f && f.constructor, w = typeof y == "function" && y.prototype ||
|
764
|
+
var y = f && f.constructor, w = typeof y == "function" && y.prototype || me;
|
762
765
|
return f === w;
|
763
766
|
}
|
764
|
-
function
|
767
|
+
function Rl(f) {
|
765
768
|
var y = [];
|
766
769
|
if (f != null)
|
767
770
|
for (var w in Object(f))
|
768
771
|
y.push(w);
|
769
772
|
return y;
|
770
773
|
}
|
771
|
-
function
|
774
|
+
function Ul(f) {
|
772
775
|
return Xe.call(f);
|
773
776
|
}
|
774
|
-
function
|
777
|
+
function Bl(f, y, w) {
|
775
778
|
return y = Le(y === void 0 ? f.length - 1 : y, 0), function() {
|
776
779
|
for (var P = arguments, J = -1, le = Le(P.length - y, 0), pe = Array(le); ++J < le; )
|
777
780
|
pe[J] = P[y + J];
|
@@ -785,11 +788,11 @@ pn.exports;
|
|
785
788
|
if (!(y === "constructor" && typeof f[y] == "function") && y != "__proto__")
|
786
789
|
return f[y];
|
787
790
|
}
|
788
|
-
var
|
789
|
-
function
|
791
|
+
var Ql = Yl(Nl);
|
792
|
+
function Yl(f) {
|
790
793
|
var y = 0, w = 0;
|
791
794
|
return function() {
|
792
|
-
var P =
|
795
|
+
var P = Za(), J = o - (P - w);
|
793
796
|
if (w = P, J > 0) {
|
794
797
|
if (++y >= i)
|
795
798
|
return arguments[0];
|
@@ -798,7 +801,7 @@ pn.exports;
|
|
798
801
|
return f.apply(void 0, arguments);
|
799
802
|
};
|
800
803
|
}
|
801
|
-
function
|
804
|
+
function Hl(f) {
|
802
805
|
if (f != null) {
|
803
806
|
try {
|
804
807
|
return je.call(f);
|
@@ -822,10 +825,10 @@ pn.exports;
|
|
822
825
|
function Bn(f) {
|
823
826
|
return f != null && oi(f.length) && !Qn(f);
|
824
827
|
}
|
825
|
-
function
|
828
|
+
function $l(f) {
|
826
829
|
return Ct(f) && Bn(f);
|
827
830
|
}
|
828
|
-
var ii = Et ||
|
831
|
+
var ii = Et || Zl;
|
829
832
|
function Qn(f) {
|
830
833
|
if (!st(f))
|
831
834
|
return !1;
|
@@ -842,7 +845,7 @@ pn.exports;
|
|
842
845
|
function Ct(f) {
|
843
846
|
return f != null && typeof f == "object";
|
844
847
|
}
|
845
|
-
function
|
848
|
+
function ql(f) {
|
846
849
|
if (!Ct(f) || Zt(f) != C)
|
847
850
|
return !1;
|
848
851
|
var y = Ie(f);
|
@@ -851,17 +854,17 @@ pn.exports;
|
|
851
854
|
var w = xe.call(y, "constructor") && y.constructor;
|
852
855
|
return typeof w == "function" && w instanceof w && je.call(w) == jt;
|
853
856
|
}
|
854
|
-
var ai = it ? gt(it) :
|
855
|
-
function
|
856
|
-
return
|
857
|
+
var ai = it ? gt(it) : vl;
|
858
|
+
function Vl(f) {
|
859
|
+
return Cl(f, li(f));
|
857
860
|
}
|
858
861
|
function li(f) {
|
859
|
-
return Bn(f) ?
|
862
|
+
return Bn(f) ? Ml(f, !0) : Dl(f);
|
860
863
|
}
|
861
|
-
var
|
864
|
+
var Wl = Sl(function(f, y, w) {
|
862
865
|
ti(f, y, w);
|
863
866
|
});
|
864
|
-
function
|
867
|
+
function Gl(f) {
|
865
868
|
return function() {
|
866
869
|
return f;
|
867
870
|
};
|
@@ -869,13 +872,13 @@ pn.exports;
|
|
869
872
|
function ui(f) {
|
870
873
|
return f;
|
871
874
|
}
|
872
|
-
function
|
875
|
+
function Zl() {
|
873
876
|
return !1;
|
874
877
|
}
|
875
|
-
e.exports =
|
878
|
+
e.exports = Wl;
|
876
879
|
})(pn, pn.exports);
|
877
|
-
var
|
878
|
-
const
|
880
|
+
var hu = pn.exports;
|
881
|
+
const No = /* @__PURE__ */ nt(hu), gu = {
|
879
882
|
xpertKey: "exec-ed-ss-olc-moodle",
|
880
883
|
chatApi: {
|
881
884
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
@@ -890,7 +893,8 @@ const hu = /* @__PURE__ */ nt(du), gu = {
|
|
890
893
|
},
|
891
894
|
userTracking: {
|
892
895
|
enabled: !0,
|
893
|
-
prefix: "exec.ed.ss.olc.moodle"
|
896
|
+
prefix: "exec.ed.ss.olc.moodle",
|
897
|
+
payloadParams: null
|
894
898
|
},
|
895
899
|
webExperimentation: {
|
896
900
|
enabled: !1,
|
@@ -980,94 +984,95 @@ const hu = /* @__PURE__ */ nt(du), gu = {
|
|
980
984
|
}
|
981
985
|
}
|
982
986
|
}, mu = {
|
983
|
-
edx:
|
984
|
-
"get-smarter":
|
985
|
-
"speech-emerson":
|
987
|
+
edx: Jl,
|
988
|
+
"get-smarter": tu,
|
989
|
+
"speech-emerson": eu,
|
986
990
|
"exec-ed-ss-olc-moodle": gu
|
987
991
|
}, yu = (e, t = {}) => {
|
988
992
|
if (!e && (!t || Object.keys(t).length === 0))
|
989
993
|
throw new Error("xpertKey or configurations is required");
|
990
994
|
const n = mu[e] || {};
|
991
|
-
return
|
992
|
-
}, Mu = yu,
|
995
|
+
return No(n, t);
|
996
|
+
}, Mu = yu, ko = Kl({}), jo = ({
|
993
997
|
children: e,
|
994
998
|
configurations: t = null,
|
995
999
|
xpertKey: n = null
|
996
1000
|
}) => {
|
997
|
-
const r =
|
1001
|
+
const r = Xl(
|
998
1002
|
() => Mu(n, t),
|
999
1003
|
[t, n]
|
1000
1004
|
);
|
1001
|
-
return /* @__PURE__ */ k.jsx(
|
1005
|
+
return /* @__PURE__ */ k.jsx(ko.Provider, { value: { ...r }, children: e });
|
1002
1006
|
};
|
1003
|
-
|
1004
|
-
children:
|
1005
|
-
xpertKey:
|
1006
|
-
configurations:
|
1007
|
-
xpertKey:
|
1008
|
-
chatApi:
|
1009
|
-
endpoint:
|
1010
|
-
payloadParams:
|
1007
|
+
jo.propTypes = {
|
1008
|
+
children: Q.element.isRequired,
|
1009
|
+
xpertKey: Q.string.isRequired,
|
1010
|
+
configurations: Q.shape({
|
1011
|
+
xpertKey: Q.string,
|
1012
|
+
chatApi: Q.shape({
|
1013
|
+
endpoint: Q.string.isRequired,
|
1014
|
+
payloadParams: Q.string
|
1011
1015
|
}).isRequired,
|
1012
|
-
primaryColor:
|
1013
|
-
disclaimer:
|
1014
|
-
text:
|
1015
|
-
privacyPolicyLink:
|
1016
|
+
primaryColor: Q.string.isRequired,
|
1017
|
+
disclaimer: Q.shape({
|
1018
|
+
text: Q.string.isRequired,
|
1019
|
+
privacyPolicyLink: Q.string.isRequired
|
1016
1020
|
}).isRequired,
|
1017
|
-
userTracking:
|
1018
|
-
enabled:
|
1019
|
-
prefix:
|
1021
|
+
userTracking: Q.shape({
|
1022
|
+
enabled: Q.bool.isRequired,
|
1023
|
+
prefix: Q.string.isRequired,
|
1024
|
+
payloadParams: Q.object
|
1020
1025
|
}).isRequired,
|
1021
|
-
webExperimentation:
|
1022
|
-
enabled:
|
1023
|
-
experimentName:
|
1026
|
+
webExperimentation: Q.shape({
|
1027
|
+
enabled: Q.bool.isRequired,
|
1028
|
+
experimentName: Q.string
|
1024
1029
|
}).isRequired,
|
1025
|
-
launchButton:
|
1026
|
-
style:
|
1027
|
-
message:
|
1028
|
-
enabled:
|
1029
|
-
text:
|
1030
|
+
launchButton: Q.shape({
|
1031
|
+
style: Q.shape({}).isRequired,
|
1032
|
+
message: Q.shape({
|
1033
|
+
enabled: Q.bool.isRequired,
|
1034
|
+
text: Q.string
|
1030
1035
|
})
|
1031
1036
|
}).isRequired,
|
1032
|
-
proactiveMessage:
|
1033
|
-
enabled:
|
1034
|
-
textPrefix:
|
1035
|
-
text:
|
1036
|
-
delayMs:
|
1037
|
-
style:
|
1037
|
+
proactiveMessage: Q.shape({
|
1038
|
+
enabled: Q.bool.isRequired,
|
1039
|
+
textPrefix: Q.string,
|
1040
|
+
text: Q.string,
|
1041
|
+
delayMs: Q.number.isRequired,
|
1042
|
+
style: Q.shape({}).isRequired
|
1038
1043
|
}).isRequired,
|
1039
|
-
conversationScreen:
|
1040
|
-
header:
|
1041
|
-
logo:
|
1042
|
-
type:
|
1043
|
-
style:
|
1044
|
+
conversationScreen: Q.shape({
|
1045
|
+
header: Q.shape({
|
1046
|
+
logo: Q.shape({
|
1047
|
+
type: Q.string.isRequired,
|
1048
|
+
style: Q.shape({})
|
1044
1049
|
}).isRequired,
|
1045
|
-
container:
|
1046
|
-
style:
|
1050
|
+
container: Q.shape({
|
1051
|
+
style: Q.shape({}).isRequired
|
1047
1052
|
})
|
1048
1053
|
}),
|
1049
|
-
systemMessage:
|
1050
|
-
prompts:
|
1051
|
-
|
1052
|
-
id:
|
1053
|
-
text:
|
1054
|
+
systemMessage: Q.string.isRequired,
|
1055
|
+
prompts: Q.arrayOf(
|
1056
|
+
Q.shape({
|
1057
|
+
id: Q.number.isRequired,
|
1058
|
+
text: Q.string.isRequired
|
1054
1059
|
})
|
1055
1060
|
),
|
1056
|
-
userMessageBubble:
|
1057
|
-
style:
|
1061
|
+
userMessageBubble: Q.shape({
|
1062
|
+
style: Q.shape({}).isRequired
|
1058
1063
|
}),
|
1059
|
-
conversationHistory:
|
1060
|
-
enabled:
|
1064
|
+
conversationHistory: Q.shape({
|
1065
|
+
enabled: Q.bool.isRequired
|
1061
1066
|
}).isRequired,
|
1062
|
-
liveChat:
|
1063
|
-
enabled:
|
1064
|
-
sourceCode:
|
1065
|
-
options:
|
1067
|
+
liveChat: Q.shape({
|
1068
|
+
enabled: Q.bool.isRequired,
|
1069
|
+
sourceCode: Q.string,
|
1070
|
+
options: Q.shape({})
|
1066
1071
|
})
|
1067
1072
|
}).isRequired
|
1068
1073
|
})
|
1069
1074
|
};
|
1070
|
-
const Ge =
|
1075
|
+
const Ge = ko;
|
1071
1076
|
/*! js-cookie v3.0.5 | MIT */
|
1072
1077
|
function en(e) {
|
1073
1078
|
for (var t = 1; t < arguments.length; t++) {
|
@@ -1175,7 +1180,7 @@ const _t = /^[a-z0-9]+(-[a-z0-9]+)*$/, bn = (e, t, n, r = "") => {
|
|
1175
1180
|
return t && !ln(l, n) ? null : l;
|
1176
1181
|
}
|
1177
1182
|
return null;
|
1178
|
-
}, ln = (e, t) => e ? !!((e.provider === "" || e.provider.match(_t)) && (t && e.prefix === "" || e.prefix.match(_t)) && e.name.match(_t)) : !1,
|
1183
|
+
}, ln = (e, t) => e ? !!((e.provider === "" || e.provider.match(_t)) && (t && e.prefix === "" || e.prefix.match(_t)) && e.name.match(_t)) : !1, Eo = Object.freeze(
|
1179
1184
|
{
|
1180
1185
|
left: 0,
|
1181
1186
|
top: 0,
|
@@ -1187,7 +1192,7 @@ const _t = /^[a-z0-9]+(-[a-z0-9]+)*$/, bn = (e, t, n, r = "") => {
|
|
1187
1192
|
vFlip: !1,
|
1188
1193
|
hFlip: !1
|
1189
1194
|
}), Tr = Object.freeze({
|
1190
|
-
...
|
1195
|
+
...Eo,
|
1191
1196
|
...dn
|
1192
1197
|
}), ar = Object.freeze({
|
1193
1198
|
...Tr,
|
@@ -1231,7 +1236,7 @@ function vu(e, t, n) {
|
|
1231
1236
|
}
|
1232
1237
|
return a(t), n.forEach(a), pi(e, o);
|
1233
1238
|
}
|
1234
|
-
function
|
1239
|
+
function Ao(e, t) {
|
1235
1240
|
const n = [];
|
1236
1241
|
if (typeof e != "object" || typeof e.icons != "object")
|
1237
1242
|
return n;
|
@@ -1249,7 +1254,7 @@ const Du = {
|
|
1249
1254
|
provider: "",
|
1250
1255
|
aliases: {},
|
1251
1256
|
not_found: {},
|
1252
|
-
...
|
1257
|
+
...Eo
|
1253
1258
|
};
|
1254
1259
|
function $n(e, t) {
|
1255
1260
|
for (const n in t)
|
@@ -1257,7 +1262,7 @@ function $n(e, t) {
|
|
1257
1262
|
return !1;
|
1258
1263
|
return !0;
|
1259
1264
|
}
|
1260
|
-
function
|
1265
|
+
function Co(e) {
|
1261
1266
|
if (typeof e != "object" || e === null)
|
1262
1267
|
return null;
|
1263
1268
|
const t = e;
|
@@ -1297,7 +1302,7 @@ function pt(e, t) {
|
|
1297
1302
|
return n[t] || (n[t] = Tu(e, t));
|
1298
1303
|
}
|
1299
1304
|
function Ir(e, t) {
|
1300
|
-
return
|
1305
|
+
return Co(t) ? Ao(t, (n, r) => {
|
1301
1306
|
r ? e.icons[n] = r : e.missing.add(n);
|
1302
1307
|
}) : [];
|
1303
1308
|
}
|
@@ -1310,7 +1315,7 @@ function Iu(e, t, n) {
|
|
1310
1315
|
return !1;
|
1311
1316
|
}
|
1312
1317
|
let Ht = !1;
|
1313
|
-
function
|
1318
|
+
function So(e) {
|
1314
1319
|
return typeof e == "boolean" && (Ht = e), Ht;
|
1315
1320
|
}
|
1316
1321
|
function Nu(e) {
|
@@ -1332,7 +1337,7 @@ function ju(e, t) {
|
|
1332
1337
|
return !1;
|
1333
1338
|
if (typeof t != "string" && (t = e.provider || ""), Ht && !t && !e.prefix) {
|
1334
1339
|
let i = !1;
|
1335
|
-
return
|
1340
|
+
return Co(e) && (e.prefix = "", Ao(e, (o, a) => {
|
1336
1341
|
a && ku(o, a) && (i = !0);
|
1337
1342
|
})), i;
|
1338
1343
|
}
|
@@ -1346,12 +1351,12 @@ function ju(e, t) {
|
|
1346
1351
|
const r = pt(t, n);
|
1347
1352
|
return !!Ir(r, e);
|
1348
1353
|
}
|
1349
|
-
const
|
1354
|
+
const Oo = Object.freeze({
|
1350
1355
|
width: null,
|
1351
1356
|
height: null
|
1352
|
-
}),
|
1357
|
+
}), zo = Object.freeze({
|
1353
1358
|
// Dimensions
|
1354
|
-
...
|
1359
|
+
...Oo,
|
1355
1360
|
// Transformations
|
1356
1361
|
...dn
|
1357
1362
|
}), Eu = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Au = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
@@ -1384,7 +1389,7 @@ function Su(e, t) {
|
|
1384
1389
|
...Tr,
|
1385
1390
|
...e
|
1386
1391
|
}, r = {
|
1387
|
-
...
|
1392
|
+
...zo,
|
1388
1393
|
...t
|
1389
1394
|
}, i = {
|
1390
1395
|
left: n.left,
|
@@ -1631,7 +1636,7 @@ function qu(e) {
|
|
1631
1636
|
c.push(p);
|
1632
1637
|
}), t;
|
1633
1638
|
}
|
1634
|
-
function
|
1639
|
+
function Lo(e, t) {
|
1635
1640
|
e.forEach((n) => {
|
1636
1641
|
const r = n.loaderCallbacks;
|
1637
1642
|
r && (n.loaderCallbacks = r.filter((i) => i.id !== t));
|
@@ -1666,7 +1671,7 @@ function Vu(e) {
|
|
1666
1671
|
else
|
1667
1672
|
return n = !0, !0;
|
1668
1673
|
return !1;
|
1669
|
-
}), a.pending.length !== l && (n ||
|
1674
|
+
}), a.pending.length !== l && (n || Lo([e], o.id), o.callback(
|
1670
1675
|
a.loaded.slice(0),
|
1671
1676
|
a.missing.slice(0),
|
1672
1677
|
a.pending.slice(0),
|
@@ -1677,7 +1682,7 @@ function Vu(e) {
|
|
1677
1682
|
}
|
1678
1683
|
let Wu = 0;
|
1679
1684
|
function Gu(e, t, n) {
|
1680
|
-
const r = Wu++, i =
|
1685
|
+
const r = Wu++, i = Lo.bind(null, n, r);
|
1681
1686
|
if (!t.pending.length)
|
1682
1687
|
return i;
|
1683
1688
|
const o = {
|
@@ -1806,7 +1811,7 @@ function Xu(e, t, n, r) {
|
|
1806
1811
|
}
|
1807
1812
|
return setTimeout(q), v;
|
1808
1813
|
}
|
1809
|
-
function
|
1814
|
+
function Fo(e) {
|
1810
1815
|
const t = {
|
1811
1816
|
...Ku,
|
1812
1817
|
...e
|
@@ -1847,7 +1852,7 @@ function Ju(e) {
|
|
1847
1852
|
const t = jr(e);
|
1848
1853
|
if (!t)
|
1849
1854
|
return;
|
1850
|
-
const n =
|
1855
|
+
const n = Fo(t), r = {
|
1851
1856
|
config: t,
|
1852
1857
|
redundancy: n
|
1853
1858
|
};
|
@@ -1867,14 +1872,14 @@ function es(e, t, n) {
|
|
1867
1872
|
} else {
|
1868
1873
|
const o = Nr(e);
|
1869
1874
|
if (o) {
|
1870
|
-
r =
|
1875
|
+
r = Fo(o);
|
1871
1876
|
const a = e.resources ? e.resources[0] : "", l = ur(a);
|
1872
1877
|
l && (i = l.send);
|
1873
1878
|
}
|
1874
1879
|
}
|
1875
1880
|
return !r || !i ? (n(void 0, 424), mi) : r.query(t, i, n)().abort;
|
1876
1881
|
}
|
1877
|
-
const yi = "iconify2", $t = "iconify",
|
1882
|
+
const yi = "iconify2", $t = "iconify", Po = $t + "-count", Mi = $t + "-version", _o = 36e5, ts = 168;
|
1878
1883
|
function sr(e, t) {
|
1879
1884
|
try {
|
1880
1885
|
return e.getItem(t);
|
@@ -1894,15 +1899,15 @@ function xi(e, t) {
|
|
1894
1899
|
}
|
1895
1900
|
}
|
1896
1901
|
function cr(e, t) {
|
1897
|
-
return Er(e,
|
1902
|
+
return Er(e, Po, t.toString());
|
1898
1903
|
}
|
1899
1904
|
function fr(e) {
|
1900
|
-
return parseInt(sr(e,
|
1905
|
+
return parseInt(sr(e, Po)) || 0;
|
1901
1906
|
}
|
1902
1907
|
const wn = {
|
1903
1908
|
local: !0,
|
1904
1909
|
session: !0
|
1905
|
-
},
|
1910
|
+
}, Ro = {
|
1906
1911
|
local: /* @__PURE__ */ new Set(),
|
1907
1912
|
session: /* @__PURE__ */ new Set()
|
1908
1913
|
};
|
@@ -1911,7 +1916,7 @@ function ns(e) {
|
|
1911
1916
|
Ar = e;
|
1912
1917
|
}
|
1913
1918
|
let tn = typeof window > "u" ? {} : window;
|
1914
|
-
function
|
1919
|
+
function Uo(e) {
|
1915
1920
|
const t = e + "Storage";
|
1916
1921
|
try {
|
1917
1922
|
if (tn && tn[t] && typeof tn[t].length == "number")
|
@@ -1920,8 +1925,8 @@ function Ro(e) {
|
|
1920
1925
|
}
|
1921
1926
|
wn[e] = !1;
|
1922
1927
|
}
|
1923
|
-
function
|
1924
|
-
const n =
|
1928
|
+
function Bo(e, t) {
|
1929
|
+
const n = Uo(e);
|
1925
1930
|
if (!n)
|
1926
1931
|
return;
|
1927
1932
|
const r = sr(n, Mi);
|
@@ -1934,7 +1939,7 @@ function Uo(e, t) {
|
|
1934
1939
|
Er(n, Mi, yi), cr(n, 0);
|
1935
1940
|
return;
|
1936
1941
|
}
|
1937
|
-
const i = Math.floor(Date.now() /
|
1942
|
+
const i = Math.floor(Date.now() / _o) - ts, o = (l) => {
|
1938
1943
|
const u = $t + l.toString(), s = sr(n, u);
|
1939
1944
|
if (typeof s == "string") {
|
1940
1945
|
try {
|
@@ -1949,13 +1954,13 @@ function Uo(e, t) {
|
|
1949
1954
|
};
|
1950
1955
|
let a = fr(n);
|
1951
1956
|
for (let l = a - 1; l >= 0; l--)
|
1952
|
-
o(l) || (l === a - 1 ? (a--, cr(n, a)) :
|
1957
|
+
o(l) || (l === a - 1 ? (a--, cr(n, a)) : Ro[e].add(l));
|
1953
1958
|
}
|
1954
|
-
function
|
1959
|
+
function Qo() {
|
1955
1960
|
if (!Ar) {
|
1956
1961
|
ns(!0);
|
1957
1962
|
for (const e in wn)
|
1958
|
-
|
1963
|
+
Bo(e, (t) => {
|
1959
1964
|
const n = t.data, r = t.provider, i = n.prefix, o = pt(
|
1960
1965
|
r,
|
1961
1966
|
i
|
@@ -1976,26 +1981,26 @@ function rs(e, t) {
|
|
1976
1981
|
return n === t;
|
1977
1982
|
if (e.lastModifiedCached = t, n)
|
1978
1983
|
for (const r in wn)
|
1979
|
-
|
1984
|
+
Bo(r, (i) => {
|
1980
1985
|
const o = i.data;
|
1981
1986
|
return i.provider !== e.provider || o.prefix !== e.prefix || o.lastModified === t;
|
1982
1987
|
});
|
1983
1988
|
return !0;
|
1984
1989
|
}
|
1985
1990
|
function is(e, t) {
|
1986
|
-
Ar ||
|
1991
|
+
Ar || Qo();
|
1987
1992
|
function n(r) {
|
1988
1993
|
let i;
|
1989
|
-
if (!wn[r] || !(i =
|
1994
|
+
if (!wn[r] || !(i = Uo(r)))
|
1990
1995
|
return;
|
1991
|
-
const o =
|
1996
|
+
const o = Ro[r];
|
1992
1997
|
let a;
|
1993
1998
|
if (o.size)
|
1994
1999
|
o.delete(a = Array.from(o).shift());
|
1995
2000
|
else if (a = fr(i), !cr(i, a + 1))
|
1996
2001
|
return;
|
1997
2002
|
const l = {
|
1998
|
-
cached: Math.floor(Date.now() /
|
2003
|
+
cached: Math.floor(Date.now() / _o),
|
1999
2004
|
provider: e.provider,
|
2000
2005
|
data: t
|
2001
2006
|
};
|
@@ -2049,7 +2054,7 @@ function as(e, t) {
|
|
2049
2054
|
}));
|
2050
2055
|
}
|
2051
2056
|
const ls = (e, t) => {
|
2052
|
-
const n = Zu(e, !0,
|
2057
|
+
const n = Zu(e, !0, So()), r = qu(n);
|
2053
2058
|
if (!r.pending.length) {
|
2054
2059
|
let u = !0;
|
2055
2060
|
return t && setTimeout(() => {
|
@@ -2086,7 +2091,7 @@ function us(e, t) {
|
|
2086
2091
|
};
|
2087
2092
|
for (const r in t) {
|
2088
2093
|
const i = t[r], o = typeof i;
|
2089
|
-
r in
|
2094
|
+
r in Oo ? (i === null || i && (o === "string" || o === "number")) && (n[r] = i) : o === typeof n[r] && (n[r] = r === "rotate" ? i % 4 : i);
|
2090
2095
|
}
|
2091
2096
|
return n;
|
2092
2097
|
}
|
@@ -2158,8 +2163,8 @@ function ms() {
|
|
2158
2163
|
function ys(e) {
|
2159
2164
|
return Rt === void 0 && ms(), Rt ? Rt.createHTML(e) : e;
|
2160
2165
|
}
|
2161
|
-
const
|
2162
|
-
...
|
2166
|
+
const Yo = {
|
2167
|
+
...zo,
|
2163
2168
|
inline: !1
|
2164
2169
|
}, Ms = {
|
2165
2170
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2170,7 +2175,7 @@ const Qo = {
|
|
2170
2175
|
display: "inline-block"
|
2171
2176
|
}, pr = {
|
2172
2177
|
backgroundColor: "currentColor"
|
2173
|
-
},
|
2178
|
+
}, Ho = {
|
2174
2179
|
backgroundColor: "transparent"
|
2175
2180
|
}, wi = {
|
2176
2181
|
Image: "var(--svg)",
|
@@ -2179,7 +2184,7 @@ const Qo = {
|
|
2179
2184
|
}, vi = {
|
2180
2185
|
WebkitMask: pr,
|
2181
2186
|
mask: pr,
|
2182
|
-
background:
|
2187
|
+
background: Ho
|
2183
2188
|
};
|
2184
2189
|
for (const e in vi) {
|
2185
2190
|
const t = vi[e];
|
@@ -2187,14 +2192,14 @@ for (const e in vi) {
|
|
2187
2192
|
t[e + n] = wi[n];
|
2188
2193
|
}
|
2189
2194
|
const bs = {
|
2190
|
-
...
|
2195
|
+
...Yo,
|
2191
2196
|
inline: !0
|
2192
2197
|
};
|
2193
2198
|
function Di(e) {
|
2194
2199
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
2195
2200
|
}
|
2196
2201
|
const ws = (e, t, n, r) => {
|
2197
|
-
const i = n ? bs :
|
2202
|
+
const i = n ? bs : Yo, o = us(i, t), a = t.mode || "svg", l = {}, u = t.style || {}, s = {
|
2198
2203
|
...a === "svg" ? Ms : {},
|
2199
2204
|
ref: r
|
2200
2205
|
};
|
@@ -2254,14 +2259,14 @@ const ws = (e, t, n, r) => {
|
|
2254
2259
|
width: Di(p.width),
|
2255
2260
|
height: Di(p.height),
|
2256
2261
|
...xs,
|
2257
|
-
...x ? pr :
|
2262
|
+
...x ? pr : Ho,
|
2258
2263
|
...u
|
2259
2264
|
}, ve.createElement("span", s);
|
2260
2265
|
};
|
2261
|
-
|
2266
|
+
So(!0);
|
2262
2267
|
Pu("", $u);
|
2263
2268
|
if (typeof document < "u" && typeof window < "u") {
|
2264
|
-
|
2269
|
+
Qo();
|
2265
2270
|
const e = window;
|
2266
2271
|
if (e.IconifyPreload !== void 0) {
|
2267
2272
|
const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
@@ -2292,7 +2297,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
2292
2297
|
}
|
2293
2298
|
}
|
2294
2299
|
}
|
2295
|
-
class
|
2300
|
+
class $o extends ve.Component {
|
2296
2301
|
constructor(t) {
|
2297
2302
|
super(t), this.state = {
|
2298
2303
|
// Render placeholder before component is mounted
|
@@ -2387,7 +2392,7 @@ const bt = ve.forwardRef(function(t, n) {
|
|
2387
2392
|
_ref: n,
|
2388
2393
|
_inline: !1
|
2389
2394
|
};
|
2390
|
-
return ve.createElement(
|
2395
|
+
return ve.createElement($o, r);
|
2391
2396
|
});
|
2392
2397
|
ve.forwardRef(function(t, n) {
|
2393
2398
|
const r = {
|
@@ -2395,7 +2400,7 @@ ve.forwardRef(function(t, n) {
|
|
2395
2400
|
_ref: n,
|
2396
2401
|
_inline: !0
|
2397
2402
|
};
|
2398
|
-
return ve.createElement(
|
2403
|
+
return ve.createElement($o, r);
|
2399
2404
|
});
|
2400
2405
|
const vs = 576, Ds = (e) => {
|
2401
2406
|
const [t, n] = we(), r = Yt(() => {
|
@@ -2407,7 +2412,7 @@ const vs = 576, Ds = (e) => {
|
|
2407
2412
|
}, [e]);
|
2408
2413
|
return Oe(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
2409
2414
|
}, vt = Ds, Ts = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Is = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Ns = 991;
|
2410
|
-
function
|
2415
|
+
function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
2411
2416
|
return vt(Ns) ? null : e ? /* @__PURE__ */ k.jsx(
|
2412
2417
|
"button",
|
2413
2418
|
{
|
@@ -2461,12 +2466,12 @@ function $o({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
|
2461
2466
|
}
|
2462
2467
|
);
|
2463
2468
|
}
|
2464
|
-
|
2469
|
+
qo.propTypes = {
|
2465
2470
|
isNormalSize: N.bool.isRequired,
|
2466
2471
|
setIsMounted: N.func.isRequired,
|
2467
2472
|
setIsNormalSize: N.func.isRequired
|
2468
2473
|
};
|
2469
|
-
function
|
2474
|
+
function Vo({
|
2470
2475
|
isNormalSize: e,
|
2471
2476
|
setIsMounted: t,
|
2472
2477
|
setIsNormalSize: n,
|
@@ -2486,7 +2491,7 @@ function qo({
|
|
2486
2491
|
paddingBottom: "1.25rem"
|
2487
2492
|
},
|
2488
2493
|
children: /* @__PURE__ */ k.jsx(
|
2489
|
-
|
2494
|
+
qo,
|
2490
2495
|
{
|
2491
2496
|
isMounted: i,
|
2492
2497
|
setIsMounted: t,
|
@@ -2523,7 +2528,7 @@ function qo({
|
|
2523
2528
|
)
|
2524
2529
|
] });
|
2525
2530
|
}
|
2526
|
-
|
2531
|
+
Vo.propTypes = {
|
2527
2532
|
isNormalSize: N.bool.isRequired,
|
2528
2533
|
setIsMounted: N.func.isRequired,
|
2529
2534
|
setIsNormalSize: N.func.isRequired,
|
@@ -2562,9 +2567,9 @@ Cr.defaultProps = {
|
|
2562
2567
|
backgroundColor: "#F0CC00",
|
2563
2568
|
textColor: "transparent"
|
2564
2569
|
};
|
2565
|
-
const ks = Cr, Vo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg3MSIgaGVpZ2h0PSI1NjQiIHZpZXdCb3g9IjAgMCAxODcxIDU2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkyOCAxODhIMTg3MUwxODA4IDQ5MUg4NjVMOTI4IDE4OFoiIGZpbGw9IiNGMENDMDAiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEyM180MjgpIj4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QuMTMgMzAwLjMxNUMxNTIwLjczIDI5Ni43ODIgMTUxNS43OCAyOTUuMDE2IDE1MDkuMjUgMjk1LjAxNkgxNDgzLjU3VjMzMi41MTZaTTE1NzEuNDggMjY5LjMzNkgxNjc0LjE5VjI5NS4wMTZIMTYzNi4yOVY0MTJIMTYwOS4zOFYyOTUuMDE2SDE1NzEuNDhWMjY5LjMzNloiIGZpbGw9IiMwMDI2MkIiLz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTIzXzQyOCI+CjxyZWN0IHdpZHRoPSIxMDgwIiBoZWlnaHQ9IjU2My4yNSIgZmlsbD0iI0ZGRkZGRiIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";
|
2566
2571
|
const js = 991;
|
2567
|
-
function
|
2572
|
+
function Go({
|
2568
2573
|
isNormalSize: e,
|
2569
2574
|
setIsNormalSize: t,
|
2570
2575
|
isMounted: n,
|
@@ -2600,7 +2605,7 @@ function Wo({
|
|
2600
2605
|
{
|
2601
2606
|
"data-ot-ignore": "",
|
2602
2607
|
className: "xpert-chatbot-popup__logo optanon-category-C0001",
|
2603
|
-
src:
|
2608
|
+
src: Wo,
|
2604
2609
|
alt: "xpert logo",
|
2605
2610
|
"aria-hidden": !0,
|
2606
2611
|
style: a.header.logo.style
|
@@ -2613,7 +2618,7 @@ function Wo({
|
|
2613
2618
|
}
|
2614
2619
|
),
|
2615
2620
|
/* @__PURE__ */ k.jsx(
|
2616
|
-
|
2621
|
+
Vo,
|
2617
2622
|
{
|
2618
2623
|
isMounted: n,
|
2619
2624
|
setIsMounted: r,
|
@@ -2636,7 +2641,7 @@ function Wo({
|
|
2636
2641
|
}
|
2637
2642
|
);
|
2638
2643
|
}
|
2639
|
-
|
2644
|
+
Go.propTypes = {
|
2640
2645
|
isMounted: N.bool.isRequired,
|
2641
2646
|
isNormalSize: N.bool.isRequired,
|
2642
2647
|
setIsMounted: N.func.isRequired,
|
@@ -2745,7 +2750,7 @@ function Es(e) {
|
|
2745
2750
|
var As = function(t) {
|
2746
2751
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
2747
2752
|
};
|
2748
|
-
const
|
2753
|
+
const Zo = /* @__PURE__ */ nt(As);
|
2749
2754
|
function Ut(e) {
|
2750
2755
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Ii(e.position) : "start" in e || "end" in e ? Ii(e) : "line" in e || "column" in e ? dr(e) : "";
|
2751
2756
|
}
|
@@ -2962,7 +2967,7 @@ function Us(e) {
|
|
2962
2967
|
return decodeURIComponent(t);
|
2963
2968
|
}
|
2964
2969
|
const Vn = ["history", "path", "basename", "stem", "extname", "dirname"];
|
2965
|
-
class
|
2970
|
+
class Ko {
|
2966
2971
|
/**
|
2967
2972
|
* Create a new virtual file.
|
2968
2973
|
*
|
@@ -3177,16 +3182,16 @@ function ki(e, t) {
|
|
3177
3182
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
3178
3183
|
}
|
3179
3184
|
function Bs(e) {
|
3180
|
-
return
|
3185
|
+
return Zo(e);
|
3181
3186
|
}
|
3182
3187
|
function ji(e) {
|
3183
3188
|
if (e)
|
3184
3189
|
throw e;
|
3185
3190
|
}
|
3186
|
-
var sn = Object.prototype.hasOwnProperty,
|
3187
|
-
return typeof Array.isArray == "function" ? Array.isArray(t) :
|
3191
|
+
var sn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Ci = function(t) {
|
3192
|
+
return typeof Array.isArray == "function" ? Array.isArray(t) : Xo.call(t) === "[object Array]";
|
3188
3193
|
}, Si = function(t) {
|
3189
|
-
if (!t ||
|
3194
|
+
if (!t || Xo.call(t) !== "[object Object]")
|
3190
3195
|
return !1;
|
3191
3196
|
var n = sn.call(t, "constructor"), r = t.constructor && t.constructor.prototype && sn.call(t.constructor.prototype, "isPrototypeOf");
|
3192
3197
|
if (t.constructor && !n && !r)
|
@@ -3281,20 +3286,20 @@ function Hs(e, t) {
|
|
3281
3286
|
i(null, a);
|
3282
3287
|
}
|
3283
3288
|
}
|
3284
|
-
const $s =
|
3285
|
-
function
|
3289
|
+
const $s = ea().freeze(), Jo = {}.hasOwnProperty;
|
3290
|
+
function ea() {
|
3286
3291
|
const e = Ys(), t = [];
|
3287
3292
|
let n = {}, r, i = -1;
|
3288
3293
|
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = u, o.parse = s, o.stringify = c, o.run = p, o.runSync = m, o.process = d, o.processSync = T, o;
|
3289
3294
|
function o() {
|
3290
|
-
const x =
|
3295
|
+
const x = ea();
|
3291
3296
|
let j = -1;
|
3292
3297
|
for (; ++j < t.length; )
|
3293
3298
|
x.use(...t[j]);
|
3294
3299
|
return x.data(Li(!0, {}, n)), x;
|
3295
3300
|
}
|
3296
3301
|
function a(x, j) {
|
3297
|
-
return typeof x == "string" ? arguments.length === 2 ? (Xn("data", r), n[x] = j, o) :
|
3302
|
+
return typeof x == "string" ? arguments.length === 2 ? (Xn("data", r), n[x] = j, o) : Jo.call(n, x) && n[x] || null : x ? (Xn("data", r), n = x, o) : n;
|
3298
3303
|
}
|
3299
3304
|
function l() {
|
3300
3305
|
if (r)
|
@@ -3424,7 +3429,7 @@ function Fi(e, t) {
|
|
3424
3429
|
function qs(e) {
|
3425
3430
|
let t;
|
3426
3431
|
for (t in e)
|
3427
|
-
if (
|
3432
|
+
if (Jo.call(e, t))
|
3428
3433
|
return !0;
|
3429
3434
|
return !1;
|
3430
3435
|
}
|
@@ -3453,20 +3458,20 @@ function _i(e, t, n) {
|
|
3453
3458
|
);
|
3454
3459
|
}
|
3455
3460
|
function zt(e) {
|
3456
|
-
return Vs(e) ? e : new
|
3461
|
+
return Vs(e) ? e : new Ko(e);
|
3457
3462
|
}
|
3458
3463
|
function Vs(e) {
|
3459
3464
|
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
3460
3465
|
}
|
3461
3466
|
function Ws(e) {
|
3462
|
-
return typeof e == "string" ||
|
3467
|
+
return typeof e == "string" || Zo(e);
|
3463
3468
|
}
|
3464
3469
|
const Gs = {};
|
3465
3470
|
function Zs(e, t) {
|
3466
3471
|
const n = t || Gs, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
3467
|
-
return
|
3472
|
+
return ta(e, r, i);
|
3468
3473
|
}
|
3469
|
-
function
|
3474
|
+
function ta(e, t, n) {
|
3470
3475
|
if (Ks(e)) {
|
3471
3476
|
if ("value" in e)
|
3472
3477
|
return e.type === "html" && !n ? "" : e.value;
|
@@ -3481,7 +3486,7 @@ function Ri(e, t, n) {
|
|
3481
3486
|
const r = [];
|
3482
3487
|
let i = -1;
|
3483
3488
|
for (; ++i < e.length; )
|
3484
|
-
r[i] =
|
3489
|
+
r[i] = ta(e[i], t, n);
|
3485
3490
|
return r.join("");
|
3486
3491
|
}
|
3487
3492
|
function Ks(e) {
|
@@ -3893,7 +3898,7 @@ function mc(e, t, n) {
|
|
3893
3898
|
return o === null || $(o) ? t(o) : n(o);
|
3894
3899
|
}
|
3895
3900
|
}
|
3896
|
-
const
|
3901
|
+
const na = {
|
3897
3902
|
name: "blockQuote",
|
3898
3903
|
tokenize: yc,
|
3899
3904
|
continuation: {
|
@@ -3929,13 +3934,13 @@ function Mc(e, t, n) {
|
|
3929
3934
|
)(a) : o(a);
|
3930
3935
|
}
|
3931
3936
|
function o(a) {
|
3932
|
-
return e.attempt(
|
3937
|
+
return e.attempt(na, t, n)(a);
|
3933
3938
|
}
|
3934
3939
|
}
|
3935
3940
|
function xc(e) {
|
3936
3941
|
e.exit("blockQuote");
|
3937
3942
|
}
|
3938
|
-
const
|
3943
|
+
const ra = {
|
3939
3944
|
name: "characterEscape",
|
3940
3945
|
tokenize: bc
|
3941
3946
|
};
|
@@ -3955,7 +3960,7 @@ function zr(e) {
|
|
3955
3960
|
const n = Hi.textContent;
|
3956
3961
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
3957
3962
|
}
|
3958
|
-
const
|
3963
|
+
const ia = {
|
3959
3964
|
name: "characterReference",
|
3960
3965
|
tokenize: wc
|
3961
3966
|
};
|
@@ -4158,7 +4163,7 @@ function Ac(e, t, n) {
|
|
4158
4163
|
return p === 96 ? (e.consume(p), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(p)) : (o.type = "codeTextData", s(p));
|
4159
4164
|
}
|
4160
4165
|
}
|
4161
|
-
function
|
4166
|
+
function oa(e) {
|
4162
4167
|
const t = {};
|
4163
4168
|
let n = -1, r, i, o, a, l, u, s;
|
4164
4169
|
for (; ++n < e.length; ) {
|
@@ -4207,7 +4212,7 @@ const Sc = {
|
|
4207
4212
|
partial: !0
|
4208
4213
|
};
|
4209
4214
|
function zc(e) {
|
4210
|
-
return
|
4215
|
+
return oa(e), e;
|
4211
4216
|
}
|
4212
4217
|
function Lc(e, t) {
|
4213
4218
|
let n;
|
@@ -4247,7 +4252,7 @@ function Fc(e, t, n) {
|
|
4247
4252
|
return !r.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : e.interrupt(r.parser.constructs.flow, n, t)(a);
|
4248
4253
|
}
|
4249
4254
|
}
|
4250
|
-
function
|
4255
|
+
function aa(e, t, n, r, i, o, a, l, u) {
|
4251
4256
|
const s = u || Number.POSITIVE_INFINITY;
|
4252
4257
|
let c = 0;
|
4253
4258
|
return p;
|
@@ -4274,7 +4279,7 @@ function oa(e, t, n, r, i, o, a, l, u) {
|
|
4274
4279
|
return v === 40 || v === 41 || v === 92 ? (e.consume(v), x) : x(v);
|
4275
4280
|
}
|
4276
4281
|
}
|
4277
|
-
function
|
4282
|
+
function la(e, t, n, r, i, o) {
|
4278
4283
|
const a = this;
|
4279
4284
|
let l = 0, u;
|
4280
4285
|
return s;
|
@@ -4298,7 +4303,7 @@ function aa(e, t, n, r, i, o) {
|
|
4298
4303
|
return d === 91 || d === 92 || d === 93 ? (e.consume(d), l++, p) : p(d);
|
4299
4304
|
}
|
4300
4305
|
}
|
4301
|
-
function
|
4306
|
+
function ua(e, t, n, r, i, o) {
|
4302
4307
|
let a;
|
4303
4308
|
return l;
|
4304
4309
|
function l(m) {
|
@@ -4348,7 +4353,7 @@ function Rc(e, t, n) {
|
|
4348
4353
|
return e.enter("definition"), a(d);
|
4349
4354
|
}
|
4350
4355
|
function a(d) {
|
4351
|
-
return
|
4356
|
+
return la.call(
|
4352
4357
|
r,
|
4353
4358
|
e,
|
4354
4359
|
l,
|
@@ -4368,7 +4373,7 @@ function Rc(e, t, n) {
|
|
4368
4373
|
return ke(d) ? Bt(e, s)(d) : s(d);
|
4369
4374
|
}
|
4370
4375
|
function s(d) {
|
4371
|
-
return
|
4376
|
+
return aa(
|
4372
4377
|
e,
|
4373
4378
|
c,
|
4374
4379
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
@@ -4396,7 +4401,7 @@ function Uc(e, t, n) {
|
|
4396
4401
|
return ke(l) ? Bt(e, i)(l) : n(l);
|
4397
4402
|
}
|
4398
4403
|
function i(l) {
|
4399
|
-
return
|
4404
|
+
return ua(
|
4400
4405
|
e,
|
4401
4406
|
o,
|
4402
4407
|
n,
|
@@ -4618,9 +4623,9 @@ function Kc(e, t, n) {
|
|
4618
4623
|
return h === null || $(h) ? b(h) : te(h) ? (e.consume(h), A) : n(h);
|
4619
4624
|
}
|
4620
4625
|
function b(h) {
|
4621
|
-
return h === 45 && i === 2 ? (e.consume(h), U) : h === 60 && i === 1 ? (e.consume(h), _) : h === 62 && i === 4 ? (e.consume(h), ue) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h),
|
4626
|
+
return h === 45 && i === 2 ? (e.consume(h), U) : h === 60 && i === 1 ? (e.consume(h), _) : h === 62 && i === 4 ? (e.consume(h), ue) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), re) : $(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
4622
4627
|
Wc,
|
4623
|
-
|
4628
|
+
ye,
|
4624
4629
|
I
|
4625
4630
|
)(h)) : h === null || $(h) ? (e.exit("htmlFlowData"), I(h)) : (e.consume(h), b);
|
4626
4631
|
}
|
@@ -4628,7 +4633,7 @@ function Kc(e, t, n) {
|
|
4628
4633
|
return e.check(
|
4629
4634
|
Gc,
|
4630
4635
|
z,
|
4631
|
-
|
4636
|
+
ye
|
4632
4637
|
)(h);
|
4633
4638
|
}
|
4634
4639
|
function z(h) {
|
@@ -4650,16 +4655,16 @@ function Kc(e, t, n) {
|
|
4650
4655
|
}
|
4651
4656
|
return qe(h) && a.length < 8 ? (e.consume(h), a += String.fromCharCode(h), V) : b(h);
|
4652
4657
|
}
|
4653
|
-
function
|
4658
|
+
function re(h) {
|
4654
4659
|
return h === 93 ? (e.consume(h), g) : b(h);
|
4655
4660
|
}
|
4656
4661
|
function g(h) {
|
4657
4662
|
return h === 62 ? (e.consume(h), ue) : h === 45 && i === 2 ? (e.consume(h), g) : b(h);
|
4658
4663
|
}
|
4659
4664
|
function ue(h) {
|
4660
|
-
return h === null || $(h) ? (e.exit("htmlFlowData"),
|
4665
|
+
return h === null || $(h) ? (e.exit("htmlFlowData"), ye(h)) : (e.consume(h), ue);
|
4661
4666
|
}
|
4662
|
-
function
|
4667
|
+
function ye(h) {
|
4663
4668
|
return e.exit("htmlFlow"), t(h);
|
4664
4669
|
}
|
4665
4670
|
}
|
@@ -4772,12 +4777,12 @@ function tf(e, t, n) {
|
|
4772
4777
|
function V(g) {
|
4773
4778
|
return te(g) ? fe(
|
4774
4779
|
e,
|
4775
|
-
|
4780
|
+
re,
|
4776
4781
|
"linePrefix",
|
4777
4782
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
4778
|
-
)(g) :
|
4783
|
+
)(g) : re(g);
|
4779
4784
|
}
|
4780
|
-
function
|
4785
|
+
function re(g) {
|
4781
4786
|
return e.enter("htmlTextData"), a(g);
|
4782
4787
|
}
|
4783
4788
|
}
|
@@ -4898,7 +4903,7 @@ function sf(e, t, n) {
|
|
4898
4903
|
return ke(p) ? Bt(e, o)(p) : o(p);
|
4899
4904
|
}
|
4900
4905
|
function o(p) {
|
4901
|
-
return p === 41 ? c(p) :
|
4906
|
+
return p === 41 ? c(p) : aa(
|
4902
4907
|
e,
|
4903
4908
|
a,
|
4904
4909
|
l,
|
@@ -4917,7 +4922,7 @@ function sf(e, t, n) {
|
|
4917
4922
|
return n(p);
|
4918
4923
|
}
|
4919
4924
|
function u(p) {
|
4920
|
-
return p === 34 || p === 39 || p === 40 ?
|
4925
|
+
return p === 34 || p === 39 || p === 40 ? ua(
|
4921
4926
|
e,
|
4922
4927
|
s,
|
4923
4928
|
n,
|
@@ -4937,7 +4942,7 @@ function cf(e, t, n) {
|
|
4937
4942
|
const r = this;
|
4938
4943
|
return i;
|
4939
4944
|
function i(l) {
|
4940
|
-
return
|
4945
|
+
return la.call(
|
4941
4946
|
r,
|
4942
4947
|
e,
|
4943
4948
|
o,
|
@@ -5223,12 +5228,12 @@ function jf(e) {
|
|
5223
5228
|
}
|
5224
5229
|
}
|
5225
5230
|
const Ef = {
|
5226
|
-
resolveAll:
|
5227
|
-
}, Af =
|
5228
|
-
function
|
5231
|
+
resolveAll: ca()
|
5232
|
+
}, Af = sa("string"), Cf = sa("text");
|
5233
|
+
function sa(e) {
|
5229
5234
|
return {
|
5230
5235
|
tokenize: t,
|
5231
|
-
resolveAll:
|
5236
|
+
resolveAll: ca(
|
5232
5237
|
e === "text" ? Sf : void 0
|
5233
5238
|
)
|
5234
5239
|
};
|
@@ -5263,7 +5268,7 @@ function ua(e) {
|
|
5263
5268
|
}
|
5264
5269
|
}
|
5265
5270
|
}
|
5266
|
-
function
|
5271
|
+
function ca(e) {
|
5267
5272
|
return t;
|
5268
5273
|
function t(n, r) {
|
5269
5274
|
let i = -1, o;
|
@@ -5409,30 +5414,30 @@ function Of(e, t, n) {
|
|
5409
5414
|
function F(A, b) {
|
5410
5415
|
return I;
|
5411
5416
|
function I(z, L, U) {
|
5412
|
-
let _, V,
|
5413
|
-
return Array.isArray(z) ?
|
5417
|
+
let _, V, re, g;
|
5418
|
+
return Array.isArray(z) ? ye(z) : "tokenize" in z ? (
|
5414
5419
|
// @ts-expect-error Looks like a construct.
|
5415
|
-
|
5420
|
+
ye([z])
|
5416
5421
|
) : ue(z);
|
5417
|
-
function ue(
|
5422
|
+
function ue(ie) {
|
5418
5423
|
return Te;
|
5419
5424
|
function Te(be) {
|
5420
|
-
const Be = be !== null &&
|
5425
|
+
const Be = be !== null && ie[be], ze = be !== null && ie.null, Ke = [
|
5421
5426
|
// To do: add more extension tests.
|
5422
5427
|
/* c8 ignore next 2 */
|
5423
5428
|
...Array.isArray(Be) ? Be : Be ? [Be] : [],
|
5424
5429
|
...Array.isArray(ze) ? ze : ze ? [ze] : []
|
5425
5430
|
];
|
5426
|
-
return
|
5431
|
+
return ye(Ke)(be);
|
5427
5432
|
}
|
5428
5433
|
}
|
5429
|
-
function
|
5430
|
-
return _ =
|
5434
|
+
function ye(ie) {
|
5435
|
+
return _ = ie, V = 0, ie.length === 0 ? U : h(ie[V]);
|
5431
5436
|
}
|
5432
|
-
function h(
|
5437
|
+
function h(ie) {
|
5433
5438
|
return Te;
|
5434
5439
|
function Te(be) {
|
5435
|
-
return g = G(),
|
5440
|
+
return g = G(), re = ie, ie.partial || (s.currentConstruct = ie), ie.name && s.parser.constructs.disable.null.includes(ie.name) ? De() : ie.tokenize.call(
|
5436
5441
|
// If we do have fields, create an object w/ `context` as its
|
5437
5442
|
// prototype.
|
5438
5443
|
// This allows a “live binding”, which is needed for `interrupt`.
|
@@ -5443,10 +5448,10 @@ function Of(e, t, n) {
|
|
5443
5448
|
)(be);
|
5444
5449
|
}
|
5445
5450
|
}
|
5446
|
-
function ge(
|
5447
|
-
return A(
|
5451
|
+
function ge(ie) {
|
5452
|
+
return A(re, g), L;
|
5448
5453
|
}
|
5449
|
-
function De(
|
5454
|
+
function De(ie) {
|
5450
5455
|
return g.restore(), ++V < _.length ? h(_[V]) : U;
|
5451
5456
|
}
|
5452
5457
|
}
|
@@ -5543,7 +5548,7 @@ const Ff = {
|
|
5543
5548
|
55: Ne,
|
5544
5549
|
56: Ne,
|
5545
5550
|
57: Ne,
|
5546
|
-
62:
|
5551
|
+
62: na
|
5547
5552
|
}, Pf = {
|
5548
5553
|
91: Pc
|
5549
5554
|
}, _f = {
|
@@ -5560,18 +5565,18 @@ const Ff = {
|
|
5560
5565
|
96: qi,
|
5561
5566
|
126: qi
|
5562
5567
|
}, Uf = {
|
5563
|
-
38:
|
5564
|
-
92:
|
5568
|
+
38: ia,
|
5569
|
+
92: ra
|
5565
5570
|
}, Bf = {
|
5566
5571
|
[-5]: er,
|
5567
5572
|
[-4]: er,
|
5568
5573
|
[-3]: er,
|
5569
5574
|
33: pf,
|
5570
|
-
38:
|
5575
|
+
38: ia,
|
5571
5576
|
42: Mr,
|
5572
5577
|
60: [hc, ef],
|
5573
5578
|
91: hf,
|
5574
|
-
92: [Bc,
|
5579
|
+
92: [Bc, ra],
|
5575
5580
|
93: Lr,
|
5576
5581
|
95: Mr,
|
5577
5582
|
96: kc
|
@@ -5653,11 +5658,11 @@ function Vf() {
|
|
5653
5658
|
}
|
5654
5659
|
}
|
5655
5660
|
function Wf(e) {
|
5656
|
-
for (; !
|
5661
|
+
for (; !oa(e); )
|
5657
5662
|
;
|
5658
5663
|
return e;
|
5659
5664
|
}
|
5660
|
-
function
|
5665
|
+
function fa(e, t) {
|
5661
5666
|
const n = Number.parseInt(e, t);
|
5662
5667
|
return (
|
5663
5668
|
// C0 except for HT, LF, FF, CR, space.
|
@@ -5677,11 +5682,11 @@ function Kf(e, t, n) {
|
|
5677
5682
|
return t;
|
5678
5683
|
if (n.charCodeAt(0) === 35) {
|
5679
5684
|
const i = n.charCodeAt(1), o = i === 120 || i === 88;
|
5680
|
-
return
|
5685
|
+
return fa(n.slice(o ? 2 : 1), o ? 16 : 10);
|
5681
5686
|
}
|
5682
5687
|
return zr(n) || e;
|
5683
5688
|
}
|
5684
|
-
const
|
5689
|
+
const pa = {}.hasOwnProperty, Xf = (
|
5685
5690
|
/**
|
5686
5691
|
* @type {(
|
5687
5692
|
* ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) &
|
@@ -5707,7 +5712,7 @@ function Jf(e) {
|
|
5707
5712
|
transforms: [],
|
5708
5713
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
5709
5714
|
enter: {
|
5710
|
-
autolink: l(
|
5715
|
+
autolink: l(me),
|
5711
5716
|
autolinkProtocol: A,
|
5712
5717
|
autolinkEmail: A,
|
5713
5718
|
atxHeading: l(ot),
|
@@ -5733,9 +5738,9 @@ function Jf(e) {
|
|
5733
5738
|
htmlFlowData: A,
|
5734
5739
|
htmlText: l(R, u),
|
5735
5740
|
htmlTextData: A,
|
5736
|
-
image: l(
|
5741
|
+
image: l(oe),
|
5737
5742
|
label: u,
|
5738
|
-
link: l(
|
5743
|
+
link: l(me),
|
5739
5744
|
listItem: l(je),
|
5740
5745
|
listItemValue: T,
|
5741
5746
|
listOrdered: l(he, d),
|
@@ -5780,7 +5785,7 @@ function Jf(e) {
|
|
5780
5785
|
htmlFlowData: b,
|
5781
5786
|
htmlText: c(U),
|
5782
5787
|
htmlTextData: b,
|
5783
|
-
image: c(
|
5788
|
+
image: c(re),
|
5784
5789
|
label: ue,
|
5785
5790
|
labelText: g,
|
5786
5791
|
lineEnding: I,
|
@@ -5789,8 +5794,8 @@ function Jf(e) {
|
|
5789
5794
|
listOrdered: c(),
|
5790
5795
|
listUnordered: c(),
|
5791
5796
|
paragraph: c(),
|
5792
|
-
referenceString:
|
5793
|
-
resourceDestinationString:
|
5797
|
+
referenceString: ie,
|
5798
|
+
resourceDestinationString: ye,
|
5794
5799
|
resourceTitleString: h,
|
5795
5800
|
resource: ge,
|
5796
5801
|
setextHeading: c(K),
|
@@ -5800,7 +5805,7 @@ function Jf(e) {
|
|
5800
5805
|
thematicBreak: c()
|
5801
5806
|
}
|
5802
5807
|
};
|
5803
|
-
|
5808
|
+
da(t, (e || {}).mdastExtensions || []);
|
5804
5809
|
const n = {};
|
5805
5810
|
return r;
|
5806
5811
|
function r(D) {
|
@@ -5808,7 +5813,7 @@ function Jf(e) {
|
|
5808
5813
|
type: "root",
|
5809
5814
|
children: []
|
5810
5815
|
};
|
5811
|
-
const
|
5816
|
+
const Y = {
|
5812
5817
|
stack: [O],
|
5813
5818
|
tokenStack: [],
|
5814
5819
|
config: t,
|
@@ -5819,30 +5824,30 @@ function Jf(e) {
|
|
5819
5824
|
setData: o,
|
5820
5825
|
getData: a
|
5821
5826
|
}, ee = [];
|
5822
|
-
let
|
5823
|
-
for (; ++
|
5824
|
-
if (D[
|
5825
|
-
if (D[
|
5826
|
-
ee.push(
|
5827
|
+
let ne = -1;
|
5828
|
+
for (; ++ne < D.length; )
|
5829
|
+
if (D[ne][1].type === "listOrdered" || D[ne][1].type === "listUnordered")
|
5830
|
+
if (D[ne][0] === "enter")
|
5831
|
+
ee.push(ne);
|
5827
5832
|
else {
|
5828
5833
|
const Ie = ee.pop();
|
5829
|
-
|
5834
|
+
ne = i(D, Ie, ne);
|
5830
5835
|
}
|
5831
|
-
for (
|
5832
|
-
const Ie = t[D[
|
5833
|
-
|
5836
|
+
for (ne = -1; ++ne < D.length; ) {
|
5837
|
+
const Ie = t[D[ne][0]];
|
5838
|
+
pa.call(Ie, D[ne][1].type) && Ie[D[ne][1].type].call(
|
5834
5839
|
Object.assign(
|
5835
5840
|
{
|
5836
|
-
sliceSerialize: D[
|
5841
|
+
sliceSerialize: D[ne][2].sliceSerialize
|
5837
5842
|
},
|
5838
|
-
|
5843
|
+
Y
|
5839
5844
|
),
|
5840
|
-
D[
|
5845
|
+
D[ne][1]
|
5841
5846
|
);
|
5842
5847
|
}
|
5843
|
-
if (
|
5844
|
-
const Ie =
|
5845
|
-
(Ie[1] || Zi).call(
|
5848
|
+
if (Y.tokenStack.length > 0) {
|
5849
|
+
const Ie = Y.tokenStack[Y.tokenStack.length - 1];
|
5850
|
+
(Ie[1] || Zi).call(Y, void 0, Ie[0]);
|
5846
5851
|
}
|
5847
5852
|
for (O.position = {
|
5848
5853
|
start: Je(
|
@@ -5859,15 +5864,15 @@ function Jf(e) {
|
|
5859
5864
|
offset: 0
|
5860
5865
|
}
|
5861
5866
|
)
|
5862
|
-
},
|
5863
|
-
O = t.transforms[
|
5867
|
+
}, ne = -1; ++ne < t.transforms.length; )
|
5868
|
+
O = t.transforms[ne](O) || O;
|
5864
5869
|
return O;
|
5865
5870
|
}
|
5866
|
-
function i(D, O,
|
5867
|
-
let ee = O - 1,
|
5868
|
-
for (; ++ee <=
|
5871
|
+
function i(D, O, Y) {
|
5872
|
+
let ee = O - 1, ne = -1, Ie = !1, Qe, Ye, lt, Ee;
|
5873
|
+
for (; ++ee <= Y; ) {
|
5869
5874
|
const se = D[ee];
|
5870
|
-
if (se[1].type === "listUnordered" || se[1].type === "listOrdered" || se[1].type === "blockQuote" ? (se[0] === "enter" ?
|
5875
|
+
if (se[1].type === "listUnordered" || se[1].type === "listOrdered" || se[1].type === "blockQuote" ? (se[0] === "enter" ? ne++ : ne--, Ee = void 0) : se[1].type === "lineEndingBlank" ? se[0] === "enter" && (Qe && !Ee && !ne && !lt && (lt = ee), Ee = void 0) : se[1].type === "linePrefix" || se[1].type === "listItemValue" || se[1].type === "listItemMarker" || se[1].type === "listItemPrefix" || se[1].type === "listItemPrefixWhitespace" || (Ee = void 0), !ne && se[0] === "enter" && se[1].type === "listItemPrefix" || ne === -1 && se[0] === "exit" && (se[1].type === "listUnordered" || se[1].type === "listOrdered")) {
|
5871
5876
|
if (Qe) {
|
5872
5877
|
let Et = ee;
|
5873
5878
|
for (Ye = void 0; Et--; ) {
|
@@ -5882,7 +5887,7 @@ function Jf(e) {
|
|
5882
5887
|
lt && (!Ye || lt < Ye) && (Qe._spread = !0), Qe.end = Object.assign(
|
5883
5888
|
{},
|
5884
5889
|
Ye ? D[Ye][1].start : se[1].end
|
5885
|
-
), D.splice(Ye || ee, 0, ["exit", Qe, se[2]]), ee++,
|
5890
|
+
), D.splice(Ye || ee, 0, ["exit", Qe, se[2]]), ee++, Y++;
|
5886
5891
|
}
|
5887
5892
|
se[1].type === "listItemPrefix" && (Qe = {
|
5888
5893
|
type: "listItem",
|
@@ -5890,10 +5895,10 @@ function Jf(e) {
|
|
5890
5895
|
start: Object.assign({}, se[1].start),
|
5891
5896
|
// @ts-expect-error: we’ll add `end` in a second.
|
5892
5897
|
end: void 0
|
5893
|
-
}, D.splice(ee, 0, ["enter", Qe, se[2]]), ee++,
|
5898
|
+
}, D.splice(ee, 0, ["enter", Qe, se[2]]), ee++, Y++, lt = void 0, Ee = !0);
|
5894
5899
|
}
|
5895
5900
|
}
|
5896
|
-
return D[O][1]._spread = Ie,
|
5901
|
+
return D[O][1]._spread = Ie, Y;
|
5897
5902
|
}
|
5898
5903
|
function o(D, O) {
|
5899
5904
|
n[D] = O;
|
@@ -5902,8 +5907,8 @@ function Jf(e) {
|
|
5902
5907
|
return n[D];
|
5903
5908
|
}
|
5904
5909
|
function l(D, O) {
|
5905
|
-
return
|
5906
|
-
function
|
5910
|
+
return Y;
|
5911
|
+
function Y(ee) {
|
5907
5912
|
s.call(this, D(ee), ee), O && O.call(this, ee);
|
5908
5913
|
}
|
5909
5914
|
}
|
@@ -5913,19 +5918,19 @@ function Jf(e) {
|
|
5913
5918
|
children: []
|
5914
5919
|
});
|
5915
5920
|
}
|
5916
|
-
function s(D, O,
|
5917
|
-
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([O,
|
5921
|
+
function s(D, O, Y) {
|
5922
|
+
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([O, Y]), D.position = {
|
5918
5923
|
start: Je(O.start)
|
5919
5924
|
}, D;
|
5920
5925
|
}
|
5921
5926
|
function c(D) {
|
5922
5927
|
return O;
|
5923
|
-
function O(
|
5924
|
-
D && D.call(this,
|
5928
|
+
function O(Y) {
|
5929
|
+
D && D.call(this, Y), p.call(this, Y);
|
5925
5930
|
}
|
5926
5931
|
}
|
5927
5932
|
function p(D, O) {
|
5928
|
-
const
|
5933
|
+
const Y = this.stack.pop(), ee = this.tokenStack.pop();
|
5929
5934
|
if (ee)
|
5930
5935
|
ee[0].type !== D.type && (O ? O.call(this, D, ee[0]) : (ee[1] || Zi).call(this, D, ee[0]));
|
5931
5936
|
else
|
@@ -5935,7 +5940,7 @@ function Jf(e) {
|
|
5935
5940
|
end: D.end
|
5936
5941
|
}) + "): it’s not open"
|
5937
5942
|
);
|
5938
|
-
return
|
5943
|
+
return Y.position.end = Je(D.end), Y;
|
5939
5944
|
}
|
5940
5945
|
function m() {
|
5941
5946
|
return Zs(this.stack.pop());
|
@@ -5969,8 +5974,8 @@ function Jf(e) {
|
|
5969
5974
|
O.value = D.replace(/(\r?\n|\r)$/g, "");
|
5970
5975
|
}
|
5971
5976
|
function W(D) {
|
5972
|
-
const O = this.resume(),
|
5973
|
-
|
5977
|
+
const O = this.resume(), Y = this.stack[this.stack.length - 1];
|
5978
|
+
Y.label = O, Y.identifier = Mt(
|
5974
5979
|
this.sliceSerialize(D)
|
5975
5980
|
).toLowerCase();
|
5976
5981
|
}
|
@@ -5985,8 +5990,8 @@ function Jf(e) {
|
|
5985
5990
|
function F(D) {
|
5986
5991
|
const O = this.stack[this.stack.length - 1];
|
5987
5992
|
if (!O.depth) {
|
5988
|
-
const
|
5989
|
-
O.depth =
|
5993
|
+
const Y = this.sliceSerialize(D).length;
|
5994
|
+
O.depth = Y;
|
5990
5995
|
}
|
5991
5996
|
}
|
5992
5997
|
function H() {
|
@@ -6001,10 +6006,10 @@ function Jf(e) {
|
|
6001
6006
|
}
|
6002
6007
|
function A(D) {
|
6003
6008
|
const O = this.stack[this.stack.length - 1];
|
6004
|
-
let
|
6005
|
-
(!
|
6009
|
+
let Y = O.children[O.children.length - 1];
|
6010
|
+
(!Y || Y.type !== "text") && (Y = Xe(), Y.position = {
|
6006
6011
|
start: Je(D.start)
|
6007
|
-
}, O.children.push(
|
6012
|
+
}, O.children.push(Y)), this.stack.push(Y);
|
6008
6013
|
}
|
6009
6014
|
function b(D) {
|
6010
6015
|
const O = this.stack.pop();
|
@@ -6013,8 +6018,8 @@ function Jf(e) {
|
|
6013
6018
|
function I(D) {
|
6014
6019
|
const O = this.stack[this.stack.length - 1];
|
6015
6020
|
if (a("atHardBreak")) {
|
6016
|
-
const
|
6017
|
-
|
6021
|
+
const Y = O.children[O.children.length - 1];
|
6022
|
+
Y.position.end = Je(D.end), o("atHardBreak");
|
6018
6023
|
return;
|
6019
6024
|
}
|
6020
6025
|
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(O.type) && (A.call(this, D), b.call(this, D));
|
@@ -6043,7 +6048,7 @@ function Jf(e) {
|
|
6043
6048
|
delete D.identifier, delete D.label;
|
6044
6049
|
o("referenceType");
|
6045
6050
|
}
|
6046
|
-
function
|
6051
|
+
function re() {
|
6047
6052
|
const D = this.stack[this.stack.length - 1];
|
6048
6053
|
if (a("inReference")) {
|
6049
6054
|
const O = a("referenceType") || "shortcut";
|
@@ -6053,18 +6058,18 @@ function Jf(e) {
|
|
6053
6058
|
o("referenceType");
|
6054
6059
|
}
|
6055
6060
|
function g(D) {
|
6056
|
-
const O = this.sliceSerialize(D),
|
6057
|
-
|
6061
|
+
const O = this.sliceSerialize(D), Y = this.stack[this.stack.length - 2];
|
6062
|
+
Y.label = Zf(O), Y.identifier = Mt(O).toLowerCase();
|
6058
6063
|
}
|
6059
6064
|
function ue() {
|
6060
|
-
const D = this.stack[this.stack.length - 1], O = this.resume(),
|
6061
|
-
if (o("inReference", !0),
|
6065
|
+
const D = this.stack[this.stack.length - 1], O = this.resume(), Y = this.stack[this.stack.length - 1];
|
6066
|
+
if (o("inReference", !0), Y.type === "link") {
|
6062
6067
|
const ee = D.children;
|
6063
|
-
|
6068
|
+
Y.children = ee;
|
6064
6069
|
} else
|
6065
|
-
|
6070
|
+
Y.alt = O;
|
6066
6071
|
}
|
6067
|
-
function
|
6072
|
+
function ye() {
|
6068
6073
|
const D = this.resume(), O = this.stack[this.stack.length - 1];
|
6069
6074
|
O.url = D;
|
6070
6075
|
}
|
@@ -6078,9 +6083,9 @@ function Jf(e) {
|
|
6078
6083
|
function De() {
|
6079
6084
|
o("referenceType", "collapsed");
|
6080
6085
|
}
|
6081
|
-
function
|
6082
|
-
const O = this.resume(),
|
6083
|
-
|
6086
|
+
function ie(D) {
|
6087
|
+
const O = this.resume(), Y = this.stack[this.stack.length - 1];
|
6088
|
+
Y.label = O, Y.identifier = Mt(
|
6084
6089
|
this.sliceSerialize(D)
|
6085
6090
|
).toLowerCase(), o("referenceType", "full");
|
6086
6091
|
}
|
@@ -6088,14 +6093,14 @@ function Jf(e) {
|
|
6088
6093
|
o("characterReferenceType", D.type);
|
6089
6094
|
}
|
6090
6095
|
function be(D) {
|
6091
|
-
const O = this.sliceSerialize(D),
|
6096
|
+
const O = this.sliceSerialize(D), Y = a("characterReferenceType");
|
6092
6097
|
let ee;
|
6093
|
-
|
6098
|
+
Y ? (ee = fa(
|
6094
6099
|
O,
|
6095
|
-
|
6100
|
+
Y === "characterReferenceMarkerNumeric" ? 10 : 16
|
6096
6101
|
), o("characterReferenceType")) : ee = zr(O);
|
6097
|
-
const
|
6098
|
-
|
6102
|
+
const ne = this.stack.pop();
|
6103
|
+
ne.value += ee, ne.position.end = Je(D.end);
|
6099
6104
|
}
|
6100
6105
|
function Be(D) {
|
6101
6106
|
b.call(this, D);
|
@@ -6160,7 +6165,7 @@ function Jf(e) {
|
|
6160
6165
|
value: ""
|
6161
6166
|
};
|
6162
6167
|
}
|
6163
|
-
function
|
6168
|
+
function oe() {
|
6164
6169
|
return {
|
6165
6170
|
type: "image",
|
6166
6171
|
title: null,
|
@@ -6168,7 +6173,7 @@ function Jf(e) {
|
|
6168
6173
|
alt: null
|
6169
6174
|
};
|
6170
6175
|
}
|
6171
|
-
function
|
6176
|
+
function me() {
|
6172
6177
|
return {
|
6173
6178
|
type: "link",
|
6174
6179
|
title: null,
|
@@ -6224,17 +6229,17 @@ function Je(e) {
|
|
6224
6229
|
offset: e.offset
|
6225
6230
|
};
|
6226
6231
|
}
|
6227
|
-
function
|
6232
|
+
function da(e, t) {
|
6228
6233
|
let n = -1;
|
6229
6234
|
for (; ++n < t.length; ) {
|
6230
6235
|
const r = t[n];
|
6231
|
-
Array.isArray(r) ?
|
6236
|
+
Array.isArray(r) ? da(e, r) : ep(e, r);
|
6232
6237
|
}
|
6233
6238
|
}
|
6234
6239
|
function ep(e, t) {
|
6235
6240
|
let n;
|
6236
6241
|
for (n in t)
|
6237
|
-
if (
|
6242
|
+
if (pa.call(t, n)) {
|
6238
6243
|
if (n === "canContainEols") {
|
6239
6244
|
const r = t[n];
|
6240
6245
|
r && e[n].push(...r);
|
@@ -6344,7 +6349,7 @@ function Dt(e) {
|
|
6344
6349
|
}
|
6345
6350
|
return t.join("") + e.slice(r);
|
6346
6351
|
}
|
6347
|
-
function
|
6352
|
+
function ha(e, t) {
|
6348
6353
|
const n = String(t.identifier).toUpperCase(), r = Dt(n.toLowerCase()), i = e.footnoteOrder.indexOf(n);
|
6349
6354
|
let o;
|
6350
6355
|
i === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, o = e.footnoteOrder.length) : (e.footnoteCounts[n]++, o = i + 1);
|
@@ -6379,7 +6384,7 @@ function lp(e, t) {
|
|
6379
6384
|
identifier: i,
|
6380
6385
|
children: [{ type: "paragraph", children: t.children }],
|
6381
6386
|
position: t.position
|
6382
|
-
},
|
6387
|
+
}, ha(e, {
|
6383
6388
|
type: "footnoteReference",
|
6384
6389
|
identifier: i,
|
6385
6390
|
position: t.position
|
@@ -6401,7 +6406,7 @@ function sp(e, t) {
|
|
6401
6406
|
}
|
6402
6407
|
return null;
|
6403
6408
|
}
|
6404
|
-
function
|
6409
|
+
function ga(e, t) {
|
6405
6410
|
const n = t.referenceType;
|
6406
6411
|
let r = "]";
|
6407
6412
|
if (n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference")
|
@@ -6414,7 +6419,7 @@ function ha(e, t) {
|
|
6414
6419
|
function cp(e, t) {
|
6415
6420
|
const n = e.definition(t.identifier);
|
6416
6421
|
if (!n)
|
6417
|
-
return
|
6422
|
+
return ga(e, t);
|
6418
6423
|
const r = { src: Dt(n.url || ""), alt: t.alt };
|
6419
6424
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6420
6425
|
const i = { type: "element", tagName: "img", properties: r, children: [] };
|
@@ -6440,7 +6445,7 @@ function pp(e, t) {
|
|
6440
6445
|
function dp(e, t) {
|
6441
6446
|
const n = e.definition(t.identifier);
|
6442
6447
|
if (!n)
|
6443
|
-
return
|
6448
|
+
return ga(e, t);
|
6444
6449
|
const r = { href: Dt(n.url || "") };
|
6445
6450
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6446
6451
|
const i = {
|
@@ -6463,7 +6468,7 @@ function hp(e, t) {
|
|
6463
6468
|
return e.patch(t, r), e.applyData(t, r);
|
6464
6469
|
}
|
6465
6470
|
function gp(e, t, n) {
|
6466
|
-
const r = e.all(t), i = n ? mp(n) :
|
6471
|
+
const r = e.all(t), i = n ? mp(n) : ma(t), o = {}, a = [];
|
6467
6472
|
if (typeof t.checked == "boolean") {
|
6468
6473
|
const c = r[0];
|
6469
6474
|
let p;
|
@@ -6493,11 +6498,11 @@ function mp(e) {
|
|
6493
6498
|
const n = e.children;
|
6494
6499
|
let r = -1;
|
6495
6500
|
for (; !t && ++r < n.length; )
|
6496
|
-
t =
|
6501
|
+
t = ma(n[r]);
|
6497
6502
|
}
|
6498
6503
|
return t;
|
6499
6504
|
}
|
6500
|
-
function
|
6505
|
+
function ma(e) {
|
6501
6506
|
const t = e.spread;
|
6502
6507
|
return t ?? e.children.length > 1;
|
6503
6508
|
}
|
@@ -6541,11 +6546,11 @@ function bp(e, t) {
|
|
6541
6546
|
};
|
6542
6547
|
return e.patch(t, n), e.applyData(t, n);
|
6543
6548
|
}
|
6544
|
-
const Fr =
|
6549
|
+
const Fr = ya("start"), Pr = ya("end");
|
6545
6550
|
function wp(e) {
|
6546
6551
|
return { start: Fr(e), end: Pr(e) };
|
6547
6552
|
}
|
6548
|
-
function
|
6553
|
+
function ya(e) {
|
6549
6554
|
return t;
|
6550
6555
|
function t(n) {
|
6551
6556
|
const r = n && n.position && n.position[e] || {};
|
@@ -6660,7 +6665,7 @@ const jp = {
|
|
6660
6665
|
code: ip,
|
6661
6666
|
delete: op,
|
6662
6667
|
emphasis: ap,
|
6663
|
-
footnoteReference:
|
6668
|
+
footnoteReference: ha,
|
6664
6669
|
footnote: lp,
|
6665
6670
|
heading: up,
|
6666
6671
|
html: sp,
|
@@ -6687,7 +6692,7 @@ const jp = {
|
|
6687
6692
|
function nn() {
|
6688
6693
|
return null;
|
6689
6694
|
}
|
6690
|
-
const
|
6695
|
+
const Ma = (
|
6691
6696
|
/**
|
6692
6697
|
* @type {(
|
6693
6698
|
* (<Kind extends Node>(test: PredicateTest<Kind>) => AssertPredicate<Kind>) &
|
@@ -6714,7 +6719,7 @@ function Ep(e) {
|
|
6714
6719
|
const t = [];
|
6715
6720
|
let n = -1;
|
6716
6721
|
for (; ++n < e.length; )
|
6717
|
-
t[n] =
|
6722
|
+
t[n] = Ma(e[n]);
|
6718
6723
|
return Dn(r);
|
6719
6724
|
function r(...i) {
|
6720
6725
|
let o = -1;
|
@@ -6765,7 +6770,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6765
6770
|
*/
|
6766
6771
|
function(e, t, n, r) {
|
6767
6772
|
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null);
|
6768
|
-
const i =
|
6773
|
+
const i = Ma(t), o = r ? -1 : 1;
|
6769
6774
|
a(e, void 0, [])();
|
6770
6775
|
function a(l, u, s) {
|
6771
6776
|
const c = l && typeof l == "object" ? l : {};
|
@@ -6880,7 +6885,7 @@ function Rp(e, t) {
|
|
6880
6885
|
});
|
6881
6886
|
}
|
6882
6887
|
function l(s, c) {
|
6883
|
-
return
|
6888
|
+
return xa(a, s, c);
|
6884
6889
|
}
|
6885
6890
|
function u(s) {
|
6886
6891
|
return Rr(a, s);
|
@@ -6902,7 +6907,7 @@ function Bp(e, t) {
|
|
6902
6907
|
}
|
6903
6908
|
return n;
|
6904
6909
|
}
|
6905
|
-
function
|
6910
|
+
function xa(e, t, n) {
|
6906
6911
|
const r = t && t.type;
|
6907
6912
|
if (!r)
|
6908
6913
|
throw new Error("Expected node, got `" + t + "`");
|
@@ -6914,7 +6919,7 @@ function Rr(e, t) {
|
|
6914
6919
|
const r = t.children;
|
6915
6920
|
let i = -1;
|
6916
6921
|
for (; ++i < r.length; ) {
|
6917
|
-
const o =
|
6922
|
+
const o = xa(e, r[i], t);
|
6918
6923
|
if (o) {
|
6919
6924
|
if (i && r[i - 1].type === "break" && (!Array.isArray(o) && o.type === "text" && (o.value = o.value.replace(/^\s+/, "")), !Array.isArray(o) && o.type === "element")) {
|
6920
6925
|
const a = o.children[0];
|
@@ -7016,7 +7021,7 @@ function Hp(e) {
|
|
7016
7021
|
]
|
7017
7022
|
};
|
7018
7023
|
}
|
7019
|
-
function
|
7024
|
+
function ba(e, t) {
|
7020
7025
|
const n = Rp(e, t), r = n.one(e, null), i = Hp(n);
|
7021
7026
|
return i && r.children.push({ type: "text", value: `
|
7022
7027
|
` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
|
@@ -7029,13 +7034,13 @@ const $p = (
|
|
7029
7034
|
), qp = $p;
|
7030
7035
|
function Vp(e, t) {
|
7031
7036
|
return (n, r, i) => {
|
7032
|
-
e.run(
|
7037
|
+
e.run(ba(n, t), r, (o) => {
|
7033
7038
|
i(o);
|
7034
7039
|
});
|
7035
7040
|
};
|
7036
7041
|
}
|
7037
7042
|
function Wp(e) {
|
7038
|
-
return (t) =>
|
7043
|
+
return (t) => ba(t, e);
|
7039
7044
|
}
|
7040
7045
|
class Wt {
|
7041
7046
|
/**
|
@@ -7051,7 +7056,7 @@ class Wt {
|
|
7051
7056
|
Wt.prototype.property = {};
|
7052
7057
|
Wt.prototype.normal = {};
|
7053
7058
|
Wt.prototype.space = null;
|
7054
|
-
function
|
7059
|
+
function wa(e, t) {
|
7055
7060
|
const n = {}, r = {};
|
7056
7061
|
let i = -1;
|
7057
7062
|
for (; ++i < e.length; )
|
@@ -7082,18 +7087,18 @@ Re.prototype.commaOrSpaceSeparated = !1;
|
|
7082
7087
|
Re.prototype.mustUseProperty = !1;
|
7083
7088
|
Re.prototype.defined = !1;
|
7084
7089
|
let Gp = 0;
|
7085
|
-
const Z = ht(),
|
7090
|
+
const Z = ht(), Me = ht(), va = ht(), E = ht(), ce = ht(), xt = ht(), Ce = ht();
|
7086
7091
|
function ht() {
|
7087
7092
|
return 2 ** ++Gp;
|
7088
7093
|
}
|
7089
7094
|
const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
7090
7095
|
__proto__: null,
|
7091
7096
|
boolean: Z,
|
7092
|
-
booleanish:
|
7097
|
+
booleanish: Me,
|
7093
7098
|
commaOrSpaceSeparated: Ce,
|
7094
7099
|
commaSeparated: xt,
|
7095
7100
|
number: E,
|
7096
|
-
overloadedBoolean:
|
7101
|
+
overloadedBoolean: va,
|
7097
7102
|
spaceSeparated: ce
|
7098
7103
|
}, Symbol.toStringTag, { value: "Module" })), tr = Object.keys(br);
|
7099
7104
|
class Ur extends Re {
|
@@ -7133,7 +7138,7 @@ function Tt(e) {
|
|
7133
7138
|
}
|
7134
7139
|
return new Wt(t, n, e.space);
|
7135
7140
|
}
|
7136
|
-
const
|
7141
|
+
const Da = Tt({
|
7137
7142
|
space: "xlink",
|
7138
7143
|
transform(e, t) {
|
7139
7144
|
return "xlink:" + t.slice(5).toLowerCase();
|
@@ -7147,34 +7152,34 @@ const va = Tt({
|
|
7147
7152
|
xLinkTitle: null,
|
7148
7153
|
xLinkType: null
|
7149
7154
|
}
|
7150
|
-
}),
|
7155
|
+
}), Ta = Tt({
|
7151
7156
|
space: "xml",
|
7152
7157
|
transform(e, t) {
|
7153
7158
|
return "xml:" + t.slice(3).toLowerCase();
|
7154
7159
|
},
|
7155
7160
|
properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
|
7156
7161
|
});
|
7157
|
-
function
|
7162
|
+
function Ia(e, t) {
|
7158
7163
|
return t in e ? e[t] : t;
|
7159
7164
|
}
|
7160
|
-
function
|
7161
|
-
return
|
7165
|
+
function Na(e, t) {
|
7166
|
+
return Ia(e, t.toLowerCase());
|
7162
7167
|
}
|
7163
|
-
const
|
7168
|
+
const ka = Tt({
|
7164
7169
|
space: "xmlns",
|
7165
7170
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
7166
|
-
transform:
|
7171
|
+
transform: Na,
|
7167
7172
|
properties: { xmlns: null, xmlnsXLink: null }
|
7168
|
-
}),
|
7173
|
+
}), ja = Tt({
|
7169
7174
|
transform(e, t) {
|
7170
7175
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
7171
7176
|
},
|
7172
7177
|
properties: {
|
7173
7178
|
ariaActiveDescendant: null,
|
7174
|
-
ariaAtomic:
|
7179
|
+
ariaAtomic: Me,
|
7175
7180
|
ariaAutoComplete: null,
|
7176
|
-
ariaBusy:
|
7177
|
-
ariaChecked:
|
7181
|
+
ariaBusy: Me,
|
7182
|
+
ariaChecked: Me,
|
7178
7183
|
ariaColCount: E,
|
7179
7184
|
ariaColIndex: E,
|
7180
7185
|
ariaColSpan: E,
|
@@ -7182,36 +7187,36 @@ const Na = Tt({
|
|
7182
7187
|
ariaCurrent: null,
|
7183
7188
|
ariaDescribedBy: ce,
|
7184
7189
|
ariaDetails: null,
|
7185
|
-
ariaDisabled:
|
7190
|
+
ariaDisabled: Me,
|
7186
7191
|
ariaDropEffect: ce,
|
7187
7192
|
ariaErrorMessage: null,
|
7188
|
-
ariaExpanded:
|
7193
|
+
ariaExpanded: Me,
|
7189
7194
|
ariaFlowTo: ce,
|
7190
|
-
ariaGrabbed:
|
7195
|
+
ariaGrabbed: Me,
|
7191
7196
|
ariaHasPopup: null,
|
7192
|
-
ariaHidden:
|
7197
|
+
ariaHidden: Me,
|
7193
7198
|
ariaInvalid: null,
|
7194
7199
|
ariaKeyShortcuts: null,
|
7195
7200
|
ariaLabel: null,
|
7196
7201
|
ariaLabelledBy: ce,
|
7197
7202
|
ariaLevel: E,
|
7198
7203
|
ariaLive: null,
|
7199
|
-
ariaModal:
|
7200
|
-
ariaMultiLine:
|
7201
|
-
ariaMultiSelectable:
|
7204
|
+
ariaModal: Me,
|
7205
|
+
ariaMultiLine: Me,
|
7206
|
+
ariaMultiSelectable: Me,
|
7202
7207
|
ariaOrientation: null,
|
7203
7208
|
ariaOwns: ce,
|
7204
7209
|
ariaPlaceholder: null,
|
7205
7210
|
ariaPosInSet: E,
|
7206
|
-
ariaPressed:
|
7207
|
-
ariaReadOnly:
|
7211
|
+
ariaPressed: Me,
|
7212
|
+
ariaReadOnly: Me,
|
7208
7213
|
ariaRelevant: null,
|
7209
|
-
ariaRequired:
|
7214
|
+
ariaRequired: Me,
|
7210
7215
|
ariaRoleDescription: ce,
|
7211
7216
|
ariaRowCount: E,
|
7212
7217
|
ariaRowIndex: E,
|
7213
7218
|
ariaRowSpan: E,
|
7214
|
-
ariaSelected:
|
7219
|
+
ariaSelected: Me,
|
7215
7220
|
ariaSetSize: E,
|
7216
7221
|
ariaSort: null,
|
7217
7222
|
ariaValueMax: E,
|
@@ -7228,7 +7233,7 @@ const Na = Tt({
|
|
7228
7233
|
htmlfor: "for",
|
7229
7234
|
httpequiv: "http-equiv"
|
7230
7235
|
},
|
7231
|
-
transform:
|
7236
|
+
transform: Na,
|
7232
7237
|
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
7233
7238
|
properties: {
|
7234
7239
|
// Standard Properties.
|
@@ -7257,7 +7262,7 @@ const Na = Tt({
|
|
7257
7262
|
cols: E,
|
7258
7263
|
colSpan: null,
|
7259
7264
|
content: null,
|
7260
|
-
contentEditable:
|
7265
|
+
contentEditable: Me,
|
7261
7266
|
controls: Z,
|
7262
7267
|
controlsList: ce,
|
7263
7268
|
coords: E | xt,
|
@@ -7270,8 +7275,8 @@ const Na = Tt({
|
|
7270
7275
|
dir: null,
|
7271
7276
|
dirName: null,
|
7272
7277
|
disabled: Z,
|
7273
|
-
download:
|
7274
|
-
draggable:
|
7278
|
+
download: va,
|
7279
|
+
draggable: Me,
|
7275
7280
|
encType: null,
|
7276
7281
|
enterKeyHint: null,
|
7277
7282
|
fetchPriority: null,
|
@@ -7441,7 +7446,7 @@ const Na = Tt({
|
|
7441
7446
|
sizes: null,
|
7442
7447
|
slot: null,
|
7443
7448
|
span: E,
|
7444
|
-
spellCheck:
|
7449
|
+
spellCheck: Me,
|
7445
7450
|
src: null,
|
7446
7451
|
srcDoc: null,
|
7447
7452
|
srcLang: null,
|
@@ -7456,7 +7461,7 @@ const Na = Tt({
|
|
7456
7461
|
type: null,
|
7457
7462
|
typeMustMatch: Z,
|
7458
7463
|
useMap: null,
|
7459
|
-
value:
|
7464
|
+
value: Me,
|
7460
7465
|
width: E,
|
7461
7466
|
wrap: null,
|
7462
7467
|
// Legacy.
|
@@ -7547,7 +7552,7 @@ const Na = Tt({
|
|
7547
7552
|
// `<table>`
|
7548
7553
|
scheme: null,
|
7549
7554
|
// `<meta>`
|
7550
|
-
scrolling:
|
7555
|
+
scrolling: Me,
|
7551
7556
|
// `<frame>`. Use overflow in the child context
|
7552
7557
|
standby: null,
|
7553
7558
|
// `<object>`
|
@@ -7756,7 +7761,7 @@ const Na = Tt({
|
|
7756
7761
|
playbackOrder: "playbackorder",
|
7757
7762
|
timelineBegin: "timelinebegin"
|
7758
7763
|
},
|
7759
|
-
transform:
|
7764
|
+
transform: Ia,
|
7760
7765
|
properties: {
|
7761
7766
|
about: Ce,
|
7762
7767
|
accentHeight: E,
|
@@ -8183,7 +8188,7 @@ const oo = {
|
|
8183
8188
|
xLinkTitle: "xlinkTitle",
|
8184
8189
|
xLinkType: "xlinkType",
|
8185
8190
|
xmlnsXLink: "xmlnsXlink"
|
8186
|
-
}, id =
|
8191
|
+
}, id = wa([Ta, Da, ka, ja, Kp], "html"), od = wa([Ta, Da, ka, ja, Xp], "svg");
|
8187
8192
|
function ad(e) {
|
8188
8193
|
if (e.allowedElements && e.disallowedElements)
|
8189
8194
|
throw new TypeError(
|
@@ -8202,7 +8207,7 @@ function ad(e) {
|
|
8202
8207
|
});
|
8203
8208
|
};
|
8204
8209
|
}
|
8205
|
-
var
|
8210
|
+
var Ea = { exports: {} }, ae = {};
|
8206
8211
|
/**
|
8207
8212
|
* @license React
|
8208
8213
|
* react-is.production.min.js
|
@@ -8212,8 +8217,8 @@ var ja = { exports: {} }, ae = {};
|
|
8212
8217
|
* This source code is licensed under the MIT license found in the
|
8213
8218
|
* LICENSE file in the root directory of this source tree.
|
8214
8219
|
*/
|
8215
|
-
var Br = Symbol.for("react.element"), Qr = Symbol.for("react.portal"), Tn = Symbol.for("react.fragment"), In = Symbol.for("react.strict_mode"), Nn = Symbol.for("react.profiler"), kn = Symbol.for("react.provider"), jn = Symbol.for("react.context"), ld = Symbol.for("react.server_context"), En = Symbol.for("react.forward_ref"), An = Symbol.for("react.suspense"), Cn = Symbol.for("react.suspense_list"), Sn = Symbol.for("react.memo"), On = Symbol.for("react.lazy"), ud = Symbol.for("react.offscreen"),
|
8216
|
-
|
8220
|
+
var Br = Symbol.for("react.element"), Qr = Symbol.for("react.portal"), Tn = Symbol.for("react.fragment"), In = Symbol.for("react.strict_mode"), Nn = Symbol.for("react.profiler"), kn = Symbol.for("react.provider"), jn = Symbol.for("react.context"), ld = Symbol.for("react.server_context"), En = Symbol.for("react.forward_ref"), An = Symbol.for("react.suspense"), Cn = Symbol.for("react.suspense_list"), Sn = Symbol.for("react.memo"), On = Symbol.for("react.lazy"), ud = Symbol.for("react.offscreen"), Aa;
|
8221
|
+
Aa = Symbol.for("react.module.reference");
|
8217
8222
|
function Ue(e) {
|
8218
8223
|
if (typeof e == "object" && e !== null) {
|
8219
8224
|
var t = e.$$typeof;
|
@@ -8299,11 +8304,11 @@ ae.isSuspenseList = function(e) {
|
|
8299
8304
|
return Ue(e) === Cn;
|
8300
8305
|
};
|
8301
8306
|
ae.isValidElementType = function(e) {
|
8302
|
-
return typeof e == "string" || typeof e == "function" || e === Tn || e === Nn || e === In || e === An || e === Cn || e === ud || typeof e == "object" && e !== null && (e.$$typeof === On || e.$$typeof === Sn || e.$$typeof === kn || e.$$typeof === jn || e.$$typeof === En || e.$$typeof ===
|
8307
|
+
return typeof e == "string" || typeof e == "function" || e === Tn || e === Nn || e === In || e === An || e === Cn || e === ud || typeof e == "object" && e !== null && (e.$$typeof === On || e.$$typeof === Sn || e.$$typeof === kn || e.$$typeof === jn || e.$$typeof === En || e.$$typeof === Aa || e.getModuleId !== void 0);
|
8303
8308
|
};
|
8304
8309
|
ae.typeOf = Ue;
|
8305
|
-
|
8306
|
-
var sd =
|
8310
|
+
Ea.exports = ae;
|
8311
|
+
var sd = Ea.exports;
|
8307
8312
|
const cd = /* @__PURE__ */ nt(sd);
|
8308
8313
|
function fd(e) {
|
8309
8314
|
const t = (
|
@@ -8411,7 +8416,7 @@ function so(e) {
|
|
8411
8416
|
return e ? e.replace(bd, ft) : ft;
|
8412
8417
|
}
|
8413
8418
|
var Id = Td;
|
8414
|
-
function
|
8419
|
+
function Ca(e, t) {
|
8415
8420
|
var n = null;
|
8416
8421
|
if (!e || typeof e != "string")
|
8417
8422
|
return n;
|
@@ -8419,11 +8424,11 @@ function Aa(e, t) {
|
|
8419
8424
|
r = i[u], a = r.property, l = r.value, o ? t(a, l, r) : l && (n || (n = {}), n[a] = l);
|
8420
8425
|
return n;
|
8421
8426
|
}
|
8422
|
-
Yr.exports =
|
8423
|
-
Yr.exports.default =
|
8427
|
+
Yr.exports = Ca;
|
8428
|
+
Yr.exports.default = Ca;
|
8424
8429
|
var Nd = Yr.exports;
|
8425
8430
|
const kd = /* @__PURE__ */ nt(Nd), wr = {}.hasOwnProperty, jd = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8426
|
-
function
|
8431
|
+
function Sa(e, t) {
|
8427
8432
|
const n = [];
|
8428
8433
|
let r = -1, i;
|
8429
8434
|
for (; ++r < t.children.length; )
|
@@ -8437,7 +8442,7 @@ function Ed(e, t, n, r) {
|
|
8437
8442
|
for (c in t.properties)
|
8438
8443
|
wr.call(t.properties, c) && Cd(u, c, t.properties[c], e);
|
8439
8444
|
(l === "ol" || l === "ul") && e.listDepth++;
|
8440
|
-
const p =
|
8445
|
+
const p = Sa(e, t);
|
8441
8446
|
(l === "ol" || l === "ul") && e.listDepth--, e.schema = a;
|
8442
8447
|
const m = t.position || {
|
8443
8448
|
start: { line: null, column: null, offset: null },
|
@@ -8535,7 +8540,7 @@ const co = {}.hasOwnProperty, Ld = "https://github.com/remarkjs/react-markdown/b
|
|
8535
8540
|
id: "change-includenodeindex-to-includeelementindex"
|
8536
8541
|
}
|
8537
8542
|
};
|
8538
|
-
function
|
8543
|
+
function Oa(e) {
|
8539
8544
|
for (const o in rn)
|
8540
8545
|
if (co.call(rn, o) && co.call(e, o)) {
|
8541
8546
|
const a = rn[o];
|
@@ -8546,7 +8551,7 @@ function Sa(e) {
|
|
8546
8551
|
const t = $s().use(tp).use(e.remarkPlugins || []).use(qp, {
|
8547
8552
|
...e.remarkRehypeOptions,
|
8548
8553
|
allowDangerousHtml: !0
|
8549
|
-
}).use(e.rehypePlugins || []).use(ad, e), n = new
|
8554
|
+
}).use(e.rehypePlugins || []).use(ad, e), n = new Ko();
|
8550
8555
|
typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn(
|
8551
8556
|
`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`
|
8552
8557
|
);
|
@@ -8556,11 +8561,11 @@ function Sa(e) {
|
|
8556
8561
|
let i = ve.createElement(
|
8557
8562
|
ve.Fragment,
|
8558
8563
|
{},
|
8559
|
-
|
8564
|
+
Sa({ options: e, schema: id, listDepth: 0 }, r)
|
8560
8565
|
);
|
8561
8566
|
return e.className && (i = ve.createElement("div", { className: e.className }, i)), i;
|
8562
8567
|
}
|
8563
|
-
|
8568
|
+
Oa.propTypes = {
|
8564
8569
|
// Core options:
|
8565
8570
|
children: N.string,
|
8566
8571
|
// Layout options:
|
@@ -8619,7 +8624,7 @@ Sa.propTypes = {
|
|
8619
8624
|
transformImageUri: N.func,
|
8620
8625
|
components: N.object
|
8621
8626
|
};
|
8622
|
-
function
|
8627
|
+
function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
8623
8628
|
return /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
|
8624
8629
|
/* @__PURE__ */ k.jsx(
|
8625
8630
|
"button",
|
@@ -8656,7 +8661,7 @@ function Oa({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
8656
8661
|
)
|
8657
8662
|
] });
|
8658
8663
|
}
|
8659
|
-
|
8664
|
+
za.propTypes = {
|
8660
8665
|
id: N.number.isRequired,
|
8661
8666
|
message: N.shape().isRequired,
|
8662
8667
|
onFeedbackThumbSelection: N.func.isRequired
|
@@ -8698,7 +8703,7 @@ const Hr = ({
|
|
8698
8703
|
className: "xpert-chatbot-popup__bubble--assistant",
|
8699
8704
|
style: { maxWidth: n ? "85%" : "67%" },
|
8700
8705
|
children: /* @__PURE__ */ k.jsx(
|
8701
|
-
|
8706
|
+
Oa,
|
8702
8707
|
{
|
8703
8708
|
components: {
|
8704
8709
|
a: (a) => /* @__PURE__ */ k.jsx(
|
@@ -8721,7 +8726,7 @@ const Hr = ({
|
|
8721
8726
|
}
|
8722
8727
|
),
|
8723
8728
|
t.disableFeedback ? null : /* @__PURE__ */ k.jsx(
|
8724
|
-
|
8729
|
+
za,
|
8725
8730
|
{
|
8726
8731
|
id: e,
|
8727
8732
|
message: t,
|
@@ -8740,7 +8745,7 @@ Hr.propTypes = {
|
|
8740
8745
|
handleMessageLinkClicked: N.func
|
8741
8746
|
};
|
8742
8747
|
Hr.displayName = "AssistantMessageBubble";
|
8743
|
-
const Rd = Hr,
|
8748
|
+
const Rd = Hr, La = () => {
|
8744
8749
|
const { disclaimer: e } = We(Ge), t = tt(null);
|
8745
8750
|
return Oe(() => {
|
8746
8751
|
var n;
|
@@ -8772,8 +8777,8 @@ const Rd = Hr, za = () => {
|
|
8772
8777
|
}
|
8773
8778
|
);
|
8774
8779
|
};
|
8775
|
-
|
8776
|
-
const Ud =
|
8780
|
+
La.displayName = "ConversationScreenDisclaimer";
|
8781
|
+
const Ud = La, $r = ({ loading: e, onPromptClick: t }) => {
|
8777
8782
|
var i;
|
8778
8783
|
const { primaryColor: n, conversationScreen: r } = We(Ge);
|
8779
8784
|
return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
@@ -8984,7 +8989,7 @@ const Hd = zn, $d = () => {
|
|
8984
8989
|
}
|
8985
8990
|
);
|
8986
8991
|
}, rr = $d;
|
8987
|
-
var
|
8992
|
+
var Fa = { exports: {} };
|
8988
8993
|
/*!
|
8989
8994
|
Copyright (c) 2018 Jed Watson.
|
8990
8995
|
Licensed under the MIT License (MIT), see
|
@@ -9019,9 +9024,9 @@ var La = { exports: {} };
|
|
9019
9024
|
}
|
9020
9025
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
9021
9026
|
})();
|
9022
|
-
})(
|
9023
|
-
var qd =
|
9024
|
-
const
|
9027
|
+
})(Fa);
|
9028
|
+
var qd = Fa.exports;
|
9029
|
+
const Pa = /* @__PURE__ */ nt(qd), Vd = 991;
|
9025
9030
|
function Wr({
|
9026
9031
|
label: e,
|
9027
9032
|
className: t,
|
@@ -9036,7 +9041,7 @@ function Wr({
|
|
9036
9041
|
{
|
9037
9042
|
type: "button",
|
9038
9043
|
"aria-label": e,
|
9039
|
-
className:
|
9044
|
+
className: Pa(
|
9040
9045
|
{
|
9041
9046
|
"xpert_chatbot__floating-action-btn__icon": !a,
|
9042
9047
|
"xpert_chatbot__floating-action-btn__icon--mobile": a
|
@@ -9065,8 +9070,8 @@ Wr.defaultProps = {
|
|
9065
9070
|
* tabbable 6.2.0
|
9066
9071
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
9067
9072
|
*/
|
9068
|
-
var
|
9069
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, mn = !
|
9073
|
+
var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], gn = /* @__PURE__ */ _a.join(","), Ra = typeof Element > "u", dt = Ra ? function() {
|
9074
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, mn = !Ra && Element.prototype.getRootNode ? function(e) {
|
9070
9075
|
var t;
|
9071
9076
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
9072
9077
|
} : function(e) {
|
@@ -9079,12 +9084,12 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9079
9084
|
}, Wd = function(t) {
|
9080
9085
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
9081
9086
|
return r === "" || r === "true";
|
9082
|
-
},
|
9087
|
+
}, Ua = function(t, n, r) {
|
9083
9088
|
if (yn(t))
|
9084
9089
|
return [];
|
9085
9090
|
var i = Array.prototype.slice.apply(t.querySelectorAll(gn));
|
9086
9091
|
return n && dt.call(t, gn) && i.unshift(t), i = i.filter(r), i;
|
9087
|
-
},
|
9092
|
+
}, Ba = function e(t, n, r) {
|
9088
9093
|
for (var i = [], o = Array.from(t); o.length; ) {
|
9089
9094
|
var a = o.shift();
|
9090
9095
|
if (!yn(a, !1))
|
@@ -9110,21 +9115,21 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9110
9115
|
}
|
9111
9116
|
}
|
9112
9117
|
return i;
|
9113
|
-
},
|
9118
|
+
}, Qa = function(t) {
|
9114
9119
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
9115
9120
|
}, et = function(t) {
|
9116
9121
|
if (!t)
|
9117
9122
|
throw new Error("No node provided");
|
9118
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wd(t)) && !
|
9123
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wd(t)) && !Qa(t) ? 0 : t.tabIndex;
|
9119
9124
|
}, Gd = function(t, n) {
|
9120
9125
|
var r = et(t);
|
9121
|
-
return r < 0 && n && !
|
9126
|
+
return r < 0 && n && !Qa(t) ? 0 : r;
|
9122
9127
|
}, Zd = function(t, n) {
|
9123
9128
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
9124
|
-
},
|
9129
|
+
}, Ya = function(t) {
|
9125
9130
|
return t.tagName === "INPUT";
|
9126
9131
|
}, Kd = function(t) {
|
9127
|
-
return
|
9132
|
+
return Ya(t) && t.type === "hidden";
|
9128
9133
|
}, Xd = function(t) {
|
9129
9134
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
9130
9135
|
return r.tagName === "SUMMARY";
|
@@ -9151,7 +9156,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9151
9156
|
var o = Jd(i, t.form);
|
9152
9157
|
return !o || o === t;
|
9153
9158
|
}, th = function(t) {
|
9154
|
-
return
|
9159
|
+
return Ya(t) && t.type === "radio";
|
9155
9160
|
}, nh = function(t) {
|
9156
9161
|
return th(t) && !eh(t);
|
9157
9162
|
}, rh = function(t) {
|
@@ -9230,39 +9235,39 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9230
9235
|
}), r.sort(Zd).reduce(function(i, o) {
|
9231
9236
|
return o.isScope ? i.push.apply(i, o.content) : i.push(o.content), i;
|
9232
9237
|
}, []).concat(n);
|
9233
|
-
},
|
9238
|
+
}, Ha = function(t, n) {
|
9234
9239
|
n = n || {};
|
9235
9240
|
var r;
|
9236
|
-
return n.getShadowRoot ? r =
|
9241
|
+
return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
|
9237
9242
|
filter: vr.bind(null, n),
|
9238
9243
|
flatten: !1,
|
9239
9244
|
getShadowRoot: n.getShadowRoot,
|
9240
9245
|
shadowRootFilter: ah
|
9241
|
-
}) : r =
|
9242
|
-
},
|
9246
|
+
}) : r = Ua(t, n.includeContainer, vr.bind(null, n)), lh(r);
|
9247
|
+
}, $a = function(t, n) {
|
9243
9248
|
n = n || {};
|
9244
9249
|
var r;
|
9245
|
-
return n.getShadowRoot ? r =
|
9250
|
+
return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
|
9246
9251
|
filter: Mn.bind(null, n),
|
9247
9252
|
flatten: !0,
|
9248
9253
|
getShadowRoot: n.getShadowRoot
|
9249
|
-
}) : r =
|
9254
|
+
}) : r = Ua(t, n.includeContainer, Mn.bind(null, n)), r;
|
9250
9255
|
}, ct = function(t, n) {
|
9251
9256
|
if (n = n || {}, !t)
|
9252
9257
|
throw new Error("No node provided");
|
9253
9258
|
return dt.call(t, gn) === !1 ? !1 : vr(n, t);
|
9254
|
-
}, uh = /* @__PURE__ */
|
9259
|
+
}, uh = /* @__PURE__ */ _a.concat("iframe").join(","), fn = function(t, n) {
|
9255
9260
|
if (n = n || {}, !t)
|
9256
9261
|
throw new Error("No node provided");
|
9257
9262
|
return dt.call(t, uh) === !1 ? !1 : Mn(n, t);
|
9258
9263
|
};
|
9259
9264
|
const sh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
9260
9265
|
__proto__: null,
|
9261
|
-
focusable:
|
9266
|
+
focusable: $a,
|
9262
9267
|
getTabIndex: et,
|
9263
9268
|
isFocusable: fn,
|
9264
9269
|
isTabbable: ct,
|
9265
|
-
tabbable:
|
9270
|
+
tabbable: Ha
|
9266
9271
|
}, Symbol.toStringTag, { value: "Module" }));
|
9267
9272
|
/*!
|
9268
9273
|
* focus-trap 7.5.4
|
@@ -9438,11 +9443,11 @@ var go = {
|
|
9438
9443
|
return b;
|
9439
9444
|
}, m = function() {
|
9440
9445
|
if (a.containerGroups = a.containers.map(function(b) {
|
9441
|
-
var I =
|
9446
|
+
var I = Ha(b, o.tabbableOptions), z = $a(b, o.tabbableOptions), L = I.length > 0 ? I[0] : void 0, U = I.length > 0 ? I[I.length - 1] : void 0, _ = z.find(function(g) {
|
9442
9447
|
return ct(g);
|
9443
9448
|
}), V = z.slice().reverse().find(function(g) {
|
9444
9449
|
return ct(g);
|
9445
|
-
}),
|
9450
|
+
}), re = !!I.find(function(g) {
|
9446
9451
|
return et(g) > 0;
|
9447
9452
|
});
|
9448
9453
|
return {
|
@@ -9450,7 +9455,7 @@ var go = {
|
|
9450
9455
|
tabbableNodes: I,
|
9451
9456
|
focusableNodes: z,
|
9452
9457
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
9453
|
-
posTabIndexesFound:
|
9458
|
+
posTabIndexesFound: re,
|
9454
9459
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
9455
9460
|
firstTabbableNode: L,
|
9456
9461
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
@@ -9475,12 +9480,12 @@ var go = {
|
|
9475
9480
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
9476
9481
|
*/
|
9477
9482
|
nextTabbableNode: function(ue) {
|
9478
|
-
var
|
9479
|
-
return h < 0 ?
|
9483
|
+
var ye = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = I.indexOf(ue);
|
9484
|
+
return h < 0 ? ye ? z.slice(z.indexOf(ue) + 1).find(function(ge) {
|
9480
9485
|
return ct(ge);
|
9481
9486
|
}) : z.slice(0, z.indexOf(ue)).reverse().find(function(ge) {
|
9482
9487
|
return ct(ge);
|
9483
|
-
}) : I[h + (
|
9488
|
+
}) : I[h + (ye ? 1 : -1)];
|
9484
9489
|
}
|
9485
9490
|
};
|
9486
9491
|
}), a.tabbableGroups = a.containerGroups.filter(function(b) {
|
@@ -9513,29 +9518,29 @@ var go = {
|
|
9513
9518
|
I = I || on(z), m();
|
9514
9519
|
var _ = null;
|
9515
9520
|
if (a.tabbableGroups.length > 0) {
|
9516
|
-
var V = s(I, z),
|
9521
|
+
var V = s(I, z), re = V >= 0 ? a.containerGroups[V] : void 0;
|
9517
9522
|
if (V < 0)
|
9518
9523
|
U ? _ = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : _ = a.tabbableGroups[0].firstTabbableNode;
|
9519
9524
|
else if (U) {
|
9520
|
-
var g = yo(a.tabbableGroups, function(
|
9521
|
-
var Te =
|
9525
|
+
var g = yo(a.tabbableGroups, function(ie) {
|
9526
|
+
var Te = ie.firstTabbableNode;
|
9522
9527
|
return I === Te;
|
9523
9528
|
});
|
9524
|
-
if (g < 0 && (
|
9525
|
-
var ue = g === 0 ? a.tabbableGroups.length - 1 : g - 1,
|
9526
|
-
_ = et(I) >= 0 ?
|
9529
|
+
if (g < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I, !1)) && (g = V), g >= 0) {
|
9530
|
+
var ue = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[ue];
|
9531
|
+
_ = et(I) >= 0 ? ye.lastTabbableNode : ye.lastDomTabbableNode;
|
9527
9532
|
} else
|
9528
|
-
Qt(z) || (_ =
|
9533
|
+
Qt(z) || (_ = re.nextTabbableNode(I, !1));
|
9529
9534
|
} else {
|
9530
|
-
var h = yo(a.tabbableGroups, function(
|
9531
|
-
var Te =
|
9535
|
+
var h = yo(a.tabbableGroups, function(ie) {
|
9536
|
+
var Te = ie.lastTabbableNode;
|
9532
9537
|
return I === Te;
|
9533
9538
|
});
|
9534
|
-
if (h < 0 && (
|
9539
|
+
if (h < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I)) && (h = V), h >= 0) {
|
9535
9540
|
var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, De = a.tabbableGroups[ge];
|
9536
9541
|
_ = et(I) >= 0 ? De.firstTabbableNode : De.firstDomTabbableNode;
|
9537
9542
|
} else
|
9538
|
-
Qt(z) || (_ =
|
9543
|
+
Qt(z) || (_ = re.nextTabbableNode(I));
|
9539
9544
|
}
|
9540
9545
|
} else
|
9541
9546
|
_ = c("fallbackFocus");
|
@@ -9568,10 +9573,10 @@ var go = {
|
|
9568
9573
|
if (et(a.mostRecentlyFocusedNode) > 0) {
|
9569
9574
|
var _ = s(a.mostRecentlyFocusedNode), V = a.containerGroups[_].tabbableNodes;
|
9570
9575
|
if (V.length > 0) {
|
9571
|
-
var
|
9576
|
+
var re = V.findIndex(function(g) {
|
9572
9577
|
return g === a.mostRecentlyFocusedNode;
|
9573
9578
|
});
|
9574
|
-
|
9579
|
+
re >= 0 && (o.isKeyForward(a.recentNavEvent) ? re + 1 < V.length && (L = V[re + 1], U = !1) : re - 1 >= 0 && (L = V[re - 1], U = !1));
|
9575
9580
|
}
|
9576
9581
|
} else
|
9577
9582
|
a.containerGroups.some(function(g) {
|
@@ -9716,7 +9721,7 @@ function vh(e, t) {
|
|
9716
9721
|
function Mo(e, t) {
|
9717
9722
|
for (var n = 0; n < t.length; n++) {
|
9718
9723
|
var r = t[n];
|
9719
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
9724
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, qa(r.key), r);
|
9720
9725
|
}
|
9721
9726
|
}
|
9722
9727
|
function Dh(e, t, n) {
|
@@ -9774,9 +9779,9 @@ function xn(e) {
|
|
9774
9779
|
}, xn(e);
|
9775
9780
|
}
|
9776
9781
|
function jh(e, t, n) {
|
9777
|
-
return t =
|
9782
|
+
return t = qa(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
9778
9783
|
}
|
9779
|
-
function
|
9784
|
+
function qa(e) {
|
9780
9785
|
var t = Eh(e, "string");
|
9781
9786
|
return wt(t) === "symbol" ? t : String(t);
|
9782
9787
|
}
|
@@ -9792,7 +9797,7 @@ function Eh(e, t) {
|
|
9792
9797
|
}
|
9793
9798
|
return (t === "string" ? String : Number)(e);
|
9794
9799
|
}
|
9795
|
-
var an = ve, B =
|
9800
|
+
var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusable, Gr = /* @__PURE__ */ function(e) {
|
9796
9801
|
Th(n, e);
|
9797
9802
|
var t = Ih(n);
|
9798
9803
|
function n(r) {
|
@@ -10061,7 +10066,7 @@ function Zr({
|
|
10061
10066
|
tabIndex: -1,
|
10062
10067
|
role: "dialog",
|
10063
10068
|
"aria-modal": !0,
|
10064
|
-
className:
|
10069
|
+
className: Pa(
|
10065
10070
|
{
|
10066
10071
|
"xpert_chatbot__floating-popup": !o,
|
10067
10072
|
"xpert_chatbot__floating-popup--mobile": o,
|
@@ -10183,7 +10188,7 @@ Kr.defaultProps = {
|
|
10183
10188
|
setLiveChatOpen: null,
|
10184
10189
|
isTestUser: !1
|
10185
10190
|
};
|
10186
|
-
function
|
10191
|
+
function Va({ disableScroll: e }) {
|
10187
10192
|
const t = tt(null);
|
10188
10193
|
return Oe(() => {
|
10189
10194
|
var n;
|
@@ -10206,10 +10211,10 @@ function qa({ disableScroll: e }) {
|
|
10206
10211
|
}
|
10207
10212
|
);
|
10208
10213
|
}
|
10209
|
-
|
10214
|
+
Va.propTypes = {
|
10210
10215
|
disableScroll: N.bool
|
10211
10216
|
};
|
10212
|
-
function
|
10217
|
+
function Wa({
|
10213
10218
|
children: e,
|
10214
10219
|
cookieName: t,
|
10215
10220
|
onClick: n = () => null,
|
@@ -10295,7 +10300,7 @@ function Va({
|
|
10295
10300
|
}
|
10296
10301
|
) }) : null;
|
10297
10302
|
}
|
10298
|
-
|
10303
|
+
Wa.propTypes = {
|
10299
10304
|
children: N.node.isRequired,
|
10300
10305
|
cookieName: N.string.isRequired,
|
10301
10306
|
onClick: N.func,
|
@@ -10373,7 +10378,7 @@ const Yh = 991, Hh = () => {
|
|
10373
10378
|
}
|
10374
10379
|
) : null;
|
10375
10380
|
}, $h = Hh, qh = {
|
10376
|
-
edx:
|
10381
|
+
edx: Wo,
|
10377
10382
|
"speech-emerson": ir,
|
10378
10383
|
"get-smarter": ir,
|
10379
10384
|
"exec-ed-ss-olc-moodle": ir
|
@@ -10389,15 +10394,16 @@ function Xr({ submitEventExternal: e }) {
|
|
10389
10394
|
proactiveMessage: a,
|
10390
10395
|
conversationScreen: l
|
10391
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, F] = 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(
|
10392
|
-
({ name: R, payload:
|
10393
|
-
|
10397
|
+
({ name: R, payload: oe }) => {
|
10398
|
+
const me = No(r == null ? void 0 : r.payloadParams, oe);
|
10399
|
+
e ? e({ name: R, payload: me }) : U.current.track(
|
10394
10400
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
10395
10401
|
R,
|
10396
|
-
|
10402
|
+
me
|
10397
10403
|
);
|
10398
10404
|
},
|
10399
|
-
[e]
|
10400
|
-
),
|
10405
|
+
[e, r.payloadParams]
|
10406
|
+
), re = Yt(async () => {
|
10401
10407
|
if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
|
10402
10408
|
try {
|
10403
10409
|
const R = He.get(
|
@@ -10406,7 +10412,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10406
10412
|
if (!R)
|
10407
10413
|
return;
|
10408
10414
|
d(!0);
|
10409
|
-
const
|
10415
|
+
const oe = await fetch(
|
10410
10416
|
`${n.endpoint}/xpert-chat/${R}`,
|
10411
10417
|
{
|
10412
10418
|
method: "GET",
|
@@ -10415,15 +10421,15 @@ function Xr({ submitEventExternal: e }) {
|
|
10415
10421
|
}
|
10416
10422
|
}
|
10417
10423
|
);
|
10418
|
-
if (
|
10424
|
+
if (oe.status === 404) {
|
10419
10425
|
He.remove(`${t}-conversation-history-id`);
|
10420
10426
|
return;
|
10421
10427
|
}
|
10422
|
-
if (!
|
10423
|
-
throw new rr(`HTTPError: ${
|
10424
|
-
const
|
10428
|
+
if (!oe.ok)
|
10429
|
+
throw new rr(`HTTPError: ${oe.status} ${oe.statusText}`);
|
10430
|
+
const me = await oe.json();
|
10425
10431
|
p(
|
10426
|
-
|
10432
|
+
me.map((he) => ({
|
10427
10433
|
...he,
|
10428
10434
|
disableFeedback: !0
|
10429
10435
|
}))
|
@@ -10434,16 +10440,16 @@ function Xr({ submitEventExternal: e }) {
|
|
10434
10440
|
d(!1);
|
10435
10441
|
}
|
10436
10442
|
}, [t, n.endpoint]);
|
10437
|
-
Rh(
|
10443
|
+
Rh(re), Oe(() => {
|
10438
10444
|
console.log("Chatbot - mount");
|
10439
|
-
let R,
|
10445
|
+
let R, oe;
|
10440
10446
|
return r.enabled && (R = setInterval(() => {
|
10441
10447
|
var he;
|
10442
|
-
console.log("Chatbot - intervalCheckForScripts"), (he = window.analytics) != null && he.track && (!i.enabled || i.enabled && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), U.current = window.analytics, clearInterval(R), clearTimeout(
|
10443
|
-
}, 1e3),
|
10448
|
+
console.log("Chatbot - intervalCheckForScripts"), (he = window.analytics) != null && he.track && (!i.enabled || i.enabled && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), U.current = window.analytics, clearInterval(R), clearTimeout(oe), s(!0));
|
10449
|
+
}, 1e3), oe = setTimeout(() => {
|
10444
10450
|
clearInterval(R);
|
10445
10451
|
}, 6e4)), () => {
|
10446
|
-
console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(
|
10452
|
+
console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(oe);
|
10447
10453
|
};
|
10448
10454
|
}, [
|
10449
10455
|
i.enabled,
|
@@ -10452,13 +10458,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10452
10458
|
r.prefix
|
10453
10459
|
]);
|
10454
10460
|
const g = (R) => {
|
10455
|
-
var
|
10456
|
-
(
|
10461
|
+
var oe, me;
|
10462
|
+
(oe = R == null ? void 0 : R.target) != null && oe.href && V({
|
10457
10463
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
10458
10464
|
payload: {
|
10459
10465
|
category: "2u",
|
10460
10466
|
label: "xpert-chatbot",
|
10461
|
-
link: (
|
10467
|
+
link: (me = R == null ? void 0 : R.target) == null ? void 0 : me.href,
|
10462
10468
|
isTestUser: _
|
10463
10469
|
}
|
10464
10470
|
});
|
@@ -10474,9 +10480,9 @@ function Xr({ submitEventExternal: e }) {
|
|
10474
10480
|
console.log(
|
10475
10481
|
`Chatbot - All things setup: ${t}, ${typeof window.analytics}, ${ue}, ${typeof window.optimizely}, ${typeof window.experiments}`
|
10476
10482
|
);
|
10477
|
-
const
|
10483
|
+
const ye = () => {
|
10478
10484
|
S(""), L.current.value = "", L.current.style.height = "auto";
|
10479
|
-
}, h = (R,
|
10485
|
+
}, h = (R, oe) => {
|
10480
10486
|
V({
|
10481
10487
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
|
10482
10488
|
payload: {
|
@@ -10485,13 +10491,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10485
10491
|
linkCount: Bh(R),
|
10486
10492
|
apiResponseMessage: R,
|
10487
10493
|
isTestUser: _,
|
10488
|
-
conversationHistoryId:
|
10494
|
+
conversationHistoryId: oe
|
10489
10495
|
}
|
10490
10496
|
});
|
10491
10497
|
}, ge = ({
|
10492
10498
|
conversationSize: R,
|
10493
|
-
userInputMessage:
|
10494
|
-
apiResponseMessage:
|
10499
|
+
userInputMessage: oe,
|
10500
|
+
apiResponseMessage: me,
|
10495
10501
|
elapsedSeconds: he,
|
10496
10502
|
conversationByteSize: je
|
10497
10503
|
}) => {
|
@@ -10502,8 +10508,8 @@ function Xr({ submitEventExternal: e }) {
|
|
10502
10508
|
label: "xpert-chatbot",
|
10503
10509
|
isTestUser: _,
|
10504
10510
|
conversationSize: R,
|
10505
|
-
userInputMessage:
|
10506
|
-
apiResponseMessage:
|
10511
|
+
userInputMessage: oe,
|
10512
|
+
apiResponseMessage: me,
|
10507
10513
|
elapsedSeconds: he,
|
10508
10514
|
conversationByteSize: je
|
10509
10515
|
}
|
@@ -10512,19 +10518,19 @@ function Xr({ submitEventExternal: e }) {
|
|
10512
10518
|
try {
|
10513
10519
|
if (R.trim().length === 0)
|
10514
10520
|
return;
|
10515
|
-
const
|
10521
|
+
const oe = /* @__PURE__ */ new Date();
|
10516
10522
|
I(!1), q(!1);
|
10517
|
-
const
|
10523
|
+
const me = c.filter((D) => D.role === "user").length + 1;
|
10518
10524
|
V({
|
10519
10525
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
10520
10526
|
payload: {
|
10521
10527
|
category: "2u",
|
10522
10528
|
label: "xpert-chatbot",
|
10523
|
-
totalUserInputMessagesSent:
|
10529
|
+
totalUserInputMessagesSent: me,
|
10524
10530
|
userInputMessage: R,
|
10525
10531
|
isTestUser: _
|
10526
10532
|
}
|
10527
|
-
}),
|
10533
|
+
}), ye();
|
10528
10534
|
let he = He.get(`${t}-conversation-history-id`) || "";
|
10529
10535
|
!he && l.conversationHistory.enabled ? p([
|
10530
10536
|
{
|
@@ -10573,7 +10579,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10573
10579
|
conversationSize: c.length + 2,
|
10574
10580
|
userInputMessage: R,
|
10575
10581
|
apiResponseMessage: Xe,
|
10576
|
-
elapsedSeconds: Uh(
|
10582
|
+
elapsedSeconds: Uh(oe, jt)
|
10577
10583
|
}), p((D) => [
|
10578
10584
|
...D,
|
10579
10585
|
{
|
@@ -10581,11 +10587,11 @@ function Xr({ submitEventExternal: e }) {
|
|
10581
10587
|
content: Xe,
|
10582
10588
|
createdAt: /* @__PURE__ */ new Date()
|
10583
10589
|
}
|
10584
|
-
]), A(!1), d(!1),
|
10585
|
-
} catch (
|
10586
|
-
d(!1),
|
10590
|
+
]), A(!1), d(!1), ye(), I(!0);
|
10591
|
+
} catch (oe) {
|
10592
|
+
d(!1), ye(), q(!0), console.error(oe);
|
10587
10593
|
}
|
10588
|
-
},
|
10594
|
+
}, ie = () => {
|
10589
10595
|
v(!1), x(!0), V({
|
10590
10596
|
name: `${r.prefix}.bi.xpert.chatbot.action.button.clicked`,
|
10591
10597
|
payload: {
|
@@ -10641,9 +10647,9 @@ function Xr({ submitEventExternal: e }) {
|
|
10641
10647
|
S(R.target.value);
|
10642
10648
|
}, It = (R) => {
|
10643
10649
|
R.key === "Enter" && C.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), De(C));
|
10644
|
-
}, Nt = (R,
|
10645
|
-
const
|
10646
|
-
name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${
|
10650
|
+
}, Nt = (R, oe = "") => {
|
10651
|
+
const me = c.map((he, je) => R === je ? (V({
|
10652
|
+
name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${oe.toLowerCase()}.clicked`,
|
10647
10653
|
payload: {
|
10648
10654
|
category: "2u",
|
10649
10655
|
label: "xpert-chatbot",
|
@@ -10654,15 +10660,15 @@ function Xr({ submitEventExternal: e }) {
|
|
10654
10660
|
}
|
10655
10661
|
}), {
|
10656
10662
|
...he,
|
10657
|
-
feedbackThumbType:
|
10663
|
+
feedbackThumbType: oe
|
10658
10664
|
}) : he);
|
10659
|
-
p(
|
10665
|
+
p(me), A(!1);
|
10660
10666
|
};
|
10661
10667
|
return (
|
10662
10668
|
// do not remove this class as it's needed to turn off chatbot
|
10663
10669
|
/* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-frontend-killswitch", children: [
|
10664
10670
|
a.enabled && /* @__PURE__ */ k.jsx(
|
10665
|
-
|
10671
|
+
Wa,
|
10666
10672
|
{
|
10667
10673
|
showMessage: !T,
|
10668
10674
|
style: u ? { ...a.style.mobile } : { ...a.style },
|
@@ -10691,7 +10697,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10691
10697
|
/* @__PURE__ */ k.jsx(
|
10692
10698
|
Wr,
|
10693
10699
|
{
|
10694
|
-
onClick:
|
10700
|
+
onClick: ie,
|
10695
10701
|
label: "Open XPERT Chatbot",
|
10696
10702
|
style: u ? { ...(ot = o.style) == null ? void 0 : ot.mobile } : { ...o.style },
|
10697
10703
|
"aria-haspopup": "dialog",
|
@@ -10721,7 +10727,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10721
10727
|
role: "dialog",
|
10722
10728
|
children: /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
10723
10729
|
/* @__PURE__ */ k.jsx(
|
10724
|
-
|
10730
|
+
Go,
|
10725
10731
|
{
|
10726
10732
|
onClose: ze,
|
10727
10733
|
isMounted: H,
|
@@ -10750,7 +10756,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10750
10756
|
handleMessageLinkClicked: g
|
10751
10757
|
}
|
10752
10758
|
),
|
10753
|
-
m && /* @__PURE__ */ k.jsx(
|
10759
|
+
m && /* @__PURE__ */ k.jsx(Va, { disableScroll: K }),
|
10754
10760
|
W && /* @__PURE__ */ k.jsx(rr, {})
|
10755
10761
|
]
|
10756
10762
|
}
|
@@ -10791,21 +10797,21 @@ Xr.propTypes = {
|
|
10791
10797
|
Xr.defaultProps = {
|
10792
10798
|
submitEventExternal: null
|
10793
10799
|
};
|
10794
|
-
const
|
10800
|
+
const Ga = ({ children: e, configurations: t = {}, xpertKey: n = null }) => {
|
10795
10801
|
const r = {
|
10796
10802
|
configurations: t,
|
10797
10803
|
xpertKey: n
|
10798
10804
|
};
|
10799
|
-
return /* @__PURE__ */ k.jsx(
|
10805
|
+
return /* @__PURE__ */ k.jsx(jo, { ...r, children: e });
|
10800
10806
|
};
|
10801
|
-
|
10807
|
+
Ga.propTypes = {
|
10802
10808
|
children: N.element,
|
10803
10809
|
configurations: N.object,
|
10804
10810
|
xpertKey: N.string
|
10805
10811
|
};
|
10806
10812
|
function Gh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
|
10807
10813
|
return /* @__PURE__ */ k.jsx(
|
10808
|
-
|
10814
|
+
Ga,
|
10809
10815
|
{
|
10810
10816
|
xpertKey: r,
|
10811
10817
|
configurations: e,
|
@@ -10822,7 +10828,7 @@ Gh.propTypes = {
|
|
10822
10828
|
};
|
10823
10829
|
export {
|
10824
10830
|
Gh as Chatbot,
|
10825
|
-
|
10826
|
-
|
10827
|
-
|
10831
|
+
Jl as EDXConfig,
|
10832
|
+
eu as EmersonSpeechConfig,
|
10833
|
+
tu as GetSmarterConfig
|
10828
10834
|
};
|