@2uinc/frontend-component-xpert-chatbot 1.35.0-beta.8 → 1.35.0
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 +299 -299
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import Et, { createContext as Wr, useState as de, useCallback as bt, useEffect as
|
1
|
+
import Et, { createContext as Wr, useState as de, useCallback as bt, useEffect as He, useMemo as or, useRef as pt, useContext as se, forwardRef as Cs, createElement as Za, useLayoutEffect as b0, Fragment as E0 } from "react";
|
2
2
|
import T0 from "react-dom";
|
3
3
|
var _r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
4
4
|
function kt(e) {
|
@@ -245,7 +245,7 @@ function O0() {
|
|
245
245
|
return Su || (Su = 1, function(e, t) {
|
246
246
|
var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", T = "[object Null]", M = "[object Object]", B = "[object Proxy]", K = "[object RegExp]", w = "[object Set]", y = "[object String]", k = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", Z = "[object DataView]", z = "[object Float32Array]", $ = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", R = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", q = "[object Uint16Array]", Y = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
|
247
247
|
S[z] = S[$] = S[L] = S[I] = S[R] = S[U] = S[W] = S[q] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[Z] = S[h] = S[p] = S[f] = S[m] = S[_] = S[M] = S[K] = S[w] = S[y] = S[G] = !1;
|
248
|
-
var le = typeof _r == "object" && _r && _r.Object === Object && _r,
|
248
|
+
var le = typeof _r == "object" && _r && _r.Object === Object && _r, Te = typeof self == "object" && self && self.Object === Object && self, me = le || Te || Function("return this")(), xe = t && !t.nodeType && t, ve = xe && !0 && e && !e.nodeType && e, Be = ve && ve.exports === xe, Oe = Be && le.process, We = function() {
|
249
249
|
try {
|
250
250
|
var A = ve && ve.require && ve.require("util").types;
|
251
251
|
return A || Oe && Oe.binding && Oe.binding("util");
|
@@ -288,9 +288,9 @@ function O0() {
|
|
288
288
|
return A ? "Symbol(src)_1." + A : "";
|
289
289
|
}(), Xt = St.toString, mn = Dt.call(Object), D = RegExp(
|
290
290
|
"^" + Dt.call(it).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
291
|
-
), V =
|
291
|
+
), V = Be ? me.Buffer : void 0, re = me.Symbol, ae = me.Uint8Array;
|
292
292
|
V && V.allocUnsafe;
|
293
|
-
var ue = hn(Object.getPrototypeOf, Object),
|
293
|
+
var ue = hn(Object.getPrototypeOf, Object), ye = Object.create, Ee = St.propertyIsEnumerable, De = pn.splice, we = re ? re.toStringTag : void 0, Ge = function() {
|
294
294
|
try {
|
295
295
|
var A = la(Object, "defineProperty");
|
296
296
|
return A({}, "", {}), A;
|
@@ -302,8 +302,8 @@ function O0() {
|
|
302
302
|
return function(N) {
|
303
303
|
if (!Qt(N))
|
304
304
|
return {};
|
305
|
-
if (
|
306
|
-
return
|
305
|
+
if (ye)
|
306
|
+
return ye(N);
|
307
307
|
A.prototype = N;
|
308
308
|
var H = new A();
|
309
309
|
return A.prototype = void 0, H;
|
@@ -355,7 +355,7 @@ function O0() {
|
|
355
355
|
if (H < 0)
|
356
356
|
return !1;
|
357
357
|
var ie = N.length - 1;
|
358
|
-
return H == ie ? N.pop() :
|
358
|
+
return H == ie ? N.pop() : De.call(N, H, 1), --this.size, !0;
|
359
359
|
}
|
360
360
|
function xd(A) {
|
361
361
|
var N = this.__data__, H = br(N, A);
|
@@ -427,13 +427,13 @@ function O0() {
|
|
427
427
|
}
|
428
428
|
bn.prototype.clear = Dd, bn.prototype.delete = wd, bn.prototype.get = Pd, bn.prototype.has = Md, bn.prototype.set = Fd;
|
429
429
|
function Bd(A, N) {
|
430
|
-
var H = fa(A), ie = !H && da(A), _e = !H && !ie && fu(A), Ie = !H && !ie && !_e && pu(A),
|
430
|
+
var H = fa(A), ie = !H && da(A), _e = !H && !ie && fu(A), Ie = !H && !ie && !_e && pu(A), Pe = H || ie || _e || Ie, Ce = Pe ? wn(A.length, String) : [], Me = Ce.length;
|
431
431
|
for (var Ct in A)
|
432
|
-
|
432
|
+
Pe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
433
433
|
(Ct == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
434
434
|
_e && (Ct == "offset" || Ct == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
435
435
|
Ie && (Ct == "buffer" || Ct == "byteLength" || Ct == "byteOffset") || // Skip index properties.
|
436
|
-
cu(Ct,
|
436
|
+
cu(Ct, Me)) || Ce.push(Ct);
|
437
437
|
return Ce;
|
438
438
|
}
|
439
439
|
function oa(A, N, H) {
|
@@ -459,7 +459,7 @@ function O0() {
|
|
459
459
|
}
|
460
460
|
var Ud = Jd();
|
461
461
|
function Er(A) {
|
462
|
-
return A == null ? A === void 0 ? k : T :
|
462
|
+
return A == null ? A === void 0 ? k : T : we && we in Object(A) ? e0(A) : u0(A);
|
463
463
|
}
|
464
464
|
function su(A) {
|
465
465
|
return Bn(A) && Er(A) == s;
|
@@ -482,27 +482,27 @@ function O0() {
|
|
482
482
|
return H;
|
483
483
|
}
|
484
484
|
function lu(A, N, H, ie, _e) {
|
485
|
-
A !== N && Ud(N, function(Ie,
|
485
|
+
A !== N && Ud(N, function(Ie, Pe) {
|
486
486
|
if (_e || (_e = new bn()), Qt(Ie))
|
487
|
-
Yd(A, N,
|
487
|
+
Yd(A, N, Pe, H, lu, ie, _e);
|
488
488
|
else {
|
489
|
-
var Ce = ie ? ie(ca(A,
|
490
|
-
Ce === void 0 && (Ce = Ie), oa(A,
|
489
|
+
var Ce = ie ? ie(ca(A, Pe), Ie, Pe + "", A, N, _e) : void 0;
|
490
|
+
Ce === void 0 && (Ce = Ie), oa(A, Pe, Ce);
|
491
491
|
}
|
492
492
|
}, mu);
|
493
493
|
}
|
494
|
-
function Yd(A, N, H, ie, _e, Ie,
|
495
|
-
var Ce = ca(A, H),
|
494
|
+
function Yd(A, N, H, ie, _e, Ie, Pe) {
|
495
|
+
var Ce = ca(A, H), Me = ca(N, H), Ct = Pe.get(Me);
|
496
496
|
if (Ct) {
|
497
497
|
oa(A, H, Ct);
|
498
498
|
return;
|
499
499
|
}
|
500
|
-
var ot = Ie ? Ie(Ce,
|
500
|
+
var ot = Ie ? Ie(Ce, Me, H + "", A, N, Pe) : void 0, Hn = ot === void 0;
|
501
501
|
if (Hn) {
|
502
|
-
var ma = fa(
|
503
|
-
ot =
|
502
|
+
var ma = fa(Me), ga = !ma && fu(Me), bu = !ma && !ga && pu(Me);
|
503
|
+
ot = Me, ma || ga || bu ? fa(Ce) ? ot = Ce : d0(Ce) ? ot = Kd(Ce) : ga ? (Hn = !1, ot = Wd(Me)) : bu ? (Hn = !1, ot = Xd(Me)) : ot = [] : f0(Me) || da(Me) ? (ot = Ce, da(Ce) ? ot = h0(Ce) : (!Qt(Ce) || pa(Ce)) && (ot = t0(Me))) : Hn = !1;
|
504
504
|
}
|
505
|
-
Hn && (
|
505
|
+
Hn && (Pe.set(Me, ot), _e(ot, Me, ie, Ie, Pe), Pe.delete(Me)), oa(A, H, ot);
|
506
506
|
}
|
507
507
|
function $d(A, N) {
|
508
508
|
return s0(o0(A, N, gu), A + "");
|
@@ -535,16 +535,16 @@ function O0() {
|
|
535
535
|
function Qd(A, N, H, ie) {
|
536
536
|
var _e = !H;
|
537
537
|
H || (H = {});
|
538
|
-
for (var Ie = -1,
|
539
|
-
var Ce = N[Ie],
|
540
|
-
|
538
|
+
for (var Ie = -1, Pe = N.length; ++Ie < Pe; ) {
|
539
|
+
var Ce = N[Ie], Me = void 0;
|
540
|
+
Me === void 0 && (Me = A[Ce]), _e ? sa(H, Ce, Me) : Hd(H, Ce, Me);
|
541
541
|
}
|
542
542
|
return H;
|
543
543
|
}
|
544
544
|
function Zd(A) {
|
545
545
|
return $d(function(N, H) {
|
546
|
-
var ie = -1, _e = H.length, Ie = _e > 1 ? H[_e - 1] : void 0,
|
547
|
-
for (Ie = A.length > 3 && typeof Ie == "function" ? (_e--, Ie) : void 0,
|
546
|
+
var ie = -1, _e = H.length, Ie = _e > 1 ? H[_e - 1] : void 0, Pe = _e > 2 ? H[2] : void 0;
|
547
|
+
for (Ie = A.length > 3 && typeof Ie == "function" ? (_e--, Ie) : void 0, Pe && n0(H[0], H[1], Pe) && (Ie = _e < 3 ? void 0 : Ie, _e = 1), N = Object(N); ++ie < _e; ) {
|
548
548
|
var Ce = H[ie];
|
549
549
|
Ce && A(N, Ce, ie, Ie);
|
550
550
|
}
|
@@ -553,9 +553,9 @@ function O0() {
|
|
553
553
|
}
|
554
554
|
function Jd(A) {
|
555
555
|
return function(N, H, ie) {
|
556
|
-
for (var _e = -1, Ie = Object(N),
|
557
|
-
var
|
558
|
-
if (H(Ie[
|
556
|
+
for (var _e = -1, Ie = Object(N), Pe = ie(N), Ce = Pe.length; Ce--; ) {
|
557
|
+
var Me = Pe[++_e];
|
558
|
+
if (H(Ie[Me], Me, Ie) === !1)
|
559
559
|
break;
|
560
560
|
}
|
561
561
|
return N;
|
@@ -570,14 +570,14 @@ function O0() {
|
|
570
570
|
return jd(H) ? H : void 0;
|
571
571
|
}
|
572
572
|
function e0(A) {
|
573
|
-
var N = it.call(A,
|
573
|
+
var N = it.call(A, we), H = A[we];
|
574
574
|
try {
|
575
|
-
A[
|
575
|
+
A[we] = void 0;
|
576
576
|
var ie = !0;
|
577
577
|
} catch {
|
578
578
|
}
|
579
579
|
var _e = Xt.call(A);
|
580
|
-
return ie && (N ? A[
|
580
|
+
return ie && (N ? A[we] = H : delete A[we]), _e;
|
581
581
|
}
|
582
582
|
function t0(A) {
|
583
583
|
return typeof A.constructor == "function" && !du(A) ? bd(ue(A)) : {};
|
@@ -615,12 +615,12 @@ function O0() {
|
|
615
615
|
}
|
616
616
|
function o0(A, N, H) {
|
617
617
|
return N = ut(N === void 0 ? A.length - 1 : N, 0), function() {
|
618
|
-
for (var ie = arguments, _e = -1, Ie = ut(ie.length - N, 0),
|
619
|
-
|
618
|
+
for (var ie = arguments, _e = -1, Ie = ut(ie.length - N, 0), Pe = Array(Ie); ++_e < Ie; )
|
619
|
+
Pe[_e] = ie[N + _e];
|
620
620
|
_e = -1;
|
621
621
|
for (var Ce = Array(N + 1); ++_e < N; )
|
622
622
|
Ce[_e] = ie[_e];
|
623
|
-
return Ce[N] = H(
|
623
|
+
return Ce[N] = H(Pe), _t(A, this, Ce);
|
624
624
|
};
|
625
625
|
}
|
626
626
|
function ca(A, N) {
|
@@ -1427,7 +1427,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1427
1427
|
if (!e)
|
1428
1428
|
throw new Error("id is required");
|
1429
1429
|
return M0[e] || {};
|
1430
|
-
},
|
1430
|
+
}, Ue = Wr({}), vs = ({
|
1431
1431
|
children: e,
|
1432
1432
|
clientId: t = null,
|
1433
1433
|
configurations: n = null,
|
@@ -1439,7 +1439,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1439
1439
|
if (u(!1), t)
|
1440
1440
|
try {
|
1441
1441
|
const p = await fetch(
|
1442
|
-
`https://xpert-api-services.
|
1442
|
+
`https://xpert-api-services.prod.ai.2u.com/v1/client?client_id=${t}`,
|
1443
1443
|
{
|
1444
1444
|
method: "GET",
|
1445
1445
|
headers: {
|
@@ -1466,7 +1466,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1466
1466
|
u(!0);
|
1467
1467
|
}
|
1468
1468
|
}, [t, r]);
|
1469
|
-
|
1469
|
+
He(() => {
|
1470
1470
|
c();
|
1471
1471
|
}, [c]);
|
1472
1472
|
const d = or(
|
@@ -1474,7 +1474,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1474
1474
|
[n, s]
|
1475
1475
|
), h = or(() => t || r ? i : !!n, [t, i, n, r]);
|
1476
1476
|
return /* @__PURE__ */ v.jsx(
|
1477
|
-
|
1477
|
+
Ue.Provider,
|
1478
1478
|
{
|
1479
1479
|
value: {
|
1480
1480
|
...d,
|
@@ -1610,7 +1610,7 @@ const Lt = Wr({}), Os = x.shape({
|
|
1610
1610
|
onFeedbackSelection: r,
|
1611
1611
|
onMessageSent: a
|
1612
1612
|
}) => {
|
1613
|
-
const i = pt(null), { id: u } = se(
|
1613
|
+
const i = pt(null), { id: u } = se(Ue), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = bt(() => {
|
1614
1614
|
l(null), d(!1), p([]), ft.remove(`${u}-conversation-history-id`);
|
1615
1615
|
}, [u, l]), m = {
|
1616
1616
|
contentRef: i,
|
@@ -1639,7 +1639,7 @@ const xu = 991, B0 = () => {
|
|
1639
1639
|
const [e, t] = de(
|
1640
1640
|
window.innerWidth < xu
|
1641
1641
|
);
|
1642
|
-
return
|
1642
|
+
return He(() => {
|
1643
1643
|
const n = () => {
|
1644
1644
|
t(window.innerWidth < xu);
|
1645
1645
|
};
|
@@ -1752,12 +1752,12 @@ eyes follow your mouse when you hover near it.`, Ls = ({
|
|
1752
1752
|
handleFloatingActionButtonClick: e = null
|
1753
1753
|
}) => {
|
1754
1754
|
var f, b, m, _;
|
1755
|
-
const { id: t, launchButton: n } = se(
|
1755
|
+
const { id: t, launchButton: n } = se(Ue), { isMobile: r } = se(Ze), a = !ft.get(
|
1756
1756
|
`${t}-proactive-message-xpert-chatbot`
|
1757
1757
|
), i = pt(null), u = pt(!1), s = a ? (f = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : f.delayMs : ((b = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : b.delayMs) * 2, [l, c] = de(!1), d = window.matchMedia(
|
1758
1758
|
`(max-width: ${j0}px)`
|
1759
1759
|
).matches;
|
1760
|
-
|
1760
|
+
He(() => {
|
1761
1761
|
const M = setTimeout(
|
1762
1762
|
() => {
|
1763
1763
|
c(!0);
|
@@ -1767,7 +1767,7 @@ eyes follow your mouse when you hover near it.`, Ls = ({
|
|
1767
1767
|
return () => {
|
1768
1768
|
clearTimeout(M);
|
1769
1769
|
};
|
1770
|
-
}, [s]),
|
1770
|
+
}, [s]), He(() => {
|
1771
1771
|
const T = (M) => {
|
1772
1772
|
const B = window.devicePixelRatio > 1.5;
|
1773
1773
|
if (!(u != null && u.current) || d || B)
|
@@ -1961,7 +1961,7 @@ const z0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
|
|
1961
1961
|
handleFloatingActionButtonClick: e = null
|
1962
1962
|
}) => {
|
1963
1963
|
var r, a;
|
1964
|
-
const { launchButton: t } = se(
|
1964
|
+
const { launchButton: t } = se(Ue), { isMobile: n } = se(Ze);
|
1965
1965
|
return /* @__PURE__ */ v.jsx(
|
1966
1966
|
xi,
|
1967
1967
|
{
|
@@ -2427,10 +2427,10 @@ var ku = {
|
|
2427
2427
|
*/
|
2428
2428
|
nextTabbableNode: function(oe) {
|
2429
2429
|
var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, le = I.indexOf(oe);
|
2430
|
-
return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(
|
2431
|
-
return tn(
|
2432
|
-
}) : R.slice(0, R.indexOf(oe)).reverse().find(function(
|
2433
|
-
return tn(
|
2430
|
+
return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(Te) {
|
2431
|
+
return tn(Te);
|
2432
|
+
}) : R.slice(0, R.indexOf(oe)).reverse().find(function(Te) {
|
2433
|
+
return tn(Te);
|
2434
2434
|
}) : I[le + (S ? 1 : -1)];
|
2435
2435
|
}
|
2436
2436
|
};
|
@@ -2484,7 +2484,7 @@ var ku = {
|
|
2484
2484
|
return I === ve;
|
2485
2485
|
});
|
2486
2486
|
if (le < 0 && (g.container === I || kr(I, i.tabbableOptions) && !tn(I, i.tabbableOptions) && !g.nextTabbableNode(I)) && (le = Y), le >= 0) {
|
2487
|
-
var
|
2487
|
+
var Te = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[Te];
|
2488
2488
|
q = $t(I) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
|
2489
2489
|
} else Qn(R) || (q = g.nextTabbableNode(I));
|
2490
2490
|
}
|
@@ -3030,7 +3030,7 @@ qs.propTypes = {
|
|
3030
3030
|
className: x.string
|
3031
3031
|
};
|
3032
3032
|
function zs({ children: e, isMounted: t }) {
|
3033
|
-
const { widgetMode: n } = se(
|
3033
|
+
const { widgetMode: n } = se(Ue);
|
3034
3034
|
return n ? /* @__PURE__ */ v.jsx(qs, { isMounted: t, children: e }) : /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot_inline", children: e });
|
3035
3035
|
}
|
3036
3036
|
zs.propTypes = {
|
@@ -3038,8 +3038,8 @@ zs.propTypes = {
|
|
3038
3038
|
isMounted: x.bool
|
3039
3039
|
};
|
3040
3040
|
const Ys = () => {
|
3041
|
-
const { disclaimer: e } = se(
|
3042
|
-
return
|
3041
|
+
const { disclaimer: e } = se(Ue), t = pt(null);
|
3042
|
+
return He(() => {
|
3043
3043
|
var n;
|
3044
3044
|
(n = t == null ? void 0 : t.current) == null || n.focus();
|
3045
3045
|
}, []), /* @__PURE__ */ v.jsxs(
|
@@ -4254,7 +4254,7 @@ function rl(e) {
|
|
4254
4254
|
});
|
4255
4255
|
} else m && ((f = e.onLoad) === null || f === void 0 || f.call(e, b));
|
4256
4256
|
}
|
4257
|
-
|
4257
|
+
He(() => (n(!0), l), []), He(() => {
|
4258
4258
|
t && d();
|
4259
4259
|
}, [e.icon, t]);
|
4260
4260
|
const { name: h, data: p } = u;
|
@@ -4281,8 +4281,8 @@ function ki({
|
|
4281
4281
|
value: i
|
4282
4282
|
}) {
|
4283
4283
|
var b;
|
4284
|
-
const { conversationScreen: u, primaryColor: s } = se(
|
4285
|
-
|
4284
|
+
const { conversationScreen: u, primaryColor: s } = se(Ue), { isConversationLoading: l } = se(Lt), { hasError: c, hasNewMessage: d } = se(Ze);
|
4285
|
+
He(() => {
|
4286
4286
|
var m;
|
4287
4287
|
(c || d) && ((m = a.current) == null || m.focus());
|
4288
4288
|
}, [d, c, a]);
|
@@ -4354,7 +4354,7 @@ ki.propTypes = {
|
|
4354
4354
|
};
|
4355
4355
|
const ui = ({ content: e = "Please try again later." }) => {
|
4356
4356
|
const t = pt(null);
|
4357
|
-
return
|
4357
|
+
return He(() => {
|
4358
4358
|
var n;
|
4359
4359
|
(n = t.current) == null || n.scrollIntoView({
|
4360
4360
|
behavior: "instant"
|
@@ -4473,7 +4473,7 @@ function Li({
|
|
4473
4473
|
userTrackingName: s = "clicked"
|
4474
4474
|
}) {
|
4475
4475
|
var T, M, B, K;
|
4476
|
-
const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(
|
4476
|
+
const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(Ue), b = bt(
|
4477
4477
|
(w) => {
|
4478
4478
|
var y, k, G, F;
|
4479
4479
|
((y = w == null ? void 0 : w.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && ft.set(`${h}-live-chat-open`, 1, {
|
@@ -4489,7 +4489,7 @@ function Li({
|
|
4489
4489
|
},
|
4490
4490
|
[a]
|
4491
4491
|
);
|
4492
|
-
|
4492
|
+
He(() => {
|
4493
4493
|
var k, G, F, Z;
|
4494
4494
|
let w, y;
|
4495
4495
|
return (k = f == null ? void 0 : f.liveChat) != null && k.useOwnChat && (y = setTimeout(() => {
|
@@ -6434,8 +6434,8 @@ function e1(e, t, n) {
|
|
6434
6434
|
}
|
6435
6435
|
function _(S) {
|
6436
6436
|
if (S === null || S === 47 || S === 62 || tt(S)) {
|
6437
|
-
const le = S === 47,
|
6438
|
-
return !le && !i && lo.includes(
|
6437
|
+
const le = S === 47, Te = u.toLowerCase();
|
6438
|
+
return !le && !i && lo.includes(Te) ? (a = 1, r.interrupt ? t(S) : $(S)) : Xp.includes(u.toLowerCase()) ? (a = 6, le ? (e.consume(S), T) : r.interrupt ? t(S) : $(S)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(S) : i ? M(S) : B(S));
|
6439
6439
|
}
|
6440
6440
|
return S === 45 || ht(S) ? (e.consume(S), u += String.fromCharCode(S), _) : n(S);
|
6441
6441
|
}
|
@@ -7270,10 +7270,10 @@ function P1(e, t, n) {
|
|
7270
7270
|
function ne(me) {
|
7271
7271
|
return xe;
|
7272
7272
|
function xe(ve) {
|
7273
|
-
const
|
7273
|
+
const Be = ve !== null && me[ve], Oe = ve !== null && me.null, We = [
|
7274
7274
|
// To do: add more extension tests.
|
7275
7275
|
/* c8 ignore next 2 */
|
7276
|
-
...Array.isArray(
|
7276
|
+
...Array.isArray(Be) ? Be : Be ? [Be] : [],
|
7277
7277
|
...Array.isArray(Oe) ? Oe : Oe ? [Oe] : []
|
7278
7278
|
];
|
7279
7279
|
return oe(We)(ve);
|
@@ -7285,21 +7285,21 @@ function P1(e, t, n) {
|
|
7285
7285
|
function S(me) {
|
7286
7286
|
return xe;
|
7287
7287
|
function xe(ve) {
|
7288
|
-
return g = F(), Y = me, me.partial || (c.currentConstruct = me), me.name && c.parser.constructs.disable.null.includes(me.name) ?
|
7288
|
+
return g = F(), Y = me, me.partial || (c.currentConstruct = me), me.name && c.parser.constructs.disable.null.includes(me.name) ? Te() : me.tokenize.call(
|
7289
7289
|
// If we do have fields, create an object w/ `context` as its
|
7290
7290
|
// prototype.
|
7291
7291
|
// This allows a “live binding”, which is needed for `interrupt`.
|
7292
7292
|
$ ? Object.assign(Object.create(c), $) : c,
|
7293
7293
|
l,
|
7294
7294
|
le,
|
7295
|
-
|
7295
|
+
Te
|
7296
7296
|
)(ve);
|
7297
7297
|
}
|
7298
7298
|
}
|
7299
7299
|
function le(me) {
|
7300
7300
|
return z(Y, g), R;
|
7301
7301
|
}
|
7302
|
-
function
|
7302
|
+
function Te(me) {
|
7303
7303
|
return g.restore(), ++q < W.length ? S(W[q]) : U;
|
7304
7304
|
}
|
7305
7305
|
}
|
@@ -7592,7 +7592,7 @@ function tm(e) {
|
|
7592
7592
|
listOrdered: s(jt, f),
|
7593
7593
|
listUnordered: s(jt),
|
7594
7594
|
paragraph: s(it),
|
7595
|
-
reference:
|
7595
|
+
reference: Te,
|
7596
7596
|
referenceString: l,
|
7597
7597
|
resourceDestinationString: l,
|
7598
7598
|
resourceTitleString: l,
|
@@ -7605,7 +7605,7 @@ function tm(e) {
|
|
7605
7605
|
atxHeadingSequence: k,
|
7606
7606
|
autolink: d(),
|
7607
7607
|
autolinkEmail: Oe,
|
7608
|
-
autolinkProtocol:
|
7608
|
+
autolinkProtocol: Be,
|
7609
7609
|
blockQuote: d(),
|
7610
7610
|
characterEscapeValue: $,
|
7611
7611
|
characterReferenceMarkerHexadecimal: xe,
|
@@ -7676,12 +7676,12 @@ function tm(e) {
|
|
7676
7676
|
if (D[ue][0] === "enter")
|
7677
7677
|
ae.push(ue);
|
7678
7678
|
else {
|
7679
|
-
const
|
7680
|
-
ue = a(D,
|
7679
|
+
const ye = ae.pop();
|
7680
|
+
ue = a(D, ye, ue);
|
7681
7681
|
}
|
7682
7682
|
for (ue = -1; ++ue < D.length; ) {
|
7683
|
-
const
|
7684
|
-
yl.call(
|
7683
|
+
const ye = t[D[ue][0]];
|
7684
|
+
yl.call(ye, D[ue][1].type) && ye[D[ue][1].type].call(
|
7685
7685
|
Object.assign(
|
7686
7686
|
{
|
7687
7687
|
sliceSerialize: D[ue][2].sliceSerialize
|
@@ -7692,8 +7692,8 @@ function tm(e) {
|
|
7692
7692
|
);
|
7693
7693
|
}
|
7694
7694
|
if (re.tokenStack.length > 0) {
|
7695
|
-
const
|
7696
|
-
(
|
7695
|
+
const ye = re.tokenStack[re.tokenStack.length - 1];
|
7696
|
+
(ye[1] || ho).call(re, void 0, ye[0]);
|
7697
7697
|
}
|
7698
7698
|
for (V.position = {
|
7699
7699
|
start: qt(
|
@@ -7715,23 +7715,23 @@ function tm(e) {
|
|
7715
7715
|
return V;
|
7716
7716
|
}
|
7717
7717
|
function a(D, V, re) {
|
7718
|
-
let ae = V - 1, ue = -1,
|
7718
|
+
let ae = V - 1, ue = -1, ye = !1, Ee, De, we, Ge;
|
7719
7719
|
for (; ++ae <= re; ) {
|
7720
7720
|
const ge = D[ae];
|
7721
|
-
if (ge[1].type === "listUnordered" || ge[1].type === "listOrdered" || ge[1].type === "blockQuote" ? (ge[0] === "enter" ? ue++ : ue--, Ge = void 0) : ge[1].type === "lineEndingBlank" ? ge[0] === "enter" && (Ee && !Ge && !ue && !
|
7721
|
+
if (ge[1].type === "listUnordered" || ge[1].type === "listOrdered" || ge[1].type === "blockQuote" ? (ge[0] === "enter" ? ue++ : ue--, Ge = void 0) : ge[1].type === "lineEndingBlank" ? ge[0] === "enter" && (Ee && !Ge && !ue && !we && (we = ae), Ge = void 0) : ge[1].type === "linePrefix" || ge[1].type === "listItemValue" || ge[1].type === "listItemMarker" || ge[1].type === "listItemPrefix" || ge[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !ue && ge[0] === "enter" && ge[1].type === "listItemPrefix" || ue === -1 && ge[0] === "exit" && (ge[1].type === "listUnordered" || ge[1].type === "listOrdered")) {
|
7722
7722
|
if (Ee) {
|
7723
7723
|
let ut = ae;
|
7724
|
-
for (
|
7724
|
+
for (De = void 0; ut--; ) {
|
7725
7725
|
const Xe = D[ut];
|
7726
7726
|
if (Xe[1].type === "lineEnding" || Xe[1].type === "lineEndingBlank") {
|
7727
7727
|
if (Xe[0] === "exit") continue;
|
7728
|
-
|
7728
|
+
De && (D[De][1].type = "lineEndingBlank", ye = !0), Xe[1].type = "lineEnding", De = ut;
|
7729
7729
|
} else if (!(Xe[1].type === "linePrefix" || Xe[1].type === "blockQuotePrefix" || Xe[1].type === "blockQuotePrefixWhitespace" || Xe[1].type === "blockQuoteMarker" || Xe[1].type === "listItemIndent")) break;
|
7730
7730
|
}
|
7731
|
-
|
7731
|
+
we && (!De || we < De) && (Ee._spread = !0), Ee.end = Object.assign(
|
7732
7732
|
{},
|
7733
|
-
|
7734
|
-
), D.splice(
|
7733
|
+
De ? D[De][1].start : ge[1].end
|
7734
|
+
), D.splice(De || ae, 0, ["exit", Ee, ge[2]]), ae++, re++;
|
7735
7735
|
}
|
7736
7736
|
ge[1].type === "listItemPrefix" && (Ee = {
|
7737
7737
|
type: "listItem",
|
@@ -7739,10 +7739,10 @@ function tm(e) {
|
|
7739
7739
|
start: Object.assign({}, ge[1].start),
|
7740
7740
|
// @ts-expect-error: we’ll add `end` in a second.
|
7741
7741
|
end: void 0
|
7742
|
-
}, D.splice(ae, 0, ["enter", Ee, ge[2]]), ae++, re++,
|
7742
|
+
}, D.splice(ae, 0, ["enter", Ee, ge[2]]), ae++, re++, we = void 0, Ge = !0);
|
7743
7743
|
}
|
7744
7744
|
}
|
7745
|
-
return D[V][1]._spread =
|
7745
|
+
return D[V][1]._spread = ye, re;
|
7746
7746
|
}
|
7747
7747
|
function i(D, V) {
|
7748
7748
|
n[D] = V;
|
@@ -7923,7 +7923,7 @@ function tm(e) {
|
|
7923
7923
|
function le() {
|
7924
7924
|
i("inReference");
|
7925
7925
|
}
|
7926
|
-
function
|
7926
|
+
function Te() {
|
7927
7927
|
i("referenceType", "collapsed");
|
7928
7928
|
}
|
7929
7929
|
function me(D) {
|
@@ -7945,7 +7945,7 @@ function tm(e) {
|
|
7945
7945
|
const ue = this.stack.pop();
|
7946
7946
|
ue.value += ae, ue.position.end = qt(D.end);
|
7947
7947
|
}
|
7948
|
-
function
|
7948
|
+
function Be(D) {
|
7949
7949
|
$.call(this, D);
|
7950
7950
|
const V = this.stack[this.stack.length - 1];
|
7951
7951
|
V.url = this.sliceSerialize(D);
|
@@ -8927,14 +8927,14 @@ yt.prototype.commaOrSpaceSeparated = !1;
|
|
8927
8927
|
yt.prototype.mustUseProperty = !1;
|
8928
8928
|
yt.prototype.defined = !1;
|
8929
8929
|
let Km = 0;
|
8930
|
-
const fe = un(),
|
8930
|
+
const fe = un(), qe = un(), kl = un(), J = un(), Ne = un(), Cn = un(), lt = un();
|
8931
8931
|
function un() {
|
8932
8932
|
return 2 ** ++Km;
|
8933
8933
|
}
|
8934
8934
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
8935
8935
|
__proto__: null,
|
8936
8936
|
boolean: fe,
|
8937
|
-
booleanish:
|
8937
|
+
booleanish: qe,
|
8938
8938
|
commaOrSpaceSeparated: lt,
|
8939
8939
|
commaSeparated: Cn,
|
8940
8940
|
number: J,
|
@@ -9016,10 +9016,10 @@ const Pl = In({
|
|
9016
9016
|
},
|
9017
9017
|
properties: {
|
9018
9018
|
ariaActiveDescendant: null,
|
9019
|
-
ariaAtomic:
|
9019
|
+
ariaAtomic: qe,
|
9020
9020
|
ariaAutoComplete: null,
|
9021
|
-
ariaBusy:
|
9022
|
-
ariaChecked:
|
9021
|
+
ariaBusy: qe,
|
9022
|
+
ariaChecked: qe,
|
9023
9023
|
ariaColCount: J,
|
9024
9024
|
ariaColIndex: J,
|
9025
9025
|
ariaColSpan: J,
|
@@ -9027,36 +9027,36 @@ const Pl = In({
|
|
9027
9027
|
ariaCurrent: null,
|
9028
9028
|
ariaDescribedBy: Ne,
|
9029
9029
|
ariaDetails: null,
|
9030
|
-
ariaDisabled:
|
9030
|
+
ariaDisabled: qe,
|
9031
9031
|
ariaDropEffect: Ne,
|
9032
9032
|
ariaErrorMessage: null,
|
9033
|
-
ariaExpanded:
|
9033
|
+
ariaExpanded: qe,
|
9034
9034
|
ariaFlowTo: Ne,
|
9035
|
-
ariaGrabbed:
|
9035
|
+
ariaGrabbed: qe,
|
9036
9036
|
ariaHasPopup: null,
|
9037
|
-
ariaHidden:
|
9037
|
+
ariaHidden: qe,
|
9038
9038
|
ariaInvalid: null,
|
9039
9039
|
ariaKeyShortcuts: null,
|
9040
9040
|
ariaLabel: null,
|
9041
9041
|
ariaLabelledBy: Ne,
|
9042
9042
|
ariaLevel: J,
|
9043
9043
|
ariaLive: null,
|
9044
|
-
ariaModal:
|
9045
|
-
ariaMultiLine:
|
9046
|
-
ariaMultiSelectable:
|
9044
|
+
ariaModal: qe,
|
9045
|
+
ariaMultiLine: qe,
|
9046
|
+
ariaMultiSelectable: qe,
|
9047
9047
|
ariaOrientation: null,
|
9048
9048
|
ariaOwns: Ne,
|
9049
9049
|
ariaPlaceholder: null,
|
9050
9050
|
ariaPosInSet: J,
|
9051
|
-
ariaPressed:
|
9052
|
-
ariaReadOnly:
|
9051
|
+
ariaPressed: qe,
|
9052
|
+
ariaReadOnly: qe,
|
9053
9053
|
ariaRelevant: null,
|
9054
|
-
ariaRequired:
|
9054
|
+
ariaRequired: qe,
|
9055
9055
|
ariaRoleDescription: Ne,
|
9056
9056
|
ariaRowCount: J,
|
9057
9057
|
ariaRowIndex: J,
|
9058
9058
|
ariaRowSpan: J,
|
9059
|
-
ariaSelected:
|
9059
|
+
ariaSelected: qe,
|
9060
9060
|
ariaSetSize: J,
|
9061
9061
|
ariaSort: null,
|
9062
9062
|
ariaValueMax: J,
|
@@ -9102,7 +9102,7 @@ const Pl = In({
|
|
9102
9102
|
cols: J,
|
9103
9103
|
colSpan: null,
|
9104
9104
|
content: null,
|
9105
|
-
contentEditable:
|
9105
|
+
contentEditable: qe,
|
9106
9106
|
controls: fe,
|
9107
9107
|
controlsList: Ne,
|
9108
9108
|
coords: J | Cn,
|
@@ -9116,7 +9116,7 @@ const Pl = In({
|
|
9116
9116
|
dirName: null,
|
9117
9117
|
disabled: fe,
|
9118
9118
|
download: kl,
|
9119
|
-
draggable:
|
9119
|
+
draggable: qe,
|
9120
9120
|
encType: null,
|
9121
9121
|
enterKeyHint: null,
|
9122
9122
|
fetchPriority: null,
|
@@ -9287,7 +9287,7 @@ const Pl = In({
|
|
9287
9287
|
sizes: null,
|
9288
9288
|
slot: null,
|
9289
9289
|
span: J,
|
9290
|
-
spellCheck:
|
9290
|
+
spellCheck: qe,
|
9291
9291
|
src: null,
|
9292
9292
|
srcDoc: null,
|
9293
9293
|
srcLang: null,
|
@@ -9302,7 +9302,7 @@ const Pl = In({
|
|
9302
9302
|
type: null,
|
9303
9303
|
typeMustMatch: fe,
|
9304
9304
|
useMap: null,
|
9305
|
-
value:
|
9305
|
+
value: qe,
|
9306
9306
|
width: J,
|
9307
9307
|
wrap: null,
|
9308
9308
|
writingSuggestions: null,
|
@@ -9394,7 +9394,7 @@ const Pl = In({
|
|
9394
9394
|
// `<table>`
|
9395
9395
|
scheme: null,
|
9396
9396
|
// `<meta>`
|
9397
|
-
scrolling:
|
9397
|
+
scrolling: qe,
|
9398
9398
|
// `<frame>`. Use overflow in the child context
|
9399
9399
|
standby: null,
|
9400
9400
|
// `<object>`
|
@@ -10676,12 +10676,12 @@ function I2() {
|
|
10676
10676
|
}, R.valueOf = function() {
|
10677
10677
|
return this.$d.getTime();
|
10678
10678
|
}, R.startOf = function(U, W) {
|
10679
|
-
var q = this, Y = !!z.u(W) || W, g = z.p(U), ne = function(
|
10680
|
-
var We = z.w(q.$u ? Date.UTC(q.$y, Oe,
|
10679
|
+
var q = this, Y = !!z.u(W) || W, g = z.p(U), ne = function(Be, Oe) {
|
10680
|
+
var We = z.w(q.$u ? Date.UTC(q.$y, Oe, Be) : new Date(q.$y, Oe, Be), q);
|
10681
10681
|
return Y ? We : We.endOf(c);
|
10682
|
-
}, oe = function(
|
10683
|
-
return z.w(q.toDate()[
|
10684
|
-
}, S = this.$W, le = this.$M,
|
10682
|
+
}, oe = function(Be, Oe) {
|
10683
|
+
return z.w(q.toDate()[Be].apply(q.toDate("s"), (Y ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Oe)), q);
|
10684
|
+
}, S = this.$W, le = this.$M, Te = this.$D, me = "set" + (this.$u ? "UTC" : "");
|
10685
10685
|
switch (g) {
|
10686
10686
|
case f:
|
10687
10687
|
return Y ? ne(1, 0) : ne(31, 11);
|
@@ -10689,7 +10689,7 @@ function I2() {
|
|
10689
10689
|
return Y ? ne(1, le) : ne(0, le + 1);
|
10690
10690
|
case d:
|
10691
10691
|
var xe = this.$locale().weekStart || 0, ve = (S < xe ? S + 7 : S) - xe;
|
10692
|
-
return ne(Y ?
|
10692
|
+
return ne(Y ? Te - ve : Te + (6 - ve), le);
|
10693
10693
|
case c:
|
10694
10694
|
case b:
|
10695
10695
|
return oe(me + "Hours", 0);
|
@@ -10719,8 +10719,8 @@ function I2() {
|
|
10719
10719
|
var q, Y = this;
|
10720
10720
|
U = Number(U);
|
10721
10721
|
var g = z.p(W), ne = function(le) {
|
10722
|
-
var
|
10723
|
-
return z.w(
|
10722
|
+
var Te = Z(Y);
|
10723
|
+
return z.w(Te.date(Te.date() + Math.round(le * U)), Y);
|
10724
10724
|
};
|
10725
10725
|
if (g === h) return this.set(h, this.$M + U);
|
10726
10726
|
if (g === f) return this.set(f, this.$y + U);
|
@@ -10733,11 +10733,11 @@ function I2() {
|
|
10733
10733
|
}, R.format = function(U) {
|
10734
10734
|
var W = this, q = this.$locale();
|
10735
10735
|
if (!this.isValid()) return q.invalidDate || m;
|
10736
|
-
var Y = U || "YYYY-MM-DDTHH:mm:ssZ", g = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays,
|
10736
|
+
var Y = U || "YYYY-MM-DDTHH:mm:ssZ", g = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays, Te = q.months, me = q.meridiem, xe = function(Oe, We, at, _t) {
|
10737
10737
|
return Oe && (Oe[We] || Oe(W, Y)) || at[We].slice(0, _t);
|
10738
10738
|
}, ve = function(Oe) {
|
10739
10739
|
return z.s(ne % 12 || 12, Oe, "0");
|
10740
|
-
},
|
10740
|
+
}, Be = me || function(Oe, We, at) {
|
10741
10741
|
var _t = Oe < 12 ? "AM" : "PM";
|
10742
10742
|
return at ? _t.toLowerCase() : _t;
|
10743
10743
|
};
|
@@ -10753,9 +10753,9 @@ function I2() {
|
|
10753
10753
|
case "MM":
|
10754
10754
|
return z.s(S + 1, 2, "0");
|
10755
10755
|
case "MMM":
|
10756
|
-
return xe(q.monthsShort, S,
|
10756
|
+
return xe(q.monthsShort, S, Te, 3);
|
10757
10757
|
case "MMMM":
|
10758
|
-
return xe(
|
10758
|
+
return xe(Te, S);
|
10759
10759
|
case "D":
|
10760
10760
|
return W.$D;
|
10761
10761
|
case "DD":
|
@@ -10777,9 +10777,9 @@ function I2() {
|
|
10777
10777
|
case "hh":
|
10778
10778
|
return ve(2);
|
10779
10779
|
case "a":
|
10780
|
-
return
|
10780
|
+
return Be(ne, oe, !0);
|
10781
10781
|
case "A":
|
10782
|
-
return
|
10782
|
+
return Be(ne, oe, !1);
|
10783
10783
|
case "m":
|
10784
10784
|
return String(oe);
|
10785
10785
|
case "mm":
|
@@ -10799,18 +10799,18 @@ function I2() {
|
|
10799
10799
|
}, R.utcOffset = function() {
|
10800
10800
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
10801
10801
|
}, R.diff = function(U, W, q) {
|
10802
|
-
var Y, g = this, ne = z.p(W), oe = Z(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe,
|
10802
|
+
var Y, g = this, ne = z.p(W), oe = Z(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, Te = function() {
|
10803
10803
|
return z.m(g, oe);
|
10804
10804
|
};
|
10805
10805
|
switch (ne) {
|
10806
10806
|
case f:
|
10807
|
-
Y =
|
10807
|
+
Y = Te() / 12;
|
10808
10808
|
break;
|
10809
10809
|
case h:
|
10810
|
-
Y =
|
10810
|
+
Y = Te();
|
10811
10811
|
break;
|
10812
10812
|
case p:
|
10813
|
-
Y =
|
10813
|
+
Y = Te() / 3;
|
10814
10814
|
break;
|
10815
10815
|
case d:
|
10816
10816
|
Y = (le - S) / 6048e5;
|
@@ -11101,14 +11101,14 @@ nt.prototype.property = "";
|
|
11101
11101
|
nt.prototype.spaceSeparated = !1;
|
11102
11102
|
nt.prototype.space = void 0;
|
11103
11103
|
let H2 = 0;
|
11104
|
-
const he = on(),
|
11104
|
+
const he = on(), ze = on(), Gl = on(), ee = on(), ke = on(), An = on(), ct = on();
|
11105
11105
|
function on() {
|
11106
11106
|
return 2 ** ++H2;
|
11107
11107
|
}
|
11108
11108
|
const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
11109
11109
|
__proto__: null,
|
11110
11110
|
boolean: he,
|
11111
|
-
booleanish:
|
11111
|
+
booleanish: ze,
|
11112
11112
|
commaOrSpaceSeparated: ct,
|
11113
11113
|
commaSeparated: An,
|
11114
11114
|
number: ee,
|
@@ -11161,10 +11161,10 @@ function Nn(e) {
|
|
11161
11161
|
const Xl = Nn({
|
11162
11162
|
properties: {
|
11163
11163
|
ariaActiveDescendant: null,
|
11164
|
-
ariaAtomic:
|
11164
|
+
ariaAtomic: ze,
|
11165
11165
|
ariaAutoComplete: null,
|
11166
|
-
ariaBusy:
|
11167
|
-
ariaChecked:
|
11166
|
+
ariaBusy: ze,
|
11167
|
+
ariaChecked: ze,
|
11168
11168
|
ariaColCount: ee,
|
11169
11169
|
ariaColIndex: ee,
|
11170
11170
|
ariaColSpan: ee,
|
@@ -11172,36 +11172,36 @@ const Xl = Nn({
|
|
11172
11172
|
ariaCurrent: null,
|
11173
11173
|
ariaDescribedBy: ke,
|
11174
11174
|
ariaDetails: null,
|
11175
|
-
ariaDisabled:
|
11175
|
+
ariaDisabled: ze,
|
11176
11176
|
ariaDropEffect: ke,
|
11177
11177
|
ariaErrorMessage: null,
|
11178
|
-
ariaExpanded:
|
11178
|
+
ariaExpanded: ze,
|
11179
11179
|
ariaFlowTo: ke,
|
11180
|
-
ariaGrabbed:
|
11180
|
+
ariaGrabbed: ze,
|
11181
11181
|
ariaHasPopup: null,
|
11182
|
-
ariaHidden:
|
11182
|
+
ariaHidden: ze,
|
11183
11183
|
ariaInvalid: null,
|
11184
11184
|
ariaKeyShortcuts: null,
|
11185
11185
|
ariaLabel: null,
|
11186
11186
|
ariaLabelledBy: ke,
|
11187
11187
|
ariaLevel: ee,
|
11188
11188
|
ariaLive: null,
|
11189
|
-
ariaModal:
|
11190
|
-
ariaMultiLine:
|
11191
|
-
ariaMultiSelectable:
|
11189
|
+
ariaModal: ze,
|
11190
|
+
ariaMultiLine: ze,
|
11191
|
+
ariaMultiSelectable: ze,
|
11192
11192
|
ariaOrientation: null,
|
11193
11193
|
ariaOwns: ke,
|
11194
11194
|
ariaPlaceholder: null,
|
11195
11195
|
ariaPosInSet: ee,
|
11196
|
-
ariaPressed:
|
11197
|
-
ariaReadOnly:
|
11196
|
+
ariaPressed: ze,
|
11197
|
+
ariaReadOnly: ze,
|
11198
11198
|
ariaRelevant: null,
|
11199
|
-
ariaRequired:
|
11199
|
+
ariaRequired: ze,
|
11200
11200
|
ariaRoleDescription: ke,
|
11201
11201
|
ariaRowCount: ee,
|
11202
11202
|
ariaRowIndex: ee,
|
11203
11203
|
ariaRowSpan: ee,
|
11204
|
-
ariaSelected:
|
11204
|
+
ariaSelected: ze,
|
11205
11205
|
ariaSetSize: ee,
|
11206
11206
|
ariaSort: null,
|
11207
11207
|
ariaValueMax: ee,
|
@@ -11255,7 +11255,7 @@ const U2 = Nn({
|
|
11255
11255
|
cols: ee,
|
11256
11256
|
colSpan: null,
|
11257
11257
|
content: null,
|
11258
|
-
contentEditable:
|
11258
|
+
contentEditable: ze,
|
11259
11259
|
controls: he,
|
11260
11260
|
controlsList: ke,
|
11261
11261
|
coords: ee | An,
|
@@ -11269,7 +11269,7 @@ const U2 = Nn({
|
|
11269
11269
|
dirName: null,
|
11270
11270
|
disabled: he,
|
11271
11271
|
download: Gl,
|
11272
|
-
draggable:
|
11272
|
+
draggable: ze,
|
11273
11273
|
encType: null,
|
11274
11274
|
enterKeyHint: null,
|
11275
11275
|
fetchPriority: null,
|
@@ -11440,7 +11440,7 @@ const U2 = Nn({
|
|
11440
11440
|
sizes: null,
|
11441
11441
|
slot: null,
|
11442
11442
|
span: ee,
|
11443
|
-
spellCheck:
|
11443
|
+
spellCheck: ze,
|
11444
11444
|
src: null,
|
11445
11445
|
srcDoc: null,
|
11446
11446
|
srcLang: null,
|
@@ -11455,7 +11455,7 @@ const U2 = Nn({
|
|
11455
11455
|
type: null,
|
11456
11456
|
typeMustMatch: he,
|
11457
11457
|
useMap: null,
|
11458
|
-
value:
|
11458
|
+
value: ze,
|
11459
11459
|
width: ee,
|
11460
11460
|
wrap: null,
|
11461
11461
|
writingSuggestions: null,
|
@@ -11547,7 +11547,7 @@ const U2 = Nn({
|
|
11547
11547
|
// `<table>`
|
11548
11548
|
scheme: null,
|
11549
11549
|
// `<meta>`
|
11550
|
-
scrolling:
|
11550
|
+
scrolling: ze,
|
11551
11551
|
// `<frame>`. Use overflow in the child context
|
11552
11552
|
standby: null,
|
11553
11553
|
// `<object>`
|
@@ -12407,14 +12407,14 @@ rt.prototype.property = "";
|
|
12407
12407
|
rt.prototype.spaceSeparated = !1;
|
12408
12408
|
rt.prototype.space = void 0;
|
12409
12409
|
let rg = 0;
|
12410
|
-
const pe = sn(),
|
12410
|
+
const pe = sn(), Ye = sn(), rc = sn(), te = sn(), Le = sn(), Sn = sn(), dt = sn();
|
12411
12411
|
function sn() {
|
12412
12412
|
return 2 ** ++rg;
|
12413
12413
|
}
|
12414
12414
|
const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
12415
12415
|
__proto__: null,
|
12416
12416
|
boolean: pe,
|
12417
|
-
booleanish:
|
12417
|
+
booleanish: Ye,
|
12418
12418
|
commaOrSpaceSeparated: dt,
|
12419
12419
|
commaSeparated: Sn,
|
12420
12420
|
number: te,
|
@@ -12467,10 +12467,10 @@ function kn(e) {
|
|
12467
12467
|
const ac = kn({
|
12468
12468
|
properties: {
|
12469
12469
|
ariaActiveDescendant: null,
|
12470
|
-
ariaAtomic:
|
12470
|
+
ariaAtomic: Ye,
|
12471
12471
|
ariaAutoComplete: null,
|
12472
|
-
ariaBusy:
|
12473
|
-
ariaChecked:
|
12472
|
+
ariaBusy: Ye,
|
12473
|
+
ariaChecked: Ye,
|
12474
12474
|
ariaColCount: te,
|
12475
12475
|
ariaColIndex: te,
|
12476
12476
|
ariaColSpan: te,
|
@@ -12478,36 +12478,36 @@ const ac = kn({
|
|
12478
12478
|
ariaCurrent: null,
|
12479
12479
|
ariaDescribedBy: Le,
|
12480
12480
|
ariaDetails: null,
|
12481
|
-
ariaDisabled:
|
12481
|
+
ariaDisabled: Ye,
|
12482
12482
|
ariaDropEffect: Le,
|
12483
12483
|
ariaErrorMessage: null,
|
12484
|
-
ariaExpanded:
|
12484
|
+
ariaExpanded: Ye,
|
12485
12485
|
ariaFlowTo: Le,
|
12486
|
-
ariaGrabbed:
|
12486
|
+
ariaGrabbed: Ye,
|
12487
12487
|
ariaHasPopup: null,
|
12488
|
-
ariaHidden:
|
12488
|
+
ariaHidden: Ye,
|
12489
12489
|
ariaInvalid: null,
|
12490
12490
|
ariaKeyShortcuts: null,
|
12491
12491
|
ariaLabel: null,
|
12492
12492
|
ariaLabelledBy: Le,
|
12493
12493
|
ariaLevel: te,
|
12494
12494
|
ariaLive: null,
|
12495
|
-
ariaModal:
|
12496
|
-
ariaMultiLine:
|
12497
|
-
ariaMultiSelectable:
|
12495
|
+
ariaModal: Ye,
|
12496
|
+
ariaMultiLine: Ye,
|
12497
|
+
ariaMultiSelectable: Ye,
|
12498
12498
|
ariaOrientation: null,
|
12499
12499
|
ariaOwns: Le,
|
12500
12500
|
ariaPlaceholder: null,
|
12501
12501
|
ariaPosInSet: te,
|
12502
|
-
ariaPressed:
|
12503
|
-
ariaReadOnly:
|
12502
|
+
ariaPressed: Ye,
|
12503
|
+
ariaReadOnly: Ye,
|
12504
12504
|
ariaRelevant: null,
|
12505
|
-
ariaRequired:
|
12505
|
+
ariaRequired: Ye,
|
12506
12506
|
ariaRoleDescription: Le,
|
12507
12507
|
ariaRowCount: te,
|
12508
12508
|
ariaRowIndex: te,
|
12509
12509
|
ariaRowSpan: te,
|
12510
|
-
ariaSelected:
|
12510
|
+
ariaSelected: Ye,
|
12511
12511
|
ariaSetSize: te,
|
12512
12512
|
ariaSort: null,
|
12513
12513
|
ariaValueMax: te,
|
@@ -12561,7 +12561,7 @@ const ag = kn({
|
|
12561
12561
|
cols: te,
|
12562
12562
|
colSpan: null,
|
12563
12563
|
content: null,
|
12564
|
-
contentEditable:
|
12564
|
+
contentEditable: Ye,
|
12565
12565
|
controls: pe,
|
12566
12566
|
controlsList: Le,
|
12567
12567
|
coords: te | Sn,
|
@@ -12575,7 +12575,7 @@ const ag = kn({
|
|
12575
12575
|
dirName: null,
|
12576
12576
|
disabled: pe,
|
12577
12577
|
download: rc,
|
12578
|
-
draggable:
|
12578
|
+
draggable: Ye,
|
12579
12579
|
encType: null,
|
12580
12580
|
enterKeyHint: null,
|
12581
12581
|
fetchPriority: null,
|
@@ -12746,7 +12746,7 @@ const ag = kn({
|
|
12746
12746
|
sizes: null,
|
12747
12747
|
slot: null,
|
12748
12748
|
span: te,
|
12749
|
-
spellCheck:
|
12749
|
+
spellCheck: Ye,
|
12750
12750
|
src: null,
|
12751
12751
|
srcDoc: null,
|
12752
12752
|
srcLang: null,
|
@@ -12761,7 +12761,7 @@ const ag = kn({
|
|
12761
12761
|
type: null,
|
12762
12762
|
typeMustMatch: pe,
|
12763
12763
|
useMap: null,
|
12764
|
-
value:
|
12764
|
+
value: Ye,
|
12765
12765
|
width: te,
|
12766
12766
|
wrap: null,
|
12767
12767
|
writingSuggestions: null,
|
@@ -12853,7 +12853,7 @@ const ag = kn({
|
|
12853
12853
|
// `<table>`
|
12854
12854
|
scheme: null,
|
12855
12855
|
// `<meta>`
|
12856
|
-
scrolling:
|
12856
|
+
scrolling: Ye,
|
12857
12857
|
// `<frame>`. Use overflow in the child context
|
12858
12858
|
standby: null,
|
12859
12859
|
// `<object>`
|
@@ -13860,7 +13860,7 @@ const vg = [
|
|
13860
13860
|
1048575,
|
13861
13861
|
1114110,
|
13862
13862
|
1114111
|
13863
|
-
]),
|
13863
|
+
]), Fe = "�";
|
13864
13864
|
var E;
|
13865
13865
|
(function(e) {
|
13866
13866
|
e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
|
@@ -14539,7 +14539,7 @@ var C;
|
|
14539
14539
|
(function(e) {
|
14540
14540
|
e[e.DATA = 0] = "DATA", e[e.RCDATA = 1] = "RCDATA", e[e.RAWTEXT = 2] = "RAWTEXT", e[e.SCRIPT_DATA = 3] = "SCRIPT_DATA", e[e.PLAINTEXT = 4] = "PLAINTEXT", e[e.TAG_OPEN = 5] = "TAG_OPEN", e[e.END_TAG_OPEN = 6] = "END_TAG_OPEN", e[e.TAG_NAME = 7] = "TAG_NAME", e[e.RCDATA_LESS_THAN_SIGN = 8] = "RCDATA_LESS_THAN_SIGN", e[e.RCDATA_END_TAG_OPEN = 9] = "RCDATA_END_TAG_OPEN", e[e.RCDATA_END_TAG_NAME = 10] = "RCDATA_END_TAG_NAME", e[e.RAWTEXT_LESS_THAN_SIGN = 11] = "RAWTEXT_LESS_THAN_SIGN", e[e.RAWTEXT_END_TAG_OPEN = 12] = "RAWTEXT_END_TAG_OPEN", e[e.RAWTEXT_END_TAG_NAME = 13] = "RAWTEXT_END_TAG_NAME", e[e.SCRIPT_DATA_LESS_THAN_SIGN = 14] = "SCRIPT_DATA_LESS_THAN_SIGN", e[e.SCRIPT_DATA_END_TAG_OPEN = 15] = "SCRIPT_DATA_END_TAG_OPEN", e[e.SCRIPT_DATA_END_TAG_NAME = 16] = "SCRIPT_DATA_END_TAG_NAME", e[e.SCRIPT_DATA_ESCAPE_START = 17] = "SCRIPT_DATA_ESCAPE_START", e[e.SCRIPT_DATA_ESCAPE_START_DASH = 18] = "SCRIPT_DATA_ESCAPE_START_DASH", e[e.SCRIPT_DATA_ESCAPED = 19] = "SCRIPT_DATA_ESCAPED", e[e.SCRIPT_DATA_ESCAPED_DASH = 20] = "SCRIPT_DATA_ESCAPED_DASH", e[e.SCRIPT_DATA_ESCAPED_DASH_DASH = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START", e[e.SCRIPT_DATA_DOUBLE_ESCAPED = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END", e[e.BEFORE_ATTRIBUTE_NAME = 31] = "BEFORE_ATTRIBUTE_NAME", e[e.ATTRIBUTE_NAME = 32] = "ATTRIBUTE_NAME", e[e.AFTER_ATTRIBUTE_NAME = 33] = "AFTER_ATTRIBUTE_NAME", e[e.BEFORE_ATTRIBUTE_VALUE = 34] = "BEFORE_ATTRIBUTE_VALUE", e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED", e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED", e[e.ATTRIBUTE_VALUE_UNQUOTED = 37] = "ATTRIBUTE_VALUE_UNQUOTED", e[e.AFTER_ATTRIBUTE_VALUE_QUOTED = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED", e[e.SELF_CLOSING_START_TAG = 39] = "SELF_CLOSING_START_TAG", e[e.BOGUS_COMMENT = 40] = "BOGUS_COMMENT", e[e.MARKUP_DECLARATION_OPEN = 41] = "MARKUP_DECLARATION_OPEN", e[e.COMMENT_START = 42] = "COMMENT_START", e[e.COMMENT_START_DASH = 43] = "COMMENT_START_DASH", e[e.COMMENT = 44] = "COMMENT", e[e.COMMENT_LESS_THAN_SIGN = 45] = "COMMENT_LESS_THAN_SIGN", e[e.COMMENT_LESS_THAN_SIGN_BANG = 46] = "COMMENT_LESS_THAN_SIGN_BANG", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", e[e.COMMENT_END_DASH = 49] = "COMMENT_END_DASH", e[e.COMMENT_END = 50] = "COMMENT_END", e[e.COMMENT_END_BANG = 51] = "COMMENT_END_BANG", e[e.DOCTYPE = 52] = "DOCTYPE", e[e.BEFORE_DOCTYPE_NAME = 53] = "BEFORE_DOCTYPE_NAME", e[e.DOCTYPE_NAME = 54] = "DOCTYPE_NAME", e[e.AFTER_DOCTYPE_NAME = 55] = "AFTER_DOCTYPE_NAME", e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD", e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER", e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD", e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER", e[e.BOGUS_DOCTYPE = 67] = "BOGUS_DOCTYPE", e[e.CDATA_SECTION = 68] = "CDATA_SECTION", e[e.CDATA_SECTION_BRACKET = 69] = "CDATA_SECTION_BRACKET", e[e.CDATA_SECTION_END = 70] = "CDATA_SECTION_END", e[e.CHARACTER_REFERENCE = 71] = "CHARACTER_REFERENCE", e[e.AMBIGUOUS_AMPERSAND = 72] = "AMBIGUOUS_AMPERSAND";
|
14541
14541
|
})(C || (C = {}));
|
14542
|
-
const
|
14542
|
+
const je = {
|
14543
14543
|
DATA: C.DATA,
|
14544
14544
|
RCDATA: C.RCDATA,
|
14545
14545
|
RAWTEXT: C.RAWTEXT,
|
@@ -15127,7 +15127,7 @@ class Vg {
|
|
15127
15127
|
break;
|
15128
15128
|
}
|
15129
15129
|
case E.NULL: {
|
15130
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15130
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15131
15131
|
break;
|
15132
15132
|
}
|
15133
15133
|
case E.EOF: {
|
@@ -15147,7 +15147,7 @@ class Vg {
|
|
15147
15147
|
break;
|
15148
15148
|
}
|
15149
15149
|
case E.NULL: {
|
15150
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15150
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15151
15151
|
break;
|
15152
15152
|
}
|
15153
15153
|
case E.EOF: {
|
@@ -15167,7 +15167,7 @@ class Vg {
|
|
15167
15167
|
break;
|
15168
15168
|
}
|
15169
15169
|
case E.NULL: {
|
15170
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15170
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15171
15171
|
break;
|
15172
15172
|
}
|
15173
15173
|
case E.EOF: {
|
@@ -15183,7 +15183,7 @@ class Vg {
|
|
15183
15183
|
_statePlaintext(t) {
|
15184
15184
|
switch (t) {
|
15185
15185
|
case E.NULL: {
|
15186
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15186
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15187
15187
|
break;
|
15188
15188
|
}
|
15189
15189
|
case E.EOF: {
|
@@ -15261,7 +15261,7 @@ class Vg {
|
|
15261
15261
|
break;
|
15262
15262
|
}
|
15263
15263
|
case E.NULL: {
|
15264
|
-
this._err(j.unexpectedNullCharacter), n.tagName +=
|
15264
|
+
this._err(j.unexpectedNullCharacter), n.tagName += Fe;
|
15265
15265
|
break;
|
15266
15266
|
}
|
15267
15267
|
case E.EOF: {
|
@@ -15370,7 +15370,7 @@ class Vg {
|
|
15370
15370
|
break;
|
15371
15371
|
}
|
15372
15372
|
case E.NULL: {
|
15373
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15373
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15374
15374
|
break;
|
15375
15375
|
}
|
15376
15376
|
case E.EOF: {
|
@@ -15394,7 +15394,7 @@ class Vg {
|
|
15394
15394
|
break;
|
15395
15395
|
}
|
15396
15396
|
case E.NULL: {
|
15397
|
-
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(
|
15397
|
+
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(Fe);
|
15398
15398
|
break;
|
15399
15399
|
}
|
15400
15400
|
case E.EOF: {
|
@@ -15422,7 +15422,7 @@ class Vg {
|
|
15422
15422
|
break;
|
15423
15423
|
}
|
15424
15424
|
case E.NULL: {
|
15425
|
-
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(
|
15425
|
+
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(Fe);
|
15426
15426
|
break;
|
15427
15427
|
}
|
15428
15428
|
case E.EOF: {
|
@@ -15471,7 +15471,7 @@ class Vg {
|
|
15471
15471
|
break;
|
15472
15472
|
}
|
15473
15473
|
case E.NULL: {
|
15474
|
-
this._err(j.unexpectedNullCharacter), this._emitChars(
|
15474
|
+
this._err(j.unexpectedNullCharacter), this._emitChars(Fe);
|
15475
15475
|
break;
|
15476
15476
|
}
|
15477
15477
|
case E.EOF: {
|
@@ -15495,7 +15495,7 @@ class Vg {
|
|
15495
15495
|
break;
|
15496
15496
|
}
|
15497
15497
|
case E.NULL: {
|
15498
|
-
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
15498
|
+
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Fe);
|
15499
15499
|
break;
|
15500
15500
|
}
|
15501
15501
|
case E.EOF: {
|
@@ -15523,7 +15523,7 @@ class Vg {
|
|
15523
15523
|
break;
|
15524
15524
|
}
|
15525
15525
|
case E.NULL: {
|
15526
|
-
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
15526
|
+
this._err(j.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Fe);
|
15527
15527
|
break;
|
15528
15528
|
}
|
15529
15529
|
case E.EOF: {
|
@@ -15597,7 +15597,7 @@ class Vg {
|
|
15597
15597
|
break;
|
15598
15598
|
}
|
15599
15599
|
case E.NULL: {
|
15600
|
-
this._err(j.unexpectedNullCharacter), this.currentAttr.name +=
|
15600
|
+
this._err(j.unexpectedNullCharacter), this.currentAttr.name += Fe;
|
15601
15601
|
break;
|
15602
15602
|
}
|
15603
15603
|
default:
|
@@ -15671,7 +15671,7 @@ class Vg {
|
|
15671
15671
|
break;
|
15672
15672
|
}
|
15673
15673
|
case E.NULL: {
|
15674
|
-
this._err(j.unexpectedNullCharacter), this.currentAttr.value +=
|
15674
|
+
this._err(j.unexpectedNullCharacter), this.currentAttr.value += Fe;
|
15675
15675
|
break;
|
15676
15676
|
}
|
15677
15677
|
case E.EOF: {
|
@@ -15695,7 +15695,7 @@ class Vg {
|
|
15695
15695
|
break;
|
15696
15696
|
}
|
15697
15697
|
case E.NULL: {
|
15698
|
-
this._err(j.unexpectedNullCharacter), this.currentAttr.value +=
|
15698
|
+
this._err(j.unexpectedNullCharacter), this.currentAttr.value += Fe;
|
15699
15699
|
break;
|
15700
15700
|
}
|
15701
15701
|
case E.EOF: {
|
@@ -15726,7 +15726,7 @@ class Vg {
|
|
15726
15726
|
break;
|
15727
15727
|
}
|
15728
15728
|
case E.NULL: {
|
15729
|
-
this._err(j.unexpectedNullCharacter), this.currentAttr.value +=
|
15729
|
+
this._err(j.unexpectedNullCharacter), this.currentAttr.value += Fe;
|
15730
15730
|
break;
|
15731
15731
|
}
|
15732
15732
|
case E.QUOTATION_MARK:
|
@@ -15803,7 +15803,7 @@ class Vg {
|
|
15803
15803
|
break;
|
15804
15804
|
}
|
15805
15805
|
case E.NULL: {
|
15806
|
-
this._err(j.unexpectedNullCharacter), n.data +=
|
15806
|
+
this._err(j.unexpectedNullCharacter), n.data += Fe;
|
15807
15807
|
break;
|
15808
15808
|
}
|
15809
15809
|
default:
|
@@ -15868,7 +15868,7 @@ class Vg {
|
|
15868
15868
|
break;
|
15869
15869
|
}
|
15870
15870
|
case E.NULL: {
|
15871
|
-
this._err(j.unexpectedNullCharacter), n.data +=
|
15871
|
+
this._err(j.unexpectedNullCharacter), n.data += Fe;
|
15872
15872
|
break;
|
15873
15873
|
}
|
15874
15874
|
case E.EOF: {
|
@@ -16012,7 +16012,7 @@ class Vg {
|
|
16012
16012
|
case E.FORM_FEED:
|
16013
16013
|
break;
|
16014
16014
|
case E.NULL: {
|
16015
|
-
this._err(j.unexpectedNullCharacter), this._createDoctypeToken(
|
16015
|
+
this._err(j.unexpectedNullCharacter), this._createDoctypeToken(Fe), this.state = C.DOCTYPE_NAME;
|
16016
16016
|
break;
|
16017
16017
|
}
|
16018
16018
|
case E.GREATER_THAN_SIGN: {
|
@@ -16048,7 +16048,7 @@ class Vg {
|
|
16048
16048
|
break;
|
16049
16049
|
}
|
16050
16050
|
case E.NULL: {
|
16051
|
-
this._err(j.unexpectedNullCharacter), n.name +=
|
16051
|
+
this._err(j.unexpectedNullCharacter), n.name += Fe;
|
16052
16052
|
break;
|
16053
16053
|
}
|
16054
16054
|
case E.EOF: {
|
@@ -16153,7 +16153,7 @@ class Vg {
|
|
16153
16153
|
break;
|
16154
16154
|
}
|
16155
16155
|
case E.NULL: {
|
16156
|
-
this._err(j.unexpectedNullCharacter), n.publicId +=
|
16156
|
+
this._err(j.unexpectedNullCharacter), n.publicId += Fe;
|
16157
16157
|
break;
|
16158
16158
|
}
|
16159
16159
|
case E.GREATER_THAN_SIGN: {
|
@@ -16178,7 +16178,7 @@ class Vg {
|
|
16178
16178
|
break;
|
16179
16179
|
}
|
16180
16180
|
case E.NULL: {
|
16181
|
-
this._err(j.unexpectedNullCharacter), n.publicId +=
|
16181
|
+
this._err(j.unexpectedNullCharacter), n.publicId += Fe;
|
16182
16182
|
break;
|
16183
16183
|
}
|
16184
16184
|
case E.GREATER_THAN_SIGN: {
|
@@ -16327,7 +16327,7 @@ class Vg {
|
|
16327
16327
|
break;
|
16328
16328
|
}
|
16329
16329
|
case E.NULL: {
|
16330
|
-
this._err(j.unexpectedNullCharacter), n.systemId +=
|
16330
|
+
this._err(j.unexpectedNullCharacter), n.systemId += Fe;
|
16331
16331
|
break;
|
16332
16332
|
}
|
16333
16333
|
case E.GREATER_THAN_SIGN: {
|
@@ -16352,7 +16352,7 @@ class Vg {
|
|
16352
16352
|
break;
|
16353
16353
|
}
|
16354
16354
|
case E.NULL: {
|
16355
|
-
this._err(j.unexpectedNullCharacter), n.systemId +=
|
16355
|
+
this._err(j.unexpectedNullCharacter), n.systemId += Fe;
|
16356
16356
|
break;
|
16357
16357
|
}
|
16358
16358
|
case E.GREATER_THAN_SIGN: {
|
@@ -17314,7 +17314,7 @@ class es {
|
|
17314
17314
|
this._insertElement(t, X.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = O.TEXT;
|
17315
17315
|
}
|
17316
17316
|
switchToPlaintextParsing() {
|
17317
|
-
this.insertionMode = O.TEXT, this.originalInsertionMode = O.IN_BODY, this.tokenizer.state =
|
17317
|
+
this.insertionMode = O.TEXT, this.originalInsertionMode = O.IN_BODY, this.tokenizer.state = je.PLAINTEXT;
|
17318
17318
|
}
|
17319
17319
|
//Fragment parsing
|
17320
17320
|
/** @protected */
|
@@ -17337,7 +17337,7 @@ class es {
|
|
17337
17337
|
switch (this.fragmentContextID) {
|
17338
17338
|
case o.TITLE:
|
17339
17339
|
case o.TEXTAREA: {
|
17340
|
-
this.tokenizer.state =
|
17340
|
+
this.tokenizer.state = je.RCDATA;
|
17341
17341
|
break;
|
17342
17342
|
}
|
17343
17343
|
case o.STYLE:
|
@@ -17346,15 +17346,15 @@ class es {
|
|
17346
17346
|
case o.NOEMBED:
|
17347
17347
|
case o.NOFRAMES:
|
17348
17348
|
case o.NOSCRIPT: {
|
17349
|
-
this.tokenizer.state =
|
17349
|
+
this.tokenizer.state = je.RAWTEXT;
|
17350
17350
|
break;
|
17351
17351
|
}
|
17352
17352
|
case o.SCRIPT: {
|
17353
|
-
this.tokenizer.state =
|
17353
|
+
this.tokenizer.state = je.SCRIPT_DATA;
|
17354
17354
|
break;
|
17355
17355
|
}
|
17356
17356
|
case o.PLAINTEXT: {
|
17357
|
-
this.tokenizer.state =
|
17357
|
+
this.tokenizer.state = je.PLAINTEXT;
|
17358
17358
|
break;
|
17359
17359
|
}
|
17360
17360
|
}
|
@@ -18279,20 +18279,20 @@ function At(e, t) {
|
|
18279
18279
|
break;
|
18280
18280
|
}
|
18281
18281
|
case o.TITLE: {
|
18282
|
-
e._switchToTextParsing(t,
|
18282
|
+
e._switchToTextParsing(t, je.RCDATA);
|
18283
18283
|
break;
|
18284
18284
|
}
|
18285
18285
|
case o.NOSCRIPT: {
|
18286
|
-
e.options.scriptingEnabled ? e._switchToTextParsing(t,
|
18286
|
+
e.options.scriptingEnabled ? e._switchToTextParsing(t, je.RAWTEXT) : (e._insertElement(t, X.HTML), e.insertionMode = O.IN_HEAD_NO_SCRIPT);
|
18287
18287
|
break;
|
18288
18288
|
}
|
18289
18289
|
case o.NOFRAMES:
|
18290
18290
|
case o.STYLE: {
|
18291
|
-
e._switchToTextParsing(t,
|
18291
|
+
e._switchToTextParsing(t, je.RAWTEXT);
|
18292
18292
|
break;
|
18293
18293
|
}
|
18294
18294
|
case o.SCRIPT: {
|
18295
|
-
e._switchToTextParsing(t,
|
18295
|
+
e._switchToTextParsing(t, je.SCRIPT_DATA);
|
18296
18296
|
break;
|
18297
18297
|
}
|
18298
18298
|
case o.TEMPLATE: {
|
@@ -18502,7 +18502,7 @@ function Gb(e, t) {
|
|
18502
18502
|
e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML);
|
18503
18503
|
}
|
18504
18504
|
function Xb(e, t) {
|
18505
|
-
e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.tokenizer.state =
|
18505
|
+
e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.tokenizer.state = je.PLAINTEXT;
|
18506
18506
|
}
|
18507
18507
|
function Kb(e, t) {
|
18508
18508
|
e.openElements.hasInScope(o.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, X.HTML), e.framesetOk = !1;
|
@@ -18543,16 +18543,16 @@ function iE(e, t) {
|
|
18543
18543
|
t.tagName = P.IMG, t.tagID = o.IMG, Dc(e, t);
|
18544
18544
|
}
|
18545
18545
|
function uE(e, t) {
|
18546
|
-
e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state =
|
18546
|
+
e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state = je.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = O.TEXT;
|
18547
18547
|
}
|
18548
18548
|
function oE(e, t) {
|
18549
|
-
e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t,
|
18549
|
+
e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, je.RAWTEXT);
|
18550
18550
|
}
|
18551
18551
|
function sE(e, t) {
|
18552
|
-
e.framesetOk = !1, e._switchToTextParsing(t,
|
18552
|
+
e.framesetOk = !1, e._switchToTextParsing(t, je.RAWTEXT);
|
18553
18553
|
}
|
18554
18554
|
function ts(e, t) {
|
18555
|
-
e._switchToTextParsing(t,
|
18555
|
+
e._switchToTextParsing(t, je.RAWTEXT);
|
18556
18556
|
}
|
18557
18557
|
function lE(e, t) {
|
18558
18558
|
e._reconstructActiveFormattingElements(), e._insertElement(t, X.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === O.IN_TABLE || e.insertionMode === O.IN_CAPTION || e.insertionMode === O.IN_TABLE_BODY || e.insertionMode === O.IN_ROW || e.insertionMode === O.IN_CELL ? O.IN_SELECT_IN_TABLE : O.IN_SELECT;
|
@@ -19454,7 +19454,7 @@ function KE(e, t) {
|
|
19454
19454
|
}
|
19455
19455
|
}
|
19456
19456
|
function QE(e, t) {
|
19457
|
-
t.chars =
|
19457
|
+
t.chars = Fe, e._insertCharacters(t);
|
19458
19458
|
}
|
19459
19459
|
function ZE(e, t) {
|
19460
19460
|
e._insertCharacters(t), e.framesetOk = !1;
|
@@ -19754,7 +19754,7 @@ function TT(e, t) {
|
|
19754
19754
|
function Dn(e, t) {
|
19755
19755
|
Jc(e, t);
|
19756
19756
|
const n = e.parser.tokenizer.currentCharacterToken;
|
19757
|
-
n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState =
|
19757
|
+
n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = je.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
|
19758
19758
|
}
|
19759
19759
|
function Jc(e, t) {
|
19760
19760
|
if (t && t.offset !== void 0) {
|
@@ -19771,7 +19771,7 @@ function Jc(e, t) {
|
|
19771
19771
|
}
|
19772
19772
|
function yT(e, t) {
|
19773
19773
|
const n = e.tagName.toLowerCase();
|
19774
|
-
if (t.parser.tokenizer.state ===
|
19774
|
+
if (t.parser.tokenizer.state === je.PLAINTEXT) return;
|
19775
19775
|
Dn(t, cn(e));
|
19776
19776
|
const r = t.parser.openElements.current;
|
19777
19777
|
let a = "namespaceURI" in r ? r.namespaceURI : nn.html;
|
@@ -19796,7 +19796,7 @@ function yT(e, t) {
|
|
19796
19796
|
}
|
19797
19797
|
function _T(e, t) {
|
19798
19798
|
const n = e.tagName.toLowerCase();
|
19799
|
-
if (!t.parser.tokenizer.inForeignNode && vg.includes(n) || t.parser.tokenizer.state ===
|
19799
|
+
if (!t.parser.tokenizer.inForeignNode && vg.includes(n) || t.parser.tokenizer.state === je.PLAINTEXT) return;
|
19800
19800
|
Dn(t, Vc(e));
|
19801
19801
|
const r = {
|
19802
19802
|
type: be.END_TAG,
|
@@ -19809,9 +19809,9 @@ function _T(e, t) {
|
|
19809
19809
|
};
|
19810
19810
|
t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
|
19811
19811
|
n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
|
19812
|
-
(t.parser.tokenizer.state ===
|
19813
|
-
t.parser.tokenizer.state ===
|
19814
|
-
t.parser.tokenizer.state ===
|
19812
|
+
(t.parser.tokenizer.state === je.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
|
19813
|
+
t.parser.tokenizer.state === je.RAWTEXT || // `<script>`
|
19814
|
+
t.parser.tokenizer.state === je.SCRIPT_DATA) && (t.parser.tokenizer.state = je.DATA);
|
19815
19815
|
}
|
19816
19816
|
function CT(e) {
|
19817
19817
|
const t = e.type === "root" ? e.children[0] : e;
|
@@ -19865,7 +19865,7 @@ const xT = "Sure, I can get you to someone who can help.", vT = (e) => {
|
|
19865
19865
|
submitEvent: s = null
|
19866
19866
|
}) => {
|
19867
19867
|
var K;
|
19868
|
-
const { primaryColor: l, conversationScreen: c } = se(
|
19868
|
+
const { primaryColor: l, conversationScreen: c } = se(Ue), {
|
19869
19869
|
content: d,
|
19870
19870
|
disableFeedback: h,
|
19871
19871
|
liveAgent: p,
|
@@ -20049,7 +20049,7 @@ tu.propTypes = {
|
|
20049
20049
|
tu.displayName = "NotificationMessage";
|
20050
20050
|
function ed({ disableScroll: e }) {
|
20051
20051
|
const t = pt(null);
|
20052
|
-
return
|
20052
|
+
return He(() => {
|
20053
20053
|
var n;
|
20054
20054
|
e || (n = t.current) == null || n.scrollIntoView({
|
20055
20055
|
behavior: "smooth",
|
@@ -20084,7 +20084,7 @@ const ia = ({
|
|
20084
20084
|
submitEvent: u = null
|
20085
20085
|
}) => {
|
20086
20086
|
const { disableScroll: s, hasError: l } = se(Ze), { isConversationLoading: c } = se(Lt), d = t || c, h = pt(null);
|
20087
|
-
return
|
20087
|
+
return He(() => {
|
20088
20088
|
var p;
|
20089
20089
|
(p = h.current) == null || p.scrollIntoView({
|
20090
20090
|
behavior: "instant",
|
@@ -20136,7 +20136,7 @@ ia.propTypes = {
|
|
20136
20136
|
ia.displayName = "ConversationMessages";
|
20137
20137
|
const td = () => {
|
20138
20138
|
var l, c, d;
|
20139
|
-
const { conversationScreen: e, id: t } = se(
|
20139
|
+
const { conversationScreen: e, id: t } = se(Ue), n = `${t}-maintenance-banner`, [r, a] = de(
|
20140
20140
|
ft.get(n) === void 0
|
20141
20141
|
), i = /* @__PURE__ */ new Date(), u = new Date(
|
20142
20142
|
(l = e == null ? void 0 : e.maintenanceBanner) == null ? void 0 : l.endDateTime
|
@@ -20188,7 +20188,7 @@ const td = () => {
|
|
20188
20188
|
td.displayName = "MaintenanceBanner";
|
20189
20189
|
const nu = ({ loading: e, onPromptClick: t }) => {
|
20190
20190
|
var i;
|
20191
|
-
const { primaryColor: n, conversationScreen: r } = se(
|
20191
|
+
const { primaryColor: n, conversationScreen: r } = se(Ue), { deleteConversationModal: a } = se(Lt);
|
20192
20192
|
return /* @__PURE__ */ v.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
|
20193
20193
|
/* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
|
20194
20194
|
(i = r == null ? void 0 : r.prompts) == null ? void 0 : i.map((u) => {
|
@@ -20230,7 +20230,7 @@ function nd({
|
|
20230
20230
|
userInput: l = ""
|
20231
20231
|
}) {
|
20232
20232
|
var _, T;
|
20233
|
-
const { conversationScreen: c, disclaimer: d } = se(
|
20233
|
+
const { conversationScreen: c, disclaimer: d } = se(Ue), { deleteConversationModal: h, xpertMessages: p } = se(Lt), { loading: f, setMode: b } = se(Ze), m = (M) => {
|
20234
20234
|
c.liveChat.useOwnChat ? b(Ut.LIVECHAT) : u(M);
|
20235
20235
|
};
|
20236
20236
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
@@ -20926,7 +20926,7 @@ function ou() {
|
|
20926
20926
|
if (p !== null && b === !0) {
|
20927
20927
|
var Y, g = !1, ne = !0, oe = function() {
|
20928
20928
|
return t(void 0, void 0, void 0, function() {
|
20929
|
-
var S, le,
|
20929
|
+
var S, le, Te;
|
20930
20930
|
return n(this, function(me) {
|
20931
20931
|
switch (me.label) {
|
20932
20932
|
case 0:
|
@@ -20943,14 +20943,14 @@ function ou() {
|
|
20943
20943
|
g || (0, i.flushSync)(function() {
|
20944
20944
|
return T(xe);
|
20945
20945
|
});
|
20946
|
-
},
|
20946
|
+
}, Te = function(xe) {
|
20947
20947
|
g || (0, i.flushSync)(function() {
|
20948
20948
|
return K(function(ve) {
|
20949
|
-
var
|
20950
|
-
return e(e({}, ve), y.current && (
|
20949
|
+
var Be;
|
20950
|
+
return e(e({}, ve), y.current && (Be = {}, Be[y.current] = xe, Be));
|
20951
20951
|
});
|
20952
20952
|
});
|
20953
|
-
}, ne && (Y = (0, s.createOrJoinSocket)(k, y.current,
|
20953
|
+
}, ne && (Y = (0, s.createOrJoinSocket)(k, y.current, Te, L, le, G, F, Z, U)), [
|
20954
20954
|
2
|
20955
20955
|
/*return*/
|
20956
20956
|
]);
|
@@ -21118,7 +21118,7 @@ const BT = "This conversation with a live agent has ended. Please note that a tr
|
|
21118
21118
|
CONVERSATION: "CONVERSATION",
|
21119
21119
|
FORM: "FORM"
|
21120
21120
|
}, dn = Wr({}), ad = ({ children: e, liveChatPayload: t }) => {
|
21121
|
-
const { conversationScreen: n } = se(
|
21121
|
+
const { conversationScreen: n } = se(Ue), { pushXpertMessage: r } = se(Lt), { setHasError: a, setMode: i } = se(Ze), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(Ht.FORM), [T, M] = de(null), B = (q) => p((Y) => [...Y, q]), K = async (q) => {
|
21122
21122
|
const Y = await FT(q.data), { conversation_id: g, event_type: ne, body: oe } = Y;
|
21123
21123
|
switch (ne) {
|
21124
21124
|
case "AGENT_TYPING":
|
@@ -21286,7 +21286,7 @@ function ud({
|
|
21286
21286
|
isMounted: r
|
21287
21287
|
}) {
|
21288
21288
|
var c;
|
21289
|
-
const { conversationScreen: a } = se(
|
21289
|
+
const { conversationScreen: a } = se(Ue), { mode: i } = se(Ze), { setDeleteConversationModal: u, xpertMessages: s } = se(Lt), l = i === Ut.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
|
21290
21290
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
21291
21291
|
l && /* @__PURE__ */ v.jsx(
|
21292
21292
|
"button",
|
@@ -21392,7 +21392,7 @@ function sd({
|
|
21392
21392
|
onClose: r
|
21393
21393
|
}) {
|
21394
21394
|
var c, d, h, p, f, b, m, _, T, M, B, K, w, y, k;
|
21395
|
-
const { primaryColor: a, conversationScreen: i } = se(
|
21395
|
+
const { primaryColor: a, conversationScreen: i } = se(Ue), { isMobile: u, mode: s } = se(Ze), { step: l } = se(dn);
|
21396
21396
|
return l === Ht.CONNECTING && s === Ut.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
|
21397
21397
|
"div",
|
21398
21398
|
{
|
@@ -21466,7 +21466,7 @@ function jT() {
|
|
21466
21466
|
deleteConversationModal: e,
|
21467
21467
|
deleteConversationHistory: t,
|
21468
21468
|
setDeleteConversationModal: n
|
21469
|
-
} = se(Lt), { primaryColor: r } = se(
|
21469
|
+
} = se(Lt), { primaryColor: r } = se(Ue);
|
21470
21470
|
return e ? /* @__PURE__ */ v.jsx(
|
21471
21471
|
"div",
|
21472
21472
|
{
|
@@ -21517,7 +21517,7 @@ function jT() {
|
|
21517
21517
|
}
|
21518
21518
|
const qT = () => {
|
21519
21519
|
var n, r, a, i, u;
|
21520
|
-
const { isMobile: e } = se(Ze), { launchButton: t } = se(
|
21520
|
+
const { isMobile: e } = se(Ze), { launchButton: t } = se(Ue);
|
21521
21521
|
return (n = t == null ? void 0 : t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
|
21522
21522
|
"div",
|
21523
21523
|
{
|
@@ -21535,7 +21535,7 @@ function zT() {
|
|
21535
21535
|
}
|
21536
21536
|
function ld() {
|
21537
21537
|
var s;
|
21538
|
-
const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(
|
21538
|
+
const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(Ue), { cancelLiveChatConnection: r } = se(dn), a = ((s = e == null ? void 0 : e.liveChat) == null ? void 0 : s.queueMessages) ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
|
21539
21539
|
return /* @__PURE__ */ v.jsxs("div", { className: "live-chat-connecting", style: { backgroundColor: i }, children: [
|
21540
21540
|
/* @__PURE__ */ v.jsx(zT, {}),
|
21541
21541
|
/* @__PURE__ */ v.jsx("div", { className: "live-chat-connecting-messages", style: { color: u }, children: a.length === 0 ? /* @__PURE__ */ v.jsx("p", { children: "Connecting to live agent" }) : a.map((l, c) => /* @__PURE__ */ v.jsx("p", { children: l }, `queue-message-${c}`)) }),
|
@@ -21568,7 +21568,7 @@ const ys = 500, YT = [
|
|
21568
21568
|
}
|
21569
21569
|
];
|
21570
21570
|
function cd({ onDismiss: e }) {
|
21571
|
-
const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(
|
21571
|
+
const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(Ue), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = se(dn), h = () => {
|
21572
21572
|
var b;
|
21573
21573
|
d(), (b = s == null ? void 0 : s.liveChat) != null && b.useSurvey ? a(!0) : l();
|
21574
21574
|
}, p = () => {
|
@@ -21649,7 +21649,7 @@ function $T(e, t) {
|
|
21649
21649
|
},
|
21650
21650
|
[n, e, t]
|
21651
21651
|
);
|
21652
|
-
return
|
21652
|
+
return He(() => () => {
|
21653
21653
|
clearTimeout(a.current);
|
21654
21654
|
}, []), i;
|
21655
21655
|
}
|
@@ -21758,7 +21758,7 @@ const WT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
21758
21758
|
}];
|
21759
21759
|
}, Qa = "privacy policy";
|
21760
21760
|
function fd() {
|
21761
|
-
const { conversationScreen: e, primaryColor: t } = se(
|
21761
|
+
const { conversationScreen: e, primaryColor: t } = se(Ue), { startLiveChat: n } = se(dn), { setMode: r } = se(Ze), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = XT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = GT(), m = or(
|
21762
21762
|
() => (s ?? "").split(Qa, 2),
|
21763
21763
|
[s]
|
21764
21764
|
), _ = () => {
|
@@ -21771,7 +21771,7 @@ function fd() {
|
|
21771
21771
|
}, B = () => {
|
21772
21772
|
K() && n(l);
|
21773
21773
|
};
|
21774
|
-
|
21774
|
+
He(() => {
|
21775
21775
|
(!a || a.length === 0) && n();
|
21776
21776
|
}, [a, n]);
|
21777
21777
|
const K = () => {
|
@@ -21889,17 +21889,17 @@ function pd({
|
|
21889
21889
|
style: i = {}
|
21890
21890
|
}) {
|
21891
21891
|
var b;
|
21892
|
-
const { proactiveMessage: u } = se(
|
21893
|
-
|
21892
|
+
const { proactiveMessage: u } = se(Ue), [s, l] = de(!0), [c, d] = de(!1), h = s && (!(window != null && window.OnetrustActiveGroups) || ((b = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : b.includes("C0003"))) && ft.get(t) === void 0;
|
21893
|
+
He(() => {
|
21894
21894
|
var m;
|
21895
21895
|
(m = window == null ? void 0 : window.OneTrust) == null || m.OnConsentChanged(() => {
|
21896
21896
|
var _;
|
21897
21897
|
!((_ = window == null ? void 0 : window.OnetrustActiveGroups) != null && _.includes("C0003")) && ft.get(t) !== void 0 && ft.remove(t);
|
21898
21898
|
});
|
21899
|
-
}, [t]),
|
21899
|
+
}, [t]), He(() => {
|
21900
21900
|
var m;
|
21901
21901
|
a || (!(window != null && window.OnetrustActiveGroups) || (m = window == null ? void 0 : window.OnetrustActiveGroups) != null && m.includes("C0003")) && f(t, 1, 1);
|
21902
|
-
}, [t, a]),
|
21902
|
+
}, [t, a]), He(() => {
|
21903
21903
|
if (u != null && u.enabled && (u == null ? void 0 : u.delayMs) > 0) {
|
21904
21904
|
const m = setTimeout(() => {
|
21905
21905
|
d(!0);
|
@@ -21976,9 +21976,9 @@ function KT(e, t, n) {
|
|
21976
21976
|
},
|
21977
21977
|
[n]
|
21978
21978
|
);
|
21979
|
-
|
21979
|
+
He(() => (e && window.addEventListener("message", r), () => {
|
21980
21980
|
window.removeEventListener("message", r);
|
21981
|
-
}), [e, r]),
|
21981
|
+
}), [e, r]), He(() => {
|
21982
21982
|
let a;
|
21983
21983
|
return e && (a = document.createElement("style"), document.head.appendChild(a), ((u) => {
|
21984
21984
|
a.innerHTML = `
|
@@ -22000,7 +22000,7 @@ function KT(e, t, n) {
|
|
22000
22000
|
}
|
22001
22001
|
function QT(e) {
|
22002
22002
|
const [t, n] = de(null);
|
22003
|
-
return
|
22003
|
+
return He(() => {
|
22004
22004
|
try {
|
22005
22005
|
(() => {
|
22006
22006
|
var a, i, u;
|
@@ -22025,7 +22025,7 @@ function QT(e) {
|
|
22025
22025
|
}, [e]), t;
|
22026
22026
|
}
|
22027
22027
|
function ZT(e) {
|
22028
|
-
|
22028
|
+
He(() => {
|
22029
22029
|
const t = () => document.visibilityState === "visible" && e();
|
22030
22030
|
return document.addEventListener("visibilitychange", t), () => {
|
22031
22031
|
document.removeEventListener("visibilitychange", t);
|
@@ -22065,7 +22065,7 @@ function md({ submitEventExternal: e = null }) {
|
|
22065
22065
|
userTracking: s,
|
22066
22066
|
webExperimentation: l,
|
22067
22067
|
widgetMode: c
|
22068
|
-
} = se(
|
22068
|
+
} = se(Ue), {
|
22069
22069
|
contentRef: d,
|
22070
22070
|
onFeedbackSelection: h,
|
22071
22071
|
onMessageSent: p,
|
@@ -22103,13 +22103,17 @@ function md({ submitEventExternal: e = null }) {
|
|
22103
22103
|
s == null ? void 0 : s.payloadParams
|
22104
22104
|
]
|
22105
22105
|
), oe = async () => {
|
22106
|
-
var re;
|
22107
|
-
if (y(!0), !
|
22108
|
-
|
22109
|
-
|
22110
|
-
|
22106
|
+
var re, ae;
|
22107
|
+
if (y(!0), !((re = r == null ? void 0 : r.conversationHistory) != null && re.enabled)) {
|
22108
|
+
y(!1);
|
22109
|
+
return;
|
22110
|
+
}
|
22111
|
+
if (!await (async (ue, ye = 1e4, Ee = 200) => {
|
22112
|
+
let De = 0;
|
22113
|
+
for (; !ue(); ) {
|
22114
|
+
if (De >= ye)
|
22111
22115
|
return !1;
|
22112
|
-
await new Promise((
|
22116
|
+
await new Promise((we) => setTimeout(we, Ee)), De += Ee;
|
22113
22117
|
}
|
22114
22118
|
return !0;
|
22115
22119
|
})(
|
@@ -22118,14 +22122,10 @@ function md({ submitEventExternal: e = null }) {
|
|
22118
22122
|
y(!1);
|
22119
22123
|
return;
|
22120
22124
|
}
|
22121
|
-
if (!((re = r == null ? void 0 : r.conversationHistory) != null && re.enabled)) {
|
22122
|
-
y(!1);
|
22123
|
-
return;
|
22124
|
-
}
|
22125
22125
|
try {
|
22126
|
-
let
|
22127
|
-
const
|
22128
|
-
`${t.baseUrl}
|
22126
|
+
let ue = _s(a);
|
22127
|
+
const ye = (ae = t == null ? void 0 : t.baseUrl) != null && ae.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", Ee = await fetch(
|
22128
|
+
`${t.baseUrl}${ye}?conversation_id=${ue}`,
|
22129
22129
|
{
|
22130
22130
|
method: "GET",
|
22131
22131
|
headers: {
|
@@ -22133,26 +22133,26 @@ function md({ submitEventExternal: e = null }) {
|
|
22133
22133
|
}
|
22134
22134
|
}
|
22135
22135
|
);
|
22136
|
-
if (!
|
22137
|
-
throw new Error(`HTTPError: ${
|
22138
|
-
const
|
22136
|
+
if (!Ee.ok)
|
22137
|
+
throw new Error(`HTTPError: ${Ee.status} ${Ee.statusText}`);
|
22138
|
+
const De = await Ee.json();
|
22139
22139
|
b(
|
22140
|
-
|
22141
|
-
...
|
22140
|
+
De.map((we) => ({
|
22141
|
+
...we,
|
22142
22142
|
disableFeedback: !0,
|
22143
|
-
toolCalls:
|
22144
|
-
toolCallId:
|
22143
|
+
toolCalls: we.tool_calls,
|
22144
|
+
toolCallId: we.tool_call_id
|
22145
22145
|
}))
|
22146
22146
|
), M(!0), K(!0);
|
22147
|
-
} catch (
|
22148
|
-
console.error(
|
22147
|
+
} catch (ue) {
|
22148
|
+
console.error(ue);
|
22149
22149
|
} finally {
|
22150
22150
|
y(!1);
|
22151
22151
|
}
|
22152
22152
|
}, S = ((it = r == null ? void 0 : r.conversationHistory) == null ? void 0 : it.enabled) && W && !z;
|
22153
22153
|
ZT(
|
22154
22154
|
() => S && oe()
|
22155
|
-
),
|
22155
|
+
), He(() => {
|
22156
22156
|
let D, V;
|
22157
22157
|
if (n)
|
22158
22158
|
return s != null && s.enabled && (D = setInterval(() => {
|
@@ -22168,7 +22168,7 @@ function md({ submitEventExternal: e = null }) {
|
|
22168
22168
|
e,
|
22169
22169
|
s == null ? void 0 : s.enabled,
|
22170
22170
|
s == null ? void 0 : s.prefix
|
22171
|
-
]),
|
22171
|
+
]), He(() => {
|
22172
22172
|
let D, V;
|
22173
22173
|
const re = () => {
|
22174
22174
|
l != null && l.enabled && window.optimizely && window.experiments && (clearInterval(D), clearTimeout(V), G(!0));
|
@@ -22198,7 +22198,7 @@ function md({ submitEventExternal: e = null }) {
|
|
22198
22198
|
};
|
22199
22199
|
if (QT(l == null ? void 0 : l.experimentName), !n || l != null && l.enabled && !(l != null && l.experimentName) && !g || s != null && s.enabled && (s != null && s.prefix) && !((Gt = Y == null ? void 0 : Y.current) != null && Gt.track) && !e)
|
22200
22200
|
return null;
|
22201
|
-
const
|
22201
|
+
const Te = () => {
|
22202
22202
|
I(""), q.current.value = "", q.current.style.height = "auto";
|
22203
22203
|
}, me = (D, V) => {
|
22204
22204
|
ne({
|
@@ -22237,28 +22237,28 @@ function md({ submitEventExternal: e = null }) {
|
|
22237
22237
|
return ae.forEach(
|
22238
22238
|
({
|
22239
22239
|
content: ue,
|
22240
|
-
live_agent:
|
22240
|
+
live_agent: ye,
|
22241
22241
|
role: Ee,
|
22242
|
-
tool_calls:
|
22243
|
-
tool_call_id:
|
22242
|
+
tool_calls: De,
|
22243
|
+
tool_call_id: we
|
22244
22244
|
}) => {
|
22245
22245
|
f({
|
22246
22246
|
content: ue,
|
22247
22247
|
createdAt: /* @__PURE__ */ new Date(),
|
22248
|
-
liveAgent:
|
22248
|
+
liveAgent: ye,
|
22249
22249
|
role: Ee,
|
22250
|
-
toolCalls:
|
22251
|
-
toolCallId:
|
22250
|
+
toolCalls: De,
|
22251
|
+
toolCallId: we
|
22252
22252
|
}), me(ue, V);
|
22253
22253
|
}
|
22254
22254
|
), ae;
|
22255
|
-
},
|
22255
|
+
}, Be = async (D, V) => {
|
22256
22256
|
const re = new TextDecoder("utf-8");
|
22257
22257
|
let ae = [];
|
22258
|
-
const { value: ue } = await D.read(),
|
22258
|
+
const { value: ue } = await D.read(), ye = re.decode(ue, { stream: !0 });
|
22259
22259
|
try {
|
22260
|
-
const Ee =
|
22261
|
-
Ee && Ee.length > 0 ? ae = JSON.parse(Ee[Ee.length - 1]) : ae = Array.isArray(
|
22260
|
+
const Ee = ye.match(/\[.*?\](?=\[|$)/gs);
|
22261
|
+
Ee && Ee.length > 0 ? ae = JSON.parse(Ee[Ee.length - 1]) : ae = Array.isArray(ye) ? ye : [ye];
|
22262
22262
|
} catch {
|
22263
22263
|
ae = [];
|
22264
22264
|
}
|
@@ -22280,26 +22280,26 @@ function md({ submitEventExternal: e = null }) {
|
|
22280
22280
|
toolCallId: ae[0].tool_calls[0].id
|
22281
22281
|
};
|
22282
22282
|
f(Ee);
|
22283
|
-
const
|
22283
|
+
const De = {
|
22284
22284
|
content: "",
|
22285
22285
|
createdAt: /* @__PURE__ */ new Date(),
|
22286
22286
|
role: "tool",
|
22287
22287
|
toolCallId: ae[0].tool_calls[0].id
|
22288
22288
|
};
|
22289
|
-
f(
|
22289
|
+
f(De), me(ae[0].content, V);
|
22290
22290
|
}
|
22291
22291
|
return ae;
|
22292
22292
|
}, Oe = async (D, V) => {
|
22293
|
-
var
|
22293
|
+
var ye;
|
22294
22294
|
const re = new TextDecoder("utf-8");
|
22295
22295
|
let ae = "", ue = [];
|
22296
22296
|
for (; ; ) {
|
22297
|
-
const { value: Ee, done:
|
22298
|
-
if (
|
22299
|
-
const
|
22297
|
+
const { value: Ee, done: De } = await D.read();
|
22298
|
+
if (De) break;
|
22299
|
+
const we = re.decode(Ee, { stream: !0 });
|
22300
22300
|
try {
|
22301
|
-
const Ge = JSON.parse(
|
22302
|
-
Array.isArray(Ge) && ((
|
22301
|
+
const Ge = JSON.parse(we);
|
22302
|
+
Array.isArray(Ge) && ((ye = Ge[0]) == null ? void 0 : ye.content) !== void 0 && (ae = Ge[0].content, ue.length === 0 ? (ue.push({
|
22303
22303
|
role: "assistant",
|
22304
22304
|
disableFeedback: !0,
|
22305
22305
|
content: ae
|
@@ -22324,12 +22324,12 @@ function md({ submitEventExternal: e = null }) {
|
|
22324
22324
|
}
|
22325
22325
|
return me(ae, V), ue;
|
22326
22326
|
}, We = async (D, V) => {
|
22327
|
-
var
|
22328
|
-
const re = D.body.getReader(), ae = await
|
22327
|
+
var ye;
|
22328
|
+
const re = D.body.getReader(), ae = await Be(
|
22329
22329
|
re,
|
22330
22330
|
V
|
22331
22331
|
);
|
22332
|
-
return (
|
22332
|
+
return (ye = ae == null ? void 0 : ae[0]) != null && ye.tool_calls ? ae : await Oe(
|
22333
22333
|
re,
|
22334
22334
|
V
|
22335
22335
|
);
|
@@ -22350,13 +22350,13 @@ function md({ submitEventExternal: e = null }) {
|
|
22350
22350
|
userInputMessage: D,
|
22351
22351
|
isTestUser: g
|
22352
22352
|
}
|
22353
|
-
}),
|
22353
|
+
}), Te(), y(!0), p) {
|
22354
22354
|
await p(D), y(!1);
|
22355
22355
|
return;
|
22356
22356
|
}
|
22357
22357
|
let ue = null;
|
22358
22358
|
r.conversationHistory.enabled && (ue = _s(a)), f({ role: "user", content: D });
|
22359
|
-
const
|
22359
|
+
const ye = [
|
22360
22360
|
...m,
|
22361
22361
|
{ role: "user", content: D }
|
22362
22362
|
].map((ge) => ({
|
@@ -22368,7 +22368,7 @@ function md({ submitEventExternal: e = null }) {
|
|
22368
22368
|
method: "POST",
|
22369
22369
|
headers: { "Content-Type": "application/json" },
|
22370
22370
|
body: JSON.stringify({
|
22371
|
-
[t == null ? void 0 : t.messagesKey]:
|
22371
|
+
[t == null ? void 0 : t.messagesKey]: ye,
|
22372
22372
|
...t.payloadParams,
|
22373
22373
|
...ue && {
|
22374
22374
|
conversation_id: ue
|
@@ -22378,19 +22378,19 @@ function md({ submitEventExternal: e = null }) {
|
|
22378
22378
|
if (!Ee.ok)
|
22379
22379
|
throw new Error(`HTTPError: ${Ee.status} ${Ee.statusText}`);
|
22380
22380
|
y(!1);
|
22381
|
-
let
|
22382
|
-
const
|
22383
|
-
JSON.stringify(
|
22381
|
+
let De = (V = t.payloadParams) != null && V.stream ? await We(Ee, ue) : await ve(Ee, ue);
|
22382
|
+
const we = /* @__PURE__ */ new Date(), Ge = t3(
|
22383
|
+
JSON.stringify(ye)
|
22384
22384
|
);
|
22385
22385
|
xe({
|
22386
22386
|
conversationByteSize: Ge,
|
22387
|
-
conversationSize: m.length +
|
22387
|
+
conversationSize: m.length + De.length + 1,
|
22388
22388
|
userInputMessage: D,
|
22389
|
-
apiResponseMessage:
|
22390
|
-
elapsedSeconds: JT(re,
|
22391
|
-
}), M(!1),
|
22389
|
+
apiResponseMessage: De.map((ge) => ge.content ?? "").join(" "),
|
22390
|
+
elapsedSeconds: JT(re, we)
|
22391
|
+
}), M(!1), Te(), K(!0);
|
22392
22392
|
} catch (re) {
|
22393
|
-
y(!1),
|
22393
|
+
y(!1), Te(), B(!0), console.error(re);
|
22394
22394
|
}
|
22395
22395
|
}, _t = () => {
|
22396
22396
|
$(!1), Z(!0), w(!0), oe(), ne({
|