@2uinc/frontend-component-xpert-chatbot 1.6.0 → 1.7.0-beta.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 +712 -706
- 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
|
+
defaultProperties: 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
|
+
defaultProperties: null
|
98
100
|
},
|
99
101
|
webExperimentation: {
|
100
102
|
enabled: !0,
|
@@ -170,7 +172,7 @@ const Xl = {
|
|
170
172
|
options: null
|
171
173
|
}
|
172
174
|
}
|
173
|
-
},
|
175
|
+
}, tu = {
|
174
176
|
xpertKey: "get-smarter",
|
175
177
|
chatApi: {
|
176
178
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chatservice",
|
@@ -187,7 +189,8 @@ const Xl = {
|
|
187
189
|
},
|
188
190
|
userTracking: {
|
189
191
|
enabled: !0,
|
190
|
-
prefix: "get.smarter"
|
192
|
+
prefix: "get.smarter",
|
193
|
+
defaultProperties: null
|
191
194
|
},
|
192
195
|
webExperimentation: {
|
193
196
|
enabled: !1,
|
@@ -295,13 +298,13 @@ object-assign
|
|
295
298
|
(c) Sindre Sorhus
|
296
299
|
@license MIT
|
297
300
|
*/
|
298
|
-
var ci = Object.getOwnPropertySymbols,
|
299
|
-
function
|
301
|
+
var ci = Object.getOwnPropertySymbols, nu = Object.prototype.hasOwnProperty, ru = Object.prototype.propertyIsEnumerable;
|
302
|
+
function iu(e) {
|
300
303
|
if (e == null)
|
301
304
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
302
305
|
return Object(e);
|
303
306
|
}
|
304
|
-
function
|
307
|
+
function ou() {
|
305
308
|
try {
|
306
309
|
if (!Object.assign)
|
307
310
|
return !1;
|
@@ -323,7 +326,7 @@ function iu() {
|
|
323
326
|
return !1;
|
324
327
|
}
|
325
328
|
}
|
326
|
-
|
329
|
+
ou();
|
327
330
|
/** @license React v17.0.2
|
328
331
|
* react-jsx-runtime.production.min.js
|
329
332
|
*
|
@@ -332,35 +335,35 @@ iu();
|
|
332
335
|
* This source code is licensed under the MIT license found in the
|
333
336
|
* LICENSE file in the root directory of this source tree.
|
334
337
|
*/
|
335
|
-
var
|
338
|
+
var au = ve, wo = 60103;
|
336
339
|
qt.Fragment = 60107;
|
337
340
|
if (typeof Symbol == "function" && Symbol.for) {
|
338
341
|
var fi = Symbol.for;
|
339
342
|
wo = fi("react.element"), qt.Fragment = fi("react.fragment");
|
340
343
|
}
|
341
|
-
var
|
344
|
+
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 };
|
342
345
|
function vo(e, t, n) {
|
343
346
|
var r, i = {}, o = null, a = null;
|
344
347
|
n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (a = t.ref);
|
345
348
|
for (r in t)
|
346
|
-
|
349
|
+
uu.call(t, r) && !su.hasOwnProperty(r) && (i[r] = t[r]);
|
347
350
|
if (e && e.defaultProps)
|
348
351
|
for (r in t = e.defaultProps, t)
|
349
352
|
i[r] === void 0 && (i[r] = t[r]);
|
350
|
-
return { $$typeof: wo, type: e, key: o, ref: a, props: i, _owner:
|
353
|
+
return { $$typeof: wo, type: e, key: o, ref: a, props: i, _owner: lu.current };
|
351
354
|
}
|
352
355
|
qt.jsx = vo;
|
353
356
|
qt.jsxs = vo;
|
354
357
|
bo.exports = qt;
|
355
|
-
var k = bo.exports, Do = { exports: {} },
|
358
|
+
var k = bo.exports, Do = { exports: {} }, cu = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", fu = cu, pu = fu;
|
356
359
|
function To() {
|
357
360
|
}
|
358
361
|
function Io() {
|
359
362
|
}
|
360
363
|
Io.resetWarningCache = To;
|
361
|
-
var
|
364
|
+
var du = function() {
|
362
365
|
function e(r, i, o, a, l, u) {
|
363
|
-
if (u !==
|
366
|
+
if (u !== pu) {
|
364
367
|
var s = new Error(
|
365
368
|
"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"
|
366
369
|
);
|
@@ -396,15 +399,15 @@ var pu = function() {
|
|
396
399
|
};
|
397
400
|
return n.PropTypes = n, n;
|
398
401
|
};
|
399
|
-
Do.exports =
|
400
|
-
var
|
401
|
-
const N = /* @__PURE__ */ nt(
|
402
|
+
Do.exports = du();
|
403
|
+
var Q = Do.exports;
|
404
|
+
const N = /* @__PURE__ */ nt(Q);
|
402
405
|
var pn = { exports: {} };
|
403
406
|
pn.exports;
|
404
407
|
(function(e, t) {
|
405
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", q = "[object Set]", M = "[object String]",
|
406
|
-
h[A] = h[b] = h[I] = h[z] = h[L] = h[U] = h[_] = h[V] = h[
|
407
|
-
var ge = typeof Jt == "object" && Jt && Jt.Object === Object && Jt, De = typeof self == "object" && self && self.Object === Object && self,
|
408
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", q = "[object Set]", M = "[object String]", P = "[object Undefined]", H = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", A = "[object Float32Array]", b = "[object Float64Array]", I = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", U = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", V = "[object Uint16Array]", re = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ue = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
|
409
|
+
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;
|
410
|
+
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() {
|
408
411
|
try {
|
409
412
|
var f = be && be.require && be.require("util").types;
|
410
413
|
return f || ze && ze.binding && ze.binding("util");
|
@@ -425,9 +428,9 @@ pn.exports;
|
|
425
428
|
return f.apply(y, w);
|
426
429
|
}
|
427
430
|
function Nt(f, y) {
|
428
|
-
for (var w = -1,
|
429
|
-
|
430
|
-
return
|
431
|
+
for (var w = -1, F = Array(f); ++w < f; )
|
432
|
+
F[w] = y(w);
|
433
|
+
return F;
|
431
434
|
}
|
432
435
|
function gt(f) {
|
433
436
|
return function(y) {
|
@@ -442,18 +445,18 @@ pn.exports;
|
|
442
445
|
return f(y(w));
|
443
446
|
};
|
444
447
|
}
|
445
|
-
var R = Array.prototype,
|
448
|
+
var R = Array.prototype, oe = Function.prototype, me = Object.prototype, he = ie["__core-js_shared__"], je = oe.toString, xe = me.hasOwnProperty, kt = function() {
|
446
449
|
var f = /[^.]+$/.exec(he && he.keys && he.keys.IE_PROTO || "");
|
447
450
|
return f ? "Symbol(src)_1." + f : "";
|
448
|
-
}(), Xe =
|
451
|
+
}(), Xe = me.toString, jt = je.call(Object), D = RegExp(
|
449
452
|
"^" + je.call(xe).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
450
|
-
), O = Be ?
|
453
|
+
), 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() {
|
451
454
|
try {
|
452
|
-
var f =
|
455
|
+
var f = Fn(Object, "defineProperty");
|
453
456
|
return f({}, "", {}), f;
|
454
457
|
} catch {
|
455
458
|
}
|
456
|
-
}(), Et = O ? O.isBuffer : void 0, Le = Math.max,
|
459
|
+
}(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Fn(ie, "Map"), At = Fn(Object, "create"), Ka = function() {
|
457
460
|
function f() {
|
458
461
|
}
|
459
462
|
return function(y) {
|
@@ -469,18 +472,18 @@ pn.exports;
|
|
469
472
|
function ut(f) {
|
470
473
|
var y = -1, w = f == null ? 0 : f.length;
|
471
474
|
for (this.clear(); ++y < w; ) {
|
472
|
-
var
|
473
|
-
this.set(
|
475
|
+
var F = f[y];
|
476
|
+
this.set(F[0], F[1]);
|
474
477
|
}
|
475
478
|
}
|
476
|
-
function
|
479
|
+
function Xa() {
|
477
480
|
this.__data__ = At ? At(null) : {}, this.size = 0;
|
478
481
|
}
|
479
|
-
function
|
482
|
+
function Ja(f) {
|
480
483
|
var y = this.has(f) && delete this.__data__[f];
|
481
484
|
return this.size -= y ? 1 : 0, y;
|
482
485
|
}
|
483
|
-
function
|
486
|
+
function el(f) {
|
484
487
|
var y = this.__data__;
|
485
488
|
if (At) {
|
486
489
|
var w = y[f];
|
@@ -488,117 +491,117 @@ pn.exports;
|
|
488
491
|
}
|
489
492
|
return xe.call(y, f) ? y[f] : void 0;
|
490
493
|
}
|
491
|
-
function
|
494
|
+
function tl(f) {
|
492
495
|
var y = this.__data__;
|
493
496
|
return At ? y[f] !== void 0 : xe.call(y, f);
|
494
497
|
}
|
495
|
-
function
|
498
|
+
function nl(f, y) {
|
496
499
|
var w = this.__data__;
|
497
500
|
return this.size += this.has(f) ? 0 : 1, w[f] = At && y === void 0 ? r : y, this;
|
498
501
|
}
|
499
|
-
ut.prototype.clear =
|
502
|
+
ut.prototype.clear = Xa, ut.prototype.delete = Ja, ut.prototype.get = el, ut.prototype.has = tl, ut.prototype.set = nl;
|
500
503
|
function Ze(f) {
|
501
504
|
var y = -1, w = f == null ? 0 : f.length;
|
502
505
|
for (this.clear(); ++y < w; ) {
|
503
|
-
var
|
504
|
-
this.set(
|
506
|
+
var F = f[y];
|
507
|
+
this.set(F[0], F[1]);
|
505
508
|
}
|
506
509
|
}
|
507
|
-
function
|
510
|
+
function rl() {
|
508
511
|
this.__data__ = [], this.size = 0;
|
509
512
|
}
|
510
|
-
function
|
513
|
+
function il(f) {
|
511
514
|
var y = this.__data__, w = Gt(y, f);
|
512
515
|
if (w < 0)
|
513
516
|
return !1;
|
514
|
-
var
|
515
|
-
return w ==
|
517
|
+
var F = y.length - 1;
|
518
|
+
return w == F ? y.pop() : lt.call(y, w, 1), --this.size, !0;
|
516
519
|
}
|
517
|
-
function
|
520
|
+
function ol(f) {
|
518
521
|
var y = this.__data__, w = Gt(y, f);
|
519
522
|
return w < 0 ? void 0 : y[w][1];
|
520
523
|
}
|
521
|
-
function
|
524
|
+
function al(f) {
|
522
525
|
return Gt(this.__data__, f) > -1;
|
523
526
|
}
|
524
|
-
function
|
525
|
-
var w = this.__data__,
|
526
|
-
return
|
527
|
+
function ll(f, y) {
|
528
|
+
var w = this.__data__, F = Gt(w, f);
|
529
|
+
return F < 0 ? (++this.size, w.push([f, y])) : w[F][1] = y, this;
|
527
530
|
}
|
528
|
-
Ze.prototype.clear =
|
531
|
+
Ze.prototype.clear = rl, Ze.prototype.delete = il, Ze.prototype.get = ol, Ze.prototype.has = al, Ze.prototype.set = ll;
|
529
532
|
function mt(f) {
|
530
533
|
var y = -1, w = f == null ? 0 : f.length;
|
531
534
|
for (this.clear(); ++y < w; ) {
|
532
|
-
var
|
533
|
-
this.set(
|
535
|
+
var F = f[y];
|
536
|
+
this.set(F[0], F[1]);
|
534
537
|
}
|
535
538
|
}
|
536
|
-
function
|
539
|
+
function ul() {
|
537
540
|
this.size = 0, this.__data__ = {
|
538
541
|
hash: new ut(),
|
539
542
|
map: new (Jr || Ze)(),
|
540
543
|
string: new ut()
|
541
544
|
};
|
542
545
|
}
|
543
|
-
function
|
546
|
+
function sl(f) {
|
544
547
|
var y = Kt(this, f).delete(f);
|
545
548
|
return this.size -= y ? 1 : 0, y;
|
546
549
|
}
|
547
|
-
function
|
550
|
+
function cl(f) {
|
548
551
|
return Kt(this, f).get(f);
|
549
552
|
}
|
550
|
-
function
|
553
|
+
function fl(f) {
|
551
554
|
return Kt(this, f).has(f);
|
552
555
|
}
|
553
|
-
function
|
554
|
-
var w = Kt(this, f),
|
555
|
-
return w.set(f, y), this.size += w.size ==
|
556
|
+
function pl(f, y) {
|
557
|
+
var w = Kt(this, f), F = w.size;
|
558
|
+
return w.set(f, y), this.size += w.size == F ? 0 : 1, this;
|
556
559
|
}
|
557
|
-
mt.prototype.clear =
|
560
|
+
mt.prototype.clear = ul, mt.prototype.delete = sl, mt.prototype.get = cl, mt.prototype.has = fl, mt.prototype.set = pl;
|
558
561
|
function yt(f) {
|
559
562
|
var y = this.__data__ = new Ze(f);
|
560
563
|
this.size = y.size;
|
561
564
|
}
|
562
|
-
function
|
565
|
+
function dl() {
|
563
566
|
this.__data__ = new Ze(), this.size = 0;
|
564
567
|
}
|
565
|
-
function
|
568
|
+
function hl(f) {
|
566
569
|
var y = this.__data__, w = y.delete(f);
|
567
570
|
return this.size = y.size, w;
|
568
571
|
}
|
569
|
-
function
|
572
|
+
function gl(f) {
|
570
573
|
return this.__data__.get(f);
|
571
574
|
}
|
572
|
-
function
|
575
|
+
function ml(f) {
|
573
576
|
return this.__data__.has(f);
|
574
577
|
}
|
575
|
-
function
|
578
|
+
function yl(f, y) {
|
576
579
|
var w = this.__data__;
|
577
580
|
if (w instanceof Ze) {
|
578
|
-
var
|
579
|
-
if (!Jr ||
|
580
|
-
return
|
581
|
-
w = this.__data__ = new mt(
|
581
|
+
var F = w.__data__;
|
582
|
+
if (!Jr || F.length < n - 1)
|
583
|
+
return F.push([f, y]), this.size = ++w.size, this;
|
584
|
+
w = this.__data__ = new mt(F);
|
582
585
|
}
|
583
586
|
return w.set(f, y), this.size = w.size, this;
|
584
587
|
}
|
585
|
-
yt.prototype.clear =
|
586
|
-
function
|
587
|
-
var w = Un(f),
|
588
|
-
for (var
|
589
|
-
(y || xe.call(f,
|
590
|
-
(
|
591
|
-
J && (
|
592
|
-
le && (
|
593
|
-
ni(
|
588
|
+
yt.prototype.clear = dl, yt.prototype.delete = hl, yt.prototype.get = gl, yt.prototype.has = ml, yt.prototype.set = yl;
|
589
|
+
function Ml(f, y) {
|
590
|
+
var w = Un(f), F = !w && Rn(f), J = !w && !F && ii(f), le = !w && !F && !J && ai(f), pe = w || F || J || le, X = pe ? Nt(f.length, String) : [], de = X.length;
|
591
|
+
for (var Pe in f)
|
592
|
+
(y || xe.call(f, Pe)) && !(pe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
593
|
+
(Pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
594
|
+
J && (Pe == "offset" || Pe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
595
|
+
le && (Pe == "buffer" || Pe == "byteLength" || Pe == "byteOffset") || // Skip index properties.
|
596
|
+
ni(Pe, de))) && X.push(Pe);
|
594
597
|
return X;
|
595
598
|
}
|
596
599
|
function Ln(f, y, w) {
|
597
|
-
(w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) &&
|
600
|
+
(w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) && Pn(f, y, w);
|
598
601
|
}
|
599
|
-
function
|
600
|
-
var
|
601
|
-
(!(xe.call(f, y) && Xt(
|
602
|
+
function xl(f, y, w) {
|
603
|
+
var F = f[y];
|
604
|
+
(!(xe.call(f, y) && Xt(F, w)) || w === void 0 && !(y in f)) && Pn(f, y, w);
|
602
605
|
}
|
603
606
|
function Gt(f, y) {
|
604
607
|
for (var w = f.length; w--; )
|
@@ -606,7 +609,7 @@ pn.exports;
|
|
606
609
|
return w;
|
607
610
|
return -1;
|
608
611
|
}
|
609
|
-
function
|
612
|
+
function Pn(f, y, w) {
|
610
613
|
y == "__proto__" && se ? se(f, y, {
|
611
614
|
configurable: !0,
|
612
615
|
enumerable: !0,
|
@@ -614,106 +617,106 @@ pn.exports;
|
|
614
617
|
writable: !0
|
615
618
|
}) : f[y] = w;
|
616
619
|
}
|
617
|
-
var
|
620
|
+
var bl = Ol();
|
618
621
|
function Zt(f) {
|
619
|
-
return f == null ? f === void 0 ?
|
622
|
+
return f == null ? f === void 0 ? P : v : Ee && Ee in Object(f) ? zl(f) : Ul(f);
|
620
623
|
}
|
621
624
|
function ei(f) {
|
622
625
|
return Ct(f) && Zt(f) == l;
|
623
626
|
}
|
624
|
-
function
|
625
|
-
if (!st(f) ||
|
627
|
+
function wl(f) {
|
628
|
+
if (!st(f) || _l(f))
|
626
629
|
return !1;
|
627
630
|
var y = Qn(f) ? D : ue;
|
628
|
-
return y.test(
|
631
|
+
return y.test(Hl(f));
|
629
632
|
}
|
630
|
-
function
|
633
|
+
function vl(f) {
|
631
634
|
return Ct(f) && oi(f.length) && !!h[Zt(f)];
|
632
635
|
}
|
633
|
-
function
|
636
|
+
function Dl(f) {
|
634
637
|
if (!st(f))
|
635
|
-
return
|
638
|
+
return Rl(f);
|
636
639
|
var y = ri(f), w = [];
|
637
|
-
for (var
|
638
|
-
|
640
|
+
for (var F in f)
|
641
|
+
F == "constructor" && (y || !xe.call(f, F)) || w.push(F);
|
639
642
|
return w;
|
640
643
|
}
|
641
|
-
function ti(f, y, w,
|
642
|
-
f !== y &&
|
644
|
+
function ti(f, y, w, F, J) {
|
645
|
+
f !== y && bl(y, function(le, pe) {
|
643
646
|
if (J || (J = new yt()), st(le))
|
644
|
-
|
647
|
+
Tl(f, y, pe, w, ti, F, J);
|
645
648
|
else {
|
646
|
-
var X =
|
649
|
+
var X = F ? F(_n(f, pe), le, pe + "", f, y, J) : void 0;
|
647
650
|
X === void 0 && (X = le), Ln(f, pe, X);
|
648
651
|
}
|
649
652
|
}, li);
|
650
653
|
}
|
651
|
-
function
|
652
|
-
var X = _n(f, w), de = _n(y, w),
|
653
|
-
if (
|
654
|
-
Ln(f, w,
|
654
|
+
function Tl(f, y, w, F, J, le, pe) {
|
655
|
+
var X = _n(f, w), de = _n(y, w), Pe = pe.get(de);
|
656
|
+
if (Pe) {
|
657
|
+
Ln(f, w, Pe);
|
655
658
|
return;
|
656
659
|
}
|
657
660
|
var Ae = le ? le(X, de, w + "", f, y, pe) : void 0, St = Ae === void 0;
|
658
661
|
if (St) {
|
659
662
|
var Yn = Un(de), Hn = !Yn && ii(de), si = !Yn && !Hn && ai(de);
|
660
|
-
Ae = de, Yn || Hn || si ? Un(X) ? Ae = X :
|
663
|
+
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;
|
661
664
|
}
|
662
|
-
St && (pe.set(de, Ae), J(Ae, de,
|
665
|
+
St && (pe.set(de, Ae), J(Ae, de, F, le, pe), pe.delete(de)), Ln(f, w, Ae);
|
663
666
|
}
|
664
|
-
function
|
665
|
-
return Bl(
|
667
|
+
function Il(f, y) {
|
668
|
+
return Ql(Bl(f, y, ui), f + "");
|
666
669
|
}
|
667
|
-
var
|
670
|
+
var Nl = se ? function(f, y) {
|
668
671
|
return se(f, "toString", {
|
669
672
|
configurable: !0,
|
670
673
|
enumerable: !1,
|
671
|
-
value:
|
674
|
+
value: Gl(y),
|
672
675
|
writable: !0
|
673
676
|
});
|
674
677
|
} : ui;
|
675
|
-
function
|
678
|
+
function kl(f, y) {
|
676
679
|
if (y)
|
677
680
|
return f.slice();
|
678
|
-
var w = f.length,
|
679
|
-
return f.copy(
|
681
|
+
var w = f.length, F = ne ? ne(w) : new f.constructor(w);
|
682
|
+
return f.copy(F), F;
|
680
683
|
}
|
681
|
-
function
|
684
|
+
function jl(f) {
|
682
685
|
var y = new f.constructor(f.byteLength);
|
683
686
|
return new ee(y).set(new ee(f)), y;
|
684
687
|
}
|
685
|
-
function
|
686
|
-
var w = y ?
|
688
|
+
function El(f, y) {
|
689
|
+
var w = y ? jl(f.buffer) : f.buffer;
|
687
690
|
return new f.constructor(w, f.byteOffset, f.length);
|
688
691
|
}
|
689
|
-
function
|
690
|
-
var w = -1,
|
691
|
-
for (y || (y = Array(
|
692
|
+
function Al(f, y) {
|
693
|
+
var w = -1, F = f.length;
|
694
|
+
for (y || (y = Array(F)); ++w < F; )
|
692
695
|
y[w] = f[w];
|
693
696
|
return y;
|
694
697
|
}
|
695
|
-
function
|
698
|
+
function Cl(f, y, w, F) {
|
696
699
|
var J = !w;
|
697
700
|
w || (w = {});
|
698
701
|
for (var le = -1, pe = y.length; ++le < pe; ) {
|
699
|
-
var X = y[le], de =
|
700
|
-
de === void 0 && (de = f[X]), J ?
|
702
|
+
var X = y[le], de = F ? F(w[X], f[X], X, w, f) : void 0;
|
703
|
+
de === void 0 && (de = f[X]), J ? Pn(w, X, de) : xl(w, X, de);
|
701
704
|
}
|
702
705
|
return w;
|
703
706
|
}
|
704
|
-
function
|
705
|
-
return
|
706
|
-
var
|
707
|
-
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe &&
|
708
|
-
var X = w[
|
709
|
-
X && f(y, X,
|
707
|
+
function Sl(f) {
|
708
|
+
return Il(function(y, w) {
|
709
|
+
var F = -1, J = w.length, le = J > 1 ? w[J - 1] : void 0, pe = J > 2 ? w[2] : void 0;
|
710
|
+
for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe && Pl(w[0], w[1], pe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++F < J; ) {
|
711
|
+
var X = w[F];
|
712
|
+
X && f(y, X, F, le);
|
710
713
|
}
|
711
714
|
return y;
|
712
715
|
});
|
713
716
|
}
|
714
|
-
function
|
715
|
-
return function(y, w,
|
716
|
-
for (var J = -1, le = Object(y), pe =
|
717
|
+
function Ol(f) {
|
718
|
+
return function(y, w, F) {
|
719
|
+
for (var J = -1, le = Object(y), pe = F(y), X = pe.length; X--; ) {
|
717
720
|
var de = pe[f ? X : ++J];
|
718
721
|
if (w(le[de], de, le) === !1)
|
719
722
|
break;
|
@@ -725,61 +728,61 @@ pn.exports;
|
|
725
728
|
var w = f.__data__;
|
726
729
|
return Fl(y) ? w[typeof y == "string" ? "string" : "hash"] : w.map;
|
727
730
|
}
|
728
|
-
function
|
731
|
+
function Fn(f, y) {
|
729
732
|
var w = ot(f, y);
|
730
|
-
return
|
733
|
+
return wl(w) ? w : void 0;
|
731
734
|
}
|
732
|
-
function
|
735
|
+
function zl(f) {
|
733
736
|
var y = xe.call(f, Ee), w = f[Ee];
|
734
737
|
try {
|
735
738
|
f[Ee] = void 0;
|
736
|
-
var
|
739
|
+
var F = !0;
|
737
740
|
} catch {
|
738
741
|
}
|
739
742
|
var J = Xe.call(f);
|
740
|
-
return
|
743
|
+
return F && (y ? f[Ee] = w : delete f[Ee]), J;
|
741
744
|
}
|
742
|
-
function
|
743
|
-
return typeof f.constructor == "function" && !ri(f) ?
|
745
|
+
function Ll(f) {
|
746
|
+
return typeof f.constructor == "function" && !ri(f) ? Ka(Ie(f)) : {};
|
744
747
|
}
|
745
748
|
function ni(f, y) {
|
746
749
|
var w = typeof f;
|
747
|
-
return y = y ?? a, !!y && (w == "number" || w != "symbol" &&
|
750
|
+
return y = y ?? a, !!y && (w == "number" || w != "symbol" && ye.test(f)) && f > -1 && f % 1 == 0 && f < y;
|
748
751
|
}
|
749
|
-
function
|
752
|
+
function Pl(f, y, w) {
|
750
753
|
if (!st(w))
|
751
754
|
return !1;
|
752
|
-
var
|
753
|
-
return (
|
755
|
+
var F = typeof y;
|
756
|
+
return (F == "number" ? Bn(w) && ni(y, w.length) : F == "string" && y in w) ? Xt(w[y], f) : !1;
|
754
757
|
}
|
755
758
|
function Fl(f) {
|
756
759
|
var y = typeof f;
|
757
760
|
return y == "string" || y == "number" || y == "symbol" || y == "boolean" ? f !== "__proto__" : f === null;
|
758
761
|
}
|
759
|
-
function
|
762
|
+
function _l(f) {
|
760
763
|
return !!kt && kt in f;
|
761
764
|
}
|
762
765
|
function ri(f) {
|
763
|
-
var y = f && f.constructor, w = typeof y == "function" && y.prototype ||
|
766
|
+
var y = f && f.constructor, w = typeof y == "function" && y.prototype || me;
|
764
767
|
return f === w;
|
765
768
|
}
|
766
|
-
function
|
769
|
+
function Rl(f) {
|
767
770
|
var y = [];
|
768
771
|
if (f != null)
|
769
772
|
for (var w in Object(f))
|
770
773
|
y.push(w);
|
771
774
|
return y;
|
772
775
|
}
|
773
|
-
function
|
776
|
+
function Ul(f) {
|
774
777
|
return Xe.call(f);
|
775
778
|
}
|
776
|
-
function
|
779
|
+
function Bl(f, y, w) {
|
777
780
|
return y = Le(y === void 0 ? f.length - 1 : y, 0), function() {
|
778
|
-
for (var
|
779
|
-
pe[J] =
|
781
|
+
for (var F = arguments, J = -1, le = Le(F.length - y, 0), pe = Array(le); ++J < le; )
|
782
|
+
pe[J] = F[y + J];
|
780
783
|
J = -1;
|
781
784
|
for (var X = Array(y + 1); ++J < y; )
|
782
|
-
X[J] =
|
785
|
+
X[J] = F[J];
|
783
786
|
return X[y] = w(pe), It(f, this, X);
|
784
787
|
};
|
785
788
|
}
|
@@ -787,12 +790,12 @@ pn.exports;
|
|
787
790
|
if (!(y === "constructor" && typeof f[y] == "function") && y != "__proto__")
|
788
791
|
return f[y];
|
789
792
|
}
|
790
|
-
var
|
791
|
-
function
|
793
|
+
var Ql = Yl(Nl);
|
794
|
+
function Yl(f) {
|
792
795
|
var y = 0, w = 0;
|
793
796
|
return function() {
|
794
|
-
var
|
795
|
-
if (w =
|
797
|
+
var F = Za(), J = o - (F - w);
|
798
|
+
if (w = F, J > 0) {
|
796
799
|
if (++y >= i)
|
797
800
|
return arguments[0];
|
798
801
|
} else
|
@@ -800,7 +803,7 @@ pn.exports;
|
|
800
803
|
return f.apply(void 0, arguments);
|
801
804
|
};
|
802
805
|
}
|
803
|
-
function
|
806
|
+
function Hl(f) {
|
804
807
|
if (f != null) {
|
805
808
|
try {
|
806
809
|
return je.call(f);
|
@@ -824,10 +827,10 @@ pn.exports;
|
|
824
827
|
function Bn(f) {
|
825
828
|
return f != null && oi(f.length) && !Qn(f);
|
826
829
|
}
|
827
|
-
function
|
830
|
+
function $l(f) {
|
828
831
|
return Ct(f) && Bn(f);
|
829
832
|
}
|
830
|
-
var ii = Et ||
|
833
|
+
var ii = Et || Zl;
|
831
834
|
function Qn(f) {
|
832
835
|
if (!st(f))
|
833
836
|
return !1;
|
@@ -844,7 +847,7 @@ pn.exports;
|
|
844
847
|
function Ct(f) {
|
845
848
|
return f != null && typeof f == "object";
|
846
849
|
}
|
847
|
-
function
|
850
|
+
function ql(f) {
|
848
851
|
if (!Ct(f) || Zt(f) != C)
|
849
852
|
return !1;
|
850
853
|
var y = Ie(f);
|
@@ -853,17 +856,17 @@ pn.exports;
|
|
853
856
|
var w = xe.call(y, "constructor") && y.constructor;
|
854
857
|
return typeof w == "function" && w instanceof w && je.call(w) == jt;
|
855
858
|
}
|
856
|
-
var ai = it ? gt(it) :
|
857
|
-
function
|
858
|
-
return
|
859
|
+
var ai = it ? gt(it) : vl;
|
860
|
+
function Vl(f) {
|
861
|
+
return Cl(f, li(f));
|
859
862
|
}
|
860
863
|
function li(f) {
|
861
|
-
return Bn(f) ?
|
864
|
+
return Bn(f) ? Ml(f, !0) : Dl(f);
|
862
865
|
}
|
863
|
-
var
|
866
|
+
var Wl = Sl(function(f, y, w) {
|
864
867
|
ti(f, y, w);
|
865
868
|
});
|
866
|
-
function
|
869
|
+
function Gl(f) {
|
867
870
|
return function() {
|
868
871
|
return f;
|
869
872
|
};
|
@@ -871,13 +874,13 @@ pn.exports;
|
|
871
874
|
function ui(f) {
|
872
875
|
return f;
|
873
876
|
}
|
874
|
-
function
|
877
|
+
function Zl() {
|
875
878
|
return !1;
|
876
879
|
}
|
877
|
-
e.exports =
|
880
|
+
e.exports = Wl;
|
878
881
|
})(pn, pn.exports);
|
879
|
-
var
|
880
|
-
const
|
882
|
+
var hu = pn.exports;
|
883
|
+
const No = /* @__PURE__ */ nt(hu), gu = {
|
881
884
|
xpertKey: "exec-ed-ss-olc-moodle",
|
882
885
|
chatApi: {
|
883
886
|
endpoint: "https://xpert-platform-services-api.stg.ai.2u.com/xpert/omnichannel",
|
@@ -892,7 +895,8 @@ const hu = /* @__PURE__ */ nt(du), gu = {
|
|
892
895
|
},
|
893
896
|
userTracking: {
|
894
897
|
enabled: !0,
|
895
|
-
prefix: "exec.ed.ss.olc.moodle"
|
898
|
+
prefix: "exec.ed.ss.olc.moodle",
|
899
|
+
defaultProperties: null
|
896
900
|
},
|
897
901
|
webExperimentation: {
|
898
902
|
enabled: !1,
|
@@ -977,94 +981,95 @@ const hu = /* @__PURE__ */ nt(du), gu = {
|
|
977
981
|
}
|
978
982
|
}
|
979
983
|
}, mu = {
|
980
|
-
edx:
|
981
|
-
"get-smarter":
|
982
|
-
"speech-emerson":
|
984
|
+
edx: Jl,
|
985
|
+
"get-smarter": tu,
|
986
|
+
"speech-emerson": eu,
|
983
987
|
"exec-ed-ss-olc-moodle": gu
|
984
988
|
}, yu = (e, t = {}) => {
|
985
989
|
if (!e && (!t || Object.keys(t).length === 0))
|
986
990
|
throw new Error("xpertKey or configurations is required");
|
987
991
|
const n = mu[e] || {};
|
988
|
-
return
|
989
|
-
}, Mu = yu,
|
992
|
+
return No(n, t);
|
993
|
+
}, Mu = yu, ko = Kl({}), jo = ({
|
990
994
|
children: e,
|
991
995
|
configurations: t = null,
|
992
996
|
xpertKey: n = null
|
993
997
|
}) => {
|
994
|
-
const r =
|
998
|
+
const r = Xl(
|
995
999
|
() => Mu(n, t),
|
996
1000
|
[t, n]
|
997
1001
|
);
|
998
|
-
return /* @__PURE__ */ k.jsx(
|
1002
|
+
return /* @__PURE__ */ k.jsx(ko.Provider, { value: { ...r }, children: e });
|
999
1003
|
};
|
1000
|
-
|
1001
|
-
children:
|
1002
|
-
xpertKey:
|
1003
|
-
configurations:
|
1004
|
-
xpertKey:
|
1005
|
-
chatApi:
|
1006
|
-
endpoint:
|
1007
|
-
payloadParams:
|
1004
|
+
jo.propTypes = {
|
1005
|
+
children: Q.element.isRequired,
|
1006
|
+
xpertKey: Q.string.isRequired,
|
1007
|
+
configurations: Q.shape({
|
1008
|
+
xpertKey: Q.string,
|
1009
|
+
chatApi: Q.shape({
|
1010
|
+
endpoint: Q.string.isRequired,
|
1011
|
+
payloadParams: Q.string
|
1008
1012
|
}).isRequired,
|
1009
|
-
primaryColor:
|
1010
|
-
disclaimer:
|
1011
|
-
text:
|
1012
|
-
privacyPolicyLink:
|
1013
|
+
primaryColor: Q.string.isRequired,
|
1014
|
+
disclaimer: Q.shape({
|
1015
|
+
text: Q.string.isRequired,
|
1016
|
+
privacyPolicyLink: Q.string.isRequired
|
1013
1017
|
}).isRequired,
|
1014
|
-
userTracking:
|
1015
|
-
enabled:
|
1016
|
-
prefix:
|
1018
|
+
userTracking: Q.shape({
|
1019
|
+
enabled: Q.bool.isRequired,
|
1020
|
+
prefix: Q.string.isRequired,
|
1021
|
+
defaultProperties: Q.object
|
1017
1022
|
}).isRequired,
|
1018
|
-
webExperimentation:
|
1019
|
-
enabled:
|
1020
|
-
experimentName:
|
1023
|
+
webExperimentation: Q.shape({
|
1024
|
+
enabled: Q.bool.isRequired,
|
1025
|
+
experimentName: Q.string
|
1021
1026
|
}).isRequired,
|
1022
|
-
launchButton:
|
1023
|
-
style:
|
1024
|
-
message:
|
1025
|
-
enabled:
|
1026
|
-
text:
|
1027
|
+
launchButton: Q.shape({
|
1028
|
+
style: Q.shape({}).isRequired,
|
1029
|
+
message: Q.shape({
|
1030
|
+
enabled: Q.bool.isRequired,
|
1031
|
+
text: Q.string
|
1027
1032
|
})
|
1028
1033
|
}).isRequired,
|
1029
|
-
proactiveMessage:
|
1030
|
-
enabled:
|
1031
|
-
textPrefix:
|
1032
|
-
text:
|
1033
|
-
delayMs:
|
1034
|
-
style:
|
1034
|
+
proactiveMessage: Q.shape({
|
1035
|
+
enabled: Q.bool.isRequired,
|
1036
|
+
textPrefix: Q.string,
|
1037
|
+
text: Q.string,
|
1038
|
+
delayMs: Q.number.isRequired,
|
1039
|
+
style: Q.shape({}).isRequired
|
1035
1040
|
}).isRequired,
|
1036
|
-
conversationScreen:
|
1037
|
-
header:
|
1038
|
-
logo:
|
1039
|
-
type:
|
1040
|
-
style:
|
1041
|
+
conversationScreen: Q.shape({
|
1042
|
+
header: Q.shape({
|
1043
|
+
logo: Q.shape({
|
1044
|
+
type: Q.string.isRequired,
|
1045
|
+
style: Q.shape({})
|
1041
1046
|
}).isRequired,
|
1042
|
-
container:
|
1043
|
-
style:
|
1047
|
+
container: Q.shape({
|
1048
|
+
style: Q.shape({}).isRequired
|
1044
1049
|
})
|
1045
1050
|
}),
|
1046
|
-
systemMessage:
|
1047
|
-
prompts:
|
1048
|
-
|
1049
|
-
id:
|
1050
|
-
text:
|
1051
|
+
systemMessage: Q.string.isRequired,
|
1052
|
+
prompts: Q.arrayOf(
|
1053
|
+
Q.shape({
|
1054
|
+
id: Q.number.isRequired,
|
1055
|
+
text: Q.string.isRequired
|
1051
1056
|
})
|
1052
1057
|
),
|
1053
|
-
userMessageBubble:
|
1054
|
-
style:
|
1058
|
+
userMessageBubble: Q.shape({
|
1059
|
+
style: Q.shape({}).isRequired
|
1055
1060
|
}),
|
1056
|
-
conversationHistory:
|
1057
|
-
enabled:
|
1061
|
+
conversationHistory: Q.shape({
|
1062
|
+
enabled: Q.bool.isRequired
|
1058
1063
|
}).isRequired,
|
1059
|
-
liveChat:
|
1060
|
-
enabled:
|
1061
|
-
sourceCode:
|
1062
|
-
options:
|
1064
|
+
liveChat: Q.shape({
|
1065
|
+
enabled: Q.bool.isRequired,
|
1066
|
+
sourceCode: Q.string,
|
1067
|
+
options: Q.shape({})
|
1063
1068
|
})
|
1064
1069
|
}).isRequired
|
1065
1070
|
})
|
1066
1071
|
};
|
1067
|
-
const Ge =
|
1072
|
+
const Ge = ko;
|
1068
1073
|
/*! js-cookie v3.0.5 | MIT */
|
1069
1074
|
function en(e) {
|
1070
1075
|
for (var t = 1; t < arguments.length; t++) {
|
@@ -1172,7 +1177,7 @@ const _t = /^[a-z0-9]+(-[a-z0-9]+)*$/, bn = (e, t, n, r = "") => {
|
|
1172
1177
|
return t && !ln(l, n) ? null : l;
|
1173
1178
|
}
|
1174
1179
|
return null;
|
1175
|
-
}, ln = (e, t) => e ? !!((e.provider === "" || e.provider.match(_t)) && (t && e.prefix === "" || e.prefix.match(_t)) && e.name.match(_t)) : !1,
|
1180
|
+
}, 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(
|
1176
1181
|
{
|
1177
1182
|
left: 0,
|
1178
1183
|
top: 0,
|
@@ -1184,7 +1189,7 @@ const _t = /^[a-z0-9]+(-[a-z0-9]+)*$/, bn = (e, t, n, r = "") => {
|
|
1184
1189
|
vFlip: !1,
|
1185
1190
|
hFlip: !1
|
1186
1191
|
}), Tr = Object.freeze({
|
1187
|
-
...
|
1192
|
+
...Eo,
|
1188
1193
|
...dn
|
1189
1194
|
}), ar = Object.freeze({
|
1190
1195
|
...Tr,
|
@@ -1228,7 +1233,7 @@ function vu(e, t, n) {
|
|
1228
1233
|
}
|
1229
1234
|
return a(t), n.forEach(a), pi(e, o);
|
1230
1235
|
}
|
1231
|
-
function
|
1236
|
+
function Ao(e, t) {
|
1232
1237
|
const n = [];
|
1233
1238
|
if (typeof e != "object" || typeof e.icons != "object")
|
1234
1239
|
return n;
|
@@ -1246,7 +1251,7 @@ const Du = {
|
|
1246
1251
|
provider: "",
|
1247
1252
|
aliases: {},
|
1248
1253
|
not_found: {},
|
1249
|
-
...
|
1254
|
+
...Eo
|
1250
1255
|
};
|
1251
1256
|
function $n(e, t) {
|
1252
1257
|
for (const n in t)
|
@@ -1254,7 +1259,7 @@ function $n(e, t) {
|
|
1254
1259
|
return !1;
|
1255
1260
|
return !0;
|
1256
1261
|
}
|
1257
|
-
function
|
1262
|
+
function Co(e) {
|
1258
1263
|
if (typeof e != "object" || e === null)
|
1259
1264
|
return null;
|
1260
1265
|
const t = e;
|
@@ -1294,7 +1299,7 @@ function pt(e, t) {
|
|
1294
1299
|
return n[t] || (n[t] = Tu(e, t));
|
1295
1300
|
}
|
1296
1301
|
function Ir(e, t) {
|
1297
|
-
return
|
1302
|
+
return Co(t) ? Ao(t, (n, r) => {
|
1298
1303
|
r ? e.icons[n] = r : e.missing.add(n);
|
1299
1304
|
}) : [];
|
1300
1305
|
}
|
@@ -1307,7 +1312,7 @@ function Iu(e, t, n) {
|
|
1307
1312
|
return !1;
|
1308
1313
|
}
|
1309
1314
|
let Ht = !1;
|
1310
|
-
function
|
1315
|
+
function So(e) {
|
1311
1316
|
return typeof e == "boolean" && (Ht = e), Ht;
|
1312
1317
|
}
|
1313
1318
|
function Nu(e) {
|
@@ -1329,7 +1334,7 @@ function ju(e, t) {
|
|
1329
1334
|
return !1;
|
1330
1335
|
if (typeof t != "string" && (t = e.provider || ""), Ht && !t && !e.prefix) {
|
1331
1336
|
let i = !1;
|
1332
|
-
return
|
1337
|
+
return Co(e) && (e.prefix = "", Ao(e, (o, a) => {
|
1333
1338
|
a && ku(o, a) && (i = !0);
|
1334
1339
|
})), i;
|
1335
1340
|
}
|
@@ -1343,12 +1348,12 @@ function ju(e, t) {
|
|
1343
1348
|
const r = pt(t, n);
|
1344
1349
|
return !!Ir(r, e);
|
1345
1350
|
}
|
1346
|
-
const
|
1351
|
+
const Oo = Object.freeze({
|
1347
1352
|
width: null,
|
1348
1353
|
height: null
|
1349
|
-
}),
|
1354
|
+
}), zo = Object.freeze({
|
1350
1355
|
// Dimensions
|
1351
|
-
...
|
1356
|
+
...Oo,
|
1352
1357
|
// Transformations
|
1353
1358
|
...dn
|
1354
1359
|
}), Eu = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Au = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
@@ -1381,7 +1386,7 @@ function Su(e, t) {
|
|
1381
1386
|
...Tr,
|
1382
1387
|
...e
|
1383
1388
|
}, r = {
|
1384
|
-
...
|
1389
|
+
...zo,
|
1385
1390
|
...t
|
1386
1391
|
}, i = {
|
1387
1392
|
left: n.left,
|
@@ -1431,7 +1436,7 @@ function Su(e, t) {
|
|
1431
1436
|
}
|
1432
1437
|
const Ou = /\sid="(\S+)"/g, zu = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
1433
1438
|
let Lu = 0;
|
1434
|
-
function
|
1439
|
+
function Pu(e, t = zu) {
|
1435
1440
|
const n = [];
|
1436
1441
|
let r;
|
1437
1442
|
for (; r = Ou.exec(e); )
|
@@ -1450,7 +1455,7 @@ function Fu(e, t = zu) {
|
|
1450
1455
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
1451
1456
|
}
|
1452
1457
|
const lr = /* @__PURE__ */ Object.create(null);
|
1453
|
-
function
|
1458
|
+
function Fu(e, t) {
|
1454
1459
|
lr[e] = t;
|
1455
1460
|
}
|
1456
1461
|
function ur(e) {
|
@@ -1628,7 +1633,7 @@ function qu(e) {
|
|
1628
1633
|
c.push(p);
|
1629
1634
|
}), t;
|
1630
1635
|
}
|
1631
|
-
function
|
1636
|
+
function Lo(e, t) {
|
1632
1637
|
e.forEach((n) => {
|
1633
1638
|
const r = n.loaderCallbacks;
|
1634
1639
|
r && (n.loaderCallbacks = r.filter((i) => i.id !== t));
|
@@ -1663,7 +1668,7 @@ function Vu(e) {
|
|
1663
1668
|
else
|
1664
1669
|
return n = !0, !0;
|
1665
1670
|
return !1;
|
1666
|
-
}), a.pending.length !== l && (n ||
|
1671
|
+
}), a.pending.length !== l && (n || Lo([e], o.id), o.callback(
|
1667
1672
|
a.loaded.slice(0),
|
1668
1673
|
a.missing.slice(0),
|
1669
1674
|
a.pending.slice(0),
|
@@ -1674,7 +1679,7 @@ function Vu(e) {
|
|
1674
1679
|
}
|
1675
1680
|
let Wu = 0;
|
1676
1681
|
function Gu(e, t, n) {
|
1677
|
-
const r = Wu++, i =
|
1682
|
+
const r = Wu++, i = Lo.bind(null, n, r);
|
1678
1683
|
if (!t.pending.length)
|
1679
1684
|
return i;
|
1680
1685
|
const o = {
|
@@ -1708,8 +1713,8 @@ function Xu(e, t, n, r) {
|
|
1708
1713
|
if (e.random) {
|
1709
1714
|
let M = e.resources.slice(0);
|
1710
1715
|
for (a = []; M.length > 1; ) {
|
1711
|
-
const
|
1712
|
-
a.push(M[
|
1716
|
+
const P = Math.floor(Math.random() * M.length);
|
1717
|
+
a.push(M[P]), M = M.slice(0, P).concat(M.slice(P + 1));
|
1713
1718
|
}
|
1714
1719
|
a = a.concat(M);
|
1715
1720
|
} else
|
@@ -1725,8 +1730,8 @@ function Xu(e, t, n, r) {
|
|
1725
1730
|
M.status === "pending" && (M.status = "aborted");
|
1726
1731
|
}), m = [];
|
1727
1732
|
}
|
1728
|
-
function j(M,
|
1729
|
-
|
1733
|
+
function j(M, P) {
|
1734
|
+
P && (d = []), typeof M == "function" && d.push(M);
|
1730
1735
|
}
|
1731
1736
|
function v() {
|
1732
1737
|
return {
|
@@ -1749,8 +1754,8 @@ function Xu(e, t, n, r) {
|
|
1749
1754
|
M.status === "pending" && (M.status = "aborted");
|
1750
1755
|
}), m = [];
|
1751
1756
|
}
|
1752
|
-
function W(M,
|
1753
|
-
const G =
|
1757
|
+
function W(M, P, H) {
|
1758
|
+
const G = P !== "success";
|
1754
1759
|
switch (m = m.filter((K) => K !== M), u) {
|
1755
1760
|
case "pending":
|
1756
1761
|
break;
|
@@ -1761,7 +1766,7 @@ function Xu(e, t, n, r) {
|
|
1761
1766
|
default:
|
1762
1767
|
return;
|
1763
1768
|
}
|
1764
|
-
if (
|
1769
|
+
if (P === "abort") {
|
1765
1770
|
c = H, C();
|
1766
1771
|
return;
|
1767
1772
|
}
|
@@ -1792,18 +1797,18 @@ function Xu(e, t, n, r) {
|
|
1792
1797
|
C();
|
1793
1798
|
return;
|
1794
1799
|
}
|
1795
|
-
const
|
1800
|
+
const P = {
|
1796
1801
|
status: "pending",
|
1797
1802
|
resource: M,
|
1798
1803
|
callback: (H, G) => {
|
1799
|
-
W(
|
1804
|
+
W(P, H, G);
|
1800
1805
|
}
|
1801
1806
|
};
|
1802
|
-
m.push(
|
1807
|
+
m.push(P), s++, p = setTimeout(q, e.rotate), n(M, t, P.callback);
|
1803
1808
|
}
|
1804
1809
|
return setTimeout(q), v;
|
1805
1810
|
}
|
1806
|
-
function
|
1811
|
+
function Po(e) {
|
1807
1812
|
const t = {
|
1808
1813
|
...Ku,
|
1809
1814
|
...e
|
@@ -1844,7 +1849,7 @@ function Ju(e) {
|
|
1844
1849
|
const t = jr(e);
|
1845
1850
|
if (!t)
|
1846
1851
|
return;
|
1847
|
-
const n =
|
1852
|
+
const n = Po(t), r = {
|
1848
1853
|
config: t,
|
1849
1854
|
redundancy: n
|
1850
1855
|
};
|
@@ -1864,14 +1869,14 @@ function es(e, t, n) {
|
|
1864
1869
|
} else {
|
1865
1870
|
const o = Nr(e);
|
1866
1871
|
if (o) {
|
1867
|
-
r =
|
1872
|
+
r = Po(o);
|
1868
1873
|
const a = e.resources ? e.resources[0] : "", l = ur(a);
|
1869
1874
|
l && (i = l.send);
|
1870
1875
|
}
|
1871
1876
|
}
|
1872
1877
|
return !r || !i ? (n(void 0, 424), mi) : r.query(t, i, n)().abort;
|
1873
1878
|
}
|
1874
|
-
const yi = "iconify2", $t = "iconify", Fo = $t + "-count", Mi = $t + "-version",
|
1879
|
+
const yi = "iconify2", $t = "iconify", Fo = $t + "-count", Mi = $t + "-version", _o = 36e5, ts = 168;
|
1875
1880
|
function sr(e, t) {
|
1876
1881
|
try {
|
1877
1882
|
return e.getItem(t);
|
@@ -1899,7 +1904,7 @@ function fr(e) {
|
|
1899
1904
|
const wn = {
|
1900
1905
|
local: !0,
|
1901
1906
|
session: !0
|
1902
|
-
},
|
1907
|
+
}, Ro = {
|
1903
1908
|
local: /* @__PURE__ */ new Set(),
|
1904
1909
|
session: /* @__PURE__ */ new Set()
|
1905
1910
|
};
|
@@ -1908,7 +1913,7 @@ function ns(e) {
|
|
1908
1913
|
Ar = e;
|
1909
1914
|
}
|
1910
1915
|
let tn = typeof window > "u" ? {} : window;
|
1911
|
-
function
|
1916
|
+
function Uo(e) {
|
1912
1917
|
const t = e + "Storage";
|
1913
1918
|
try {
|
1914
1919
|
if (tn && tn[t] && typeof tn[t].length == "number")
|
@@ -1917,8 +1922,8 @@ function Ro(e) {
|
|
1917
1922
|
}
|
1918
1923
|
wn[e] = !1;
|
1919
1924
|
}
|
1920
|
-
function
|
1921
|
-
const n =
|
1925
|
+
function Bo(e, t) {
|
1926
|
+
const n = Uo(e);
|
1922
1927
|
if (!n)
|
1923
1928
|
return;
|
1924
1929
|
const r = sr(n, Mi);
|
@@ -1931,7 +1936,7 @@ function Uo(e, t) {
|
|
1931
1936
|
Er(n, Mi, yi), cr(n, 0);
|
1932
1937
|
return;
|
1933
1938
|
}
|
1934
|
-
const i = Math.floor(Date.now() /
|
1939
|
+
const i = Math.floor(Date.now() / _o) - ts, o = (l) => {
|
1935
1940
|
const u = $t + l.toString(), s = sr(n, u);
|
1936
1941
|
if (typeof s == "string") {
|
1937
1942
|
try {
|
@@ -1946,13 +1951,13 @@ function Uo(e, t) {
|
|
1946
1951
|
};
|
1947
1952
|
let a = fr(n);
|
1948
1953
|
for (let l = a - 1; l >= 0; l--)
|
1949
|
-
o(l) || (l === a - 1 ? (a--, cr(n, a)) :
|
1954
|
+
o(l) || (l === a - 1 ? (a--, cr(n, a)) : Ro[e].add(l));
|
1950
1955
|
}
|
1951
|
-
function
|
1956
|
+
function Qo() {
|
1952
1957
|
if (!Ar) {
|
1953
1958
|
ns(!0);
|
1954
1959
|
for (const e in wn)
|
1955
|
-
|
1960
|
+
Bo(e, (t) => {
|
1956
1961
|
const n = t.data, r = t.provider, i = n.prefix, o = pt(
|
1957
1962
|
r,
|
1958
1963
|
i
|
@@ -1973,26 +1978,26 @@ function rs(e, t) {
|
|
1973
1978
|
return n === t;
|
1974
1979
|
if (e.lastModifiedCached = t, n)
|
1975
1980
|
for (const r in wn)
|
1976
|
-
|
1981
|
+
Bo(r, (i) => {
|
1977
1982
|
const o = i.data;
|
1978
1983
|
return i.provider !== e.provider || o.prefix !== e.prefix || o.lastModified === t;
|
1979
1984
|
});
|
1980
1985
|
return !0;
|
1981
1986
|
}
|
1982
1987
|
function is(e, t) {
|
1983
|
-
Ar ||
|
1988
|
+
Ar || Qo();
|
1984
1989
|
function n(r) {
|
1985
1990
|
let i;
|
1986
|
-
if (!wn[r] || !(i =
|
1991
|
+
if (!wn[r] || !(i = Uo(r)))
|
1987
1992
|
return;
|
1988
|
-
const o =
|
1993
|
+
const o = Ro[r];
|
1989
1994
|
let a;
|
1990
1995
|
if (o.size)
|
1991
1996
|
o.delete(a = Array.from(o).shift());
|
1992
1997
|
else if (a = fr(i), !cr(i, a + 1))
|
1993
1998
|
return;
|
1994
1999
|
const l = {
|
1995
|
-
cached: Math.floor(Date.now() /
|
2000
|
+
cached: Math.floor(Date.now() / _o),
|
1996
2001
|
provider: e.provider,
|
1997
2002
|
data: t
|
1998
2003
|
};
|
@@ -2046,7 +2051,7 @@ function as(e, t) {
|
|
2046
2051
|
}));
|
2047
2052
|
}
|
2048
2053
|
const ls = (e, t) => {
|
2049
|
-
const n = Zu(e, !0,
|
2054
|
+
const n = Zu(e, !0, So()), r = qu(n);
|
2050
2055
|
if (!r.pending.length) {
|
2051
2056
|
let u = !0;
|
2052
2057
|
return t && setTimeout(() => {
|
@@ -2083,7 +2088,7 @@ function us(e, t) {
|
|
2083
2088
|
};
|
2084
2089
|
for (const r in t) {
|
2085
2090
|
const i = t[r], o = typeof i;
|
2086
|
-
r in
|
2091
|
+
r in Oo ? (i === null || i && (o === "string" || o === "number")) && (n[r] = i) : o === typeof n[r] && (n[r] = r === "rotate" ? i % 4 : i);
|
2087
2092
|
}
|
2088
2093
|
return n;
|
2089
2094
|
}
|
@@ -2155,8 +2160,8 @@ function ms() {
|
|
2155
2160
|
function ys(e) {
|
2156
2161
|
return Rt === void 0 && ms(), Rt ? Rt.createHTML(e) : e;
|
2157
2162
|
}
|
2158
|
-
const
|
2159
|
-
...
|
2163
|
+
const Yo = {
|
2164
|
+
...zo,
|
2160
2165
|
inline: !1
|
2161
2166
|
}, Ms = {
|
2162
2167
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2167,7 +2172,7 @@ const Qo = {
|
|
2167
2172
|
display: "inline-block"
|
2168
2173
|
}, pr = {
|
2169
2174
|
backgroundColor: "currentColor"
|
2170
|
-
},
|
2175
|
+
}, Ho = {
|
2171
2176
|
backgroundColor: "transparent"
|
2172
2177
|
}, wi = {
|
2173
2178
|
Image: "var(--svg)",
|
@@ -2176,7 +2181,7 @@ const Qo = {
|
|
2176
2181
|
}, vi = {
|
2177
2182
|
WebkitMask: pr,
|
2178
2183
|
mask: pr,
|
2179
|
-
background:
|
2184
|
+
background: Ho
|
2180
2185
|
};
|
2181
2186
|
for (const e in vi) {
|
2182
2187
|
const t = vi[e];
|
@@ -2184,14 +2189,14 @@ for (const e in vi) {
|
|
2184
2189
|
t[e + n] = wi[n];
|
2185
2190
|
}
|
2186
2191
|
const bs = {
|
2187
|
-
...
|
2192
|
+
...Yo,
|
2188
2193
|
inline: !0
|
2189
2194
|
};
|
2190
2195
|
function Di(e) {
|
2191
2196
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
2192
2197
|
}
|
2193
2198
|
const ws = (e, t, n, r) => {
|
2194
|
-
const i = n ? bs :
|
2199
|
+
const i = n ? bs : Yo, o = us(i, t), a = t.mode || "svg", l = {}, u = t.style || {}, s = {
|
2195
2200
|
...a === "svg" ? Ms : {},
|
2196
2201
|
ref: r
|
2197
2202
|
};
|
@@ -2237,7 +2242,7 @@ const ws = (e, t, n, r) => {
|
|
2237
2242
|
}, Object.assign(s, p);
|
2238
2243
|
let v = 0, C = t.id;
|
2239
2244
|
return typeof C == "string" && (C = C.replace(/-/g, "_")), s.dangerouslySetInnerHTML = {
|
2240
|
-
__html: ys(
|
2245
|
+
__html: ys(Pu(c.body, C ? () => C + "ID" + v++ : "iconifyReact"))
|
2241
2246
|
}, ve.createElement("svg", s);
|
2242
2247
|
}
|
2243
2248
|
const { body: m, width: d, height: T } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), j = ps(m, {
|
@@ -2251,14 +2256,14 @@ const ws = (e, t, n, r) => {
|
|
2251
2256
|
width: Di(p.width),
|
2252
2257
|
height: Di(p.height),
|
2253
2258
|
...xs,
|
2254
|
-
...x ? pr :
|
2259
|
+
...x ? pr : Ho,
|
2255
2260
|
...u
|
2256
2261
|
}, ve.createElement("span", s);
|
2257
2262
|
};
|
2258
|
-
|
2259
|
-
|
2263
|
+
So(!0);
|
2264
|
+
Fu("", $u);
|
2260
2265
|
if (typeof document < "u" && typeof window < "u") {
|
2261
|
-
|
2266
|
+
Qo();
|
2262
2267
|
const e = window;
|
2263
2268
|
if (e.IconifyPreload !== void 0) {
|
2264
2269
|
const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
@@ -2289,7 +2294,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
2289
2294
|
}
|
2290
2295
|
}
|
2291
2296
|
}
|
2292
|
-
class
|
2297
|
+
class $o extends ve.Component {
|
2293
2298
|
constructor(t) {
|
2294
2299
|
super(t), this.state = {
|
2295
2300
|
// Render placeholder before component is mounted
|
@@ -2384,7 +2389,7 @@ const bt = ve.forwardRef(function(t, n) {
|
|
2384
2389
|
_ref: n,
|
2385
2390
|
_inline: !1
|
2386
2391
|
};
|
2387
|
-
return ve.createElement(
|
2392
|
+
return ve.createElement($o, r);
|
2388
2393
|
});
|
2389
2394
|
ve.forwardRef(function(t, n) {
|
2390
2395
|
const r = {
|
@@ -2392,7 +2397,7 @@ ve.forwardRef(function(t, n) {
|
|
2392
2397
|
_ref: n,
|
2393
2398
|
_inline: !0
|
2394
2399
|
};
|
2395
|
-
return ve.createElement(
|
2400
|
+
return ve.createElement($o, r);
|
2396
2401
|
});
|
2397
2402
|
const vs = 576, Ds = (e) => {
|
2398
2403
|
const [t, n] = we(), r = Yt(() => {
|
@@ -2404,7 +2409,7 @@ const vs = 576, Ds = (e) => {
|
|
2404
2409
|
}, [e]);
|
2405
2410
|
return Oe(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
2406
2411
|
}, vt = Ds, Ts = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Is = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Ns = 991;
|
2407
|
-
function
|
2412
|
+
function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
2408
2413
|
return vt(Ns) ? null : e ? /* @__PURE__ */ k.jsx(
|
2409
2414
|
"button",
|
2410
2415
|
{
|
@@ -2458,12 +2463,12 @@ function $o({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
|
2458
2463
|
}
|
2459
2464
|
);
|
2460
2465
|
}
|
2461
|
-
|
2466
|
+
qo.propTypes = {
|
2462
2467
|
isNormalSize: N.bool.isRequired,
|
2463
2468
|
setIsMounted: N.func.isRequired,
|
2464
2469
|
setIsNormalSize: N.func.isRequired
|
2465
2470
|
};
|
2466
|
-
function
|
2471
|
+
function Vo({
|
2467
2472
|
isNormalSize: e,
|
2468
2473
|
setIsMounted: t,
|
2469
2474
|
setIsNormalSize: n,
|
@@ -2483,7 +2488,7 @@ function qo({
|
|
2483
2488
|
paddingBottom: "1.25rem"
|
2484
2489
|
},
|
2485
2490
|
children: /* @__PURE__ */ k.jsx(
|
2486
|
-
|
2491
|
+
qo,
|
2487
2492
|
{
|
2488
2493
|
isMounted: i,
|
2489
2494
|
setIsMounted: t,
|
@@ -2520,7 +2525,7 @@ function qo({
|
|
2520
2525
|
)
|
2521
2526
|
] });
|
2522
2527
|
}
|
2523
|
-
|
2528
|
+
Vo.propTypes = {
|
2524
2529
|
isNormalSize: N.bool.isRequired,
|
2525
2530
|
setIsMounted: N.func.isRequired,
|
2526
2531
|
setIsNormalSize: N.func.isRequired,
|
@@ -2559,9 +2564,9 @@ Cr.defaultProps = {
|
|
2559
2564
|
backgroundColor: "#F0CC00",
|
2560
2565
|
textColor: "transparent"
|
2561
2566
|
};
|
2562
|
-
const ks = Cr, Vo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg3MSIgaGVpZ2h0PSI1NjQiIHZpZXdCb3g9IjAgMCAxODcxIDU2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkyOCAxODhIMTg3MUwxODA4IDQ5MUg4NjVMOTI4IDE4OFoiIGZpbGw9IiNGMENDMDAiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEyM180MjgpIj4KPHBhdGggZD0iTTI1NS4yNzMgMTk3LjM4N0MyNTAuODUyIDE5Mi4yNTQgMjQ1LjM1MiAxODguMTg1IDI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gxNDgzLjU3VjMzMi41MTZaTTE1NzEuNDggMjY5LjMzNkgxNjc0LjE5VjI5NS4wMTZIMTYzNi4yOVY0MTJIMTYwOS4zOFYyOTUuMDE2SDE1NzEuNDhWMjY5LjMzNloiIGZpbGw9IiMwMDI2MkIiLz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTIzXzQyOCI+CjxyZWN0IHdpZHRoPSIxMDgwIiBoZWlnaHQ9IjU2My4yNSIgZmlsbD0iI0ZGRkZGRiIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";
|
2563
2568
|
const js = 991;
|
2564
|
-
function
|
2569
|
+
function Go({
|
2565
2570
|
isNormalSize: e,
|
2566
2571
|
setIsNormalSize: t,
|
2567
2572
|
isMounted: n,
|
@@ -2597,7 +2602,7 @@ function Wo({
|
|
2597
2602
|
{
|
2598
2603
|
"data-ot-ignore": "",
|
2599
2604
|
className: "xpert-chatbot-popup__logo optanon-category-C0001",
|
2600
|
-
src:
|
2605
|
+
src: Wo,
|
2601
2606
|
alt: "xpert logo",
|
2602
2607
|
"aria-hidden": !0,
|
2603
2608
|
style: a.header.logo.style
|
@@ -2610,7 +2615,7 @@ function Wo({
|
|
2610
2615
|
}
|
2611
2616
|
),
|
2612
2617
|
/* @__PURE__ */ k.jsx(
|
2613
|
-
|
2618
|
+
Vo,
|
2614
2619
|
{
|
2615
2620
|
isMounted: n,
|
2616
2621
|
setIsMounted: r,
|
@@ -2633,7 +2638,7 @@ function Wo({
|
|
2633
2638
|
}
|
2634
2639
|
);
|
2635
2640
|
}
|
2636
|
-
|
2641
|
+
Go.propTypes = {
|
2637
2642
|
isMounted: N.bool.isRequired,
|
2638
2643
|
isNormalSize: N.bool.isRequired,
|
2639
2644
|
setIsMounted: N.func.isRequired,
|
@@ -2742,7 +2747,7 @@ function Es(e) {
|
|
2742
2747
|
var As = function(t) {
|
2743
2748
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
2744
2749
|
};
|
2745
|
-
const
|
2750
|
+
const Zo = /* @__PURE__ */ nt(As);
|
2746
2751
|
function Ut(e) {
|
2747
2752
|
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) : "";
|
2748
2753
|
}
|
@@ -2871,10 +2876,10 @@ function zs(...e) {
|
|
2871
2876
|
function Ls(e) {
|
2872
2877
|
Vt(e);
|
2873
2878
|
const t = e.charCodeAt(0) === 47;
|
2874
|
-
let n =
|
2879
|
+
let n = Ps(e, !t);
|
2875
2880
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
2876
2881
|
}
|
2877
|
-
function
|
2882
|
+
function Ps(e, t) {
|
2878
2883
|
let n = "", r = 0, i = -1, o = 0, a = -1, l, u;
|
2879
2884
|
for (; ++a <= e.length; ) {
|
2880
2885
|
if (a < e.length)
|
@@ -2913,7 +2918,7 @@ function Vt(e) {
|
|
2913
2918
|
"Path must be a string. Received " + JSON.stringify(e)
|
2914
2919
|
);
|
2915
2920
|
}
|
2916
|
-
const
|
2921
|
+
const Fs = { cwd: _s };
|
2917
2922
|
function _s() {
|
2918
2923
|
return "/";
|
2919
2924
|
}
|
@@ -2959,7 +2964,7 @@ function Us(e) {
|
|
2959
2964
|
return decodeURIComponent(t);
|
2960
2965
|
}
|
2961
2966
|
const Vn = ["history", "path", "basename", "stem", "extname", "dirname"];
|
2962
|
-
class
|
2967
|
+
class Ko {
|
2963
2968
|
/**
|
2964
2969
|
* Create a new virtual file.
|
2965
2970
|
*
|
@@ -2984,7 +2989,7 @@ class Zo {
|
|
2984
2989
|
*/
|
2985
2990
|
constructor(t) {
|
2986
2991
|
let n;
|
2987
|
-
t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd =
|
2992
|
+
t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Fs.cwd(), this.value, this.stored, this.result, this.map;
|
2988
2993
|
let r = -1;
|
2989
2994
|
for (; ++r < Vn.length; ) {
|
2990
2995
|
const o = Vn[r];
|
@@ -3174,16 +3179,16 @@ function ki(e, t) {
|
|
3174
3179
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
3175
3180
|
}
|
3176
3181
|
function Bs(e) {
|
3177
|
-
return
|
3182
|
+
return Zo(e);
|
3178
3183
|
}
|
3179
3184
|
function ji(e) {
|
3180
3185
|
if (e)
|
3181
3186
|
throw e;
|
3182
3187
|
}
|
3183
|
-
var sn = Object.prototype.hasOwnProperty,
|
3184
|
-
return typeof Array.isArray == "function" ? Array.isArray(t) :
|
3188
|
+
var sn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Ci = function(t) {
|
3189
|
+
return typeof Array.isArray == "function" ? Array.isArray(t) : Xo.call(t) === "[object Array]";
|
3185
3190
|
}, Si = function(t) {
|
3186
|
-
if (!t ||
|
3191
|
+
if (!t || Xo.call(t) !== "[object Object]")
|
3187
3192
|
return !1;
|
3188
3193
|
var n = sn.call(t, "constructor"), r = t.constructor && t.constructor.prototype && sn.call(t.constructor.prototype, "isPrototypeOf");
|
3189
3194
|
if (t.constructor && !n && !r)
|
@@ -3278,20 +3283,20 @@ function Hs(e, t) {
|
|
3278
3283
|
i(null, a);
|
3279
3284
|
}
|
3280
3285
|
}
|
3281
|
-
const $s =
|
3282
|
-
function
|
3286
|
+
const $s = ea().freeze(), Jo = {}.hasOwnProperty;
|
3287
|
+
function ea() {
|
3283
3288
|
const e = Ys(), t = [];
|
3284
3289
|
let n = {}, r, i = -1;
|
3285
3290
|
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;
|
3286
3291
|
function o() {
|
3287
|
-
const x =
|
3292
|
+
const x = ea();
|
3288
3293
|
let j = -1;
|
3289
3294
|
for (; ++j < t.length; )
|
3290
3295
|
x.use(...t[j]);
|
3291
3296
|
return x.data(Li(!0, {}, n)), x;
|
3292
3297
|
}
|
3293
3298
|
function a(x, j) {
|
3294
|
-
return typeof x == "string" ? arguments.length === 2 ? (Xn("data", r), n[x] = j, o) :
|
3299
|
+
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;
|
3295
3300
|
}
|
3296
3301
|
function l() {
|
3297
3302
|
if (r)
|
@@ -3321,8 +3326,8 @@ function Jo() {
|
|
3321
3326
|
q(M);
|
3322
3327
|
else if (typeof M == "object")
|
3323
3328
|
if (Array.isArray(M)) {
|
3324
|
-
const [
|
3325
|
-
q(
|
3329
|
+
const [P, ...H] = M;
|
3330
|
+
q(P, ...H);
|
3326
3331
|
} else
|
3327
3332
|
S(M);
|
3328
3333
|
else
|
@@ -3332,44 +3337,44 @@ function Jo() {
|
|
3332
3337
|
W(M.plugins), M.settings && (v = Object.assign(v || {}, M.settings));
|
3333
3338
|
}
|
3334
3339
|
function W(M) {
|
3335
|
-
let
|
3340
|
+
let P = -1;
|
3336
3341
|
if (M != null)
|
3337
3342
|
if (Array.isArray(M))
|
3338
|
-
for (; ++
|
3339
|
-
const H = M[
|
3343
|
+
for (; ++P < M.length; ) {
|
3344
|
+
const H = M[P];
|
3340
3345
|
C(H);
|
3341
3346
|
}
|
3342
3347
|
else
|
3343
3348
|
throw new TypeError("Expected a list of plugins, not `" + M + "`");
|
3344
3349
|
}
|
3345
|
-
function q(M,
|
3350
|
+
function q(M, P) {
|
3346
3351
|
let H = -1, G;
|
3347
3352
|
for (; ++H < t.length; )
|
3348
3353
|
if (t[H][0] === M) {
|
3349
3354
|
G = t[H];
|
3350
3355
|
break;
|
3351
3356
|
}
|
3352
|
-
G ? (gr(G[1]) && gr(
|
3357
|
+
G ? (gr(G[1]) && gr(P) && (P = Li(!0, G[1], P)), G[1] = P) : t.push([...arguments]);
|
3353
3358
|
}
|
3354
3359
|
}
|
3355
3360
|
function s(x) {
|
3356
3361
|
o.freeze();
|
3357
3362
|
const j = zt(x), v = o.Parser;
|
3358
|
-
return Zn("parse", v),
|
3363
|
+
return Zn("parse", v), Pi(v, "parse") ? new v(String(j), j).parse() : v(String(j), j);
|
3359
3364
|
}
|
3360
3365
|
function c(x, j) {
|
3361
3366
|
o.freeze();
|
3362
3367
|
const v = zt(j), C = o.Compiler;
|
3363
|
-
return Kn("stringify", C),
|
3368
|
+
return Kn("stringify", C), Fi(x), Pi(C, "compile") ? new C(x, v).compile() : C(x, v);
|
3364
3369
|
}
|
3365
3370
|
function p(x, j, v) {
|
3366
|
-
if (
|
3371
|
+
if (Fi(x), o.freeze(), !v && typeof j == "function" && (v = j, j = void 0), !v)
|
3367
3372
|
return new Promise(C);
|
3368
3373
|
C(null, v);
|
3369
3374
|
function C(S, W) {
|
3370
3375
|
e.run(x, zt(j), q);
|
3371
|
-
function q(M,
|
3372
|
-
|
3376
|
+
function q(M, P, H) {
|
3377
|
+
P = P || x, M ? W(M) : S ? S(P) : v(null, P, H);
|
3373
3378
|
}
|
3374
3379
|
}
|
3375
3380
|
}
|
@@ -3386,16 +3391,16 @@ function Jo() {
|
|
3386
3391
|
v(null, j);
|
3387
3392
|
function v(C, S) {
|
3388
3393
|
const W = zt(x);
|
3389
|
-
o.run(o.parse(W), W, (M,
|
3390
|
-
if (M || !
|
3394
|
+
o.run(o.parse(W), W, (M, P, H) => {
|
3395
|
+
if (M || !P || !H)
|
3391
3396
|
q(M);
|
3392
3397
|
else {
|
3393
|
-
const G = o.stringify(
|
3398
|
+
const G = o.stringify(P, H);
|
3394
3399
|
G == null || (Ws(G) ? H.value = G : H.result = G), q(M, H);
|
3395
3400
|
}
|
3396
3401
|
});
|
3397
|
-
function q(M,
|
3398
|
-
M || !
|
3402
|
+
function q(M, P) {
|
3403
|
+
M || !P ? S(M) : C ? C(P) : j(null, P);
|
3399
3404
|
}
|
3400
3405
|
}
|
3401
3406
|
}
|
@@ -3409,7 +3414,7 @@ function Jo() {
|
|
3409
3414
|
}
|
3410
3415
|
}
|
3411
3416
|
}
|
3412
|
-
function
|
3417
|
+
function Pi(e, t) {
|
3413
3418
|
return typeof e == "function" && // Prototypes do exist.
|
3414
3419
|
// type-coverage:ignore-next-line
|
3415
3420
|
e.prototype && // A function with keys in its prototype is probably a constructor.
|
@@ -3421,7 +3426,7 @@ function Fi(e, t) {
|
|
3421
3426
|
function qs(e) {
|
3422
3427
|
let t;
|
3423
3428
|
for (t in e)
|
3424
|
-
if (
|
3429
|
+
if (Jo.call(e, t))
|
3425
3430
|
return !0;
|
3426
3431
|
return !1;
|
3427
3432
|
}
|
@@ -3439,7 +3444,7 @@ function Xn(e, t) {
|
|
3439
3444
|
"Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
|
3440
3445
|
);
|
3441
3446
|
}
|
3442
|
-
function
|
3447
|
+
function Fi(e) {
|
3443
3448
|
if (!gr(e) || typeof e.type != "string")
|
3444
3449
|
throw new TypeError("Expected node, got `" + e + "`");
|
3445
3450
|
}
|
@@ -3450,20 +3455,20 @@ function _i(e, t, n) {
|
|
3450
3455
|
);
|
3451
3456
|
}
|
3452
3457
|
function zt(e) {
|
3453
|
-
return Vs(e) ? e : new
|
3458
|
+
return Vs(e) ? e : new Ko(e);
|
3454
3459
|
}
|
3455
3460
|
function Vs(e) {
|
3456
3461
|
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
3457
3462
|
}
|
3458
3463
|
function Ws(e) {
|
3459
|
-
return typeof e == "string" ||
|
3464
|
+
return typeof e == "string" || Zo(e);
|
3460
3465
|
}
|
3461
3466
|
const Gs = {};
|
3462
3467
|
function Zs(e, t) {
|
3463
3468
|
const n = t || Gs, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
3464
|
-
return
|
3469
|
+
return ta(e, r, i);
|
3465
3470
|
}
|
3466
|
-
function
|
3471
|
+
function ta(e, t, n) {
|
3467
3472
|
if (Ks(e)) {
|
3468
3473
|
if ("value" in e)
|
3469
3474
|
return e.type === "html" && !n ? "" : e.value;
|
@@ -3478,7 +3483,7 @@ function Ri(e, t, n) {
|
|
3478
3483
|
const r = [];
|
3479
3484
|
let i = -1;
|
3480
3485
|
for (; ++i < e.length; )
|
3481
|
-
r[i] =
|
3486
|
+
r[i] = ta(e[i], t, n);
|
3482
3487
|
return r.join("");
|
3483
3488
|
}
|
3484
3489
|
function Ks(e) {
|
@@ -3493,7 +3498,7 @@ function Ve(e, t, n, r) {
|
|
3493
3498
|
for (n && e.splice(t, n); o < r.length; )
|
3494
3499
|
a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
|
3495
3500
|
}
|
3496
|
-
function
|
3501
|
+
function Fe(e, t) {
|
3497
3502
|
return e.length > 0 ? (Ve(e, e.length, 0, t), e) : t;
|
3498
3503
|
}
|
3499
3504
|
const Ui = {}.hasOwnProperty;
|
@@ -3631,15 +3636,15 @@ function cc(e) {
|
|
3631
3636
|
break;
|
3632
3637
|
}
|
3633
3638
|
v(r);
|
3634
|
-
let
|
3635
|
-
for (;
|
3636
|
-
t.events[
|
3639
|
+
let P = W;
|
3640
|
+
for (; P < t.events.length; )
|
3641
|
+
t.events[P][1].end = Object.assign({}, M), P++;
|
3637
3642
|
return Ve(
|
3638
3643
|
t.events,
|
3639
3644
|
q + 1,
|
3640
3645
|
0,
|
3641
3646
|
t.events.slice(W)
|
3642
|
-
), t.events.length =
|
3647
|
+
), t.events.length = P, s(S);
|
3643
3648
|
}
|
3644
3649
|
return l(S);
|
3645
3650
|
}
|
@@ -3703,8 +3708,8 @@ function cc(e) {
|
|
3703
3708
|
i.events[M][1].end.offset > a)
|
3704
3709
|
)
|
3705
3710
|
return;
|
3706
|
-
const
|
3707
|
-
let H =
|
3711
|
+
const P = t.events.length;
|
3712
|
+
let H = P, G, K;
|
3708
3713
|
for (; H--; )
|
3709
3714
|
if (t.events[H][0] === "exit" && t.events[H][1].type === "chunkFlow") {
|
3710
3715
|
if (G) {
|
@@ -3713,13 +3718,13 @@ function cc(e) {
|
|
3713
3718
|
}
|
3714
3719
|
G = !0;
|
3715
3720
|
}
|
3716
|
-
for (v(r), M =
|
3721
|
+
for (v(r), M = P; M < t.events.length; )
|
3717
3722
|
t.events[M][1].end = Object.assign({}, K), M++;
|
3718
3723
|
Ve(
|
3719
3724
|
t.events,
|
3720
3725
|
H + 1,
|
3721
3726
|
0,
|
3722
|
-
t.events.slice(
|
3727
|
+
t.events.slice(P)
|
3723
3728
|
), t.events.length = M;
|
3724
3729
|
}
|
3725
3730
|
}
|
@@ -3790,27 +3795,27 @@ function pc(e, t) {
|
|
3790
3795
|
type: u > 1 ? "strong" : "emphasis",
|
3791
3796
|
start: Object.assign({}, a.start),
|
3792
3797
|
end: Object.assign({}, l.end)
|
3793
|
-
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s =
|
3798
|
+
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s = Fe(s, [
|
3794
3799
|
["enter", e[r][1], t],
|
3795
3800
|
["exit", e[r][1], t]
|
3796
|
-
])), s =
|
3801
|
+
])), s = Fe(s, [
|
3797
3802
|
["enter", i, t],
|
3798
3803
|
["enter", a, t],
|
3799
3804
|
["exit", a, t],
|
3800
3805
|
["enter", o, t]
|
3801
|
-
]), s =
|
3806
|
+
]), s = Fe(
|
3802
3807
|
s,
|
3803
3808
|
Or(
|
3804
3809
|
t.parser.constructs.insideSpan.null,
|
3805
3810
|
e.slice(r + 1, n),
|
3806
3811
|
t
|
3807
3812
|
)
|
3808
|
-
), s =
|
3813
|
+
), s = Fe(s, [
|
3809
3814
|
["exit", o, t],
|
3810
3815
|
["enter", l, t],
|
3811
3816
|
["exit", l, t],
|
3812
3817
|
["exit", i, t]
|
3813
|
-
]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s =
|
3818
|
+
]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s = Fe(s, [
|
3814
3819
|
["enter", e[n][1], t],
|
3815
3820
|
["exit", e[n][1], t]
|
3816
3821
|
])) : c = 0, Ve(e, r - 1, n - r + 3, s), n = r + s.length - c - 2;
|
@@ -3890,7 +3895,7 @@ function mc(e, t, n) {
|
|
3890
3895
|
return o === null || $(o) ? t(o) : n(o);
|
3891
3896
|
}
|
3892
3897
|
}
|
3893
|
-
const
|
3898
|
+
const na = {
|
3894
3899
|
name: "blockQuote",
|
3895
3900
|
tokenize: yc,
|
3896
3901
|
continuation: {
|
@@ -3926,13 +3931,13 @@ function Mc(e, t, n) {
|
|
3926
3931
|
)(a) : o(a);
|
3927
3932
|
}
|
3928
3933
|
function o(a) {
|
3929
|
-
return e.attempt(
|
3934
|
+
return e.attempt(na, t, n)(a);
|
3930
3935
|
}
|
3931
3936
|
}
|
3932
3937
|
function xc(e) {
|
3933
3938
|
e.exit("blockQuote");
|
3934
3939
|
}
|
3935
|
-
const
|
3940
|
+
const ra = {
|
3936
3941
|
name: "characterEscape",
|
3937
3942
|
tokenize: bc
|
3938
3943
|
};
|
@@ -3952,7 +3957,7 @@ function zr(e) {
|
|
3952
3957
|
const n = Hi.textContent;
|
3953
3958
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
3954
3959
|
}
|
3955
|
-
const
|
3960
|
+
const ia = {
|
3956
3961
|
name: "characterReference",
|
3957
3962
|
tokenize: wc
|
3958
3963
|
};
|
@@ -3996,8 +4001,8 @@ function vc(e, t, n) {
|
|
3996
4001
|
return s(M);
|
3997
4002
|
}
|
3998
4003
|
function s(M) {
|
3999
|
-
const
|
4000
|
-
return o =
|
4004
|
+
const P = r.events[r.events.length - 1];
|
4005
|
+
return o = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, l = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(M);
|
4001
4006
|
}
|
4002
4007
|
function c(M) {
|
4003
4008
|
return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), te(M) ? fe(e, p, "whitespace")(M) : p(M));
|
@@ -4041,7 +4046,7 @@ function vc(e, t, n) {
|
|
4041
4046
|
function W(M) {
|
4042
4047
|
return e.exit("codeFenced"), t(M);
|
4043
4048
|
}
|
4044
|
-
function q(M,
|
4049
|
+
function q(M, P, H) {
|
4045
4050
|
let G = 0;
|
4046
4051
|
return K;
|
4047
4052
|
function K(L) {
|
@@ -4062,7 +4067,7 @@ function vc(e, t, n) {
|
|
4062
4067
|
return L === l ? (G++, M.consume(L), I) : G >= a ? (M.exit("codeFencedFenceSequence"), te(L) ? fe(M, z, "whitespace")(L) : z(L)) : H(L);
|
4063
4068
|
}
|
4064
4069
|
function z(L) {
|
4065
|
-
return L === null || $(L) ? (M.exit("codeFencedFence"),
|
4070
|
+
return L === null || $(L) ? (M.exit("codeFencedFence"), P(L)) : H(L);
|
4066
4071
|
}
|
4067
4072
|
}
|
4068
4073
|
}
|
@@ -4155,7 +4160,7 @@ function Ac(e, t, n) {
|
|
4155
4160
|
return p === 96 ? (e.consume(p), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(p)) : (o.type = "codeTextData", s(p));
|
4156
4161
|
}
|
4157
4162
|
}
|
4158
|
-
function
|
4163
|
+
function oa(e) {
|
4159
4164
|
const t = {};
|
4160
4165
|
let n = -1, r, i, o, a, l, u, s;
|
4161
4166
|
for (; ++n < e.length; ) {
|
@@ -4200,11 +4205,11 @@ const Sc = {
|
|
4200
4205
|
tokenize: Lc,
|
4201
4206
|
resolve: zc
|
4202
4207
|
}, Oc = {
|
4203
|
-
tokenize:
|
4208
|
+
tokenize: Pc,
|
4204
4209
|
partial: !0
|
4205
4210
|
};
|
4206
4211
|
function zc(e) {
|
4207
|
-
return
|
4212
|
+
return oa(e), e;
|
4208
4213
|
}
|
4209
4214
|
function Lc(e, t) {
|
4210
4215
|
let n;
|
@@ -4231,7 +4236,7 @@ function Lc(e, t) {
|
|
4231
4236
|
}), n = n.next, i;
|
4232
4237
|
}
|
4233
4238
|
}
|
4234
|
-
function
|
4239
|
+
function Pc(e, t, n) {
|
4235
4240
|
const r = this;
|
4236
4241
|
return i;
|
4237
4242
|
function i(a) {
|
@@ -4244,7 +4249,7 @@ function Fc(e, t, n) {
|
|
4244
4249
|
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);
|
4245
4250
|
}
|
4246
4251
|
}
|
4247
|
-
function
|
4252
|
+
function aa(e, t, n, r, i, o, a, l, u) {
|
4248
4253
|
const s = u || Number.POSITIVE_INFINITY;
|
4249
4254
|
let c = 0;
|
4250
4255
|
return p;
|
@@ -4271,7 +4276,7 @@ function oa(e, t, n, r, i, o, a, l, u) {
|
|
4271
4276
|
return v === 40 || v === 41 || v === 92 ? (e.consume(v), x) : x(v);
|
4272
4277
|
}
|
4273
4278
|
}
|
4274
|
-
function
|
4279
|
+
function la(e, t, n, r, i, o) {
|
4275
4280
|
const a = this;
|
4276
4281
|
let l = 0, u;
|
4277
4282
|
return s;
|
@@ -4295,7 +4300,7 @@ function aa(e, t, n, r, i, o) {
|
|
4295
4300
|
return d === 91 || d === 92 || d === 93 ? (e.consume(d), l++, p) : p(d);
|
4296
4301
|
}
|
4297
4302
|
}
|
4298
|
-
function
|
4303
|
+
function ua(e, t, n, r, i, o) {
|
4299
4304
|
let a;
|
4300
4305
|
return l;
|
4301
4306
|
function l(m) {
|
@@ -4330,7 +4335,7 @@ function Bt(e, t) {
|
|
4330
4335
|
function Mt(e) {
|
4331
4336
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
4332
4337
|
}
|
4333
|
-
const
|
4338
|
+
const Fc = {
|
4334
4339
|
name: "definition",
|
4335
4340
|
tokenize: Rc
|
4336
4341
|
}, _c = {
|
@@ -4345,7 +4350,7 @@ function Rc(e, t, n) {
|
|
4345
4350
|
return e.enter("definition"), a(d);
|
4346
4351
|
}
|
4347
4352
|
function a(d) {
|
4348
|
-
return
|
4353
|
+
return la.call(
|
4349
4354
|
r,
|
4350
4355
|
e,
|
4351
4356
|
l,
|
@@ -4365,7 +4370,7 @@ function Rc(e, t, n) {
|
|
4365
4370
|
return ke(d) ? Bt(e, s)(d) : s(d);
|
4366
4371
|
}
|
4367
4372
|
function s(d) {
|
4368
|
-
return
|
4373
|
+
return aa(
|
4369
4374
|
e,
|
4370
4375
|
c,
|
4371
4376
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
@@ -4393,7 +4398,7 @@ function Uc(e, t, n) {
|
|
4393
4398
|
return ke(l) ? Bt(e, i)(l) : n(l);
|
4394
4399
|
}
|
4395
4400
|
function i(l) {
|
4396
|
-
return
|
4401
|
+
return ua(
|
4397
4402
|
e,
|
4398
4403
|
o,
|
4399
4404
|
n,
|
@@ -4597,10 +4602,10 @@ function Kc(e, t, n) {
|
|
4597
4602
|
return h === 61 ? (e.consume(h), M) : te(h) ? (e.consume(h), q) : S(h);
|
4598
4603
|
}
|
4599
4604
|
function M(h) {
|
4600
|
-
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h,
|
4605
|
+
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h, P) : te(h) ? (e.consume(h), M) : H(h);
|
4601
4606
|
}
|
4602
|
-
function
|
4603
|
-
return h === u ? (e.consume(h), u = null, G) : h === null || $(h) ? n(h) : (e.consume(h),
|
4607
|
+
function P(h) {
|
4608
|
+
return h === u ? (e.consume(h), u = null, G) : h === null || $(h) ? n(h) : (e.consume(h), P);
|
4604
4609
|
}
|
4605
4610
|
function H(h) {
|
4606
4611
|
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || ke(h) ? q(h) : (e.consume(h), H);
|
@@ -4615,9 +4620,9 @@ function Kc(e, t, n) {
|
|
4615
4620
|
return h === null || $(h) ? b(h) : te(h) ? (e.consume(h), A) : n(h);
|
4616
4621
|
}
|
4617
4622
|
function b(h) {
|
4618
|
-
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),
|
4623
|
+
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(
|
4619
4624
|
Wc,
|
4620
|
-
|
4625
|
+
ye,
|
4621
4626
|
I
|
4622
4627
|
)(h)) : h === null || $(h) ? (e.exit("htmlFlowData"), I(h)) : (e.consume(h), b);
|
4623
4628
|
}
|
@@ -4625,7 +4630,7 @@ function Kc(e, t, n) {
|
|
4625
4630
|
return e.check(
|
4626
4631
|
Gc,
|
4627
4632
|
z,
|
4628
|
-
|
4633
|
+
ye
|
4629
4634
|
)(h);
|
4630
4635
|
}
|
4631
4636
|
function z(h) {
|
@@ -4647,16 +4652,16 @@ function Kc(e, t, n) {
|
|
4647
4652
|
}
|
4648
4653
|
return qe(h) && a.length < 8 ? (e.consume(h), a += String.fromCharCode(h), V) : b(h);
|
4649
4654
|
}
|
4650
|
-
function
|
4655
|
+
function re(h) {
|
4651
4656
|
return h === 93 ? (e.consume(h), g) : b(h);
|
4652
4657
|
}
|
4653
4658
|
function g(h) {
|
4654
4659
|
return h === 62 ? (e.consume(h), ue) : h === 45 && i === 2 ? (e.consume(h), g) : b(h);
|
4655
4660
|
}
|
4656
4661
|
function ue(h) {
|
4657
|
-
return h === null || $(h) ? (e.exit("htmlFlowData"),
|
4662
|
+
return h === null || $(h) ? (e.exit("htmlFlowData"), ye(h)) : (e.consume(h), ue);
|
4658
4663
|
}
|
4659
|
-
function
|
4664
|
+
function ye(h) {
|
4660
4665
|
return e.exit("htmlFlow"), t(h);
|
4661
4666
|
}
|
4662
4667
|
}
|
@@ -4731,10 +4736,10 @@ function tf(e, t, n) {
|
|
4731
4736
|
return qe(g) ? (e.consume(g), M) : n(g);
|
4732
4737
|
}
|
4733
4738
|
function M(g) {
|
4734
|
-
return g === 45 || Se(g) ? (e.consume(g), M) :
|
4739
|
+
return g === 45 || Se(g) ? (e.consume(g), M) : P(g);
|
4735
4740
|
}
|
4736
|
-
function
|
4737
|
-
return $(g) ? (a =
|
4741
|
+
function P(g) {
|
4742
|
+
return $(g) ? (a = P, _(g)) : te(g) ? (e.consume(g), P) : U(g);
|
4738
4743
|
}
|
4739
4744
|
function H(g) {
|
4740
4745
|
return g === 45 || Se(g) ? (e.consume(g), H) : g === 47 || g === 62 || ke(g) ? G(g) : n(g);
|
@@ -4769,12 +4774,12 @@ function tf(e, t, n) {
|
|
4769
4774
|
function V(g) {
|
4770
4775
|
return te(g) ? fe(
|
4771
4776
|
e,
|
4772
|
-
|
4777
|
+
re,
|
4773
4778
|
"linePrefix",
|
4774
4779
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
4775
|
-
)(g) :
|
4780
|
+
)(g) : re(g);
|
4776
4781
|
}
|
4777
|
-
function
|
4782
|
+
function re(g) {
|
4778
4783
|
return e.enter("htmlTextData"), a(g);
|
4779
4784
|
}
|
4780
4785
|
}
|
@@ -4828,19 +4833,19 @@ function lf(e, t) {
|
|
4828
4833
|
return l = [
|
4829
4834
|
["enter", u, t],
|
4830
4835
|
["enter", s, t]
|
4831
|
-
], l =
|
4836
|
+
], l = Fe(l, e.slice(o + 1, o + r + 3)), l = Fe(l, [["enter", c, t]]), l = Fe(
|
4832
4837
|
l,
|
4833
4838
|
Or(
|
4834
4839
|
t.parser.constructs.insideSpan.null,
|
4835
4840
|
e.slice(o + r + 4, a - 3),
|
4836
4841
|
t
|
4837
4842
|
)
|
4838
|
-
), l =
|
4843
|
+
), l = Fe(l, [
|
4839
4844
|
["exit", c, t],
|
4840
4845
|
e[a - 2],
|
4841
4846
|
e[a - 1],
|
4842
4847
|
["exit", s, t]
|
4843
|
-
]), l =
|
4848
|
+
]), l = Fe(l, e.slice(a + 1)), l = Fe(l, [["exit", u, t]]), Ve(e, o, e.length, l), e;
|
4844
4849
|
}
|
4845
4850
|
function uf(e, t, n) {
|
4846
4851
|
const r = this;
|
@@ -4895,7 +4900,7 @@ function sf(e, t, n) {
|
|
4895
4900
|
return ke(p) ? Bt(e, o)(p) : o(p);
|
4896
4901
|
}
|
4897
4902
|
function o(p) {
|
4898
|
-
return p === 41 ? c(p) :
|
4903
|
+
return p === 41 ? c(p) : aa(
|
4899
4904
|
e,
|
4900
4905
|
a,
|
4901
4906
|
l,
|
@@ -4914,7 +4919,7 @@ function sf(e, t, n) {
|
|
4914
4919
|
return n(p);
|
4915
4920
|
}
|
4916
4921
|
function u(p) {
|
4917
|
-
return p === 34 || p === 39 || p === 40 ?
|
4922
|
+
return p === 34 || p === 39 || p === 40 ? ua(
|
4918
4923
|
e,
|
4919
4924
|
s,
|
4920
4925
|
n,
|
@@ -4934,7 +4939,7 @@ function cf(e, t, n) {
|
|
4934
4939
|
const r = this;
|
4935
4940
|
return i;
|
4936
4941
|
function i(l) {
|
4937
|
-
return
|
4942
|
+
return la.call(
|
4938
4943
|
r,
|
4939
4944
|
e,
|
4940
4945
|
o,
|
@@ -5220,12 +5225,12 @@ function jf(e) {
|
|
5220
5225
|
}
|
5221
5226
|
}
|
5222
5227
|
const Ef = {
|
5223
|
-
resolveAll:
|
5224
|
-
}, Af =
|
5225
|
-
function
|
5228
|
+
resolveAll: ca()
|
5229
|
+
}, Af = sa("string"), Cf = sa("text");
|
5230
|
+
function sa(e) {
|
5226
5231
|
return {
|
5227
5232
|
tokenize: t,
|
5228
|
-
resolveAll:
|
5233
|
+
resolveAll: ca(
|
5229
5234
|
e === "text" ? Sf : void 0
|
5230
5235
|
)
|
5231
5236
|
};
|
@@ -5260,7 +5265,7 @@ function ua(e) {
|
|
5260
5265
|
}
|
5261
5266
|
}
|
5262
5267
|
}
|
5263
|
-
function
|
5268
|
+
function ca(e) {
|
5264
5269
|
return t;
|
5265
5270
|
function t(n, r) {
|
5266
5271
|
let i = -1, o;
|
@@ -5331,9 +5336,9 @@ function Of(e, t, n) {
|
|
5331
5336
|
consume: C,
|
5332
5337
|
enter: S,
|
5333
5338
|
exit: W,
|
5334
|
-
attempt:
|
5335
|
-
check:
|
5336
|
-
interrupt:
|
5339
|
+
attempt: P(q),
|
5340
|
+
check: P(M),
|
5341
|
+
interrupt: P(M, {
|
5337
5342
|
interrupt: !0
|
5338
5343
|
})
|
5339
5344
|
}, s = {
|
@@ -5351,7 +5356,7 @@ function Of(e, t, n) {
|
|
5351
5356
|
let c = t.tokenize.call(s, u);
|
5352
5357
|
return t.resolveAll && o.push(t), s;
|
5353
5358
|
function p(A) {
|
5354
|
-
return a =
|
5359
|
+
return a = Fe(a, A), j(), a[a.length - 1] !== null ? [] : (H(t, 0), s.events = Or(o, s.events, s), s.events);
|
5355
5360
|
}
|
5356
5361
|
function m(A, b) {
|
5357
5362
|
return Lf(d(A), b);
|
@@ -5403,33 +5408,33 @@ function Of(e, t, n) {
|
|
5403
5408
|
function M(A, b) {
|
5404
5409
|
b.restore();
|
5405
5410
|
}
|
5406
|
-
function
|
5411
|
+
function P(A, b) {
|
5407
5412
|
return I;
|
5408
5413
|
function I(z, L, U) {
|
5409
|
-
let _, V,
|
5410
|
-
return Array.isArray(z) ?
|
5414
|
+
let _, V, re, g;
|
5415
|
+
return Array.isArray(z) ? ye(z) : "tokenize" in z ? (
|
5411
5416
|
// @ts-expect-error Looks like a construct.
|
5412
|
-
|
5417
|
+
ye([z])
|
5413
5418
|
) : ue(z);
|
5414
|
-
function ue(
|
5419
|
+
function ue(ie) {
|
5415
5420
|
return Te;
|
5416
5421
|
function Te(be) {
|
5417
|
-
const Be = be !== null &&
|
5422
|
+
const Be = be !== null && ie[be], ze = be !== null && ie.null, Ke = [
|
5418
5423
|
// To do: add more extension tests.
|
5419
5424
|
/* c8 ignore next 2 */
|
5420
5425
|
...Array.isArray(Be) ? Be : Be ? [Be] : [],
|
5421
5426
|
...Array.isArray(ze) ? ze : ze ? [ze] : []
|
5422
5427
|
];
|
5423
|
-
return
|
5428
|
+
return ye(Ke)(be);
|
5424
5429
|
}
|
5425
5430
|
}
|
5426
|
-
function
|
5427
|
-
return _ =
|
5431
|
+
function ye(ie) {
|
5432
|
+
return _ = ie, V = 0, ie.length === 0 ? U : h(ie[V]);
|
5428
5433
|
}
|
5429
|
-
function h(
|
5434
|
+
function h(ie) {
|
5430
5435
|
return Te;
|
5431
5436
|
function Te(be) {
|
5432
|
-
return g = G(),
|
5437
|
+
return g = G(), re = ie, ie.partial || (s.currentConstruct = ie), ie.name && s.parser.constructs.disable.null.includes(ie.name) ? De() : ie.tokenize.call(
|
5433
5438
|
// If we do have fields, create an object w/ `context` as its
|
5434
5439
|
// prototype.
|
5435
5440
|
// This allows a “live binding”, which is needed for `interrupt`.
|
@@ -5440,10 +5445,10 @@ function Of(e, t, n) {
|
|
5440
5445
|
)(be);
|
5441
5446
|
}
|
5442
5447
|
}
|
5443
|
-
function ge(
|
5444
|
-
return A(
|
5448
|
+
function ge(ie) {
|
5449
|
+
return A(re, g), L;
|
5445
5450
|
}
|
5446
|
-
function De(
|
5451
|
+
function De(ie) {
|
5447
5452
|
return g.restore(), ++V < _.length ? h(_[V]) : U;
|
5448
5453
|
}
|
5449
5454
|
}
|
@@ -5526,7 +5531,7 @@ function Lf(e, t) {
|
|
5526
5531
|
}
|
5527
5532
|
return r.join("");
|
5528
5533
|
}
|
5529
|
-
const
|
5534
|
+
const Pf = {
|
5530
5535
|
42: Ne,
|
5531
5536
|
43: Ne,
|
5532
5537
|
45: Ne,
|
@@ -5540,9 +5545,9 @@ const Ff = {
|
|
5540
5545
|
55: Ne,
|
5541
5546
|
56: Ne,
|
5542
5547
|
57: Ne,
|
5543
|
-
62:
|
5544
|
-
},
|
5545
|
-
91:
|
5548
|
+
62: na
|
5549
|
+
}, Ff = {
|
5550
|
+
91: Fc
|
5546
5551
|
}, _f = {
|
5547
5552
|
[-2]: Jn,
|
5548
5553
|
[-1]: Jn,
|
@@ -5557,18 +5562,18 @@ const Ff = {
|
|
5557
5562
|
96: qi,
|
5558
5563
|
126: qi
|
5559
5564
|
}, Uf = {
|
5560
|
-
38:
|
5561
|
-
92:
|
5565
|
+
38: ia,
|
5566
|
+
92: ra
|
5562
5567
|
}, Bf = {
|
5563
5568
|
[-5]: er,
|
5564
5569
|
[-4]: er,
|
5565
5570
|
[-3]: er,
|
5566
5571
|
33: pf,
|
5567
|
-
38:
|
5572
|
+
38: ia,
|
5568
5573
|
42: Mr,
|
5569
5574
|
60: [hc, ef],
|
5570
5575
|
91: hf,
|
5571
|
-
92: [Bc,
|
5576
|
+
92: [Bc, ra],
|
5572
5577
|
93: Lr,
|
5573
5578
|
95: Mr,
|
5574
5579
|
96: kc
|
@@ -5581,9 +5586,9 @@ const Ff = {
|
|
5581
5586
|
}, $f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
5582
5587
|
__proto__: null,
|
5583
5588
|
attentionMarkers: Yf,
|
5584
|
-
contentInitial:
|
5589
|
+
contentInitial: Ff,
|
5585
5590
|
disable: Hf,
|
5586
|
-
document:
|
5591
|
+
document: Pf,
|
5587
5592
|
flow: Rf,
|
5588
5593
|
flowInitial: _f,
|
5589
5594
|
insideSpan: Qf,
|
@@ -5650,11 +5655,11 @@ function Vf() {
|
|
5650
5655
|
}
|
5651
5656
|
}
|
5652
5657
|
function Wf(e) {
|
5653
|
-
for (; !
|
5658
|
+
for (; !oa(e); )
|
5654
5659
|
;
|
5655
5660
|
return e;
|
5656
5661
|
}
|
5657
|
-
function
|
5662
|
+
function fa(e, t) {
|
5658
5663
|
const n = Number.parseInt(e, t);
|
5659
5664
|
return (
|
5660
5665
|
// C0 except for HT, LF, FF, CR, space.
|
@@ -5674,11 +5679,11 @@ function Kf(e, t, n) {
|
|
5674
5679
|
return t;
|
5675
5680
|
if (n.charCodeAt(0) === 35) {
|
5676
5681
|
const i = n.charCodeAt(1), o = i === 120 || i === 88;
|
5677
|
-
return
|
5682
|
+
return fa(n.slice(o ? 2 : 1), o ? 16 : 10);
|
5678
5683
|
}
|
5679
5684
|
return zr(n) || e;
|
5680
5685
|
}
|
5681
|
-
const
|
5686
|
+
const pa = {}.hasOwnProperty, Xf = (
|
5682
5687
|
/**
|
5683
5688
|
* @type {(
|
5684
5689
|
* ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) &
|
@@ -5704,7 +5709,7 @@ function Jf(e) {
|
|
5704
5709
|
transforms: [],
|
5705
5710
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
5706
5711
|
enter: {
|
5707
|
-
autolink: l(
|
5712
|
+
autolink: l(me),
|
5708
5713
|
autolinkProtocol: A,
|
5709
5714
|
autolinkEmail: A,
|
5710
5715
|
atxHeading: l(ot),
|
@@ -5730,9 +5735,9 @@ function Jf(e) {
|
|
5730
5735
|
htmlFlowData: A,
|
5731
5736
|
htmlText: l(R, u),
|
5732
5737
|
htmlTextData: A,
|
5733
|
-
image: l(
|
5738
|
+
image: l(oe),
|
5734
5739
|
label: u,
|
5735
|
-
link: l(
|
5740
|
+
link: l(me),
|
5736
5741
|
listItem: l(je),
|
5737
5742
|
listItemValue: T,
|
5738
5743
|
listOrdered: l(he, d),
|
@@ -5748,7 +5753,7 @@ function Jf(e) {
|
|
5748
5753
|
},
|
5749
5754
|
exit: {
|
5750
5755
|
atxHeading: c(),
|
5751
|
-
atxHeadingSequence:
|
5756
|
+
atxHeadingSequence: P,
|
5752
5757
|
autolink: c(),
|
5753
5758
|
autolinkEmail: ze,
|
5754
5759
|
autolinkProtocol: Be,
|
@@ -5777,7 +5782,7 @@ function Jf(e) {
|
|
5777
5782
|
htmlFlowData: b,
|
5778
5783
|
htmlText: c(U),
|
5779
5784
|
htmlTextData: b,
|
5780
|
-
image: c(
|
5785
|
+
image: c(re),
|
5781
5786
|
label: ue,
|
5782
5787
|
labelText: g,
|
5783
5788
|
lineEnding: I,
|
@@ -5786,8 +5791,8 @@ function Jf(e) {
|
|
5786
5791
|
listOrdered: c(),
|
5787
5792
|
listUnordered: c(),
|
5788
5793
|
paragraph: c(),
|
5789
|
-
referenceString:
|
5790
|
-
resourceDestinationString:
|
5794
|
+
referenceString: ie,
|
5795
|
+
resourceDestinationString: ye,
|
5791
5796
|
resourceTitleString: h,
|
5792
5797
|
resource: ge,
|
5793
5798
|
setextHeading: c(K),
|
@@ -5797,7 +5802,7 @@ function Jf(e) {
|
|
5797
5802
|
thematicBreak: c()
|
5798
5803
|
}
|
5799
5804
|
};
|
5800
|
-
|
5805
|
+
da(t, (e || {}).mdastExtensions || []);
|
5801
5806
|
const n = {};
|
5802
5807
|
return r;
|
5803
5808
|
function r(D) {
|
@@ -5805,7 +5810,7 @@ function Jf(e) {
|
|
5805
5810
|
type: "root",
|
5806
5811
|
children: []
|
5807
5812
|
};
|
5808
|
-
const
|
5813
|
+
const Y = {
|
5809
5814
|
stack: [O],
|
5810
5815
|
tokenStack: [],
|
5811
5816
|
config: t,
|
@@ -5816,30 +5821,30 @@ function Jf(e) {
|
|
5816
5821
|
setData: o,
|
5817
5822
|
getData: a
|
5818
5823
|
}, ee = [];
|
5819
|
-
let
|
5820
|
-
for (; ++
|
5821
|
-
if (D[
|
5822
|
-
if (D[
|
5823
|
-
ee.push(
|
5824
|
+
let ne = -1;
|
5825
|
+
for (; ++ne < D.length; )
|
5826
|
+
if (D[ne][1].type === "listOrdered" || D[ne][1].type === "listUnordered")
|
5827
|
+
if (D[ne][0] === "enter")
|
5828
|
+
ee.push(ne);
|
5824
5829
|
else {
|
5825
5830
|
const Ie = ee.pop();
|
5826
|
-
|
5831
|
+
ne = i(D, Ie, ne);
|
5827
5832
|
}
|
5828
|
-
for (
|
5829
|
-
const Ie = t[D[
|
5830
|
-
|
5833
|
+
for (ne = -1; ++ne < D.length; ) {
|
5834
|
+
const Ie = t[D[ne][0]];
|
5835
|
+
pa.call(Ie, D[ne][1].type) && Ie[D[ne][1].type].call(
|
5831
5836
|
Object.assign(
|
5832
5837
|
{
|
5833
|
-
sliceSerialize: D[
|
5838
|
+
sliceSerialize: D[ne][2].sliceSerialize
|
5834
5839
|
},
|
5835
|
-
|
5840
|
+
Y
|
5836
5841
|
),
|
5837
|
-
D[
|
5842
|
+
D[ne][1]
|
5838
5843
|
);
|
5839
5844
|
}
|
5840
|
-
if (
|
5841
|
-
const Ie =
|
5842
|
-
(Ie[1] || Zi).call(
|
5845
|
+
if (Y.tokenStack.length > 0) {
|
5846
|
+
const Ie = Y.tokenStack[Y.tokenStack.length - 1];
|
5847
|
+
(Ie[1] || Zi).call(Y, void 0, Ie[0]);
|
5843
5848
|
}
|
5844
5849
|
for (O.position = {
|
5845
5850
|
start: Je(
|
@@ -5856,15 +5861,15 @@ function Jf(e) {
|
|
5856
5861
|
offset: 0
|
5857
5862
|
}
|
5858
5863
|
)
|
5859
|
-
},
|
5860
|
-
O = t.transforms[
|
5864
|
+
}, ne = -1; ++ne < t.transforms.length; )
|
5865
|
+
O = t.transforms[ne](O) || O;
|
5861
5866
|
return O;
|
5862
5867
|
}
|
5863
|
-
function i(D, O,
|
5864
|
-
let ee = O - 1,
|
5865
|
-
for (; ++ee <=
|
5868
|
+
function i(D, O, Y) {
|
5869
|
+
let ee = O - 1, ne = -1, Ie = !1, Qe, Ye, lt, Ee;
|
5870
|
+
for (; ++ee <= Y; ) {
|
5866
5871
|
const se = D[ee];
|
5867
|
-
if (se[1].type === "listUnordered" || se[1].type === "listOrdered" || se[1].type === "blockQuote" ? (se[0] === "enter" ?
|
5872
|
+
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")) {
|
5868
5873
|
if (Qe) {
|
5869
5874
|
let Et = ee;
|
5870
5875
|
for (Ye = void 0; Et--; ) {
|
@@ -5879,7 +5884,7 @@ function Jf(e) {
|
|
5879
5884
|
lt && (!Ye || lt < Ye) && (Qe._spread = !0), Qe.end = Object.assign(
|
5880
5885
|
{},
|
5881
5886
|
Ye ? D[Ye][1].start : se[1].end
|
5882
|
-
), D.splice(Ye || ee, 0, ["exit", Qe, se[2]]), ee++,
|
5887
|
+
), D.splice(Ye || ee, 0, ["exit", Qe, se[2]]), ee++, Y++;
|
5883
5888
|
}
|
5884
5889
|
se[1].type === "listItemPrefix" && (Qe = {
|
5885
5890
|
type: "listItem",
|
@@ -5887,10 +5892,10 @@ function Jf(e) {
|
|
5887
5892
|
start: Object.assign({}, se[1].start),
|
5888
5893
|
// @ts-expect-error: we’ll add `end` in a second.
|
5889
5894
|
end: void 0
|
5890
|
-
}, D.splice(ee, 0, ["enter", Qe, se[2]]), ee++,
|
5895
|
+
}, D.splice(ee, 0, ["enter", Qe, se[2]]), ee++, Y++, lt = void 0, Ee = !0);
|
5891
5896
|
}
|
5892
5897
|
}
|
5893
|
-
return D[O][1]._spread = Ie,
|
5898
|
+
return D[O][1]._spread = Ie, Y;
|
5894
5899
|
}
|
5895
5900
|
function o(D, O) {
|
5896
5901
|
n[D] = O;
|
@@ -5899,8 +5904,8 @@ function Jf(e) {
|
|
5899
5904
|
return n[D];
|
5900
5905
|
}
|
5901
5906
|
function l(D, O) {
|
5902
|
-
return
|
5903
|
-
function
|
5907
|
+
return Y;
|
5908
|
+
function Y(ee) {
|
5904
5909
|
s.call(this, D(ee), ee), O && O.call(this, ee);
|
5905
5910
|
}
|
5906
5911
|
}
|
@@ -5910,19 +5915,19 @@ function Jf(e) {
|
|
5910
5915
|
children: []
|
5911
5916
|
});
|
5912
5917
|
}
|
5913
|
-
function s(D, O,
|
5914
|
-
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([O,
|
5918
|
+
function s(D, O, Y) {
|
5919
|
+
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([O, Y]), D.position = {
|
5915
5920
|
start: Je(O.start)
|
5916
5921
|
}, D;
|
5917
5922
|
}
|
5918
5923
|
function c(D) {
|
5919
5924
|
return O;
|
5920
|
-
function O(
|
5921
|
-
D && D.call(this,
|
5925
|
+
function O(Y) {
|
5926
|
+
D && D.call(this, Y), p.call(this, Y);
|
5922
5927
|
}
|
5923
5928
|
}
|
5924
5929
|
function p(D, O) {
|
5925
|
-
const
|
5930
|
+
const Y = this.stack.pop(), ee = this.tokenStack.pop();
|
5926
5931
|
if (ee)
|
5927
5932
|
ee[0].type !== D.type && (O ? O.call(this, D, ee[0]) : (ee[1] || Zi).call(this, D, ee[0]));
|
5928
5933
|
else
|
@@ -5932,7 +5937,7 @@ function Jf(e) {
|
|
5932
5937
|
end: D.end
|
5933
5938
|
}) + "): it’s not open"
|
5934
5939
|
);
|
5935
|
-
return
|
5940
|
+
return Y.position.end = Je(D.end), Y;
|
5936
5941
|
}
|
5937
5942
|
function m() {
|
5938
5943
|
return Zs(this.stack.pop());
|
@@ -5966,8 +5971,8 @@ function Jf(e) {
|
|
5966
5971
|
O.value = D.replace(/(\r?\n|\r)$/g, "");
|
5967
5972
|
}
|
5968
5973
|
function W(D) {
|
5969
|
-
const O = this.resume(),
|
5970
|
-
|
5974
|
+
const O = this.resume(), Y = this.stack[this.stack.length - 1];
|
5975
|
+
Y.label = O, Y.identifier = Mt(
|
5971
5976
|
this.sliceSerialize(D)
|
5972
5977
|
).toLowerCase();
|
5973
5978
|
}
|
@@ -5979,11 +5984,11 @@ function Jf(e) {
|
|
5979
5984
|
const D = this.resume(), O = this.stack[this.stack.length - 1];
|
5980
5985
|
O.url = D;
|
5981
5986
|
}
|
5982
|
-
function
|
5987
|
+
function P(D) {
|
5983
5988
|
const O = this.stack[this.stack.length - 1];
|
5984
5989
|
if (!O.depth) {
|
5985
|
-
const
|
5986
|
-
O.depth =
|
5990
|
+
const Y = this.sliceSerialize(D).length;
|
5991
|
+
O.depth = Y;
|
5987
5992
|
}
|
5988
5993
|
}
|
5989
5994
|
function H() {
|
@@ -5998,10 +6003,10 @@ function Jf(e) {
|
|
5998
6003
|
}
|
5999
6004
|
function A(D) {
|
6000
6005
|
const O = this.stack[this.stack.length - 1];
|
6001
|
-
let
|
6002
|
-
(!
|
6006
|
+
let Y = O.children[O.children.length - 1];
|
6007
|
+
(!Y || Y.type !== "text") && (Y = Xe(), Y.position = {
|
6003
6008
|
start: Je(D.start)
|
6004
|
-
}, O.children.push(
|
6009
|
+
}, O.children.push(Y)), this.stack.push(Y);
|
6005
6010
|
}
|
6006
6011
|
function b(D) {
|
6007
6012
|
const O = this.stack.pop();
|
@@ -6010,8 +6015,8 @@ function Jf(e) {
|
|
6010
6015
|
function I(D) {
|
6011
6016
|
const O = this.stack[this.stack.length - 1];
|
6012
6017
|
if (a("atHardBreak")) {
|
6013
|
-
const
|
6014
|
-
|
6018
|
+
const Y = O.children[O.children.length - 1];
|
6019
|
+
Y.position.end = Je(D.end), o("atHardBreak");
|
6015
6020
|
return;
|
6016
6021
|
}
|
6017
6022
|
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(O.type) && (A.call(this, D), b.call(this, D));
|
@@ -6040,7 +6045,7 @@ function Jf(e) {
|
|
6040
6045
|
delete D.identifier, delete D.label;
|
6041
6046
|
o("referenceType");
|
6042
6047
|
}
|
6043
|
-
function
|
6048
|
+
function re() {
|
6044
6049
|
const D = this.stack[this.stack.length - 1];
|
6045
6050
|
if (a("inReference")) {
|
6046
6051
|
const O = a("referenceType") || "shortcut";
|
@@ -6050,18 +6055,18 @@ function Jf(e) {
|
|
6050
6055
|
o("referenceType");
|
6051
6056
|
}
|
6052
6057
|
function g(D) {
|
6053
|
-
const O = this.sliceSerialize(D),
|
6054
|
-
|
6058
|
+
const O = this.sliceSerialize(D), Y = this.stack[this.stack.length - 2];
|
6059
|
+
Y.label = Zf(O), Y.identifier = Mt(O).toLowerCase();
|
6055
6060
|
}
|
6056
6061
|
function ue() {
|
6057
|
-
const D = this.stack[this.stack.length - 1], O = this.resume(),
|
6058
|
-
if (o("inReference", !0),
|
6062
|
+
const D = this.stack[this.stack.length - 1], O = this.resume(), Y = this.stack[this.stack.length - 1];
|
6063
|
+
if (o("inReference", !0), Y.type === "link") {
|
6059
6064
|
const ee = D.children;
|
6060
|
-
|
6065
|
+
Y.children = ee;
|
6061
6066
|
} else
|
6062
|
-
|
6067
|
+
Y.alt = O;
|
6063
6068
|
}
|
6064
|
-
function
|
6069
|
+
function ye() {
|
6065
6070
|
const D = this.resume(), O = this.stack[this.stack.length - 1];
|
6066
6071
|
O.url = D;
|
6067
6072
|
}
|
@@ -6075,9 +6080,9 @@ function Jf(e) {
|
|
6075
6080
|
function De() {
|
6076
6081
|
o("referenceType", "collapsed");
|
6077
6082
|
}
|
6078
|
-
function
|
6079
|
-
const O = this.resume(),
|
6080
|
-
|
6083
|
+
function ie(D) {
|
6084
|
+
const O = this.resume(), Y = this.stack[this.stack.length - 1];
|
6085
|
+
Y.label = O, Y.identifier = Mt(
|
6081
6086
|
this.sliceSerialize(D)
|
6082
6087
|
).toLowerCase(), o("referenceType", "full");
|
6083
6088
|
}
|
@@ -6085,14 +6090,14 @@ function Jf(e) {
|
|
6085
6090
|
o("characterReferenceType", D.type);
|
6086
6091
|
}
|
6087
6092
|
function be(D) {
|
6088
|
-
const O = this.sliceSerialize(D),
|
6093
|
+
const O = this.sliceSerialize(D), Y = a("characterReferenceType");
|
6089
6094
|
let ee;
|
6090
|
-
|
6095
|
+
Y ? (ee = fa(
|
6091
6096
|
O,
|
6092
|
-
|
6097
|
+
Y === "characterReferenceMarkerNumeric" ? 10 : 16
|
6093
6098
|
), o("characterReferenceType")) : ee = zr(O);
|
6094
|
-
const
|
6095
|
-
|
6099
|
+
const ne = this.stack.pop();
|
6100
|
+
ne.value += ee, ne.position.end = Je(D.end);
|
6096
6101
|
}
|
6097
6102
|
function Be(D) {
|
6098
6103
|
b.call(this, D);
|
@@ -6157,7 +6162,7 @@ function Jf(e) {
|
|
6157
6162
|
value: ""
|
6158
6163
|
};
|
6159
6164
|
}
|
6160
|
-
function
|
6165
|
+
function oe() {
|
6161
6166
|
return {
|
6162
6167
|
type: "image",
|
6163
6168
|
title: null,
|
@@ -6165,7 +6170,7 @@ function Jf(e) {
|
|
6165
6170
|
alt: null
|
6166
6171
|
};
|
6167
6172
|
}
|
6168
|
-
function
|
6173
|
+
function me() {
|
6169
6174
|
return {
|
6170
6175
|
type: "link",
|
6171
6176
|
title: null,
|
@@ -6221,17 +6226,17 @@ function Je(e) {
|
|
6221
6226
|
offset: e.offset
|
6222
6227
|
};
|
6223
6228
|
}
|
6224
|
-
function
|
6229
|
+
function da(e, t) {
|
6225
6230
|
let n = -1;
|
6226
6231
|
for (; ++n < t.length; ) {
|
6227
6232
|
const r = t[n];
|
6228
|
-
Array.isArray(r) ?
|
6233
|
+
Array.isArray(r) ? da(e, r) : ep(e, r);
|
6229
6234
|
}
|
6230
6235
|
}
|
6231
6236
|
function ep(e, t) {
|
6232
6237
|
let n;
|
6233
6238
|
for (n in t)
|
6234
|
-
if (
|
6239
|
+
if (pa.call(t, n)) {
|
6235
6240
|
if (n === "canContainEols") {
|
6236
6241
|
const r = t[n];
|
6237
6242
|
r && e[n].push(...r);
|
@@ -6341,7 +6346,7 @@ function Dt(e) {
|
|
6341
6346
|
}
|
6342
6347
|
return t.join("") + e.slice(r);
|
6343
6348
|
}
|
6344
|
-
function
|
6349
|
+
function ha(e, t) {
|
6345
6350
|
const n = String(t.identifier).toUpperCase(), r = Dt(n.toLowerCase()), i = e.footnoteOrder.indexOf(n);
|
6346
6351
|
let o;
|
6347
6352
|
i === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, o = e.footnoteOrder.length) : (e.footnoteCounts[n]++, o = i + 1);
|
@@ -6376,7 +6381,7 @@ function lp(e, t) {
|
|
6376
6381
|
identifier: i,
|
6377
6382
|
children: [{ type: "paragraph", children: t.children }],
|
6378
6383
|
position: t.position
|
6379
|
-
},
|
6384
|
+
}, ha(e, {
|
6380
6385
|
type: "footnoteReference",
|
6381
6386
|
identifier: i,
|
6382
6387
|
position: t.position
|
@@ -6398,7 +6403,7 @@ function sp(e, t) {
|
|
6398
6403
|
}
|
6399
6404
|
return null;
|
6400
6405
|
}
|
6401
|
-
function
|
6406
|
+
function ga(e, t) {
|
6402
6407
|
const n = t.referenceType;
|
6403
6408
|
let r = "]";
|
6404
6409
|
if (n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference")
|
@@ -6411,7 +6416,7 @@ function ha(e, t) {
|
|
6411
6416
|
function cp(e, t) {
|
6412
6417
|
const n = e.definition(t.identifier);
|
6413
6418
|
if (!n)
|
6414
|
-
return
|
6419
|
+
return ga(e, t);
|
6415
6420
|
const r = { src: Dt(n.url || ""), alt: t.alt };
|
6416
6421
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6417
6422
|
const i = { type: "element", tagName: "img", properties: r, children: [] };
|
@@ -6437,7 +6442,7 @@ function pp(e, t) {
|
|
6437
6442
|
function dp(e, t) {
|
6438
6443
|
const n = e.definition(t.identifier);
|
6439
6444
|
if (!n)
|
6440
|
-
return
|
6445
|
+
return ga(e, t);
|
6441
6446
|
const r = { href: Dt(n.url || "") };
|
6442
6447
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6443
6448
|
const i = {
|
@@ -6460,7 +6465,7 @@ function hp(e, t) {
|
|
6460
6465
|
return e.patch(t, r), e.applyData(t, r);
|
6461
6466
|
}
|
6462
6467
|
function gp(e, t, n) {
|
6463
|
-
const r = e.all(t), i = n ? mp(n) :
|
6468
|
+
const r = e.all(t), i = n ? mp(n) : ma(t), o = {}, a = [];
|
6464
6469
|
if (typeof t.checked == "boolean") {
|
6465
6470
|
const c = r[0];
|
6466
6471
|
let p;
|
@@ -6490,11 +6495,11 @@ function mp(e) {
|
|
6490
6495
|
const n = e.children;
|
6491
6496
|
let r = -1;
|
6492
6497
|
for (; !t && ++r < n.length; )
|
6493
|
-
t =
|
6498
|
+
t = ma(n[r]);
|
6494
6499
|
}
|
6495
6500
|
return t;
|
6496
6501
|
}
|
6497
|
-
function
|
6502
|
+
function ma(e) {
|
6498
6503
|
const t = e.spread;
|
6499
6504
|
return t ?? e.children.length > 1;
|
6500
6505
|
}
|
@@ -6538,11 +6543,11 @@ function bp(e, t) {
|
|
6538
6543
|
};
|
6539
6544
|
return e.patch(t, n), e.applyData(t, n);
|
6540
6545
|
}
|
6541
|
-
const
|
6546
|
+
const Pr = ya("start"), Fr = ya("end");
|
6542
6547
|
function wp(e) {
|
6543
|
-
return { start:
|
6548
|
+
return { start: Pr(e), end: Fr(e) };
|
6544
6549
|
}
|
6545
|
-
function
|
6550
|
+
function ya(e) {
|
6546
6551
|
return t;
|
6547
6552
|
function t(n) {
|
6548
6553
|
const r = n && n.position && n.position[e] || {};
|
@@ -6573,7 +6578,7 @@ function vp(e, t) {
|
|
6573
6578
|
tagName: "tbody",
|
6574
6579
|
properties: {},
|
6575
6580
|
children: e.wrap(n, !0)
|
6576
|
-
}, l =
|
6581
|
+
}, l = Pr(t.children[1]), u = Fr(t.children[t.children.length - 1]);
|
6577
6582
|
l.line && u.line && (a.position = { start: l, end: u }), i.push(a);
|
6578
6583
|
}
|
6579
6584
|
const o = {
|
@@ -6657,7 +6662,7 @@ const jp = {
|
|
6657
6662
|
code: ip,
|
6658
6663
|
delete: op,
|
6659
6664
|
emphasis: ap,
|
6660
|
-
footnoteReference:
|
6665
|
+
footnoteReference: ha,
|
6661
6666
|
footnote: lp,
|
6662
6667
|
heading: up,
|
6663
6668
|
html: sp,
|
@@ -6684,7 +6689,7 @@ const jp = {
|
|
6684
6689
|
function nn() {
|
6685
6690
|
return null;
|
6686
6691
|
}
|
6687
|
-
const
|
6692
|
+
const Ma = (
|
6688
6693
|
/**
|
6689
6694
|
* @type {(
|
6690
6695
|
* (<Kind extends Node>(test: PredicateTest<Kind>) => AssertPredicate<Kind>) &
|
@@ -6711,7 +6716,7 @@ function Ep(e) {
|
|
6711
6716
|
const t = [];
|
6712
6717
|
let n = -1;
|
6713
6718
|
for (; ++n < e.length; )
|
6714
|
-
t[n] =
|
6719
|
+
t[n] = Ma(e[n]);
|
6715
6720
|
return Dn(r);
|
6716
6721
|
function r(...i) {
|
6717
6722
|
let o = -1;
|
@@ -6762,7 +6767,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6762
6767
|
*/
|
6763
6768
|
function(e, t, n, r) {
|
6764
6769
|
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null);
|
6765
|
-
const i =
|
6770
|
+
const i = Ma(t), o = r ? -1 : 1;
|
6766
6771
|
a(e, void 0, [])();
|
6767
6772
|
function a(l, u, s) {
|
6768
6773
|
const c = l && typeof l == "object" ? l : {};
|
@@ -6781,7 +6786,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6781
6786
|
return p;
|
6782
6787
|
function p() {
|
6783
6788
|
let m = [], d, T, x;
|
6784
|
-
if ((!t || i(l, u, s[s.length - 1] || null)) && (m =
|
6789
|
+
if ((!t || i(l, u, s[s.length - 1] || null)) && (m = Pp(n(l, s)), m[0] === eo))
|
6785
6790
|
return m;
|
6786
6791
|
if (l.children && m[0] !== zp)
|
6787
6792
|
for (T = (r ? l.children.length : -1) + o, x = s.concat(l); T > -1 && T < l.children.length; ) {
|
@@ -6794,7 +6799,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
|
|
6794
6799
|
}
|
6795
6800
|
}
|
6796
6801
|
);
|
6797
|
-
function
|
6802
|
+
function Pp(e) {
|
6798
6803
|
return Array.isArray(e) ? e : typeof e == "number" ? [Op, e] : [e];
|
6799
6804
|
}
|
6800
6805
|
const _r = (
|
@@ -6823,7 +6828,7 @@ const _r = (
|
|
6823
6828
|
}
|
6824
6829
|
}
|
6825
6830
|
);
|
6826
|
-
function
|
6831
|
+
function Fp(e) {
|
6827
6832
|
return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
|
6828
6833
|
}
|
6829
6834
|
const to = {}.hasOwnProperty;
|
@@ -6864,7 +6869,7 @@ function Rp(e, t) {
|
|
6864
6869
|
}
|
6865
6870
|
if (s) {
|
6866
6871
|
const p = "type" in s ? s : { position: s };
|
6867
|
-
|
6872
|
+
Fp(p) || (c.position = { start: Pr(p), end: Fr(p) });
|
6868
6873
|
}
|
6869
6874
|
return c;
|
6870
6875
|
}
|
@@ -6877,7 +6882,7 @@ function Rp(e, t) {
|
|
6877
6882
|
});
|
6878
6883
|
}
|
6879
6884
|
function l(s, c) {
|
6880
|
-
return
|
6885
|
+
return xa(a, s, c);
|
6881
6886
|
}
|
6882
6887
|
function u(s) {
|
6883
6888
|
return Rr(a, s);
|
@@ -6899,7 +6904,7 @@ function Bp(e, t) {
|
|
6899
6904
|
}
|
6900
6905
|
return n;
|
6901
6906
|
}
|
6902
|
-
function
|
6907
|
+
function xa(e, t, n) {
|
6903
6908
|
const r = t && t.type;
|
6904
6909
|
if (!r)
|
6905
6910
|
throw new Error("Expected node, got `" + t + "`");
|
@@ -6911,7 +6916,7 @@ function Rr(e, t) {
|
|
6911
6916
|
const r = t.children;
|
6912
6917
|
let i = -1;
|
6913
6918
|
for (; ++i < r.length; ) {
|
6914
|
-
const o =
|
6919
|
+
const o = xa(e, r[i], t);
|
6915
6920
|
if (o) {
|
6916
6921
|
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")) {
|
6917
6922
|
const a = o.children[0];
|
@@ -7013,7 +7018,7 @@ function Hp(e) {
|
|
7013
7018
|
]
|
7014
7019
|
};
|
7015
7020
|
}
|
7016
|
-
function
|
7021
|
+
function ba(e, t) {
|
7017
7022
|
const n = Rp(e, t), r = n.one(e, null), i = Hp(n);
|
7018
7023
|
return i && r.children.push({ type: "text", value: `
|
7019
7024
|
` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
|
@@ -7026,13 +7031,13 @@ const $p = (
|
|
7026
7031
|
), qp = $p;
|
7027
7032
|
function Vp(e, t) {
|
7028
7033
|
return (n, r, i) => {
|
7029
|
-
e.run(
|
7034
|
+
e.run(ba(n, t), r, (o) => {
|
7030
7035
|
i(o);
|
7031
7036
|
});
|
7032
7037
|
};
|
7033
7038
|
}
|
7034
7039
|
function Wp(e) {
|
7035
|
-
return (t) =>
|
7040
|
+
return (t) => ba(t, e);
|
7036
7041
|
}
|
7037
7042
|
class Wt {
|
7038
7043
|
/**
|
@@ -7048,7 +7053,7 @@ class Wt {
|
|
7048
7053
|
Wt.prototype.property = {};
|
7049
7054
|
Wt.prototype.normal = {};
|
7050
7055
|
Wt.prototype.space = null;
|
7051
|
-
function
|
7056
|
+
function wa(e, t) {
|
7052
7057
|
const n = {}, r = {};
|
7053
7058
|
let i = -1;
|
7054
7059
|
for (; ++i < e.length; )
|
@@ -7079,18 +7084,18 @@ Re.prototype.commaOrSpaceSeparated = !1;
|
|
7079
7084
|
Re.prototype.mustUseProperty = !1;
|
7080
7085
|
Re.prototype.defined = !1;
|
7081
7086
|
let Gp = 0;
|
7082
|
-
const Z = ht(),
|
7087
|
+
const Z = ht(), Me = ht(), va = ht(), E = ht(), ce = ht(), xt = ht(), Ce = ht();
|
7083
7088
|
function ht() {
|
7084
7089
|
return 2 ** ++Gp;
|
7085
7090
|
}
|
7086
7091
|
const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
7087
7092
|
__proto__: null,
|
7088
7093
|
boolean: Z,
|
7089
|
-
booleanish:
|
7094
|
+
booleanish: Me,
|
7090
7095
|
commaOrSpaceSeparated: Ce,
|
7091
7096
|
commaSeparated: xt,
|
7092
7097
|
number: E,
|
7093
|
-
overloadedBoolean:
|
7098
|
+
overloadedBoolean: va,
|
7094
7099
|
spaceSeparated: ce
|
7095
7100
|
}, Symbol.toStringTag, { value: "Module" })), tr = Object.keys(br);
|
7096
7101
|
class Ur extends Re {
|
@@ -7130,7 +7135,7 @@ function Tt(e) {
|
|
7130
7135
|
}
|
7131
7136
|
return new Wt(t, n, e.space);
|
7132
7137
|
}
|
7133
|
-
const
|
7138
|
+
const Da = Tt({
|
7134
7139
|
space: "xlink",
|
7135
7140
|
transform(e, t) {
|
7136
7141
|
return "xlink:" + t.slice(5).toLowerCase();
|
@@ -7144,34 +7149,34 @@ const va = Tt({
|
|
7144
7149
|
xLinkTitle: null,
|
7145
7150
|
xLinkType: null
|
7146
7151
|
}
|
7147
|
-
}),
|
7152
|
+
}), Ta = Tt({
|
7148
7153
|
space: "xml",
|
7149
7154
|
transform(e, t) {
|
7150
7155
|
return "xml:" + t.slice(3).toLowerCase();
|
7151
7156
|
},
|
7152
7157
|
properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
|
7153
7158
|
});
|
7154
|
-
function
|
7159
|
+
function Ia(e, t) {
|
7155
7160
|
return t in e ? e[t] : t;
|
7156
7161
|
}
|
7157
|
-
function
|
7158
|
-
return
|
7162
|
+
function Na(e, t) {
|
7163
|
+
return Ia(e, t.toLowerCase());
|
7159
7164
|
}
|
7160
|
-
const
|
7165
|
+
const ka = Tt({
|
7161
7166
|
space: "xmlns",
|
7162
7167
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
7163
|
-
transform:
|
7168
|
+
transform: Na,
|
7164
7169
|
properties: { xmlns: null, xmlnsXLink: null }
|
7165
|
-
}),
|
7170
|
+
}), ja = Tt({
|
7166
7171
|
transform(e, t) {
|
7167
7172
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
7168
7173
|
},
|
7169
7174
|
properties: {
|
7170
7175
|
ariaActiveDescendant: null,
|
7171
|
-
ariaAtomic:
|
7176
|
+
ariaAtomic: Me,
|
7172
7177
|
ariaAutoComplete: null,
|
7173
|
-
ariaBusy:
|
7174
|
-
ariaChecked:
|
7178
|
+
ariaBusy: Me,
|
7179
|
+
ariaChecked: Me,
|
7175
7180
|
ariaColCount: E,
|
7176
7181
|
ariaColIndex: E,
|
7177
7182
|
ariaColSpan: E,
|
@@ -7179,36 +7184,36 @@ const Na = Tt({
|
|
7179
7184
|
ariaCurrent: null,
|
7180
7185
|
ariaDescribedBy: ce,
|
7181
7186
|
ariaDetails: null,
|
7182
|
-
ariaDisabled:
|
7187
|
+
ariaDisabled: Me,
|
7183
7188
|
ariaDropEffect: ce,
|
7184
7189
|
ariaErrorMessage: null,
|
7185
|
-
ariaExpanded:
|
7190
|
+
ariaExpanded: Me,
|
7186
7191
|
ariaFlowTo: ce,
|
7187
|
-
ariaGrabbed:
|
7192
|
+
ariaGrabbed: Me,
|
7188
7193
|
ariaHasPopup: null,
|
7189
|
-
ariaHidden:
|
7194
|
+
ariaHidden: Me,
|
7190
7195
|
ariaInvalid: null,
|
7191
7196
|
ariaKeyShortcuts: null,
|
7192
7197
|
ariaLabel: null,
|
7193
7198
|
ariaLabelledBy: ce,
|
7194
7199
|
ariaLevel: E,
|
7195
7200
|
ariaLive: null,
|
7196
|
-
ariaModal:
|
7197
|
-
ariaMultiLine:
|
7198
|
-
ariaMultiSelectable:
|
7201
|
+
ariaModal: Me,
|
7202
|
+
ariaMultiLine: Me,
|
7203
|
+
ariaMultiSelectable: Me,
|
7199
7204
|
ariaOrientation: null,
|
7200
7205
|
ariaOwns: ce,
|
7201
7206
|
ariaPlaceholder: null,
|
7202
7207
|
ariaPosInSet: E,
|
7203
|
-
ariaPressed:
|
7204
|
-
ariaReadOnly:
|
7208
|
+
ariaPressed: Me,
|
7209
|
+
ariaReadOnly: Me,
|
7205
7210
|
ariaRelevant: null,
|
7206
|
-
ariaRequired:
|
7211
|
+
ariaRequired: Me,
|
7207
7212
|
ariaRoleDescription: ce,
|
7208
7213
|
ariaRowCount: E,
|
7209
7214
|
ariaRowIndex: E,
|
7210
7215
|
ariaRowSpan: E,
|
7211
|
-
ariaSelected:
|
7216
|
+
ariaSelected: Me,
|
7212
7217
|
ariaSetSize: E,
|
7213
7218
|
ariaSort: null,
|
7214
7219
|
ariaValueMax: E,
|
@@ -7225,7 +7230,7 @@ const Na = Tt({
|
|
7225
7230
|
htmlfor: "for",
|
7226
7231
|
httpequiv: "http-equiv"
|
7227
7232
|
},
|
7228
|
-
transform:
|
7233
|
+
transform: Na,
|
7229
7234
|
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
7230
7235
|
properties: {
|
7231
7236
|
// Standard Properties.
|
@@ -7254,7 +7259,7 @@ const Na = Tt({
|
|
7254
7259
|
cols: E,
|
7255
7260
|
colSpan: null,
|
7256
7261
|
content: null,
|
7257
|
-
contentEditable:
|
7262
|
+
contentEditable: Me,
|
7258
7263
|
controls: Z,
|
7259
7264
|
controlsList: ce,
|
7260
7265
|
coords: E | xt,
|
@@ -7267,8 +7272,8 @@ const Na = Tt({
|
|
7267
7272
|
dir: null,
|
7268
7273
|
dirName: null,
|
7269
7274
|
disabled: Z,
|
7270
|
-
download:
|
7271
|
-
draggable:
|
7275
|
+
download: va,
|
7276
|
+
draggable: Me,
|
7272
7277
|
encType: null,
|
7273
7278
|
enterKeyHint: null,
|
7274
7279
|
fetchPriority: null,
|
@@ -7438,7 +7443,7 @@ const Na = Tt({
|
|
7438
7443
|
sizes: null,
|
7439
7444
|
slot: null,
|
7440
7445
|
span: E,
|
7441
|
-
spellCheck:
|
7446
|
+
spellCheck: Me,
|
7442
7447
|
src: null,
|
7443
7448
|
srcDoc: null,
|
7444
7449
|
srcLang: null,
|
@@ -7453,7 +7458,7 @@ const Na = Tt({
|
|
7453
7458
|
type: null,
|
7454
7459
|
typeMustMatch: Z,
|
7455
7460
|
useMap: null,
|
7456
|
-
value:
|
7461
|
+
value: Me,
|
7457
7462
|
width: E,
|
7458
7463
|
wrap: null,
|
7459
7464
|
// Legacy.
|
@@ -7544,7 +7549,7 @@ const Na = Tt({
|
|
7544
7549
|
// `<table>`
|
7545
7550
|
scheme: null,
|
7546
7551
|
// `<meta>`
|
7547
|
-
scrolling:
|
7552
|
+
scrolling: Me,
|
7548
7553
|
// `<frame>`. Use overflow in the child context
|
7549
7554
|
standby: null,
|
7550
7555
|
// `<object>`
|
@@ -7753,7 +7758,7 @@ const Na = Tt({
|
|
7753
7758
|
playbackOrder: "playbackorder",
|
7754
7759
|
timelineBegin: "timelinebegin"
|
7755
7760
|
},
|
7756
|
-
transform:
|
7761
|
+
transform: Ia,
|
7757
7762
|
properties: {
|
7758
7763
|
about: Ce,
|
7759
7764
|
accentHeight: E,
|
@@ -8180,7 +8185,7 @@ const oo = {
|
|
8180
8185
|
xLinkTitle: "xlinkTitle",
|
8181
8186
|
xLinkType: "xlinkType",
|
8182
8187
|
xmlnsXLink: "xmlnsXlink"
|
8183
|
-
}, id =
|
8188
|
+
}, id = wa([Ta, Da, ka, ja, Kp], "html"), od = wa([Ta, Da, ka, ja, Xp], "svg");
|
8184
8189
|
function ad(e) {
|
8185
8190
|
if (e.allowedElements && e.disallowedElements)
|
8186
8191
|
throw new TypeError(
|
@@ -8199,7 +8204,7 @@ function ad(e) {
|
|
8199
8204
|
});
|
8200
8205
|
};
|
8201
8206
|
}
|
8202
|
-
var
|
8207
|
+
var Ea = { exports: {} }, ae = {};
|
8203
8208
|
/**
|
8204
8209
|
* @license React
|
8205
8210
|
* react-is.production.min.js
|
@@ -8209,8 +8214,8 @@ var ja = { exports: {} }, ae = {};
|
|
8209
8214
|
* This source code is licensed under the MIT license found in the
|
8210
8215
|
* LICENSE file in the root directory of this source tree.
|
8211
8216
|
*/
|
8212
|
-
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"),
|
8213
|
-
|
8217
|
+
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;
|
8218
|
+
Aa = Symbol.for("react.module.reference");
|
8214
8219
|
function Ue(e) {
|
8215
8220
|
if (typeof e == "object" && e !== null) {
|
8216
8221
|
var t = e.$$typeof;
|
@@ -8296,11 +8301,11 @@ ae.isSuspenseList = function(e) {
|
|
8296
8301
|
return Ue(e) === Cn;
|
8297
8302
|
};
|
8298
8303
|
ae.isValidElementType = function(e) {
|
8299
|
-
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 ===
|
8304
|
+
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);
|
8300
8305
|
};
|
8301
8306
|
ae.typeOf = Ue;
|
8302
|
-
|
8303
|
-
var sd =
|
8307
|
+
Ea.exports = ae;
|
8308
|
+
var sd = Ea.exports;
|
8304
8309
|
const cd = /* @__PURE__ */ nt(sd);
|
8305
8310
|
function fd(e) {
|
8306
8311
|
const t = (
|
@@ -8408,7 +8413,7 @@ function so(e) {
|
|
8408
8413
|
return e ? e.replace(bd, ft) : ft;
|
8409
8414
|
}
|
8410
8415
|
var Id = Td;
|
8411
|
-
function
|
8416
|
+
function Ca(e, t) {
|
8412
8417
|
var n = null;
|
8413
8418
|
if (!e || typeof e != "string")
|
8414
8419
|
return n;
|
@@ -8416,11 +8421,11 @@ function Aa(e, t) {
|
|
8416
8421
|
r = i[u], a = r.property, l = r.value, o ? t(a, l, r) : l && (n || (n = {}), n[a] = l);
|
8417
8422
|
return n;
|
8418
8423
|
}
|
8419
|
-
Yr.exports =
|
8420
|
-
Yr.exports.default =
|
8424
|
+
Yr.exports = Ca;
|
8425
|
+
Yr.exports.default = Ca;
|
8421
8426
|
var Nd = Yr.exports;
|
8422
8427
|
const kd = /* @__PURE__ */ nt(Nd), wr = {}.hasOwnProperty, jd = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8423
|
-
function
|
8428
|
+
function Sa(e, t) {
|
8424
8429
|
const n = [];
|
8425
8430
|
let r = -1, i;
|
8426
8431
|
for (; ++r < t.children.length; )
|
@@ -8434,7 +8439,7 @@ function Ed(e, t, n, r) {
|
|
8434
8439
|
for (c in t.properties)
|
8435
8440
|
wr.call(t.properties, c) && Cd(u, c, t.properties[c], e);
|
8436
8441
|
(l === "ol" || l === "ul") && e.listDepth++;
|
8437
|
-
const p =
|
8442
|
+
const p = Sa(e, t);
|
8438
8443
|
(l === "ol" || l === "ul") && e.listDepth--, e.schema = a;
|
8439
8444
|
const m = t.position || {
|
8440
8445
|
start: { line: null, column: null, offset: null },
|
@@ -8532,7 +8537,7 @@ const co = {}.hasOwnProperty, Ld = "https://github.com/remarkjs/react-markdown/b
|
|
8532
8537
|
id: "change-includenodeindex-to-includeelementindex"
|
8533
8538
|
}
|
8534
8539
|
};
|
8535
|
-
function
|
8540
|
+
function Oa(e) {
|
8536
8541
|
for (const o in rn)
|
8537
8542
|
if (co.call(rn, o) && co.call(e, o)) {
|
8538
8543
|
const a = rn[o];
|
@@ -8543,7 +8548,7 @@ function Sa(e) {
|
|
8543
8548
|
const t = $s().use(tp).use(e.remarkPlugins || []).use(qp, {
|
8544
8549
|
...e.remarkRehypeOptions,
|
8545
8550
|
allowDangerousHtml: !0
|
8546
|
-
}).use(e.rehypePlugins || []).use(ad, e), n = new
|
8551
|
+
}).use(e.rehypePlugins || []).use(ad, e), n = new Ko();
|
8547
8552
|
typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn(
|
8548
8553
|
`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`
|
8549
8554
|
);
|
@@ -8553,11 +8558,11 @@ function Sa(e) {
|
|
8553
8558
|
let i = ve.createElement(
|
8554
8559
|
ve.Fragment,
|
8555
8560
|
{},
|
8556
|
-
|
8561
|
+
Sa({ options: e, schema: id, listDepth: 0 }, r)
|
8557
8562
|
);
|
8558
8563
|
return e.className && (i = ve.createElement("div", { className: e.className }, i)), i;
|
8559
8564
|
}
|
8560
|
-
|
8565
|
+
Oa.propTypes = {
|
8561
8566
|
// Core options:
|
8562
8567
|
children: N.string,
|
8563
8568
|
// Layout options:
|
@@ -8616,7 +8621,7 @@ Sa.propTypes = {
|
|
8616
8621
|
transformImageUri: N.func,
|
8617
8622
|
components: N.object
|
8618
8623
|
};
|
8619
|
-
function
|
8624
|
+
function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
8620
8625
|
return /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
|
8621
8626
|
/* @__PURE__ */ k.jsx(
|
8622
8627
|
"button",
|
@@ -8653,24 +8658,24 @@ function Oa({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
8653
8658
|
)
|
8654
8659
|
] });
|
8655
8660
|
}
|
8656
|
-
|
8661
|
+
za.propTypes = {
|
8657
8662
|
id: N.number.isRequired,
|
8658
8663
|
message: N.shape().isRequired,
|
8659
8664
|
onFeedbackThumbSelection: N.func.isRequired
|
8660
8665
|
};
|
8661
|
-
const
|
8666
|
+
const Pd = (e) => {
|
8662
8667
|
Array.from(e.entries()).forEach((n) => {
|
8663
8668
|
const r = n[0], i = n[1];
|
8664
8669
|
r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
|
8665
8670
|
});
|
8666
|
-
},
|
8671
|
+
}, Fd = (e) => {
|
8667
8672
|
e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
|
8668
8673
|
};
|
8669
8674
|
function _d(e) {
|
8670
8675
|
const t = new URL(e), n = t.host;
|
8671
8676
|
if (n == null ? void 0 : n.includes("edx.org")) {
|
8672
8677
|
const i = t.searchParams;
|
8673
|
-
|
8678
|
+
Pd(i), Fd(i), t.search = i;
|
8674
8679
|
}
|
8675
8680
|
return t.toString();
|
8676
8681
|
}
|
@@ -8695,7 +8700,7 @@ const Hr = ({
|
|
8695
8700
|
className: "xpert-chatbot-popup__bubble--assistant",
|
8696
8701
|
style: { maxWidth: n ? "85%" : "67%" },
|
8697
8702
|
children: /* @__PURE__ */ k.jsx(
|
8698
|
-
|
8703
|
+
Oa,
|
8699
8704
|
{
|
8700
8705
|
components: {
|
8701
8706
|
a: (a) => /* @__PURE__ */ k.jsx(
|
@@ -8718,7 +8723,7 @@ const Hr = ({
|
|
8718
8723
|
}
|
8719
8724
|
),
|
8720
8725
|
t.disableFeedback ? null : /* @__PURE__ */ k.jsx(
|
8721
|
-
|
8726
|
+
za,
|
8722
8727
|
{
|
8723
8728
|
id: e,
|
8724
8729
|
message: t,
|
@@ -8737,7 +8742,7 @@ Hr.propTypes = {
|
|
8737
8742
|
handleMessageLinkClicked: N.func
|
8738
8743
|
};
|
8739
8744
|
Hr.displayName = "AssistantMessageBubble";
|
8740
|
-
const Rd = Hr,
|
8745
|
+
const Rd = Hr, La = () => {
|
8741
8746
|
const { disclaimer: e } = We(Ge), t = tt(null);
|
8742
8747
|
return Oe(() => {
|
8743
8748
|
var n;
|
@@ -8769,8 +8774,8 @@ const Rd = Hr, za = () => {
|
|
8769
8774
|
}
|
8770
8775
|
);
|
8771
8776
|
};
|
8772
|
-
|
8773
|
-
const Ud =
|
8777
|
+
La.displayName = "ConversationScreenDisclaimer";
|
8778
|
+
const Ud = La, $r = ({ loading: e, onPromptClick: t }) => {
|
8774
8779
|
var i;
|
8775
8780
|
const { primaryColor: n, conversationScreen: r } = We(Ge);
|
8776
8781
|
return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
@@ -8981,7 +8986,7 @@ const Hd = zn, $d = () => {
|
|
8981
8986
|
}
|
8982
8987
|
);
|
8983
8988
|
}, rr = $d;
|
8984
|
-
var
|
8989
|
+
var Pa = { exports: {} };
|
8985
8990
|
/*!
|
8986
8991
|
Copyright (c) 2018 Jed Watson.
|
8987
8992
|
Licensed under the MIT License (MIT), see
|
@@ -9016,8 +9021,8 @@ var La = { exports: {} };
|
|
9016
9021
|
}
|
9017
9022
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
9018
9023
|
})();
|
9019
|
-
})(
|
9020
|
-
var qd =
|
9024
|
+
})(Pa);
|
9025
|
+
var qd = Pa.exports;
|
9021
9026
|
const Fa = /* @__PURE__ */ nt(qd), Vd = 991;
|
9022
9027
|
function Wr({
|
9023
9028
|
label: e,
|
@@ -9062,8 +9067,8 @@ Wr.defaultProps = {
|
|
9062
9067
|
* tabbable 6.2.0
|
9063
9068
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
9064
9069
|
*/
|
9065
|
-
var
|
9066
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, mn = !
|
9070
|
+
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() {
|
9071
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, mn = !Ra && Element.prototype.getRootNode ? function(e) {
|
9067
9072
|
var t;
|
9068
9073
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
9069
9074
|
} : function(e) {
|
@@ -9076,12 +9081,12 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9076
9081
|
}, Wd = function(t) {
|
9077
9082
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
9078
9083
|
return r === "" || r === "true";
|
9079
|
-
},
|
9084
|
+
}, Ua = function(t, n, r) {
|
9080
9085
|
if (yn(t))
|
9081
9086
|
return [];
|
9082
9087
|
var i = Array.prototype.slice.apply(t.querySelectorAll(gn));
|
9083
9088
|
return n && dt.call(t, gn) && i.unshift(t), i = i.filter(r), i;
|
9084
|
-
},
|
9089
|
+
}, Ba = function e(t, n, r) {
|
9085
9090
|
for (var i = [], o = Array.from(t); o.length; ) {
|
9086
9091
|
var a = o.shift();
|
9087
9092
|
if (!yn(a, !1))
|
@@ -9107,21 +9112,21 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9107
9112
|
}
|
9108
9113
|
}
|
9109
9114
|
return i;
|
9110
|
-
},
|
9115
|
+
}, Qa = function(t) {
|
9111
9116
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
9112
9117
|
}, et = function(t) {
|
9113
9118
|
if (!t)
|
9114
9119
|
throw new Error("No node provided");
|
9115
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wd(t)) && !
|
9120
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wd(t)) && !Qa(t) ? 0 : t.tabIndex;
|
9116
9121
|
}, Gd = function(t, n) {
|
9117
9122
|
var r = et(t);
|
9118
|
-
return r < 0 && n && !
|
9123
|
+
return r < 0 && n && !Qa(t) ? 0 : r;
|
9119
9124
|
}, Zd = function(t, n) {
|
9120
9125
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
9121
|
-
},
|
9126
|
+
}, Ya = function(t) {
|
9122
9127
|
return t.tagName === "INPUT";
|
9123
9128
|
}, Kd = function(t) {
|
9124
|
-
return
|
9129
|
+
return Ya(t) && t.type === "hidden";
|
9125
9130
|
}, Xd = function(t) {
|
9126
9131
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
9127
9132
|
return r.tagName === "SUMMARY";
|
@@ -9148,7 +9153,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9148
9153
|
var o = Jd(i, t.form);
|
9149
9154
|
return !o || o === t;
|
9150
9155
|
}, th = function(t) {
|
9151
|
-
return
|
9156
|
+
return Ya(t) && t.type === "radio";
|
9152
9157
|
}, nh = function(t) {
|
9153
9158
|
return th(t) && !eh(t);
|
9154
9159
|
}, rh = function(t) {
|
@@ -9227,39 +9232,39 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9227
9232
|
}), r.sort(Zd).reduce(function(i, o) {
|
9228
9233
|
return o.isScope ? i.push.apply(i, o.content) : i.push(o.content), i;
|
9229
9234
|
}, []).concat(n);
|
9230
|
-
},
|
9235
|
+
}, Ha = function(t, n) {
|
9231
9236
|
n = n || {};
|
9232
9237
|
var r;
|
9233
|
-
return n.getShadowRoot ? r =
|
9238
|
+
return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
|
9234
9239
|
filter: vr.bind(null, n),
|
9235
9240
|
flatten: !1,
|
9236
9241
|
getShadowRoot: n.getShadowRoot,
|
9237
9242
|
shadowRootFilter: ah
|
9238
|
-
}) : r =
|
9239
|
-
},
|
9243
|
+
}) : r = Ua(t, n.includeContainer, vr.bind(null, n)), lh(r);
|
9244
|
+
}, $a = function(t, n) {
|
9240
9245
|
n = n || {};
|
9241
9246
|
var r;
|
9242
|
-
return n.getShadowRoot ? r =
|
9247
|
+
return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
|
9243
9248
|
filter: Mn.bind(null, n),
|
9244
9249
|
flatten: !0,
|
9245
9250
|
getShadowRoot: n.getShadowRoot
|
9246
|
-
}) : r =
|
9251
|
+
}) : r = Ua(t, n.includeContainer, Mn.bind(null, n)), r;
|
9247
9252
|
}, ct = function(t, n) {
|
9248
9253
|
if (n = n || {}, !t)
|
9249
9254
|
throw new Error("No node provided");
|
9250
9255
|
return dt.call(t, gn) === !1 ? !1 : vr(n, t);
|
9251
|
-
}, uh = /* @__PURE__ */
|
9256
|
+
}, uh = /* @__PURE__ */ _a.concat("iframe").join(","), fn = function(t, n) {
|
9252
9257
|
if (n = n || {}, !t)
|
9253
9258
|
throw new Error("No node provided");
|
9254
9259
|
return dt.call(t, uh) === !1 ? !1 : Mn(n, t);
|
9255
9260
|
};
|
9256
9261
|
const sh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
9257
9262
|
__proto__: null,
|
9258
|
-
focusable:
|
9263
|
+
focusable: $a,
|
9259
9264
|
getTabIndex: et,
|
9260
9265
|
isFocusable: fn,
|
9261
9266
|
isTabbable: ct,
|
9262
|
-
tabbable:
|
9267
|
+
tabbable: Ha
|
9263
9268
|
}, Symbol.toStringTag, { value: "Module" }));
|
9264
9269
|
/*!
|
9265
9270
|
* focus-trap 7.5.4
|
@@ -9435,11 +9440,11 @@ var go = {
|
|
9435
9440
|
return b;
|
9436
9441
|
}, m = function() {
|
9437
9442
|
if (a.containerGroups = a.containers.map(function(b) {
|
9438
|
-
var I =
|
9443
|
+
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) {
|
9439
9444
|
return ct(g);
|
9440
9445
|
}), V = z.slice().reverse().find(function(g) {
|
9441
9446
|
return ct(g);
|
9442
|
-
}),
|
9447
|
+
}), re = !!I.find(function(g) {
|
9443
9448
|
return et(g) > 0;
|
9444
9449
|
});
|
9445
9450
|
return {
|
@@ -9447,7 +9452,7 @@ var go = {
|
|
9447
9452
|
tabbableNodes: I,
|
9448
9453
|
focusableNodes: z,
|
9449
9454
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
9450
|
-
posTabIndexesFound:
|
9455
|
+
posTabIndexesFound: re,
|
9451
9456
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
9452
9457
|
firstTabbableNode: L,
|
9453
9458
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
@@ -9472,12 +9477,12 @@ var go = {
|
|
9472
9477
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
9473
9478
|
*/
|
9474
9479
|
nextTabbableNode: function(ue) {
|
9475
|
-
var
|
9476
|
-
return h < 0 ?
|
9480
|
+
var ye = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = I.indexOf(ue);
|
9481
|
+
return h < 0 ? ye ? z.slice(z.indexOf(ue) + 1).find(function(ge) {
|
9477
9482
|
return ct(ge);
|
9478
9483
|
}) : z.slice(0, z.indexOf(ue)).reverse().find(function(ge) {
|
9479
9484
|
return ct(ge);
|
9480
|
-
}) : I[h + (
|
9485
|
+
}) : I[h + (ye ? 1 : -1)];
|
9481
9486
|
}
|
9482
9487
|
};
|
9483
9488
|
}), a.tabbableGroups = a.containerGroups.filter(function(b) {
|
@@ -9510,29 +9515,29 @@ var go = {
|
|
9510
9515
|
I = I || on(z), m();
|
9511
9516
|
var _ = null;
|
9512
9517
|
if (a.tabbableGroups.length > 0) {
|
9513
|
-
var V = s(I, z),
|
9518
|
+
var V = s(I, z), re = V >= 0 ? a.containerGroups[V] : void 0;
|
9514
9519
|
if (V < 0)
|
9515
9520
|
U ? _ = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : _ = a.tabbableGroups[0].firstTabbableNode;
|
9516
9521
|
else if (U) {
|
9517
|
-
var g = yo(a.tabbableGroups, function(
|
9518
|
-
var Te =
|
9522
|
+
var g = yo(a.tabbableGroups, function(ie) {
|
9523
|
+
var Te = ie.firstTabbableNode;
|
9519
9524
|
return I === Te;
|
9520
9525
|
});
|
9521
|
-
if (g < 0 && (
|
9522
|
-
var ue = g === 0 ? a.tabbableGroups.length - 1 : g - 1,
|
9523
|
-
_ = et(I) >= 0 ?
|
9526
|
+
if (g < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I, !1)) && (g = V), g >= 0) {
|
9527
|
+
var ue = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[ue];
|
9528
|
+
_ = et(I) >= 0 ? ye.lastTabbableNode : ye.lastDomTabbableNode;
|
9524
9529
|
} else
|
9525
|
-
Qt(z) || (_ =
|
9530
|
+
Qt(z) || (_ = re.nextTabbableNode(I, !1));
|
9526
9531
|
} else {
|
9527
|
-
var h = yo(a.tabbableGroups, function(
|
9528
|
-
var Te =
|
9532
|
+
var h = yo(a.tabbableGroups, function(ie) {
|
9533
|
+
var Te = ie.lastTabbableNode;
|
9529
9534
|
return I === Te;
|
9530
9535
|
});
|
9531
|
-
if (h < 0 && (
|
9536
|
+
if (h < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I)) && (h = V), h >= 0) {
|
9532
9537
|
var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, De = a.tabbableGroups[ge];
|
9533
9538
|
_ = et(I) >= 0 ? De.firstTabbableNode : De.firstDomTabbableNode;
|
9534
9539
|
} else
|
9535
|
-
Qt(z) || (_ =
|
9540
|
+
Qt(z) || (_ = re.nextTabbableNode(I));
|
9536
9541
|
}
|
9537
9542
|
} else
|
9538
9543
|
_ = c("fallbackFocus");
|
@@ -9565,10 +9570,10 @@ var go = {
|
|
9565
9570
|
if (et(a.mostRecentlyFocusedNode) > 0) {
|
9566
9571
|
var _ = s(a.mostRecentlyFocusedNode), V = a.containerGroups[_].tabbableNodes;
|
9567
9572
|
if (V.length > 0) {
|
9568
|
-
var
|
9573
|
+
var re = V.findIndex(function(g) {
|
9569
9574
|
return g === a.mostRecentlyFocusedNode;
|
9570
9575
|
});
|
9571
|
-
|
9576
|
+
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));
|
9572
9577
|
}
|
9573
9578
|
} else
|
9574
9579
|
a.containerGroups.some(function(g) {
|
@@ -9620,7 +9625,7 @@ var go = {
|
|
9620
9625
|
capture: !0,
|
9621
9626
|
passive: !1
|
9622
9627
|
}), l;
|
9623
|
-
},
|
9628
|
+
}, P = function() {
|
9624
9629
|
if (a.active)
|
9625
9630
|
return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", q, !0), r.removeEventListener("keydown", W, !0), l;
|
9626
9631
|
}, H = function(b) {
|
@@ -9664,7 +9669,7 @@ var go = {
|
|
9664
9669
|
onPostDeactivate: o.onPostDeactivate,
|
9665
9670
|
checkCanReturnFocus: o.checkCanReturnFocus
|
9666
9671
|
}, b);
|
9667
|
-
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0,
|
9672
|
+
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, P(), a.active = !1, a.paused = !1, K(), go.deactivateTrap(i, l);
|
9668
9673
|
var z = u(I, "onDeactivate"), L = u(I, "onPostDeactivate"), U = u(I, "checkCanReturnFocus"), _ = u(I, "returnFocus", "returnFocusOnDeactivate");
|
9669
9674
|
z == null || z();
|
9670
9675
|
var V = function() {
|
@@ -9678,7 +9683,7 @@ var go = {
|
|
9678
9683
|
if (a.paused || !a.active)
|
9679
9684
|
return this;
|
9680
9685
|
var I = u(b, "onPause"), z = u(b, "onPostPause");
|
9681
|
-
return a.paused = !0, I == null || I(),
|
9686
|
+
return a.paused = !0, I == null || I(), P(), K(), z == null || z(), this;
|
9682
9687
|
},
|
9683
9688
|
unpause: function(b) {
|
9684
9689
|
if (!a.paused || !a.active)
|
@@ -9713,7 +9718,7 @@ function vh(e, t) {
|
|
9713
9718
|
function Mo(e, t) {
|
9714
9719
|
for (var n = 0; n < t.length; n++) {
|
9715
9720
|
var r = t[n];
|
9716
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
9721
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, qa(r.key), r);
|
9717
9722
|
}
|
9718
9723
|
}
|
9719
9724
|
function Dh(e, t, n) {
|
@@ -9746,9 +9751,9 @@ function Nh(e, t) {
|
|
9746
9751
|
return t;
|
9747
9752
|
if (t !== void 0)
|
9748
9753
|
throw new TypeError("Derived constructors may only return object or undefined");
|
9749
|
-
return
|
9754
|
+
return Ft(e);
|
9750
9755
|
}
|
9751
|
-
function
|
9756
|
+
function Ft(e) {
|
9752
9757
|
if (e === void 0)
|
9753
9758
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
9754
9759
|
return e;
|
@@ -9771,9 +9776,9 @@ function xn(e) {
|
|
9771
9776
|
}, xn(e);
|
9772
9777
|
}
|
9773
9778
|
function jh(e, t, n) {
|
9774
|
-
return t =
|
9779
|
+
return t = qa(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
9775
9780
|
}
|
9776
|
-
function
|
9781
|
+
function qa(e) {
|
9777
9782
|
var t = Eh(e, "string");
|
9778
9783
|
return wt(t) === "symbol" ? t : String(t);
|
9779
9784
|
}
|
@@ -9789,12 +9794,12 @@ function Eh(e, t) {
|
|
9789
9794
|
}
|
9790
9795
|
return (t === "string" ? String : Number)(e);
|
9791
9796
|
}
|
9792
|
-
var an = ve, B =
|
9797
|
+
var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusable, Gr = /* @__PURE__ */ function(e) {
|
9793
9798
|
Th(n, e);
|
9794
9799
|
var t = Ih(n);
|
9795
9800
|
function n(r) {
|
9796
9801
|
var i;
|
9797
|
-
vh(this, n), i = t.call(this, r), jh(
|
9802
|
+
vh(this, n), i = t.call(this, r), jh(Ft(i), "getNodeForOption", function(l) {
|
9798
9803
|
var u, s = (u = this.internalOptions[l]) !== null && u !== void 0 ? u : this.originalOptions[l];
|
9799
9804
|
if (typeof s == "function") {
|
9800
9805
|
for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
|
@@ -9813,7 +9818,7 @@ var an = ve, B = Y, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
|
|
9813
9818
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
9814
9819
|
}
|
9815
9820
|
return d;
|
9816
|
-
}), i.handleDeactivate = i.handleDeactivate.bind(
|
9821
|
+
}), i.handleDeactivate = i.handleDeactivate.bind(Ft(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(Ft(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(Ft(i)), i.internalOptions = {
|
9817
9822
|
// We need to hijack the returnFocusOnDeactivate option,
|
9818
9823
|
// because React can move focus into the element before we arrived at
|
9819
9824
|
// this lifecycle hook (e.g. with autoFocus inputs). So the component
|
@@ -9976,7 +9981,7 @@ var an = ve, B = Y, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
|
|
9976
9981
|
return null;
|
9977
9982
|
}
|
9978
9983
|
}]), n;
|
9979
|
-
}(an.Component),
|
9984
|
+
}(an.Component), Pt = typeof Element > "u" ? Function : Element;
|
9980
9985
|
Gr.propTypes = {
|
9981
9986
|
active: B.bool,
|
9982
9987
|
paused: B.bool,
|
@@ -9992,9 +9997,9 @@ Gr.propTypes = {
|
|
9992
9997
|
onDeactivate: B.func,
|
9993
9998
|
onPostDeactivate: B.func,
|
9994
9999
|
checkCanReturnFocus: B.func,
|
9995
|
-
initialFocus: B.oneOfType([B.instanceOf(
|
10000
|
+
initialFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
|
9996
10001
|
fallbackFocus: B.oneOfType([
|
9997
|
-
B.instanceOf(
|
10002
|
+
B.instanceOf(Pt),
|
9998
10003
|
B.string,
|
9999
10004
|
// NOTE: does not support `false` as value (or return value from function)
|
10000
10005
|
B.func
|
@@ -10002,7 +10007,7 @@ Gr.propTypes = {
|
|
10002
10007
|
escapeDeactivates: B.oneOfType([B.bool, B.func]),
|
10003
10008
|
clickOutsideDeactivates: B.oneOfType([B.bool, B.func]),
|
10004
10009
|
returnFocusOnDeactivate: B.bool,
|
10005
|
-
setReturnFocus: B.oneOfType([B.instanceOf(
|
10010
|
+
setReturnFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
|
10006
10011
|
allowOutsideClick: B.oneOfType([B.bool, B.func]),
|
10007
10012
|
preventScroll: B.bool,
|
10008
10013
|
tabbableOptions: B.shape({
|
@@ -10013,12 +10018,12 @@ Gr.propTypes = {
|
|
10013
10018
|
isKeyForward: B.func,
|
10014
10019
|
isKeyBackward: B.func
|
10015
10020
|
}),
|
10016
|
-
containerElements: B.arrayOf(B.instanceOf(
|
10021
|
+
containerElements: B.arrayOf(B.instanceOf(Pt)),
|
10017
10022
|
// DOM element ONLY
|
10018
10023
|
children: B.oneOfType([
|
10019
10024
|
B.element,
|
10020
10025
|
// React element
|
10021
|
-
B.instanceOf(
|
10026
|
+
B.instanceOf(Pt)
|
10022
10027
|
// DOM element
|
10023
10028
|
])
|
10024
10029
|
// NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
|
@@ -10033,7 +10038,7 @@ Gr.defaultProps = {
|
|
10033
10038
|
};
|
10034
10039
|
var zh = Gr;
|
10035
10040
|
const Lh = /* @__PURE__ */ nt(zh);
|
10036
|
-
const
|
10041
|
+
const Ph = 991;
|
10037
10042
|
function Zr({
|
10038
10043
|
style: e,
|
10039
10044
|
className: t,
|
@@ -10041,7 +10046,7 @@ function Zr({
|
|
10041
10046
|
isNormalSize: r,
|
10042
10047
|
isMounted: i
|
10043
10048
|
}) {
|
10044
|
-
const o = vt(
|
10049
|
+
const o = vt(Ph), a = tt(null);
|
10045
10050
|
return /* @__PURE__ */ k.jsx(
|
10046
10051
|
Lh,
|
10047
10052
|
{
|
@@ -10087,7 +10092,7 @@ Zr.defaultProps = {
|
|
10087
10092
|
isNormalSize: !0,
|
10088
10093
|
isMounted: !1
|
10089
10094
|
};
|
10090
|
-
const
|
10095
|
+
const Fh = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
|
10091
10096
|
function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
|
10092
10097
|
const [r, i] = we(!0), { primaryColor: o, xpertKey: a, userTracking: l, conversationScreen: u } = We(Ge), s = Yt(
|
10093
10098
|
(m) => {
|
@@ -10107,12 +10112,12 @@ function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
|
|
10107
10112
|
);
|
10108
10113
|
Oe(() => {
|
10109
10114
|
let m, d;
|
10110
|
-
return u.liveChat.enabled && (m = document.createElement("script"), m.type = "text/javascript", m.src = u.liveChat.sourceCode, m.async = !0, m.onload = () => {
|
10115
|
+
return u.liveChat.enabled && (window.Five9ChatPlugin || (m = document.createElement("script"), m.type = "text/javascript", m.src = u.liveChat.sourceCode, m.async = !0, m.onload = () => {
|
10111
10116
|
window.Five9ChatPlugin(u.liveChat.options);
|
10112
|
-
}, document.body.appendChild(m), window.addEventListener("message", s), window.addEventListener("message", c), d = setTimeout(() => {
|
10117
|
+
}, document.body.appendChild(m)), window.addEventListener("message", s), window.addEventListener("message", c), d = setTimeout(() => {
|
10113
10118
|
i(!1);
|
10114
10119
|
}, 3e3)), () => {
|
10115
|
-
u.liveChat.enabled && (
|
10120
|
+
u.liveChat.enabled && (window.removeEventListener("message", s), window.removeEventListener("message", c), clearTimeout(d));
|
10116
10121
|
};
|
10117
10122
|
}, [
|
10118
10123
|
u.liveChat.enabled,
|
@@ -10160,7 +10165,7 @@ function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
|
|
10160
10165
|
{
|
10161
10166
|
height: "24px",
|
10162
10167
|
width: "24px",
|
10163
|
-
src:
|
10168
|
+
src: Fh,
|
10164
10169
|
alt: "Open live chat window icon"
|
10165
10170
|
}
|
10166
10171
|
)
|
@@ -10180,7 +10185,7 @@ Kr.defaultProps = {
|
|
10180
10185
|
setLiveChatOpen: null,
|
10181
10186
|
isTestUser: !1
|
10182
10187
|
};
|
10183
|
-
function
|
10188
|
+
function Va({ disableScroll: e }) {
|
10184
10189
|
const t = tt(null);
|
10185
10190
|
return Oe(() => {
|
10186
10191
|
var n;
|
@@ -10203,10 +10208,10 @@ function qa({ disableScroll: e }) {
|
|
10203
10208
|
}
|
10204
10209
|
);
|
10205
10210
|
}
|
10206
|
-
|
10211
|
+
Va.propTypes = {
|
10207
10212
|
disableScroll: N.bool
|
10208
10213
|
};
|
10209
|
-
function
|
10214
|
+
function Wa({
|
10210
10215
|
children: e,
|
10211
10216
|
cookieName: t,
|
10212
10217
|
onClick: n = () => null,
|
@@ -10292,7 +10297,7 @@ function Va({
|
|
10292
10297
|
}
|
10293
10298
|
) }) : null;
|
10294
10299
|
}
|
10295
|
-
|
10300
|
+
Wa.propTypes = {
|
10296
10301
|
children: N.node.isRequired,
|
10297
10302
|
cookieName: N.string.isRequired,
|
10298
10303
|
onClick: N.func,
|
@@ -10370,7 +10375,7 @@ const Yh = 991, Hh = () => {
|
|
10370
10375
|
}
|
10371
10376
|
) : null;
|
10372
10377
|
}, $h = Hh, qh = {
|
10373
|
-
edx:
|
10378
|
+
edx: Wo,
|
10374
10379
|
"speech-emerson": ir,
|
10375
10380
|
"get-smarter": ir,
|
10376
10381
|
"exec-ed-ss-olc-moodle": ir
|
@@ -10385,16 +10390,17 @@ function Xr({ submitEventExternal: e }) {
|
|
10385
10390
|
launchButton: o,
|
10386
10391
|
proactiveMessage: a,
|
10387
10392
|
conversationScreen: l
|
10388
|
-
} = 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,
|
10389
|
-
({ name: R, payload:
|
10390
|
-
|
10393
|
+
} = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, q] = we(!1), [M, P] = we(!0), [H, G] = we(!1), [K, A] = we(!1), [b, I] = we(!1), z = tt(null), L = tt(null), U = tt(null), _ = He.get(`${t}-test`) === "1", V = Yt(
|
10394
|
+
({ name: R, payload: oe }) => {
|
10395
|
+
const me = No(r.defaultProperties, oe);
|
10396
|
+
e ? e({ name: R, payload: me }) : U.current.track(
|
10391
10397
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
10392
10398
|
R,
|
10393
|
-
|
10399
|
+
me
|
10394
10400
|
);
|
10395
10401
|
},
|
10396
|
-
[e]
|
10397
|
-
),
|
10402
|
+
[e, r.defaultProperties]
|
10403
|
+
), re = Yt(async () => {
|
10398
10404
|
if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
|
10399
10405
|
try {
|
10400
10406
|
const R = He.get(
|
@@ -10403,7 +10409,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10403
10409
|
if (!R)
|
10404
10410
|
return;
|
10405
10411
|
d(!0);
|
10406
|
-
const
|
10412
|
+
const oe = await fetch(
|
10407
10413
|
`${n.endpoint}/xpert-chat/${R}`,
|
10408
10414
|
{
|
10409
10415
|
method: "GET",
|
@@ -10412,15 +10418,15 @@ function Xr({ submitEventExternal: e }) {
|
|
10412
10418
|
}
|
10413
10419
|
}
|
10414
10420
|
);
|
10415
|
-
if (
|
10421
|
+
if (oe.status === 404) {
|
10416
10422
|
He.remove(`${t}-conversation-history-id`);
|
10417
10423
|
return;
|
10418
10424
|
}
|
10419
|
-
if (!
|
10420
|
-
throw new rr(`HTTPError: ${
|
10421
|
-
const
|
10425
|
+
if (!oe.ok)
|
10426
|
+
throw new rr(`HTTPError: ${oe.status} ${oe.statusText}`);
|
10427
|
+
const me = await oe.json();
|
10422
10428
|
p(
|
10423
|
-
|
10429
|
+
me.map((he) => ({
|
10424
10430
|
...he,
|
10425
10431
|
disableFeedback: !0
|
10426
10432
|
}))
|
@@ -10431,16 +10437,16 @@ function Xr({ submitEventExternal: e }) {
|
|
10431
10437
|
d(!1);
|
10432
10438
|
}
|
10433
10439
|
}, [t, n.endpoint]);
|
10434
|
-
Rh(
|
10440
|
+
Rh(re), Oe(() => {
|
10435
10441
|
console.log("Chatbot - mount");
|
10436
|
-
let R,
|
10442
|
+
let R, oe;
|
10437
10443
|
return r.enabled && (R = setInterval(() => {
|
10438
10444
|
var he;
|
10439
|
-
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(
|
10440
|
-
}, 1e3),
|
10445
|
+
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));
|
10446
|
+
}, 1e3), oe = setTimeout(() => {
|
10441
10447
|
clearInterval(R);
|
10442
10448
|
}, 6e4)), () => {
|
10443
|
-
console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(
|
10449
|
+
console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(oe);
|
10444
10450
|
};
|
10445
10451
|
}, [
|
10446
10452
|
i.enabled,
|
@@ -10449,13 +10455,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10449
10455
|
r.prefix
|
10450
10456
|
]);
|
10451
10457
|
const g = (R) => {
|
10452
|
-
var
|
10453
|
-
(
|
10458
|
+
var oe, me;
|
10459
|
+
(oe = R == null ? void 0 : R.target) != null && oe.href && V({
|
10454
10460
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
10455
10461
|
payload: {
|
10456
10462
|
category: "2u",
|
10457
10463
|
label: "xpert-chatbot",
|
10458
|
-
link: (
|
10464
|
+
link: (me = R == null ? void 0 : R.target) == null ? void 0 : me.href,
|
10459
10465
|
isTestUser: _
|
10460
10466
|
}
|
10461
10467
|
});
|
@@ -10471,9 +10477,9 @@ function Xr({ submitEventExternal: e }) {
|
|
10471
10477
|
console.log(
|
10472
10478
|
`Chatbot - All things setup: ${t}, ${typeof window.analytics}, ${ue}, ${typeof window.optimizely}, ${typeof window.experiments}`
|
10473
10479
|
);
|
10474
|
-
const
|
10480
|
+
const ye = () => {
|
10475
10481
|
S(""), L.current.value = "", L.current.style.height = "auto";
|
10476
|
-
}, h = (R,
|
10482
|
+
}, h = (R, oe) => {
|
10477
10483
|
V({
|
10478
10484
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
|
10479
10485
|
payload: {
|
@@ -10482,13 +10488,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10482
10488
|
linkCount: Bh(R),
|
10483
10489
|
apiResponseMessage: R,
|
10484
10490
|
isTestUser: _,
|
10485
|
-
conversationHistoryId:
|
10491
|
+
conversationHistoryId: oe
|
10486
10492
|
}
|
10487
10493
|
});
|
10488
10494
|
}, ge = ({
|
10489
10495
|
conversationSize: R,
|
10490
|
-
userInputMessage:
|
10491
|
-
apiResponseMessage:
|
10496
|
+
userInputMessage: oe,
|
10497
|
+
apiResponseMessage: me,
|
10492
10498
|
elapsedSeconds: he,
|
10493
10499
|
conversationByteSize: je
|
10494
10500
|
}) => {
|
@@ -10499,8 +10505,8 @@ function Xr({ submitEventExternal: e }) {
|
|
10499
10505
|
label: "xpert-chatbot",
|
10500
10506
|
isTestUser: _,
|
10501
10507
|
conversationSize: R,
|
10502
|
-
userInputMessage:
|
10503
|
-
apiResponseMessage:
|
10508
|
+
userInputMessage: oe,
|
10509
|
+
apiResponseMessage: me,
|
10504
10510
|
elapsedSeconds: he,
|
10505
10511
|
conversationByteSize: je
|
10506
10512
|
}
|
@@ -10509,19 +10515,19 @@ function Xr({ submitEventExternal: e }) {
|
|
10509
10515
|
try {
|
10510
10516
|
if (R.trim().length === 0)
|
10511
10517
|
return;
|
10512
|
-
const
|
10518
|
+
const oe = /* @__PURE__ */ new Date();
|
10513
10519
|
I(!1), q(!1);
|
10514
|
-
const
|
10520
|
+
const me = c.filter((D) => D.role === "user").length + 1;
|
10515
10521
|
V({
|
10516
10522
|
name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
10517
10523
|
payload: {
|
10518
10524
|
category: "2u",
|
10519
10525
|
label: "xpert-chatbot",
|
10520
|
-
totalUserInputMessagesSent:
|
10526
|
+
totalUserInputMessagesSent: me,
|
10521
10527
|
userInputMessage: R,
|
10522
10528
|
isTestUser: _
|
10523
10529
|
}
|
10524
|
-
}),
|
10530
|
+
}), ye();
|
10525
10531
|
let he = He.get(`${t}-conversation-history-id`) || "";
|
10526
10532
|
!he && l.conversationHistory.enabled ? p([
|
10527
10533
|
{
|
@@ -10570,7 +10576,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10570
10576
|
conversationSize: c.length + 2,
|
10571
10577
|
userInputMessage: R,
|
10572
10578
|
apiResponseMessage: Xe,
|
10573
|
-
elapsedSeconds: Uh(
|
10579
|
+
elapsedSeconds: Uh(oe, jt)
|
10574
10580
|
}), p((D) => [
|
10575
10581
|
...D,
|
10576
10582
|
{
|
@@ -10578,11 +10584,11 @@ function Xr({ submitEventExternal: e }) {
|
|
10578
10584
|
content: Xe,
|
10579
10585
|
createdAt: /* @__PURE__ */ new Date()
|
10580
10586
|
}
|
10581
|
-
]), A(!1), d(!1),
|
10582
|
-
} catch (
|
10583
|
-
d(!1),
|
10587
|
+
]), A(!1), d(!1), ye(), I(!0);
|
10588
|
+
} catch (oe) {
|
10589
|
+
d(!1), ye(), q(!0), console.error(oe);
|
10584
10590
|
}
|
10585
|
-
},
|
10591
|
+
}, ie = () => {
|
10586
10592
|
v(!1), x(!0), V({
|
10587
10593
|
name: `${r.prefix}.bi.xpert.chatbot.action.button.clicked`,
|
10588
10594
|
payload: {
|
@@ -10599,7 +10605,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10599
10605
|
label: "xpert-chatbot",
|
10600
10606
|
isTestUser: _
|
10601
10607
|
}
|
10602
|
-
}),
|
10608
|
+
}), P(R);
|
10603
10609
|
}, be = () => {
|
10604
10610
|
x(!0), V({
|
10605
10611
|
name: `${r.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
|
@@ -10638,9 +10644,9 @@ function Xr({ submitEventExternal: e }) {
|
|
10638
10644
|
S(R.target.value);
|
10639
10645
|
}, It = (R) => {
|
10640
10646
|
R.key === "Enter" && C.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), De(C));
|
10641
|
-
}, Nt = (R,
|
10642
|
-
const
|
10643
|
-
name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${
|
10647
|
+
}, Nt = (R, oe = "") => {
|
10648
|
+
const me = c.map((he, je) => R === je ? (V({
|
10649
|
+
name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${oe.toLowerCase()}.clicked`,
|
10644
10650
|
payload: {
|
10645
10651
|
category: "2u",
|
10646
10652
|
label: "xpert-chatbot",
|
@@ -10651,15 +10657,15 @@ function Xr({ submitEventExternal: e }) {
|
|
10651
10657
|
}
|
10652
10658
|
}), {
|
10653
10659
|
...he,
|
10654
|
-
feedbackThumbType:
|
10660
|
+
feedbackThumbType: oe
|
10655
10661
|
}) : he);
|
10656
|
-
p(
|
10662
|
+
p(me), A(!1);
|
10657
10663
|
};
|
10658
10664
|
return (
|
10659
10665
|
// do not remove this class as it's needed to turn off chatbot
|
10660
10666
|
/* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-frontend-killswitch", children: [
|
10661
10667
|
a.enabled && /* @__PURE__ */ k.jsx(
|
10662
|
-
|
10668
|
+
Wa,
|
10663
10669
|
{
|
10664
10670
|
showMessage: !T,
|
10665
10671
|
style: u ? { ...a.style.mobile } : { ...a.style },
|
@@ -10688,7 +10694,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10688
10694
|
/* @__PURE__ */ k.jsx(
|
10689
10695
|
Wr,
|
10690
10696
|
{
|
10691
|
-
onClick:
|
10697
|
+
onClick: ie,
|
10692
10698
|
label: "Open XPERT Chatbot",
|
10693
10699
|
style: u ? { ...(ot = o.style) == null ? void 0 : ot.mobile } : { ...o.style },
|
10694
10700
|
"aria-haspopup": "dialog",
|
@@ -10718,7 +10724,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10718
10724
|
role: "dialog",
|
10719
10725
|
children: /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
10720
10726
|
/* @__PURE__ */ k.jsx(
|
10721
|
-
|
10727
|
+
Go,
|
10722
10728
|
{
|
10723
10729
|
onClose: ze,
|
10724
10730
|
isMounted: H,
|
@@ -10747,7 +10753,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10747
10753
|
handleMessageLinkClicked: g
|
10748
10754
|
}
|
10749
10755
|
),
|
10750
|
-
m && /* @__PURE__ */ k.jsx(
|
10756
|
+
m && /* @__PURE__ */ k.jsx(Va, { disableScroll: K }),
|
10751
10757
|
W && /* @__PURE__ */ k.jsx(rr, {})
|
10752
10758
|
]
|
10753
10759
|
}
|
@@ -10788,21 +10794,21 @@ Xr.propTypes = {
|
|
10788
10794
|
Xr.defaultProps = {
|
10789
10795
|
submitEventExternal: null
|
10790
10796
|
};
|
10791
|
-
const
|
10797
|
+
const Ga = ({ children: e, configurations: t = {}, xpertKey: n = null }) => {
|
10792
10798
|
const r = {
|
10793
10799
|
configurations: t,
|
10794
10800
|
xpertKey: n
|
10795
10801
|
};
|
10796
|
-
return /* @__PURE__ */ k.jsx(
|
10802
|
+
return /* @__PURE__ */ k.jsx(jo, { ...r, children: e });
|
10797
10803
|
};
|
10798
|
-
|
10804
|
+
Ga.propTypes = {
|
10799
10805
|
children: N.element,
|
10800
10806
|
configurations: N.object,
|
10801
10807
|
xpertKey: N.string
|
10802
10808
|
};
|
10803
10809
|
function Gh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
|
10804
10810
|
return /* @__PURE__ */ k.jsx(
|
10805
|
-
|
10811
|
+
Ga,
|
10806
10812
|
{
|
10807
10813
|
xpertKey: r,
|
10808
10814
|
configurations: e,
|
@@ -10819,7 +10825,7 @@ Gh.propTypes = {
|
|
10819
10825
|
};
|
10820
10826
|
export {
|
10821
10827
|
Gh as Chatbot,
|
10822
|
-
|
10823
|
-
|
10824
|
-
|
10828
|
+
Jl as EDXConfig,
|
10829
|
+
eu as EmersonSpeechConfig,
|
10830
|
+
tu as GetSmarterConfig
|
10825
10831
|
};
|