@mypatientspace/chatbot-widget 1.0.39 → 1.0.40
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/mypatientspace-demo.es.js +367 -349
- package/dist/mypatientspace-demo.umd.js +20 -2
- package/dist/mypatientspace-widget.es.js +1113 -1095
- package/dist/mypatientspace-widget.umd.js +68 -50
- package/package.json +1 -1
|
@@ -93,7 +93,7 @@ function f0() {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
var x = [], p = [], z = 1, O = null, j = 3, V = !1, W = !1, q = !1, J = !1, $ = typeof setTimeout == "function" ? setTimeout : null, nt = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate < "u" ? setImmediate : null;
|
|
96
|
-
function
|
|
96
|
+
function N(E) {
|
|
97
97
|
for (var G = s(p); G !== null; ) {
|
|
98
98
|
if (G.callback === null) r(p);
|
|
99
99
|
else if (G.startTime <= E)
|
|
@@ -103,7 +103,7 @@ function f0() {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
function H(E) {
|
|
106
|
-
if (q = !1,
|
|
106
|
+
if (q = !1, N(E), !W)
|
|
107
107
|
if (s(x) !== null)
|
|
108
108
|
W = !0, it || (it = !0, ie());
|
|
109
109
|
else {
|
|
@@ -126,7 +126,7 @@ function f0() {
|
|
|
126
126
|
var Z = j;
|
|
127
127
|
try {
|
|
128
128
|
e: {
|
|
129
|
-
for (
|
|
129
|
+
for (N(E), O = s(x); O !== null && !(O.expirationTime > E && oe()); ) {
|
|
130
130
|
var st = O.callback;
|
|
131
131
|
if (typeof st == "function") {
|
|
132
132
|
O.callback = null, j = O.priorityLevel;
|
|
@@ -134,10 +134,10 @@ function f0() {
|
|
|
134
134
|
O.expirationTime <= E
|
|
135
135
|
);
|
|
136
136
|
if (E = u.unstable_now(), typeof lt == "function") {
|
|
137
|
-
O.callback = lt,
|
|
137
|
+
O.callback = lt, N(E), G = !0;
|
|
138
138
|
break e;
|
|
139
139
|
}
|
|
140
|
-
O === s(x) && r(x),
|
|
140
|
+
O === s(x) && r(x), N(E);
|
|
141
141
|
} else r(x);
|
|
142
142
|
O = s(x);
|
|
143
143
|
}
|
|
@@ -167,9 +167,9 @@ function f0() {
|
|
|
167
167
|
P(Ft);
|
|
168
168
|
};
|
|
169
169
|
else if (typeof MessageChannel < "u") {
|
|
170
|
-
var nl = new MessageChannel(),
|
|
170
|
+
var nl = new MessageChannel(), wt = nl.port2;
|
|
171
171
|
nl.port1.onmessage = Ft, ie = function() {
|
|
172
|
-
|
|
172
|
+
wt.postMessage(null);
|
|
173
173
|
};
|
|
174
174
|
} else
|
|
175
175
|
ie = function() {
|
|
@@ -307,8 +307,8 @@ function d0() {
|
|
|
307
307
|
function P(y, U, Q) {
|
|
308
308
|
this.props = y, this.context = U, this.refs = J, this.updater = Q || W;
|
|
309
309
|
}
|
|
310
|
-
var
|
|
311
|
-
|
|
310
|
+
var N = P.prototype = new nt();
|
|
311
|
+
N.constructor = P, q(N, $.prototype), N.isPureReactComponent = !0;
|
|
312
312
|
var H = Array.isArray;
|
|
313
313
|
function it() {
|
|
314
314
|
}
|
|
@@ -336,7 +336,7 @@ function d0() {
|
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
var nl = /\/+/g;
|
|
339
|
-
function
|
|
339
|
+
function wt(y, U) {
|
|
340
340
|
return typeof y == "object" && y !== null && y.key != null ? ie("" + y.key) : U.toString(36);
|
|
341
341
|
}
|
|
342
342
|
function xt(y) {
|
|
@@ -391,7 +391,7 @@ function d0() {
|
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
if (At)
|
|
394
|
-
return ot = ot(y), At = F === "" ? "." +
|
|
394
|
+
return ot = ot(y), At = F === "" ? "." + wt(y, 0) : F, H(ot) ? (Q = "", At != null && (Q = At.replace(nl, "$&/") + "/"), E(ot, U, Q, "", function(mn) {
|
|
395
395
|
return mn;
|
|
396
396
|
})) : ot != null && (Ft(ot) && (ot = oe(
|
|
397
397
|
ot,
|
|
@@ -404,7 +404,7 @@ function d0() {
|
|
|
404
404
|
var re = F === "" ? "." : F + ":";
|
|
405
405
|
if (H(y))
|
|
406
406
|
for (var Gt = 0; Gt < y.length; Gt++)
|
|
407
|
-
F = y[Gt], dt = re +
|
|
407
|
+
F = y[Gt], dt = re + wt(F, Gt), At += E(
|
|
408
408
|
F,
|
|
409
409
|
U,
|
|
410
410
|
Q,
|
|
@@ -413,7 +413,7 @@ function d0() {
|
|
|
413
413
|
);
|
|
414
414
|
else if (Gt = V(y), typeof Gt == "function")
|
|
415
415
|
for (y = Gt.call(y), Gt = 0; !(F = y.next()).done; )
|
|
416
|
-
F = F.value, dt = re +
|
|
416
|
+
F = F.value, dt = re + wt(F, Gt++), At += E(
|
|
417
417
|
F,
|
|
418
418
|
U,
|
|
419
419
|
Q,
|
|
@@ -894,12 +894,12 @@ function m0() {
|
|
|
894
894
|
}
|
|
895
895
|
return null;
|
|
896
896
|
}
|
|
897
|
-
var O = Object.assign, j = /* @__PURE__ */ Symbol.for("react.element"), V = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), q = /* @__PURE__ */ Symbol.for("react.fragment"), J = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), nt = /* @__PURE__ */ Symbol.for("react.consumer"), P = /* @__PURE__ */ Symbol.for("react.context"),
|
|
897
|
+
var O = Object.assign, j = /* @__PURE__ */ Symbol.for("react.element"), V = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), q = /* @__PURE__ */ Symbol.for("react.fragment"), J = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), nt = /* @__PURE__ */ Symbol.for("react.consumer"), P = /* @__PURE__ */ Symbol.for("react.context"), N = /* @__PURE__ */ Symbol.for("react.forward_ref"), H = /* @__PURE__ */ Symbol.for("react.suspense"), it = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), Bt = /* @__PURE__ */ Symbol.for("react.lazy"), ne = /* @__PURE__ */ Symbol.for("react.activity"), oe = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Ft = Symbol.iterator;
|
|
898
898
|
function ie(t) {
|
|
899
899
|
return t === null || typeof t != "object" ? null : (t = Ft && t[Ft] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
900
900
|
}
|
|
901
901
|
var nl = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
902
|
-
function
|
|
902
|
+
function wt(t) {
|
|
903
903
|
if (t == null) return null;
|
|
904
904
|
if (typeof t == "function")
|
|
905
905
|
return t.$$typeof === nl ? null : t.displayName || t.name || null;
|
|
@@ -926,15 +926,15 @@ function m0() {
|
|
|
926
926
|
return t.displayName || "Context";
|
|
927
927
|
case nt:
|
|
928
928
|
return (t._context.displayName || "Context") + ".Consumer";
|
|
929
|
-
case
|
|
929
|
+
case N:
|
|
930
930
|
var e = t.render;
|
|
931
931
|
return t = t.displayName, t || (t = e.displayName || e.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
932
932
|
case X:
|
|
933
|
-
return e = t.displayName || null, e !== null ? e :
|
|
933
|
+
return e = t.displayName || null, e !== null ? e : wt(t.type) || "Memo";
|
|
934
934
|
case Bt:
|
|
935
935
|
e = t._payload, t = t._init;
|
|
936
936
|
try {
|
|
937
|
-
return
|
|
937
|
+
return wt(t(e));
|
|
938
938
|
} catch {
|
|
939
939
|
}
|
|
940
940
|
}
|
|
@@ -1014,27 +1014,27 @@ function m0() {
|
|
|
1014
1014
|
DetermineComponentFrameRoot: function() {
|
|
1015
1015
|
try {
|
|
1016
1016
|
if (e) {
|
|
1017
|
-
var
|
|
1017
|
+
var w = function() {
|
|
1018
1018
|
throw Error();
|
|
1019
1019
|
};
|
|
1020
|
-
if (Object.defineProperty(
|
|
1020
|
+
if (Object.defineProperty(w.prototype, "props", {
|
|
1021
1021
|
set: function() {
|
|
1022
1022
|
throw Error();
|
|
1023
1023
|
}
|
|
1024
1024
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1025
1025
|
try {
|
|
1026
|
-
Reflect.construct(
|
|
1026
|
+
Reflect.construct(w, []);
|
|
1027
1027
|
} catch (M) {
|
|
1028
1028
|
var A = M;
|
|
1029
1029
|
}
|
|
1030
|
-
Reflect.construct(t, [],
|
|
1030
|
+
Reflect.construct(t, [], w);
|
|
1031
1031
|
} else {
|
|
1032
1032
|
try {
|
|
1033
|
-
|
|
1033
|
+
w.call();
|
|
1034
1034
|
} catch (M) {
|
|
1035
1035
|
A = M;
|
|
1036
1036
|
}
|
|
1037
|
-
t.call(
|
|
1037
|
+
t.call(w.prototype);
|
|
1038
1038
|
}
|
|
1039
1039
|
} else {
|
|
1040
1040
|
try {
|
|
@@ -1042,7 +1042,7 @@ function m0() {
|
|
|
1042
1042
|
} catch (M) {
|
|
1043
1043
|
A = M;
|
|
1044
1044
|
}
|
|
1045
|
-
(
|
|
1045
|
+
(w = t()) && typeof w.catch == "function" && w.catch(function() {
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
1048
|
} catch (M) {
|
|
@@ -1268,7 +1268,7 @@ Error generating stack: ` + a.message + `
|
|
|
1268
1268
|
t.pendingLanes = l, t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0, t.expiredLanes &= l, t.entangledLanes &= l, t.errorRecoveryDisabledLanes &= l, t.shellSuspendCounter = 0;
|
|
1269
1269
|
var f = t.entanglements, h = t.expirationTimes, C = t.hiddenUpdates;
|
|
1270
1270
|
for (l = c & ~l; 0 < l; ) {
|
|
1271
|
-
var D = 31 - Te(l),
|
|
1271
|
+
var D = 31 - Te(l), w = 1 << D;
|
|
1272
1272
|
f[D] = 0, h[D] = -1;
|
|
1273
1273
|
var A = C[D];
|
|
1274
1274
|
if (A !== null)
|
|
@@ -1276,7 +1276,7 @@ Error generating stack: ` + a.message + `
|
|
|
1276
1276
|
var M = A[D];
|
|
1277
1277
|
M !== null && (M.lane &= -536870913);
|
|
1278
1278
|
}
|
|
1279
|
-
l &= ~
|
|
1279
|
+
l &= ~w;
|
|
1280
1280
|
}
|
|
1281
1281
|
a !== 0 && Zr(t, a, 0), i !== 0 && n === 0 && t.tag !== 0 && (t.suspendedLanes |= i & ~(c & ~e));
|
|
1282
1282
|
}
|
|
@@ -1340,7 +1340,7 @@ Error generating stack: ` + a.message + `
|
|
|
1340
1340
|
}
|
|
1341
1341
|
function Kr() {
|
|
1342
1342
|
var t = G.p;
|
|
1343
|
-
return t !== 0 ? t : (t = window.event, t === void 0 ? 32 :
|
|
1343
|
+
return t !== 0 ? t : (t = window.event, t === void 0 ? 32 : wh(t.type));
|
|
1344
1344
|
}
|
|
1345
1345
|
function Jr(t, e) {
|
|
1346
1346
|
var l = G.p;
|
|
@@ -2156,10 +2156,10 @@ Error generating stack: ` + a.message + `
|
|
|
2156
2156
|
), ff(Um, e);
|
|
2157
2157
|
}
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function wm(t, e, l) {
|
|
2160
2160
|
t === "focusin" ? (Ef(), En = e, Mn = l, En.attachEvent("onpropertychange", Mf)) : t === "focusout" && Ef();
|
|
2161
2161
|
}
|
|
2162
|
-
function
|
|
2162
|
+
function Nm(t) {
|
|
2163
2163
|
if (t === "selectionchange" || t === "keyup" || t === "keydown")
|
|
2164
2164
|
return Ri(Mn);
|
|
2165
2165
|
}
|
|
@@ -2273,7 +2273,7 @@ Error generating stack: ` + a.message + `
|
|
|
2273
2273
|
return Tc[t] = e[l];
|
|
2274
2274
|
return t;
|
|
2275
2275
|
}
|
|
2276
|
-
var
|
|
2276
|
+
var wf = la("animationend"), Nf = la("animationiteration"), Hf = la("animationstart"), Gm = la("transitionrun"), $m = la("transitionstart"), Xm = la("transitioncancel"), qf = la("transitionend"), jf = /* @__PURE__ */ new Map(), Cc = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
|
|
2277
2277
|
" "
|
|
2278
2278
|
);
|
|
2279
2279
|
Cc.push("scrollEnd");
|
|
@@ -2311,14 +2311,14 @@ Error generating stack: ` + a.message + `
|
|
|
2311
2311
|
i !== 0 && Yf(l, n, i);
|
|
2312
2312
|
}
|
|
2313
2313
|
}
|
|
2314
|
-
function
|
|
2314
|
+
function wi(t, e, l, a) {
|
|
2315
2315
|
Ue[Da++] = t, Ue[Da++] = e, Ue[Da++] = l, Ue[Da++] = a, zc |= a, t.lanes |= a, t = t.alternate, t !== null && (t.lanes |= a);
|
|
2316
2316
|
}
|
|
2317
2317
|
function Ac(t, e, l, a) {
|
|
2318
|
-
return
|
|
2318
|
+
return wi(t, e, l, a), Ni(t);
|
|
2319
2319
|
}
|
|
2320
2320
|
function aa(t, e) {
|
|
2321
|
-
return
|
|
2321
|
+
return wi(t, null, null, e), Ni(t);
|
|
2322
2322
|
}
|
|
2323
2323
|
function Yf(t, e, l) {
|
|
2324
2324
|
t.lanes |= l;
|
|
@@ -2328,9 +2328,9 @@ Error generating stack: ` + a.message + `
|
|
|
2328
2328
|
i.childLanes |= l, a = i.alternate, a !== null && (a.childLanes |= l), i.tag === 22 && (t = i.stateNode, t === null || t._visibility & 1 || (n = !0)), t = i, i = i.return;
|
|
2329
2329
|
return t.tag === 3 ? (i = t.stateNode, n && e !== null && (n = 31 - Te(l), t = i.hiddenUpdates, a = t[n], a === null ? t[n] = [e] : a.push(e), e.lane = l | 536870912), i) : null;
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function Ni(t) {
|
|
2332
2332
|
if (50 < Fn)
|
|
2333
|
-
throw Fn = 0,
|
|
2333
|
+
throw Fn = 0, No = null, Error(r(185));
|
|
2334
2334
|
for (var e = t.return; e !== null; )
|
|
2335
2335
|
t = e, e = t.return;
|
|
2336
2336
|
return t.tag === 3 ? t.stateNode : null;
|
|
@@ -2395,7 +2395,7 @@ Error generating stack: ` + a.message + `
|
|
|
2395
2395
|
case nt:
|
|
2396
2396
|
c = 9;
|
|
2397
2397
|
break t;
|
|
2398
|
-
case
|
|
2398
|
+
case N:
|
|
2399
2399
|
c = 11;
|
|
2400
2400
|
break t;
|
|
2401
2401
|
case X:
|
|
@@ -2434,7 +2434,7 @@ Error generating stack: ` + a.message + `
|
|
|
2434
2434
|
}, e;
|
|
2435
2435
|
}
|
|
2436
2436
|
var Xf = /* @__PURE__ */ new WeakMap();
|
|
2437
|
-
function
|
|
2437
|
+
function we(t, e) {
|
|
2438
2438
|
if (typeof t == "object" && t !== null) {
|
|
2439
2439
|
var l = Xf.get(t);
|
|
2440
2440
|
return l !== void 0 ? l : (e = {
|
|
@@ -2449,12 +2449,12 @@ Error generating stack: ` + a.message + `
|
|
|
2449
2449
|
stack: Gr(e)
|
|
2450
2450
|
};
|
|
2451
2451
|
}
|
|
2452
|
-
var Ba = [], Ua = 0, qi = null, Dn = 0,
|
|
2452
|
+
var Ba = [], Ua = 0, qi = null, Dn = 0, Ne = [], He = 0, Ml = null, ke = 1, Ke = "";
|
|
2453
2453
|
function rl(t, e) {
|
|
2454
2454
|
Ba[Ua++] = Dn, Ba[Ua++] = qi, qi = t, Dn = e;
|
|
2455
2455
|
}
|
|
2456
2456
|
function Lf(t, e, l) {
|
|
2457
|
-
|
|
2457
|
+
Ne[He++] = ke, Ne[He++] = Ke, Ne[He++] = Ml, Ml = t;
|
|
2458
2458
|
var a = ke;
|
|
2459
2459
|
t = Ke;
|
|
2460
2460
|
var n = 32 - Te(a) - 1;
|
|
@@ -2473,12 +2473,12 @@ Error generating stack: ` + a.message + `
|
|
|
2473
2473
|
for (; t === qi; )
|
|
2474
2474
|
qi = Ba[--Ua], Ba[Ua] = null, Dn = Ba[--Ua], Ba[Ua] = null;
|
|
2475
2475
|
for (; t === Ml; )
|
|
2476
|
-
Ml =
|
|
2476
|
+
Ml = Ne[--He], Ne[He] = null, Ke = Ne[--He], Ne[He] = null, ke = Ne[--He], Ne[He] = null;
|
|
2477
2477
|
}
|
|
2478
2478
|
function Qf(t, e) {
|
|
2479
|
-
|
|
2479
|
+
Ne[He++] = ke, Ne[He++] = Ke, Ne[He++] = Ml, ke = e.id, Ke = e.overflow, Ml = t;
|
|
2480
2480
|
}
|
|
2481
|
-
var Pt = null,
|
|
2481
|
+
var Pt = null, Nt = null, pt = !1, _l = null, qe = !1, Rc = Error(r(519));
|
|
2482
2482
|
function Ol(t) {
|
|
2483
2483
|
var e = Error(
|
|
2484
2484
|
r(
|
|
@@ -2487,7 +2487,7 @@ Error generating stack: ` + a.message + `
|
|
|
2487
2487
|
""
|
|
2488
2488
|
)
|
|
2489
2489
|
);
|
|
2490
|
-
throw Rn(
|
|
2490
|
+
throw Rn(we(e, t)), Rc;
|
|
2491
2491
|
}
|
|
2492
2492
|
function Zf(t) {
|
|
2493
2493
|
var e = t.stateNode, l = t.type, a = t.memoizedProps;
|
|
@@ -2552,22 +2552,22 @@ Error generating stack: ` + a.message + `
|
|
|
2552
2552
|
Pt = Pt.return;
|
|
2553
2553
|
}
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2555
|
+
function wa(t) {
|
|
2556
2556
|
if (t !== Pt) return !1;
|
|
2557
2557
|
if (!pt) return Vf(t), pt = !0, !1;
|
|
2558
2558
|
var e = t.tag, l;
|
|
2559
|
-
if ((l = e !== 3 && e !== 27) && ((l = e === 5) && (l = t.type, l = !(l !== "form" && l !== "button") || Wo(t.type, t.memoizedProps)), l = !l), l &&
|
|
2559
|
+
if ((l = e !== 3 && e !== 27) && ((l = e === 5) && (l = t.type, l = !(l !== "form" && l !== "button") || Wo(t.type, t.memoizedProps)), l = !l), l && Nt && Ol(t), Vf(t), e === 13) {
|
|
2560
2560
|
if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(r(317));
|
|
2561
|
-
|
|
2561
|
+
Nt = ph(t);
|
|
2562
2562
|
} else if (e === 31) {
|
|
2563
2563
|
if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(r(317));
|
|
2564
|
-
|
|
2564
|
+
Nt = ph(t);
|
|
2565
2565
|
} else
|
|
2566
|
-
e === 27 ? (e =
|
|
2566
|
+
e === 27 ? (e = Nt, Ll(t.type) ? (t = er, er = null, Nt = t) : Nt = e) : Nt = Pt ? Ye(t.stateNode.nextSibling) : null;
|
|
2567
2567
|
return !0;
|
|
2568
2568
|
}
|
|
2569
2569
|
function ia() {
|
|
2570
|
-
|
|
2570
|
+
Nt = Pt = null, pt = !1;
|
|
2571
2571
|
}
|
|
2572
2572
|
function Bc() {
|
|
2573
2573
|
var t = _l;
|
|
@@ -2586,14 +2586,14 @@ Error generating stack: ` + a.message + `
|
|
|
2586
2586
|
function sl(t) {
|
|
2587
2587
|
t._currentValue = Uc.current, U(Uc);
|
|
2588
2588
|
}
|
|
2589
|
-
function
|
|
2589
|
+
function wc(t, e, l) {
|
|
2590
2590
|
for (; t !== null; ) {
|
|
2591
2591
|
var a = t.alternate;
|
|
2592
2592
|
if ((t.childLanes & e) !== e ? (t.childLanes |= e, a !== null && (a.childLanes |= e)) : a !== null && (a.childLanes & e) !== e && (a.childLanes |= e), t === l) break;
|
|
2593
2593
|
t = t.return;
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2596
|
+
function Nc(t, e, l, a) {
|
|
2597
2597
|
var n = t.child;
|
|
2598
2598
|
for (n !== null && (n.return = t); n !== null; ) {
|
|
2599
2599
|
var i = n.dependencies;
|
|
@@ -2605,7 +2605,7 @@ Error generating stack: ` + a.message + `
|
|
|
2605
2605
|
i = n;
|
|
2606
2606
|
for (var h = 0; h < e.length; h++)
|
|
2607
2607
|
if (f.context === e[h]) {
|
|
2608
|
-
i.lanes |= l, f = i.alternate, f !== null && (f.lanes |= l),
|
|
2608
|
+
i.lanes |= l, f = i.alternate, f !== null && (f.lanes |= l), wc(
|
|
2609
2609
|
i.return,
|
|
2610
2610
|
l,
|
|
2611
2611
|
t
|
|
@@ -2616,7 +2616,7 @@ Error generating stack: ` + a.message + `
|
|
|
2616
2616
|
}
|
|
2617
2617
|
} else if (n.tag === 18) {
|
|
2618
2618
|
if (c = n.return, c === null) throw Error(r(341));
|
|
2619
|
-
c.lanes |= l, i = c.alternate, i !== null && (i.lanes |= l),
|
|
2619
|
+
c.lanes |= l, i = c.alternate, i !== null && (i.lanes |= l), wc(c, l, t), c = null;
|
|
2620
2620
|
} else c = n.child;
|
|
2621
2621
|
if (c !== null) c.return = n;
|
|
2622
2622
|
else
|
|
@@ -2634,7 +2634,7 @@ Error generating stack: ` + a.message + `
|
|
|
2634
2634
|
n = c;
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
|
-
function
|
|
2637
|
+
function Na(t, e, l, a) {
|
|
2638
2638
|
t = null;
|
|
2639
2639
|
for (var n = e, i = !1; n !== null; ) {
|
|
2640
2640
|
if (!i) {
|
|
@@ -2654,7 +2654,7 @@ Error generating stack: ` + a.message + `
|
|
|
2654
2654
|
}
|
|
2655
2655
|
n = n.return;
|
|
2656
2656
|
}
|
|
2657
|
-
t !== null &&
|
|
2657
|
+
t !== null && Nc(
|
|
2658
2658
|
e,
|
|
2659
2659
|
t,
|
|
2660
2660
|
l,
|
|
@@ -2837,12 +2837,12 @@ Error generating stack: ` + a.message + `
|
|
|
2837
2837
|
if (t === ja || t === $i)
|
|
2838
2838
|
throw Error(r(483));
|
|
2839
2839
|
}
|
|
2840
|
-
var Ya = null,
|
|
2840
|
+
var Ya = null, wn = 0;
|
|
2841
2841
|
function Li(t) {
|
|
2842
|
-
var e =
|
|
2843
|
-
return
|
|
2842
|
+
var e = wn;
|
|
2843
|
+
return wn += 1, Ya === null && (Ya = []), If(Ya, t, e);
|
|
2844
2844
|
}
|
|
2845
|
-
function
|
|
2845
|
+
function Nn(t, e) {
|
|
2846
2846
|
e = e.props.ref, t.ref = e !== void 0 ? e : null;
|
|
2847
2847
|
}
|
|
2848
2848
|
function Qi(t, e) {
|
|
@@ -2891,14 +2891,14 @@ Error generating stack: ` + a.message + `
|
|
|
2891
2891
|
T.props.children,
|
|
2892
2892
|
B,
|
|
2893
2893
|
T.key
|
|
2894
|
-
) : m !== null && (m.elementType === tt || typeof tt == "object" && tt !== null && tt.$$typeof === Bt && ra(tt) === m.type) ? (m = n(m, T.props),
|
|
2894
|
+
) : m !== null && (m.elementType === tt || typeof tt == "object" && tt !== null && tt.$$typeof === Bt && ra(tt) === m.type) ? (m = n(m, T.props), Nn(m, T), m.return = b, m) : (m = Hi(
|
|
2895
2895
|
T.type,
|
|
2896
2896
|
T.key,
|
|
2897
2897
|
T.props,
|
|
2898
2898
|
null,
|
|
2899
2899
|
b.mode,
|
|
2900
2900
|
B
|
|
2901
|
-
),
|
|
2901
|
+
), Nn(m, T), m.return = b, m);
|
|
2902
2902
|
}
|
|
2903
2903
|
function C(b, m, T, B) {
|
|
2904
2904
|
return m === null || m.tag !== 4 || m.stateNode.containerInfo !== T.containerInfo || m.stateNode.implementation !== T.implementation ? (m = _c(T, b.mode, B), m.return = b, m) : (m = n(m, T.children || []), m.return = b, m);
|
|
@@ -2911,7 +2911,7 @@ Error generating stack: ` + a.message + `
|
|
|
2911
2911
|
tt
|
|
2912
2912
|
), m.return = b, m) : (m = n(m, T), m.return = b, m);
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function w(b, m, T) {
|
|
2915
2915
|
if (typeof m == "string" && m !== "" || typeof m == "number" || typeof m == "bigint")
|
|
2916
2916
|
return m = Mc(
|
|
2917
2917
|
"" + m,
|
|
@@ -2928,7 +2928,7 @@ Error generating stack: ` + a.message + `
|
|
|
2928
2928
|
null,
|
|
2929
2929
|
b.mode,
|
|
2930
2930
|
T
|
|
2931
|
-
),
|
|
2931
|
+
), Nn(T, m), T.return = b, T;
|
|
2932
2932
|
case W:
|
|
2933
2933
|
return m = _c(
|
|
2934
2934
|
m,
|
|
@@ -2936,7 +2936,7 @@ Error generating stack: ` + a.message + `
|
|
|
2936
2936
|
T
|
|
2937
2937
|
), m.return = b, m;
|
|
2938
2938
|
case Bt:
|
|
2939
|
-
return m = ra(m),
|
|
2939
|
+
return m = ra(m), w(b, m, T);
|
|
2940
2940
|
}
|
|
2941
2941
|
if (xt(m) || ie(m))
|
|
2942
2942
|
return m = na(
|
|
@@ -2946,9 +2946,9 @@ Error generating stack: ` + a.message + `
|
|
|
2946
2946
|
null
|
|
2947
2947
|
), m.return = b, m;
|
|
2948
2948
|
if (typeof m.then == "function")
|
|
2949
|
-
return
|
|
2949
|
+
return w(b, Li(m), T);
|
|
2950
2950
|
if (m.$$typeof === P)
|
|
2951
|
-
return
|
|
2951
|
+
return w(
|
|
2952
2952
|
b,
|
|
2953
2953
|
Yi(b, m),
|
|
2954
2954
|
T
|
|
@@ -3053,7 +3053,7 @@ Error generating stack: ` + a.message + `
|
|
|
3053
3053
|
return l(b, I), pt && rl(b, ft), tt;
|
|
3054
3054
|
if (I === null) {
|
|
3055
3055
|
for (; ft < T.length; ft++)
|
|
3056
|
-
I =
|
|
3056
|
+
I = w(b, T[ft], B), I !== null && (m = i(
|
|
3057
3057
|
I,
|
|
3058
3058
|
m,
|
|
3059
3059
|
ft
|
|
@@ -3093,7 +3093,7 @@ Error generating stack: ` + a.message + `
|
|
|
3093
3093
|
return l(b, I), pt && rl(b, ft), tt;
|
|
3094
3094
|
if (I === null) {
|
|
3095
3095
|
for (; !vt.done; ft++, vt = T.next())
|
|
3096
|
-
vt =
|
|
3096
|
+
vt = w(b, vt.value, B), vt !== null && (m = i(vt, m, ft), bt === null ? tt = vt : bt.sibling = vt, bt = vt);
|
|
3097
3097
|
return pt && rl(b, ft), tt;
|
|
3098
3098
|
}
|
|
3099
3099
|
for (I = a(I); !vt.done; ft++, vt = T.next())
|
|
@@ -3124,7 +3124,7 @@ Error generating stack: ` + a.message + `
|
|
|
3124
3124
|
l(
|
|
3125
3125
|
b,
|
|
3126
3126
|
m.sibling
|
|
3127
|
-
), B = n(m, T.props),
|
|
3127
|
+
), B = n(m, T.props), Nn(B, T), B.return = b, b = B;
|
|
3128
3128
|
break t;
|
|
3129
3129
|
}
|
|
3130
3130
|
l(b, m);
|
|
@@ -3144,7 +3144,7 @@ Error generating stack: ` + a.message + `
|
|
|
3144
3144
|
null,
|
|
3145
3145
|
b.mode,
|
|
3146
3146
|
B
|
|
3147
|
-
),
|
|
3147
|
+
), Nn(B, T), B.return = b, b = B);
|
|
3148
3148
|
}
|
|
3149
3149
|
return c(b);
|
|
3150
3150
|
case W:
|
|
@@ -3211,7 +3211,7 @@ Error generating stack: ` + a.message + `
|
|
|
3211
3211
|
}
|
|
3212
3212
|
return function(b, m, T, B) {
|
|
3213
3213
|
try {
|
|
3214
|
-
|
|
3214
|
+
wn = 0;
|
|
3215
3215
|
var tt = Rt(
|
|
3216
3216
|
b,
|
|
3217
3217
|
m,
|
|
@@ -3253,9 +3253,9 @@ Error generating stack: ` + a.message + `
|
|
|
3253
3253
|
if (a === null) return null;
|
|
3254
3254
|
if (a = a.shared, (Tt & 2) !== 0) {
|
|
3255
3255
|
var n = a.pending;
|
|
3256
|
-
return n === null ? e.next = e : (e.next = n.next, n.next = e), a.pending = e, e =
|
|
3256
|
+
return n === null ? e.next = e : (e.next = n.next, n.next = e), a.pending = e, e = Ni(t), Yf(t, null, l), e;
|
|
3257
3257
|
}
|
|
3258
|
-
return
|
|
3258
|
+
return wi(t, a, e, l), Ni(t);
|
|
3259
3259
|
}
|
|
3260
3260
|
function Hn(t, e, l) {
|
|
3261
3261
|
if (e = e.updateQueue, e !== null && (e = e.shared, (l & 4194048) !== 0)) {
|
|
@@ -3311,7 +3311,7 @@ Error generating stack: ` + a.message + `
|
|
|
3311
3311
|
D !== null && (D = D.updateQueue, f = D.lastBaseUpdate, f !== c && (f === null ? D.firstBaseUpdate = C : f.next = C, D.lastBaseUpdate = h));
|
|
3312
3312
|
}
|
|
3313
3313
|
if (i !== null) {
|
|
3314
|
-
var
|
|
3314
|
+
var w = n.baseState;
|
|
3315
3315
|
c = 0, D = C = h = null, f = i;
|
|
3316
3316
|
do {
|
|
3317
3317
|
var A = f.lane & -536870913, M = A !== f.lane;
|
|
@@ -3330,16 +3330,16 @@ Error generating stack: ` + a.message + `
|
|
|
3330
3330
|
switch (at.tag) {
|
|
3331
3331
|
case 1:
|
|
3332
3332
|
if (k = at.payload, typeof k == "function") {
|
|
3333
|
-
|
|
3333
|
+
w = k.call(Rt, w, A);
|
|
3334
3334
|
break t;
|
|
3335
3335
|
}
|
|
3336
|
-
|
|
3336
|
+
w = k;
|
|
3337
3337
|
break t;
|
|
3338
3338
|
case 3:
|
|
3339
3339
|
k.flags = k.flags & -65537 | 128;
|
|
3340
3340
|
case 0:
|
|
3341
|
-
if (k = at.payload, A = typeof k == "function" ? k.call(Rt,
|
|
3342
|
-
|
|
3341
|
+
if (k = at.payload, A = typeof k == "function" ? k.call(Rt, w, A) : k, A == null) break t;
|
|
3342
|
+
w = O({}, w, A);
|
|
3343
3343
|
break t;
|
|
3344
3344
|
case 2:
|
|
3345
3345
|
Rl = !0;
|
|
@@ -3353,14 +3353,14 @@ Error generating stack: ` + a.message + `
|
|
|
3353
3353
|
payload: f.payload,
|
|
3354
3354
|
callback: f.callback,
|
|
3355
3355
|
next: null
|
|
3356
|
-
}, D === null ? (C = D = M, h =
|
|
3356
|
+
}, D === null ? (C = D = M, h = w) : D = D.next = M, c |= A;
|
|
3357
3357
|
if (f = f.next, f === null) {
|
|
3358
3358
|
if (f = n.shared.pending, f === null)
|
|
3359
3359
|
break;
|
|
3360
3360
|
M = f, f = M.next, M.next = null, n.lastBaseUpdate = M, n.shared.pending = null;
|
|
3361
3361
|
}
|
|
3362
3362
|
} while (!0);
|
|
3363
|
-
D === null && (h =
|
|
3363
|
+
D === null && (h = w), n.baseState = h, n.firstBaseUpdate = C, n.lastBaseUpdate = D, i === null && (n.shared.lanes = 0), jl |= c, t.lanes = c, t.memoizedState = w;
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
function as(t, e) {
|
|
@@ -3385,7 +3385,7 @@ Error generating stack: ` + a.message + `
|
|
|
3385
3385
|
Sl = Zi.current, U(Ga), U(Zi);
|
|
3386
3386
|
}
|
|
3387
3387
|
var Ae = y(null), je = null;
|
|
3388
|
-
function
|
|
3388
|
+
function wl(t) {
|
|
3389
3389
|
var e = t.alternate;
|
|
3390
3390
|
Q($t, $t.current & 1), Q(Ae, t), je === null && (e === null || Ga.current !== null || e.memoizedState !== null) && (je = t);
|
|
3391
3391
|
}
|
|
@@ -3393,9 +3393,9 @@ Error generating stack: ` + a.message + `
|
|
|
3393
3393
|
Q($t, $t.current), Q(Ae, t), je === null && (je = t);
|
|
3394
3394
|
}
|
|
3395
3395
|
function us(t) {
|
|
3396
|
-
t.tag === 22 ? (Q($t, $t.current), Q(Ae, t), je === null && (je = t)) :
|
|
3396
|
+
t.tag === 22 ? (Q($t, $t.current), Q(Ae, t), je === null && (je = t)) : Nl();
|
|
3397
3397
|
}
|
|
3398
|
-
function
|
|
3398
|
+
function Nl() {
|
|
3399
3399
|
Q($t, $t.current), Q(Ae, Ae.current);
|
|
3400
3400
|
}
|
|
3401
3401
|
function Ee(t) {
|
|
@@ -3566,8 +3566,8 @@ Error generating stack: ` + a.message + `
|
|
|
3566
3566
|
e = n.next;
|
|
3567
3567
|
var f = c = null, h = null, C = e, D = !1;
|
|
3568
3568
|
do {
|
|
3569
|
-
var
|
|
3570
|
-
if (
|
|
3569
|
+
var w = C.lane & -536870913;
|
|
3570
|
+
if (w !== C.lane ? (mt & w) === w : (dl & w) === w) {
|
|
3571
3571
|
var A = C.revertLane;
|
|
3572
3572
|
if (A === 0)
|
|
3573
3573
|
h !== null && (h = h.next = {
|
|
@@ -3578,12 +3578,12 @@ Error generating stack: ` + a.message + `
|
|
|
3578
3578
|
hasEagerState: C.hasEagerState,
|
|
3579
3579
|
eagerState: C.eagerState,
|
|
3580
3580
|
next: null
|
|
3581
|
-
}),
|
|
3581
|
+
}), w === Ha && (D = !0);
|
|
3582
3582
|
else if ((dl & A) === A) {
|
|
3583
3583
|
C = C.next, A === Ha && (D = !0);
|
|
3584
3584
|
continue;
|
|
3585
3585
|
} else
|
|
3586
|
-
|
|
3586
|
+
w = {
|
|
3587
3587
|
lane: 0,
|
|
3588
3588
|
revertLane: C.revertLane,
|
|
3589
3589
|
gesture: null,
|
|
@@ -3591,18 +3591,18 @@ Error generating stack: ` + a.message + `
|
|
|
3591
3591
|
hasEagerState: C.hasEagerState,
|
|
3592
3592
|
eagerState: C.eagerState,
|
|
3593
3593
|
next: null
|
|
3594
|
-
}, h === null ? (f = h =
|
|
3595
|
-
|
|
3594
|
+
}, h === null ? (f = h = w, c = i) : h = h.next = w, rt.lanes |= A, jl |= A;
|
|
3595
|
+
w = C.action, da && l(i, w), i = C.hasEagerState ? C.eagerState : l(i, w);
|
|
3596
3596
|
} else
|
|
3597
3597
|
A = {
|
|
3598
|
-
lane:
|
|
3598
|
+
lane: w,
|
|
3599
3599
|
revertLane: C.revertLane,
|
|
3600
3600
|
gesture: C.gesture,
|
|
3601
3601
|
action: C.action,
|
|
3602
3602
|
hasEagerState: C.hasEagerState,
|
|
3603
3603
|
eagerState: C.eagerState,
|
|
3604
3604
|
next: null
|
|
3605
|
-
}, h === null ? (f = h = A, c = i) : h = h.next = A, rt.lanes |=
|
|
3605
|
+
}, h === null ? (f = h = A, c = i) : h = h.next = A, rt.lanes |= w, jl |= w;
|
|
3606
3606
|
C = C.next;
|
|
3607
3607
|
} while (C !== null && C !== e);
|
|
3608
3608
|
if (h === null ? c = i : h.next = f, !Ce(i, t.memoizedState) && (Zt = !0, D && (l = qa, l !== null)))
|
|
@@ -3784,9 +3784,9 @@ Error generating stack: ` + a.message + `
|
|
|
3784
3784
|
t: {
|
|
3785
3785
|
var a = rt;
|
|
3786
3786
|
if (pt) {
|
|
3787
|
-
if (
|
|
3787
|
+
if (Nt) {
|
|
3788
3788
|
e: {
|
|
3789
|
-
for (var n =
|
|
3789
|
+
for (var n = Nt, i = qe; n.nodeType !== 8; ) {
|
|
3790
3790
|
if (!i) {
|
|
3791
3791
|
n = null;
|
|
3792
3792
|
break e;
|
|
@@ -3801,7 +3801,7 @@ Error generating stack: ` + a.message + `
|
|
|
3801
3801
|
i = n.data, n = i === "F!" || i === "F" ? n : null;
|
|
3802
3802
|
}
|
|
3803
3803
|
if (n) {
|
|
3804
|
-
|
|
3804
|
+
Nt = Ye(
|
|
3805
3805
|
n.nextSibling
|
|
3806
3806
|
), a = n.data === "F!";
|
|
3807
3807
|
break t;
|
|
@@ -3974,12 +3974,12 @@ Error generating stack: ` + a.message + `
|
|
|
3974
3974
|
return l.memoizedState = [a, e], a;
|
|
3975
3975
|
}
|
|
3976
3976
|
function io(t, e, l) {
|
|
3977
|
-
return l === void 0 || (dl & 1073741824) !== 0 && (mt & 261930) === 0 ? t.memoizedState = e : (t.memoizedState = l, t =
|
|
3977
|
+
return l === void 0 || (dl & 1073741824) !== 0 && (mt & 261930) === 0 ? t.memoizedState = e : (t.memoizedState = l, t = wd(), rt.lanes |= t, jl |= t, l);
|
|
3978
3978
|
}
|
|
3979
|
-
function
|
|
3980
|
-
return Ce(l, e) ? l : Ga.current !== null ? (t = io(t, l, a), Ce(t, e) || (Zt = !0), t) : (dl & 42) === 0 || (dl & 1073741824) !== 0 && (mt & 261930) === 0 ? (Zt = !0, t.memoizedState = l) : (t =
|
|
3979
|
+
function ws(t, e, l, a) {
|
|
3980
|
+
return Ce(l, e) ? l : Ga.current !== null ? (t = io(t, l, a), Ce(t, e) || (Zt = !0), t) : (dl & 42) === 0 || (dl & 1073741824) !== 0 && (mt & 261930) === 0 ? (Zt = !0, t.memoizedState = l) : (t = wd(), rt.lanes |= t, jl |= t, e);
|
|
3981
3981
|
}
|
|
3982
|
-
function
|
|
3982
|
+
function Ns(t, e, l, a, n) {
|
|
3983
3983
|
var i = G.p;
|
|
3984
3984
|
G.p = i !== 0 && 8 > i ? i : 8;
|
|
3985
3985
|
var c = E.T, f = {};
|
|
@@ -4004,12 +4004,12 @@ Error generating stack: ` + a.message + `
|
|
|
4004
4004
|
a,
|
|
4005
4005
|
Oe(t)
|
|
4006
4006
|
);
|
|
4007
|
-
} catch (
|
|
4007
|
+
} catch (w) {
|
|
4008
4008
|
$n(
|
|
4009
4009
|
t,
|
|
4010
4010
|
e,
|
|
4011
4011
|
{ then: function() {
|
|
4012
|
-
}, status: "rejected", reason:
|
|
4012
|
+
}, status: "rejected", reason: w },
|
|
4013
4013
|
Oe()
|
|
4014
4014
|
);
|
|
4015
4015
|
} finally {
|
|
@@ -4021,7 +4021,7 @@ Error generating stack: ` + a.message + `
|
|
|
4021
4021
|
function uo(t, e, l, a) {
|
|
4022
4022
|
if (t.tag !== 5) throw Error(r(476));
|
|
4023
4023
|
var n = Hs(t).queue;
|
|
4024
|
-
|
|
4024
|
+
Ns(
|
|
4025
4025
|
t,
|
|
4026
4026
|
n,
|
|
4027
4027
|
e,
|
|
@@ -4127,7 +4127,7 @@ Error generating stack: ` + a.message + `
|
|
|
4127
4127
|
try {
|
|
4128
4128
|
var c = e.lastRenderedState, f = i(c, l);
|
|
4129
4129
|
if (n.hasEagerState = !0, n.eagerState = f, Ce(f, c))
|
|
4130
|
-
return
|
|
4130
|
+
return wi(t, e, n, 0), Ut === null && Ui(), !1;
|
|
4131
4131
|
} catch {
|
|
4132
4132
|
}
|
|
4133
4133
|
if (l = Ac(t, e, n, a), l !== null)
|
|
@@ -4275,7 +4275,7 @@ Error generating stack: ` + a.message + `
|
|
|
4275
4275
|
},
|
|
4276
4276
|
useTransition: function() {
|
|
4277
4277
|
var t = eo(!1);
|
|
4278
|
-
return t =
|
|
4278
|
+
return t = Ns.bind(
|
|
4279
4279
|
null,
|
|
4280
4280
|
rt,
|
|
4281
4281
|
t.queue,
|
|
@@ -4373,7 +4373,7 @@ Error generating stack: ` + a.message + `
|
|
|
4373
4373
|
useDebugValue: no,
|
|
4374
4374
|
useDeferredValue: function(t, e) {
|
|
4375
4375
|
var l = Xt();
|
|
4376
|
-
return
|
|
4376
|
+
return ws(
|
|
4377
4377
|
l,
|
|
4378
4378
|
Ot.memoizedState,
|
|
4379
4379
|
t,
|
|
@@ -4418,7 +4418,7 @@ Error generating stack: ` + a.message + `
|
|
|
4418
4418
|
useDebugValue: no,
|
|
4419
4419
|
useDeferredValue: function(t, e) {
|
|
4420
4420
|
var l = Xt();
|
|
4421
|
-
return Ot === null ? io(l, t, e) :
|
|
4421
|
+
return Ot === null ? io(l, t, e) : ws(
|
|
4422
4422
|
l,
|
|
4423
4423
|
Ot.memoizedState,
|
|
4424
4424
|
t,
|
|
@@ -4546,7 +4546,7 @@ Error generating stack: ` + a.message + `
|
|
|
4546
4546
|
}
|
|
4547
4547
|
function ay(t, e, l, a, n) {
|
|
4548
4548
|
if (l.flags |= 32768, a !== null && typeof a == "object" && typeof a.then == "function") {
|
|
4549
|
-
if (e = l.alternate, e !== null &&
|
|
4549
|
+
if (e = l.alternate, e !== null && Na(
|
|
4550
4550
|
e,
|
|
4551
4551
|
l,
|
|
4552
4552
|
n,
|
|
@@ -4568,18 +4568,18 @@ Error generating stack: ` + a.message + `
|
|
|
4568
4568
|
return jo(t, a, n), hu(), !1;
|
|
4569
4569
|
}
|
|
4570
4570
|
if (pt)
|
|
4571
|
-
return e = Ae.current, e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256), e.flags |= 65536, e.lanes = n, a !== Rc && (t = Error(r(422), { cause: a }), Rn(
|
|
4571
|
+
return e = Ae.current, e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256), e.flags |= 65536, e.lanes = n, a !== Rc && (t = Error(r(422), { cause: a }), Rn(we(t, l)))) : (a !== Rc && (e = Error(r(423), {
|
|
4572
4572
|
cause: a
|
|
4573
4573
|
}), Rn(
|
|
4574
|
-
|
|
4575
|
-
)), t = t.current.alternate, t.flags |= 65536, n &= -n, t.lanes |= n, a =
|
|
4574
|
+
we(e, l)
|
|
4575
|
+
)), t = t.current.alternate, t.flags |= 65536, n &= -n, t.lanes |= n, a = we(a, l), n = ho(
|
|
4576
4576
|
t.stateNode,
|
|
4577
4577
|
a,
|
|
4578
4578
|
n
|
|
4579
4579
|
), Xc(t, n), Yt !== 4 && (Yt = 2)), !1;
|
|
4580
4580
|
var i = Error(r(520), { cause: a });
|
|
4581
|
-
if (i =
|
|
4582
|
-
a =
|
|
4581
|
+
if (i = we(i, l), Wn === null ? Wn = [i] : Wn.push(i), Yt !== 4 && (Yt = 2), e === null) return !0;
|
|
4582
|
+
a = we(a, l), l = e;
|
|
4583
4583
|
do {
|
|
4584
4584
|
switch (l.tag) {
|
|
4585
4585
|
case 3:
|
|
@@ -4701,7 +4701,7 @@ Error generating stack: ` + a.message + `
|
|
|
4701
4701
|
a
|
|
4702
4702
|
);
|
|
4703
4703
|
} else
|
|
4704
|
-
i !== null ? (Gi(e, i.cachePool), is(e, i),
|
|
4704
|
+
i !== null ? (Gi(e, i.cachePool), is(e, i), Nl(), e.memoizedState = null) : (t !== null && Gi(e, null), Qc(), Nl());
|
|
4705
4705
|
return ee(t, e, n, l), e.child;
|
|
4706
4706
|
}
|
|
4707
4707
|
function Ln(t, e) {
|
|
@@ -4717,7 +4717,7 @@ Error generating stack: ` + a.message + `
|
|
|
4717
4717
|
return i = i === null ? null : { parent: Lt._currentValue, pool: i }, e.memoizedState = {
|
|
4718
4718
|
baseLanes: l,
|
|
4719
4719
|
cachePool: i
|
|
4720
|
-
}, t !== null && Gi(e, null), Qc(), us(e), t !== null &&
|
|
4720
|
+
}, t !== null && Gi(e, null), Qc(), us(e), t !== null && Na(t, e, a, !0), e.childLanes = n, null;
|
|
4721
4721
|
}
|
|
4722
4722
|
function lu(t, e) {
|
|
4723
4723
|
return e = nu(
|
|
@@ -4734,7 +4734,7 @@ Error generating stack: ` + a.message + `
|
|
|
4734
4734
|
if (pt) {
|
|
4735
4735
|
if (a.mode === "hidden")
|
|
4736
4736
|
return t = lu(e, a), e.lanes = 536870912, Ln(null, t);
|
|
4737
|
-
if (Vc(e), (t =
|
|
4737
|
+
if (Vc(e), (t = Nt) ? (t = yh(
|
|
4738
4738
|
t,
|
|
4739
4739
|
qe
|
|
4740
4740
|
), t = t !== null && t.data === "&" ? t : null, t !== null && (e.memoizedState = {
|
|
@@ -4742,7 +4742,7 @@ Error generating stack: ` + a.message + `
|
|
|
4742
4742
|
treeContext: Ml !== null ? { id: ke, overflow: Ke } : null,
|
|
4743
4743
|
retryLane: 536870912,
|
|
4744
4744
|
hydrationErrors: null
|
|
4745
|
-
}, l = $f(t), l.return = e, e.child = l, Pt = e,
|
|
4745
|
+
}, l = $f(t), l.return = e, e.child = l, Pt = e, Nt = null)) : t = null, t === null) throw Ol(e);
|
|
4746
4746
|
return e.lanes = 536870912, null;
|
|
4747
4747
|
}
|
|
4748
4748
|
return lu(e, a);
|
|
@@ -4760,7 +4760,7 @@ Error generating stack: ` + a.message + `
|
|
|
4760
4760
|
else if (e.memoizedState !== null)
|
|
4761
4761
|
e.child = t.child, e.flags |= 128, e = null;
|
|
4762
4762
|
else throw Error(r(558));
|
|
4763
|
-
else if (Zt ||
|
|
4763
|
+
else if (Zt || Na(t, e, l, !1), n = (l & t.childLanes) !== 0, Zt || n) {
|
|
4764
4764
|
if (a = Ut, a !== null && (c = kr(a, l), c !== 0 && c !== i.retryLane))
|
|
4765
4765
|
throw i.retryLane = c, aa(t, c), be(a, t, c), go;
|
|
4766
4766
|
hu(), e = nd(
|
|
@@ -4769,7 +4769,7 @@ Error generating stack: ` + a.message + `
|
|
|
4769
4769
|
l
|
|
4770
4770
|
);
|
|
4771
4771
|
} else
|
|
4772
|
-
t = i.treeContext,
|
|
4772
|
+
t = i.treeContext, Nt = Ye(c.nextSibling), Pt = e, pt = !0, _l = null, qe = !1, t !== null && Qf(e, t), e = lu(e, a), e.flags |= 4096;
|
|
4773
4773
|
return e;
|
|
4774
4774
|
}
|
|
4775
4775
|
return t = ol(t.child, {
|
|
@@ -4820,18 +4820,18 @@ Error generating stack: ` + a.message + `
|
|
|
4820
4820
|
i.props = h;
|
|
4821
4821
|
var C = i.context, D = l.contextType;
|
|
4822
4822
|
c = Ra, typeof D == "object" && D !== null && (c = te(D));
|
|
4823
|
-
var
|
|
4824
|
-
D = typeof
|
|
4823
|
+
var w = l.getDerivedStateFromProps;
|
|
4824
|
+
D = typeof w == "function" || typeof i.getSnapshotBeforeUpdate == "function", f = e.pendingProps !== f, D || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (f || C !== c) && Vs(
|
|
4825
4825
|
e,
|
|
4826
4826
|
i,
|
|
4827
4827
|
a,
|
|
4828
4828
|
c
|
|
4829
4829
|
), Rl = !1;
|
|
4830
4830
|
var A = e.memoizedState;
|
|
4831
|
-
i.state = A, jn(e, a, i, n), qn(), C = e.memoizedState, f || A !== C || Rl ? (typeof
|
|
4831
|
+
i.state = A, jn(e, a, i, n), qn(), C = e.memoizedState, f || A !== C || Rl ? (typeof w == "function" && (fo(
|
|
4832
4832
|
e,
|
|
4833
4833
|
l,
|
|
4834
|
-
|
|
4834
|
+
w,
|
|
4835
4835
|
a
|
|
4836
4836
|
), C = e.memoizedState), (h = Rl || Zs(
|
|
4837
4837
|
e,
|
|
@@ -4843,14 +4843,14 @@ Error generating stack: ` + a.message + `
|
|
|
4843
4843
|
c
|
|
4844
4844
|
)) ? (D || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), e.memoizedProps = a, e.memoizedState = C), i.props = a, i.state = C, i.context = c, a = h) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), a = !1);
|
|
4845
4845
|
} else {
|
|
4846
|
-
i = e.stateNode, $c(t, e), c = e.memoizedProps, D = ha(l, c), i.props = D,
|
|
4846
|
+
i = e.stateNode, $c(t, e), c = e.memoizedProps, D = ha(l, c), i.props = D, w = e.pendingProps, A = i.context, C = l.contextType, h = Ra, typeof C == "object" && C !== null && (h = te(C)), f = l.getDerivedStateFromProps, (C = typeof f == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (c !== w || A !== h) && Vs(
|
|
4847
4847
|
e,
|
|
4848
4848
|
i,
|
|
4849
4849
|
a,
|
|
4850
4850
|
h
|
|
4851
4851
|
), Rl = !1, A = e.memoizedState, i.state = A, jn(e, a, i, n), qn();
|
|
4852
4852
|
var M = e.memoizedState;
|
|
4853
|
-
c !==
|
|
4853
|
+
c !== w || A !== M || Rl || t !== null && t.dependencies !== null && ji(t.dependencies) ? (typeof f == "function" && (fo(
|
|
4854
4854
|
e,
|
|
4855
4855
|
l,
|
|
4856
4856
|
f,
|
|
@@ -4904,7 +4904,7 @@ Error generating stack: ` + a.message + `
|
|
|
4904
4904
|
var a = e.pendingProps, n = !1, i = (e.flags & 128) !== 0, c;
|
|
4905
4905
|
if ((c = i) || (c = t !== null && t.memoizedState === null ? !1 : ($t.current & 2) !== 0), c && (n = !0, e.flags &= -129), c = (e.flags & 32) !== 0, e.flags &= -33, t === null) {
|
|
4906
4906
|
if (pt) {
|
|
4907
|
-
if (n ?
|
|
4907
|
+
if (n ? wl(e) : Nl(), (t = Nt) ? (t = yh(
|
|
4908
4908
|
t,
|
|
4909
4909
|
qe
|
|
4910
4910
|
), t = t !== null && t.data !== "&" ? t : null, t !== null && (e.memoizedState = {
|
|
@@ -4912,11 +4912,11 @@ Error generating stack: ` + a.message + `
|
|
|
4912
4912
|
treeContext: Ml !== null ? { id: ke, overflow: Ke } : null,
|
|
4913
4913
|
retryLane: 536870912,
|
|
4914
4914
|
hydrationErrors: null
|
|
4915
|
-
}, l = $f(t), l.return = e, e.child = l, Pt = e,
|
|
4915
|
+
}, l = $f(t), l.return = e, e.child = l, Pt = e, Nt = null)) : t = null, t === null) throw Ol(e);
|
|
4916
4916
|
return tr(t) ? e.lanes = 32 : e.lanes = 536870912, null;
|
|
4917
4917
|
}
|
|
4918
4918
|
var f = a.children;
|
|
4919
|
-
return a = a.fallback, n ? (
|
|
4919
|
+
return a = a.fallback, n ? (Nl(), n = e.mode, f = nu(
|
|
4920
4920
|
{ mode: "hidden", children: f },
|
|
4921
4921
|
n
|
|
4922
4922
|
), a = na(
|
|
@@ -4928,16 +4928,16 @@ Error generating stack: ` + a.message + `
|
|
|
4928
4928
|
t,
|
|
4929
4929
|
c,
|
|
4930
4930
|
l
|
|
4931
|
-
), e.memoizedState = yo, Ln(null, a)) : (
|
|
4931
|
+
), e.memoizedState = yo, Ln(null, a)) : (wl(e), vo(e, f));
|
|
4932
4932
|
}
|
|
4933
4933
|
var h = t.memoizedState;
|
|
4934
4934
|
if (h !== null && (f = h.dehydrated, f !== null)) {
|
|
4935
4935
|
if (i)
|
|
4936
|
-
e.flags & 256 ? (
|
|
4936
|
+
e.flags & 256 ? (wl(e), e.flags &= -257, e = So(
|
|
4937
4937
|
t,
|
|
4938
4938
|
e,
|
|
4939
4939
|
l
|
|
4940
|
-
)) : e.memoizedState !== null ? (
|
|
4940
|
+
)) : e.memoizedState !== null ? (Nl(), e.child = t.child, e.flags |= 128, e = null) : (Nl(), f = a.fallback, n = e.mode, a = nu(
|
|
4941
4941
|
{ mode: "visible", children: a.children },
|
|
4942
4942
|
n
|
|
4943
4943
|
), f = na(
|
|
@@ -4955,14 +4955,14 @@ Error generating stack: ` + a.message + `
|
|
|
4955
4955
|
c,
|
|
4956
4956
|
l
|
|
4957
4957
|
), e.memoizedState = yo, e = Ln(null, a));
|
|
4958
|
-
else if (
|
|
4958
|
+
else if (wl(e), tr(f)) {
|
|
4959
4959
|
if (c = f.nextSibling && f.nextSibling.dataset, c) var C = c.dgst;
|
|
4960
4960
|
c = C, a = Error(r(419)), a.stack = "", a.digest = c, Rn({ value: a, source: null, stack: null }), e = So(
|
|
4961
4961
|
t,
|
|
4962
4962
|
e,
|
|
4963
4963
|
l
|
|
4964
4964
|
);
|
|
4965
|
-
} else if (Zt ||
|
|
4965
|
+
} else if (Zt || Na(t, e, l, !1), c = (l & t.childLanes) !== 0, Zt || c) {
|
|
4966
4966
|
if (c = Ut, c !== null && (a = kr(c, l), a !== 0 && a !== h.retryLane))
|
|
4967
4967
|
throw h.retryLane = a, aa(t, a), be(c, t, a), go;
|
|
4968
4968
|
Po(f) || hu(), e = So(
|
|
@@ -4971,7 +4971,7 @@ Error generating stack: ` + a.message + `
|
|
|
4971
4971
|
l
|
|
4972
4972
|
);
|
|
4973
4973
|
} else
|
|
4974
|
-
Po(f) ? (e.flags |= 192, e.child = t.child, e = null) : (t = h.treeContext,
|
|
4974
|
+
Po(f) ? (e.flags |= 192, e.child = t.child, e = null) : (t = h.treeContext, Nt = Ye(
|
|
4975
4975
|
f.nextSibling
|
|
4976
4976
|
), Pt = e, pt = !0, _l = null, qe = !1, t !== null && Qf(e, t), e = vo(
|
|
4977
4977
|
e,
|
|
@@ -4979,7 +4979,7 @@ Error generating stack: ` + a.message + `
|
|
|
4979
4979
|
), e.flags |= 4096);
|
|
4980
4980
|
return e;
|
|
4981
4981
|
}
|
|
4982
|
-
return n ? (
|
|
4982
|
+
return n ? (Nl(), f = a.fallback, n = e.mode, h = t.child, C = h.sibling, a = ol(h, {
|
|
4983
4983
|
mode: "hidden",
|
|
4984
4984
|
children: a.children
|
|
4985
4985
|
}), a.subtreeFlags = h.subtreeFlags & 65011712, C !== null ? f = ol(
|
|
@@ -4997,7 +4997,7 @@ Error generating stack: ` + a.message + `
|
|
|
4997
4997
|
t,
|
|
4998
4998
|
c,
|
|
4999
4999
|
l
|
|
5000
|
-
), e.memoizedState = yo, Ln(t.child, a)) : (
|
|
5000
|
+
), e.memoizedState = yo, Ln(t.child, a)) : (wl(e), l = t.child, t = l.sibling, l = ol(l, {
|
|
5001
5001
|
mode: "visible",
|
|
5002
5002
|
children: a.children
|
|
5003
5003
|
}), l.return = e, l.sibling = null, t !== null && (c = e.deletions, c === null ? (e.deletions = [t], e.flags |= 16) : c.push(t)), e.child = l, e.memoizedState = null, l);
|
|
@@ -5020,7 +5020,7 @@ Error generating stack: ` + a.message + `
|
|
|
5020
5020
|
function rd(t, e, l) {
|
|
5021
5021
|
t.lanes |= e;
|
|
5022
5022
|
var a = t.alternate;
|
|
5023
|
-
a !== null && (a.lanes |= e),
|
|
5023
|
+
a !== null && (a.lanes |= e), wc(t.return, e, l);
|
|
5024
5024
|
}
|
|
5025
5025
|
function xo(t, e, l, a, n, i) {
|
|
5026
5026
|
var c = t.memoizedState;
|
|
@@ -5105,7 +5105,7 @@ Error generating stack: ` + a.message + `
|
|
|
5105
5105
|
function gl(t, e, l) {
|
|
5106
5106
|
if (t !== null && (e.dependencies = t.dependencies), jl |= e.lanes, (l & e.childLanes) === 0)
|
|
5107
5107
|
if (t !== null) {
|
|
5108
|
-
if (
|
|
5108
|
+
if (Na(
|
|
5109
5109
|
t,
|
|
5110
5110
|
e,
|
|
5111
5111
|
l,
|
|
@@ -5151,16 +5151,16 @@ Error generating stack: ` + a.message + `
|
|
|
5151
5151
|
case 13:
|
|
5152
5152
|
var a = e.memoizedState;
|
|
5153
5153
|
if (a !== null)
|
|
5154
|
-
return a.dehydrated !== null ? (
|
|
5154
|
+
return a.dehydrated !== null ? (wl(e), e.flags |= 128, null) : (l & e.child.childLanes) !== 0 ? od(t, e, l) : (wl(e), t = gl(
|
|
5155
5155
|
t,
|
|
5156
5156
|
e,
|
|
5157
5157
|
l
|
|
5158
5158
|
), t !== null ? t.sibling : null);
|
|
5159
|
-
|
|
5159
|
+
wl(e);
|
|
5160
5160
|
break;
|
|
5161
5161
|
case 19:
|
|
5162
5162
|
var n = (t.flags & 128) !== 0;
|
|
5163
|
-
if (a = (l & e.childLanes) !== 0, a || (
|
|
5163
|
+
if (a = (l & e.childLanes) !== 0, a || (Na(
|
|
5164
5164
|
t,
|
|
5165
5165
|
e,
|
|
5166
5166
|
l,
|
|
@@ -5224,7 +5224,7 @@ Error generating stack: ` + a.message + `
|
|
|
5224
5224
|
else {
|
|
5225
5225
|
if (t != null) {
|
|
5226
5226
|
var n = t.$$typeof;
|
|
5227
|
-
if (n ===
|
|
5227
|
+
if (n === N) {
|
|
5228
5228
|
e.tag = 11, e = Ps(
|
|
5229
5229
|
null,
|
|
5230
5230
|
e,
|
|
@@ -5244,7 +5244,7 @@ Error generating stack: ` + a.message + `
|
|
|
5244
5244
|
break t;
|
|
5245
5245
|
}
|
|
5246
5246
|
}
|
|
5247
|
-
throw e =
|
|
5247
|
+
throw e = wt(t) || t, Error(r(306, e, ""));
|
|
5248
5248
|
}
|
|
5249
5249
|
}
|
|
5250
5250
|
return e;
|
|
@@ -5277,7 +5277,7 @@ Error generating stack: ` + a.message + `
|
|
|
5277
5277
|
var i = e.memoizedState;
|
|
5278
5278
|
n = i.element, $c(t, e), jn(e, a, null, l);
|
|
5279
5279
|
var c = e.memoizedState;
|
|
5280
|
-
if (a = c.cache, Dl(e, Lt, a), a !== i.cache &&
|
|
5280
|
+
if (a = c.cache, Dl(e, Lt, a), a !== i.cache && Nc(
|
|
5281
5281
|
e,
|
|
5282
5282
|
[Lt],
|
|
5283
5283
|
l,
|
|
@@ -5296,7 +5296,7 @@ Error generating stack: ` + a.message + `
|
|
|
5296
5296
|
);
|
|
5297
5297
|
break t;
|
|
5298
5298
|
} else if (a !== n) {
|
|
5299
|
-
n =
|
|
5299
|
+
n = we(
|
|
5300
5300
|
Error(r(424)),
|
|
5301
5301
|
e
|
|
5302
5302
|
), Rn(n), e = cd(
|
|
@@ -5307,7 +5307,7 @@ Error generating stack: ` + a.message + `
|
|
|
5307
5307
|
);
|
|
5308
5308
|
break t;
|
|
5309
5309
|
} else
|
|
5310
|
-
for (t = e.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t,
|
|
5310
|
+
for (t = e.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t, Nt = Ye(t.firstChild), Pt = e, pt = !0, _l = null, qe = !0, l = ls(
|
|
5311
5311
|
e,
|
|
5312
5312
|
null,
|
|
5313
5313
|
a,
|
|
@@ -5347,19 +5347,19 @@ Error generating stack: ` + a.message + `
|
|
|
5347
5347
|
e.type,
|
|
5348
5348
|
e.pendingProps,
|
|
5349
5349
|
dt.current
|
|
5350
|
-
), Pt = e, qe = !0, n =
|
|
5350
|
+
), Pt = e, qe = !0, n = Nt, Ll(e.type) ? (er = n, Nt = Ye(a.firstChild)) : Nt = n), ee(
|
|
5351
5351
|
t,
|
|
5352
5352
|
e,
|
|
5353
5353
|
e.pendingProps.children,
|
|
5354
5354
|
l
|
|
5355
5355
|
), au(t, e), t === null && (e.flags |= 4194304), e.child;
|
|
5356
5356
|
case 5:
|
|
5357
|
-
return t === null && pt && ((n = a =
|
|
5357
|
+
return t === null && pt && ((n = a = Nt) && (a = Ny(
|
|
5358
5358
|
a,
|
|
5359
5359
|
e.type,
|
|
5360
5360
|
e.pendingProps,
|
|
5361
5361
|
qe
|
|
5362
|
-
), a !== null ? (e.stateNode = a, Pt = e,
|
|
5362
|
+
), a !== null ? (e.stateNode = a, Pt = e, Nt = Ye(a.firstChild), qe = !1, n = !0) : n = !1), n || Ol(e)), mn(e), n = e.type, i = e.pendingProps, c = t !== null ? t.memoizedProps : null, a = i.children, Wo(n, i) ? a = null : c !== null && Wo(n, c) && (e.flags |= 32), e.memoizedState !== null && (n = Kc(
|
|
5363
5363
|
t,
|
|
5364
5364
|
e,
|
|
5365
5365
|
Wm,
|
|
@@ -5368,11 +5368,11 @@ Error generating stack: ` + a.message + `
|
|
|
5368
5368
|
l
|
|
5369
5369
|
), ni._currentValue = n), au(t, e), ee(t, e, a, l), e.child;
|
|
5370
5370
|
case 6:
|
|
5371
|
-
return t === null && pt && ((t = l =
|
|
5371
|
+
return t === null && pt && ((t = l = Nt) && (l = Hy(
|
|
5372
5372
|
l,
|
|
5373
5373
|
e.pendingProps,
|
|
5374
5374
|
qe
|
|
5375
|
-
), l !== null ? (e.stateNode = l, Pt = e,
|
|
5375
|
+
), l !== null ? (e.stateNode = l, Pt = e, Nt = null, t = !0) : t = !1), t || Ol(e)), null;
|
|
5376
5376
|
case 13:
|
|
5377
5377
|
return od(t, e, l);
|
|
5378
5378
|
case 4:
|
|
@@ -5446,7 +5446,7 @@ Error generating stack: ` + a.message + `
|
|
|
5446
5446
|
e.pendingProps
|
|
5447
5447
|
);
|
|
5448
5448
|
case 24:
|
|
5449
|
-
return ca(e), a = te(Lt), t === null ? (n = jc(), n === null && (n = Ut, i = Hc(), n.pooledCache = i, i.refCount++, i !== null && (n.pooledCacheLanes |= l), n = i), e.memoizedState = { parent: a, cache: n }, Gc(e), Dl(e, Lt, n)) : ((t.lanes & l) !== 0 && ($c(t, e), jn(e, null, null, l), qn()), n = t.memoizedState, i = e.memoizedState, n.parent !== a ? (n = { parent: a, cache: a }, e.memoizedState = n, e.lanes === 0 && (e.memoizedState = e.updateQueue.baseState = n), Dl(e, Lt, a)) : (a = i.cache, Dl(e, Lt, a), a !== n.cache &&
|
|
5449
|
+
return ca(e), a = te(Lt), t === null ? (n = jc(), n === null && (n = Ut, i = Hc(), n.pooledCache = i, i.refCount++, i !== null && (n.pooledCacheLanes |= l), n = i), e.memoizedState = { parent: a, cache: n }, Gc(e), Dl(e, Lt, n)) : ((t.lanes & l) !== 0 && ($c(t, e), jn(e, null, null, l), qn()), n = t.memoizedState, i = e.memoizedState, n.parent !== a ? (n = { parent: a, cache: a }, e.memoizedState = n, e.lanes === 0 && (e.memoizedState = e.updateQueue.baseState = n), Dl(e, Lt, a)) : (a = i.cache, Dl(e, Lt, a), a !== n.cache && Nc(
|
|
5450
5450
|
e,
|
|
5451
5451
|
[Lt],
|
|
5452
5452
|
l,
|
|
@@ -5527,7 +5527,7 @@ Error generating stack: ` + a.message + `
|
|
|
5527
5527
|
case 1:
|
|
5528
5528
|
return Ht(e), null;
|
|
5529
5529
|
case 3:
|
|
5530
|
-
return l = e.stateNode, a = null, t !== null && (a = t.memoizedState.cache), e.memoizedState.cache !== a && (e.flags |= 2048), sl(Lt), Gt(), l.pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (t === null || t.child === null) && (
|
|
5530
|
+
return l = e.stateNode, a = null, t !== null && (a = t.memoizedState.cache), e.memoizedState.cache !== a && (e.flags |= 2048), sl(Lt), Gt(), l.pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (t === null || t.child === null) && (wa(e) ? ml(e) : t === null || t.memoizedState.isDehydrated && (e.flags & 256) === 0 || (e.flags |= 1024, Bc())), Ht(e), null;
|
|
5531
5531
|
case 26:
|
|
5532
5532
|
var n = e.type, i = e.memoizedState;
|
|
5533
5533
|
return t === null ? (ml(e), i !== null ? (Ht(e), dd(e, i)) : (Ht(e), Co(
|
|
@@ -5552,7 +5552,7 @@ Error generating stack: ` + a.message + `
|
|
|
5552
5552
|
throw Error(r(166));
|
|
5553
5553
|
return Ht(e), null;
|
|
5554
5554
|
}
|
|
5555
|
-
t = F.current,
|
|
5555
|
+
t = F.current, wa(e) ? Zf(e) : (t = vh(n, a, l), e.stateNode = t, ml(e));
|
|
5556
5556
|
}
|
|
5557
5557
|
return Ht(e), null;
|
|
5558
5558
|
case 5:
|
|
@@ -5564,7 +5564,7 @@ Error generating stack: ` + a.message + `
|
|
|
5564
5564
|
throw Error(r(166));
|
|
5565
5565
|
return Ht(e), null;
|
|
5566
5566
|
}
|
|
5567
|
-
if (i = F.current,
|
|
5567
|
+
if (i = F.current, wa(e))
|
|
5568
5568
|
Zf(e);
|
|
5569
5569
|
else {
|
|
5570
5570
|
var c = Su(
|
|
@@ -5657,7 +5657,7 @@ Error generating stack: ` + a.message + `
|
|
|
5657
5657
|
else {
|
|
5658
5658
|
if (typeof a != "string" && e.stateNode === null)
|
|
5659
5659
|
throw Error(r(166));
|
|
5660
|
-
if (t = dt.current,
|
|
5660
|
+
if (t = dt.current, wa(e)) {
|
|
5661
5661
|
if (t = e.stateNode, l = e.memoizedProps, a = null, n = Pt, n !== null)
|
|
5662
5662
|
switch (n.tag) {
|
|
5663
5663
|
case 27:
|
|
@@ -5673,7 +5673,7 @@ Error generating stack: ` + a.message + `
|
|
|
5673
5673
|
return Ht(e), null;
|
|
5674
5674
|
case 31:
|
|
5675
5675
|
if (l = e.memoizedState, t === null || t.memoizedState !== null) {
|
|
5676
|
-
if (a =
|
|
5676
|
+
if (a = wa(e), l !== null) {
|
|
5677
5677
|
if (t === null) {
|
|
5678
5678
|
if (!a) throw Error(r(318));
|
|
5679
5679
|
if (t = e.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(r(557));
|
|
@@ -5691,7 +5691,7 @@ Error generating stack: ` + a.message + `
|
|
|
5691
5691
|
return Ht(e), null;
|
|
5692
5692
|
case 13:
|
|
5693
5693
|
if (a = e.memoizedState, t === null || t.memoizedState !== null && t.memoizedState.dehydrated !== null) {
|
|
5694
|
-
if (n =
|
|
5694
|
+
if (n = wa(e), a !== null && a.dehydrated !== null) {
|
|
5695
5695
|
if (t === null) {
|
|
5696
5696
|
if (!n) throw Error(r(318));
|
|
5697
5697
|
if (n = e.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(r(317));
|
|
@@ -6028,16 +6028,16 @@ Error generating stack: ` + a.message + `
|
|
|
6028
6028
|
l = null;
|
|
6029
6029
|
break t;
|
|
6030
6030
|
}
|
|
6031
|
-
var c = 0, f = -1, h = -1, C = 0, D = 0,
|
|
6031
|
+
var c = 0, f = -1, h = -1, C = 0, D = 0, w = t, A = null;
|
|
6032
6032
|
e: for (; ; ) {
|
|
6033
|
-
for (var M;
|
|
6034
|
-
A =
|
|
6033
|
+
for (var M; w !== l || n !== 0 && w.nodeType !== 3 || (f = c + n), w !== i || a !== 0 && w.nodeType !== 3 || (h = c + a), w.nodeType === 3 && (c += w.nodeValue.length), (M = w.firstChild) !== null; )
|
|
6034
|
+
A = w, w = M;
|
|
6035
6035
|
for (; ; ) {
|
|
6036
|
-
if (
|
|
6037
|
-
if (A === l && ++C === n && (f = c), A === i && ++D === a && (h = c), (M =
|
|
6038
|
-
|
|
6036
|
+
if (w === t) break e;
|
|
6037
|
+
if (A === l && ++C === n && (f = c), A === i && ++D === a && (h = c), (M = w.nextSibling) !== null) break;
|
|
6038
|
+
w = A, A = w.parentNode;
|
|
6039
6039
|
}
|
|
6040
|
-
|
|
6040
|
+
w = M;
|
|
6041
6041
|
}
|
|
6042
6042
|
l = f === -1 || h === -1 ? null : { start: f, end: h };
|
|
6043
6043
|
} else l = null;
|
|
@@ -6553,7 +6553,7 @@ Error generating stack: ` + a.message + `
|
|
|
6553
6553
|
c = i.style, typeof c.setProperty == "function" ? c.setProperty("display", "none", "important") : c.display = "none";
|
|
6554
6554
|
else {
|
|
6555
6555
|
f = h.stateNode;
|
|
6556
|
-
var
|
|
6556
|
+
var w = h.memoizedProps.style, A = w != null && w.hasOwnProperty("display") ? w.display : null;
|
|
6557
6557
|
f.style.display = A == null || typeof A == "boolean" ? "" : ("" + A).trim();
|
|
6558
6558
|
}
|
|
6559
6559
|
} catch (k) {
|
|
@@ -7167,11 +7167,11 @@ Error generating stack: ` + a.message + `
|
|
|
7167
7167
|
cacheSignal: function() {
|
|
7168
7168
|
return te(Lt).controller.signal;
|
|
7169
7169
|
}
|
|
7170
|
-
}, sy = typeof WeakMap == "function" ? WeakMap : Map, Tt = 0, Ut = null, ht = null, mt = 0, Mt = 0, Me = null, ql = !1, Va = !1, Do = !1, Sl = 0, Yt = 0, jl = 0, ma = 0, Ro = 0, _e = 0, ka = 0, Wn = null, pe = null, Bo = !1, ru = 0, Bd = 0, fu = 1 / 0, su = null, Yl = null, Kt = 0, Gl = null, Ka = null, xl = 0, Uo = 0,
|
|
7170
|
+
}, sy = typeof WeakMap == "function" ? WeakMap : Map, Tt = 0, Ut = null, ht = null, mt = 0, Mt = 0, Me = null, ql = !1, Va = !1, Do = !1, Sl = 0, Yt = 0, jl = 0, ma = 0, Ro = 0, _e = 0, ka = 0, Wn = null, pe = null, Bo = !1, ru = 0, Bd = 0, fu = 1 / 0, su = null, Yl = null, Kt = 0, Gl = null, Ka = null, xl = 0, Uo = 0, wo = null, Ud = null, Fn = 0, No = null;
|
|
7171
7171
|
function Oe() {
|
|
7172
7172
|
return (Tt & 2) !== 0 && mt !== 0 ? mt & -mt : E.T !== null ? $o() : Kr();
|
|
7173
7173
|
}
|
|
7174
|
-
function
|
|
7174
|
+
function wd() {
|
|
7175
7175
|
if (_e === 0)
|
|
7176
7176
|
if ((mt & 536870912) === 0 || pt) {
|
|
7177
7177
|
var t = vi;
|
|
@@ -7192,7 +7192,7 @@ Error generating stack: ` + a.message + `
|
|
|
7192
7192
|
!1
|
|
7193
7193
|
)), We(t));
|
|
7194
7194
|
}
|
|
7195
|
-
function
|
|
7195
|
+
function Nd(t, e, l) {
|
|
7196
7196
|
if ((Tt & 6) !== 0) throw Error(r(327));
|
|
7197
7197
|
var a = !l && (e & 127) === 0 && (e & t.expiredLanes) === 0 || pn(t, e), n = a ? gy(t, e) : qo(t, e, !0), i = a;
|
|
7198
7198
|
do {
|
|
@@ -7313,9 +7313,9 @@ Error generating stack: ` + a.message + `
|
|
|
7313
7313
|
} while (!0);
|
|
7314
7314
|
We(t);
|
|
7315
7315
|
}
|
|
7316
|
-
function Hd(t, e, l, a, n, i, c, f, h, C, D,
|
|
7317
|
-
if (t.timeoutHandle = -1,
|
|
7318
|
-
|
|
7316
|
+
function Hd(t, e, l, a, n, i, c, f, h, C, D, w, A, M) {
|
|
7317
|
+
if (t.timeoutHandle = -1, w = e.subtreeFlags, w & 8192 || (w & 16785408) === 16785408) {
|
|
7318
|
+
w = {
|
|
7319
7319
|
stylesheets: null,
|
|
7320
7320
|
count: 0,
|
|
7321
7321
|
imgCount: 0,
|
|
@@ -7327,11 +7327,11 @@ Error generating stack: ` + a.message + `
|
|
|
7327
7327
|
}, _d(
|
|
7328
7328
|
e,
|
|
7329
7329
|
i,
|
|
7330
|
-
|
|
7330
|
+
w
|
|
7331
7331
|
);
|
|
7332
7332
|
var k = (i & 62914560) === i ? ru - Se() : (i & 4194048) === i ? Bd - Se() : 0;
|
|
7333
7333
|
if (k = Wy(
|
|
7334
|
-
|
|
7334
|
+
w,
|
|
7335
7335
|
k
|
|
7336
7336
|
), k !== null) {
|
|
7337
7337
|
xl = i, t.cancelPendingCommit = k(
|
|
@@ -7347,7 +7347,7 @@ Error generating stack: ` + a.message + `
|
|
|
7347
7347
|
f,
|
|
7348
7348
|
h,
|
|
7349
7349
|
D,
|
|
7350
|
-
|
|
7350
|
+
w,
|
|
7351
7351
|
null,
|
|
7352
7352
|
A,
|
|
7353
7353
|
M
|
|
@@ -7410,7 +7410,7 @@ Error generating stack: ` + a.message + `
|
|
|
7410
7410
|
if (Mt === 0)
|
|
7411
7411
|
var t = ht.return;
|
|
7412
7412
|
else
|
|
7413
|
-
t = ht, fl = ua = null, Fc(t), Ya = null,
|
|
7413
|
+
t = ht, fl = ua = null, Fc(t), Ya = null, wn = 0, t = ht;
|
|
7414
7414
|
for (; t !== null; )
|
|
7415
7415
|
hd(t.alternate, t), t = t.return;
|
|
7416
7416
|
ht = null;
|
|
@@ -7430,7 +7430,7 @@ Error generating stack: ` + a.message + `
|
|
|
7430
7430
|
function qd(t, e) {
|
|
7431
7431
|
rt = null, E.H = Xn, e === ja || e === $i ? (e = Pf(), Mt = 3) : e === Yc ? (e = Pf(), Mt = 4) : Mt = e === go ? 8 : e !== null && typeof e == "object" && typeof e.then == "function" ? 6 : 1, Me = e, ht === null && (Yt = 1, eu(
|
|
7432
7432
|
t,
|
|
7433
|
-
|
|
7433
|
+
we(e, t.current)
|
|
7434
7434
|
));
|
|
7435
7435
|
}
|
|
7436
7436
|
function jd() {
|
|
@@ -7608,7 +7608,7 @@ Error generating stack: ` + a.message + `
|
|
|
7608
7608
|
t.memoizedProps = t.pendingProps, e === null ? gu(t) : ht = e;
|
|
7609
7609
|
}
|
|
7610
7610
|
function Wa(t, e, l, a) {
|
|
7611
|
-
fl = ua = null, Fc(e), Ya = null,
|
|
7611
|
+
fl = ua = null, Fc(e), Ya = null, wn = 0;
|
|
7612
7612
|
var n = e.return;
|
|
7613
7613
|
try {
|
|
7614
7614
|
if (ay(
|
|
@@ -7620,7 +7620,7 @@ Error generating stack: ` + a.message + `
|
|
|
7620
7620
|
)) {
|
|
7621
7621
|
Yt = 1, eu(
|
|
7622
7622
|
t,
|
|
7623
|
-
|
|
7623
|
+
we(l, t.current)
|
|
7624
7624
|
), ht = null;
|
|
7625
7625
|
return;
|
|
7626
7626
|
}
|
|
@@ -7628,7 +7628,7 @@ Error generating stack: ` + a.message + `
|
|
|
7628
7628
|
if (n !== null) throw ht = n, i;
|
|
7629
7629
|
Yt = 1, eu(
|
|
7630
7630
|
t,
|
|
7631
|
-
|
|
7631
|
+
we(l, t.current)
|
|
7632
7632
|
), ht = null;
|
|
7633
7633
|
return;
|
|
7634
7634
|
}
|
|
@@ -7692,7 +7692,7 @@ Error generating stack: ` + a.message + `
|
|
|
7692
7692
|
c,
|
|
7693
7693
|
f,
|
|
7694
7694
|
h
|
|
7695
|
-
), t === Ut && (ht = Ut = null, mt = 0), Ka = e, Gl = t, xl = l, Uo = i,
|
|
7695
|
+
), t === Ut && (ht = Ut = null, mt = 0), Ka = e, Gl = t, xl = l, Uo = i, wo = n, Ud = a, (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, vy(pi, function() {
|
|
7696
7696
|
return Jd(), null;
|
|
7697
7697
|
})) : (t.callbackNode = null, t.callbackPriority = 0), a = (e.flags & 13878) !== 0, (e.subtreeFlags & 13878) !== 0 || a) {
|
|
7698
7698
|
a = E.T, E.T = null, n = G.p, G.p = 2, c = Tt, Tt |= 4;
|
|
@@ -7730,7 +7730,7 @@ Error generating stack: ` + a.message + `
|
|
|
7730
7730
|
f.value.length
|
|
7731
7731
|
);
|
|
7732
7732
|
else {
|
|
7733
|
-
var
|
|
7733
|
+
var w = f.ownerDocument || document, A = w && w.defaultView || window;
|
|
7734
7734
|
if (A.getSelection) {
|
|
7735
7735
|
var M = A.getSelection(), k = f.textContent.length, at = Math.min(h.start, k), Rt = h.end === void 0 ? at : Math.min(h.end, k);
|
|
7736
7736
|
!M.extend && at > Rt && (c = Rt, Rt = at, at = c);
|
|
@@ -7742,20 +7742,20 @@ Error generating stack: ` + a.message + `
|
|
|
7742
7742
|
Rt
|
|
7743
7743
|
);
|
|
7744
7744
|
if (b && m && (M.rangeCount !== 1 || M.anchorNode !== b.node || M.anchorOffset !== b.offset || M.focusNode !== m.node || M.focusOffset !== m.offset)) {
|
|
7745
|
-
var T =
|
|
7745
|
+
var T = w.createRange();
|
|
7746
7746
|
T.setStart(b.node, b.offset), M.removeAllRanges(), at > Rt ? (M.addRange(T), M.extend(m.node, m.offset)) : (T.setEnd(m.node, m.offset), M.addRange(T));
|
|
7747
7747
|
}
|
|
7748
7748
|
}
|
|
7749
7749
|
}
|
|
7750
7750
|
}
|
|
7751
|
-
for (
|
|
7752
|
-
M.nodeType === 1 &&
|
|
7751
|
+
for (w = [], M = f; M = M.parentNode; )
|
|
7752
|
+
M.nodeType === 1 && w.push({
|
|
7753
7753
|
element: M,
|
|
7754
7754
|
left: M.scrollLeft,
|
|
7755
7755
|
top: M.scrollTop
|
|
7756
7756
|
});
|
|
7757
|
-
for (typeof f.focus == "function" && f.focus(), f = 0; f <
|
|
7758
|
-
var B =
|
|
7757
|
+
for (typeof f.focus == "function" && f.focus(), f = 0; f < w.length; f++) {
|
|
7758
|
+
var B = w[f];
|
|
7759
7759
|
B.element.scrollLeft = B.left, B.element.scrollTop = B.top;
|
|
7760
7760
|
}
|
|
7761
7761
|
}
|
|
@@ -7815,7 +7815,7 @@ Error generating stack: ` + a.message + `
|
|
|
7815
7815
|
E.T = e, G.p = n;
|
|
7816
7816
|
}
|
|
7817
7817
|
}
|
|
7818
|
-
(xl & 3) !== 0 && mu(), We(t), n = t.pendingLanes, (l & 261930) !== 0 && (n & 42) !== 0 ? t ===
|
|
7818
|
+
(xl & 3) !== 0 && mu(), We(t), n = t.pendingLanes, (l & 261930) !== 0 && (n & 42) !== 0 ? t === No ? Fn++ : (Fn = 0, No = t) : Fn = 0, In(0);
|
|
7819
7819
|
}
|
|
7820
7820
|
}
|
|
7821
7821
|
function Kd(t, e) {
|
|
@@ -7830,7 +7830,7 @@ Error generating stack: ` + a.message + `
|
|
|
7830
7830
|
Uo = 0;
|
|
7831
7831
|
var l = tc(xl), a = E.T, n = G.p;
|
|
7832
7832
|
try {
|
|
7833
|
-
G.p = 32 > l ? 32 : l, E.T = null, l =
|
|
7833
|
+
G.p = 32 > l ? 32 : l, E.T = null, l = wo, wo = null;
|
|
7834
7834
|
var i = Gl, c = xl;
|
|
7835
7835
|
if (Kt = 0, Ka = Gl = null, xl = 0, (Tt & 6) !== 0) throw Error(r(331));
|
|
7836
7836
|
var f = Tt;
|
|
@@ -7850,7 +7850,7 @@ Error generating stack: ` + a.message + `
|
|
|
7850
7850
|
}
|
|
7851
7851
|
}
|
|
7852
7852
|
function Wd(t, e, l) {
|
|
7853
|
-
e =
|
|
7853
|
+
e = we(l, e), e = ho(t.stateNode, e, 2), t = Ul(t, e, 2), t !== null && (bn(t, 2), We(t));
|
|
7854
7854
|
}
|
|
7855
7855
|
function _t(t, e, l) {
|
|
7856
7856
|
if (t.tag === 3)
|
|
@@ -7867,7 +7867,7 @@ Error generating stack: ` + a.message + `
|
|
|
7867
7867
|
} else if (e.tag === 1) {
|
|
7868
7868
|
var a = e.stateNode;
|
|
7869
7869
|
if (typeof e.type.getDerivedStateFromError == "function" || typeof a.componentDidCatch == "function" && (Yl === null || !Yl.has(a))) {
|
|
7870
|
-
t =
|
|
7870
|
+
t = we(l, t), l = Fs(2), a = Ul(e, l, 2), a !== null && (Is(
|
|
7871
7871
|
l,
|
|
7872
7872
|
a,
|
|
7873
7873
|
e,
|
|
@@ -8006,11 +8006,11 @@ Error generating stack: ` + a.message + `
|
|
|
8006
8006
|
t,
|
|
8007
8007
|
t === Ut ? a : 0,
|
|
8008
8008
|
t.cancelPendingCommit !== null || t.timeoutHandle !== -1
|
|
8009
|
-
), a === 0 ? null : (
|
|
8009
|
+
), a === 0 ? null : (Nd(t, a, e), Pd(t, Se()), t.callbackNode != null && t.callbackNode === l ? th.bind(null, t) : null);
|
|
8010
8010
|
}
|
|
8011
8011
|
function eh(t, e) {
|
|
8012
8012
|
if (mu()) return null;
|
|
8013
|
-
|
|
8013
|
+
Nd(t, e, !0);
|
|
8014
8014
|
}
|
|
8015
8015
|
function xy() {
|
|
8016
8016
|
Uy(function() {
|
|
@@ -8094,7 +8094,7 @@ Error generating stack: ` + a.message + `
|
|
|
8094
8094
|
"on" + zy
|
|
8095
8095
|
);
|
|
8096
8096
|
}
|
|
8097
|
-
Le(
|
|
8097
|
+
Le(wf, "onAnimationEnd"), Le(Nf, "onAnimationIteration"), Le(Hf, "onAnimationStart"), Le("dblclick", "onDoubleClick"), Le("focusin", "onFocus"), Le("focusout", "onBlur"), Le(Gm, "onTransitionRun"), Le($m, "onTransitionStart"), Le(Xm, "onTransitionCancel"), Le(qf, "onTransitionEnd"), Ta("onMouseEnter", ["mouseout", "mouseover"]), Ta("onMouseLeave", ["mouseout", "mouseover"]), Ta("onPointerEnter", ["pointerout", "pointerover"]), Ta("onPointerLeave", ["pointerout", "pointerover"]), Pl(
|
|
8098
8098
|
"onChange",
|
|
8099
8099
|
"change click focusin focusout input keydown keyup selectionchange".split(" ")
|
|
8100
8100
|
), Pl(
|
|
@@ -8183,7 +8183,7 @@ Error generating stack: ` + a.message + `
|
|
|
8183
8183
|
}
|
|
8184
8184
|
}
|
|
8185
8185
|
function ih(t, e, l, a) {
|
|
8186
|
-
switch (
|
|
8186
|
+
switch (wh(e)) {
|
|
8187
8187
|
case 2:
|
|
8188
8188
|
var n = Py;
|
|
8189
8189
|
break;
|
|
@@ -8233,7 +8233,7 @@ Error generating stack: ` + a.message + `
|
|
|
8233
8233
|
a = a.return;
|
|
8234
8234
|
}
|
|
8235
8235
|
ff(function() {
|
|
8236
|
-
var C = i, D = oc(l),
|
|
8236
|
+
var C = i, D = oc(l), w = [];
|
|
8237
8237
|
t: {
|
|
8238
8238
|
var A = jf.get(t);
|
|
8239
8239
|
if (A !== void 0) {
|
|
@@ -8283,8 +8283,8 @@ Error generating stack: ` + a.message + `
|
|
|
8283
8283
|
case "touchstart":
|
|
8284
8284
|
M = xm;
|
|
8285
8285
|
break;
|
|
8286
|
-
case Nf:
|
|
8287
8286
|
case wf:
|
|
8287
|
+
case Nf:
|
|
8288
8288
|
case Hf:
|
|
8289
8289
|
M = rm;
|
|
8290
8290
|
break;
|
|
@@ -8332,7 +8332,7 @@ Error generating stack: ` + a.message + `
|
|
|
8332
8332
|
null,
|
|
8333
8333
|
l,
|
|
8334
8334
|
D
|
|
8335
|
-
),
|
|
8335
|
+
), w.push({ event: A, listeners: at }));
|
|
8336
8336
|
}
|
|
8337
8337
|
}
|
|
8338
8338
|
if ((e & 7) === 0) {
|
|
@@ -8374,13 +8374,13 @@ Error generating stack: ` + a.message + `
|
|
|
8374
8374
|
}
|
|
8375
8375
|
else at = null;
|
|
8376
8376
|
M !== null && uh(
|
|
8377
|
-
|
|
8377
|
+
w,
|
|
8378
8378
|
A,
|
|
8379
8379
|
M,
|
|
8380
8380
|
at,
|
|
8381
8381
|
!1
|
|
8382
8382
|
), k !== null && Rt !== null && uh(
|
|
8383
|
-
|
|
8383
|
+
w,
|
|
8384
8384
|
Rt,
|
|
8385
8385
|
k,
|
|
8386
8386
|
at,
|
|
@@ -8395,14 +8395,14 @@ Error generating stack: ` + a.message + `
|
|
|
8395
8395
|
if (zf)
|
|
8396
8396
|
bt = qm;
|
|
8397
8397
|
else {
|
|
8398
|
-
bt =
|
|
8399
|
-
var I =
|
|
8398
|
+
bt = Nm;
|
|
8399
|
+
var I = wm;
|
|
8400
8400
|
}
|
|
8401
8401
|
else
|
|
8402
8402
|
M = A.nodeName, !M || M.toLowerCase() !== "input" || A.type !== "checkbox" && A.type !== "radio" ? C && uc(C.elementType) && (bt = Cf) : bt = Hm;
|
|
8403
8403
|
if (bt && (bt = bt(t, C))) {
|
|
8404
8404
|
Tf(
|
|
8405
|
-
|
|
8405
|
+
w,
|
|
8406
8406
|
bt,
|
|
8407
8407
|
l,
|
|
8408
8408
|
D
|
|
@@ -8424,13 +8424,13 @@ Error generating stack: ` + a.message + `
|
|
|
8424
8424
|
case "contextmenu":
|
|
8425
8425
|
case "mouseup":
|
|
8426
8426
|
case "dragend":
|
|
8427
|
-
xc = !1, Bf(
|
|
8427
|
+
xc = !1, Bf(w, l, D);
|
|
8428
8428
|
break;
|
|
8429
8429
|
case "selectionchange":
|
|
8430
8430
|
if (Ym) break;
|
|
8431
8431
|
case "keydown":
|
|
8432
8432
|
case "keyup":
|
|
8433
|
-
Bf(
|
|
8433
|
+
Bf(w, l, D);
|
|
8434
8434
|
}
|
|
8435
8435
|
var ft;
|
|
8436
8436
|
if (yc)
|
|
@@ -8456,24 +8456,24 @@ Error generating stack: ` + a.message + `
|
|
|
8456
8456
|
null,
|
|
8457
8457
|
l,
|
|
8458
8458
|
D
|
|
8459
|
-
),
|
|
8459
|
+
), w.push({ event: yt, listeners: I }), ft ? yt.data = ft : (ft = Sf(l), ft !== null && (yt.data = ft)))), (ft = Om ? Dm(t, l) : Rm(t, l)) && (yt = vu(C, "onBeforeInput"), 0 < yt.length && (I = new gf(
|
|
8460
8460
|
"onBeforeInput",
|
|
8461
8461
|
"beforeinput",
|
|
8462
8462
|
null,
|
|
8463
8463
|
l,
|
|
8464
8464
|
D
|
|
8465
|
-
),
|
|
8465
|
+
), w.push({
|
|
8466
8466
|
event: I,
|
|
8467
8467
|
listeners: yt
|
|
8468
8468
|
}), I.data = ft)), Ty(
|
|
8469
|
-
|
|
8469
|
+
w,
|
|
8470
8470
|
t,
|
|
8471
8471
|
C,
|
|
8472
8472
|
l,
|
|
8473
8473
|
D
|
|
8474
8474
|
);
|
|
8475
8475
|
}
|
|
8476
|
-
nh(
|
|
8476
|
+
nh(w, e);
|
|
8477
8477
|
});
|
|
8478
8478
|
}
|
|
8479
8479
|
function ti(t, e, l) {
|
|
@@ -9020,22 +9020,22 @@ Error generating stack: ` + a.message + `
|
|
|
9020
9020
|
case "input":
|
|
9021
9021
|
var n = null, i = null, c = null, f = null, h = null, C = null, D = null;
|
|
9022
9022
|
for (M in l) {
|
|
9023
|
-
var
|
|
9024
|
-
if (l.hasOwnProperty(M) &&
|
|
9023
|
+
var w = l[M];
|
|
9024
|
+
if (l.hasOwnProperty(M) && w != null)
|
|
9025
9025
|
switch (M) {
|
|
9026
9026
|
case "checked":
|
|
9027
9027
|
break;
|
|
9028
9028
|
case "value":
|
|
9029
9029
|
break;
|
|
9030
9030
|
case "defaultValue":
|
|
9031
|
-
h =
|
|
9031
|
+
h = w;
|
|
9032
9032
|
default:
|
|
9033
|
-
a.hasOwnProperty(M) || Dt(t, e, M, null, a,
|
|
9033
|
+
a.hasOwnProperty(M) || Dt(t, e, M, null, a, w);
|
|
9034
9034
|
}
|
|
9035
9035
|
}
|
|
9036
9036
|
for (var A in a) {
|
|
9037
9037
|
var M = a[A];
|
|
9038
|
-
if (
|
|
9038
|
+
if (w = l[A], a.hasOwnProperty(A) && (M != null || w != null))
|
|
9039
9039
|
switch (A) {
|
|
9040
9040
|
case "type":
|
|
9041
9041
|
i = M;
|
|
@@ -9061,13 +9061,13 @@ Error generating stack: ` + a.message + `
|
|
|
9061
9061
|
throw Error(r(137, e));
|
|
9062
9062
|
break;
|
|
9063
9063
|
default:
|
|
9064
|
-
M !==
|
|
9064
|
+
M !== w && Dt(
|
|
9065
9065
|
t,
|
|
9066
9066
|
e,
|
|
9067
9067
|
A,
|
|
9068
9068
|
M,
|
|
9069
9069
|
a,
|
|
9070
|
-
|
|
9070
|
+
w
|
|
9071
9071
|
);
|
|
9072
9072
|
}
|
|
9073
9073
|
}
|
|
@@ -9236,8 +9236,8 @@ Error generating stack: ` + a.message + `
|
|
|
9236
9236
|
}
|
|
9237
9237
|
for (var b in l)
|
|
9238
9238
|
A = l[b], l.hasOwnProperty(b) && A != null && !a.hasOwnProperty(b) && Dt(t, e, b, null, a, A);
|
|
9239
|
-
for (
|
|
9240
|
-
A = a[
|
|
9239
|
+
for (w in a)
|
|
9240
|
+
A = a[w], M = l[w], !a.hasOwnProperty(w) || A === M || A == null && M == null || Dt(t, e, w, A, a, M);
|
|
9241
9241
|
}
|
|
9242
9242
|
function rh(t) {
|
|
9243
9243
|
switch (t) {
|
|
@@ -9261,8 +9261,8 @@ Error generating stack: ` + a.message + `
|
|
|
9261
9261
|
for (c = 0, f = n.responseEnd, a += 1; a < l.length; a++) {
|
|
9262
9262
|
var h = l[a], C = h.startTime;
|
|
9263
9263
|
if (C > f) break;
|
|
9264
|
-
var D = h.transferSize,
|
|
9265
|
-
D && rh(
|
|
9264
|
+
var D = h.transferSize, w = h.initiatorType;
|
|
9265
|
+
D && rh(w) && (h = h.responseEnd, c += D * (h < f ? 1 : (f - C) / (h - C)));
|
|
9266
9266
|
}
|
|
9267
9267
|
if (--a, e += 8 * (i + c) / (n.duration / 1e3), t++, 10 < t) break;
|
|
9268
9268
|
}
|
|
@@ -9306,9 +9306,9 @@ Error generating stack: ` + a.message + `
|
|
|
9306
9306
|
return t && t.type === "popstate" ? t === Fo ? !1 : (Fo = t, !0) : (Fo = null, !1);
|
|
9307
9307
|
}
|
|
9308
9308
|
var dh = typeof setTimeout == "function" ? setTimeout : void 0, By = typeof clearTimeout == "function" ? clearTimeout : void 0, hh = typeof Promise == "function" ? Promise : void 0, Uy = typeof queueMicrotask == "function" ? queueMicrotask : typeof hh < "u" ? function(t) {
|
|
9309
|
-
return hh.resolve(null).then(t).catch(
|
|
9309
|
+
return hh.resolve(null).then(t).catch(wy);
|
|
9310
9310
|
} : dh;
|
|
9311
|
-
function
|
|
9311
|
+
function wy(t) {
|
|
9312
9312
|
setTimeout(function() {
|
|
9313
9313
|
throw t;
|
|
9314
9314
|
});
|
|
@@ -9376,7 +9376,7 @@ Error generating stack: ` + a.message + `
|
|
|
9376
9376
|
t.removeChild(l);
|
|
9377
9377
|
}
|
|
9378
9378
|
}
|
|
9379
|
-
function
|
|
9379
|
+
function Ny(t, e, l, a) {
|
|
9380
9380
|
for (; t.nodeType === 1; ) {
|
|
9381
9381
|
var n = l;
|
|
9382
9382
|
if (t.nodeName.toLowerCase() !== e.toLowerCase()) {
|
|
@@ -9941,7 +9941,7 @@ Error generating stack: ` + a.message + `
|
|
|
9941
9941
|
function Iy(t, e, l, a, n, i, c, f, h) {
|
|
9942
9942
|
this.tag = 1, this.containerInfo = t, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = Iu(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Iu(0), this.hiddenUpdates = Iu(null), this.identifierPrefix = a, this.onUncaughtError = n, this.onCaughtError = i, this.onRecoverableError = c, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = h, this.incompleteTransitions = /* @__PURE__ */ new Map();
|
|
9943
9943
|
}
|
|
9944
|
-
function _h(t, e, l, a, n, i, c, f, h, C, D,
|
|
9944
|
+
function _h(t, e, l, a, n, i, c, f, h, C, D, w) {
|
|
9945
9945
|
return t = new Iy(
|
|
9946
9946
|
t,
|
|
9947
9947
|
e,
|
|
@@ -9950,7 +9950,7 @@ Error generating stack: ` + a.message + `
|
|
|
9950
9950
|
h,
|
|
9951
9951
|
C,
|
|
9952
9952
|
D,
|
|
9953
|
-
|
|
9953
|
+
w,
|
|
9954
9954
|
f
|
|
9955
9955
|
), e = 1, i === !0 && (e |= 24), i = ze(3, null, null, e), t.current = i, i.stateNode = t, e = Hc(), e.refCount++, t.pooledCache = e, e.refCount++, i.memoizedState = {
|
|
9956
9956
|
element: a,
|
|
@@ -10018,7 +10018,7 @@ Error generating stack: ` + a.message + `
|
|
|
10018
10018
|
a,
|
|
10019
10019
|
_u,
|
|
10020
10020
|
l
|
|
10021
|
-
),
|
|
10021
|
+
), Nh(t, a);
|
|
10022
10022
|
else if (l0(
|
|
10023
10023
|
n,
|
|
10024
10024
|
t,
|
|
@@ -10027,7 +10027,7 @@ Error generating stack: ` + a.message + `
|
|
|
10027
10027
|
a
|
|
10028
10028
|
))
|
|
10029
10029
|
a.stopPropagation();
|
|
10030
|
-
else if (
|
|
10030
|
+
else if (Nh(t, a), e & 4 && -1 < e0.indexOf(t)) {
|
|
10031
10031
|
for (; n !== null; ) {
|
|
10032
10032
|
var i = Sa(n);
|
|
10033
10033
|
if (i !== null)
|
|
@@ -10094,7 +10094,7 @@ Error generating stack: ` + a.message + `
|
|
|
10094
10094
|
}
|
|
10095
10095
|
return _u = t, null;
|
|
10096
10096
|
}
|
|
10097
|
-
function
|
|
10097
|
+
function wh(t) {
|
|
10098
10098
|
switch (t) {
|
|
10099
10099
|
case "beforetoggle":
|
|
10100
10100
|
case "cancel":
|
|
@@ -10190,7 +10190,7 @@ Error generating stack: ` + a.message + `
|
|
|
10190
10190
|
var rr = !1, Ql = null, Zl = null, Vl = null, ii = /* @__PURE__ */ new Map(), ui = /* @__PURE__ */ new Map(), kl = [], e0 = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
|
|
10191
10191
|
" "
|
|
10192
10192
|
);
|
|
10193
|
-
function
|
|
10193
|
+
function Nh(t, e) {
|
|
10194
10194
|
switch (t) {
|
|
10195
10195
|
case "focusin":
|
|
10196
10196
|
case "focusout":
|
|
@@ -10605,7 +10605,7 @@ function tl(u) {
|
|
|
10605
10605
|
function Rr(u) {
|
|
10606
10606
|
return u.length;
|
|
10607
10607
|
}
|
|
10608
|
-
function
|
|
10608
|
+
function wu(u, o) {
|
|
10609
10609
|
return o.push(u), u;
|
|
10610
10610
|
}
|
|
10611
10611
|
function M0(u, o) {
|
|
@@ -10726,11 +10726,11 @@ function U0(u) {
|
|
|
10726
10726
|
De();
|
|
10727
10727
|
return gi(u, ve);
|
|
10728
10728
|
}
|
|
10729
|
-
function
|
|
10729
|
+
function w0(u) {
|
|
10730
10730
|
return Cg(Yu("", null, null, null, [""], u = Tg(u), 0, [0], u));
|
|
10731
10731
|
}
|
|
10732
10732
|
function Yu(u, o, s, r, d, g, v, _, x) {
|
|
10733
|
-
for (var p = 0, z = 0, O = v, j = 0, V = 0, W = 0, q = 1, J = 1, $ = 1, nt = 0, P = "",
|
|
10733
|
+
for (var p = 0, z = 0, O = v, j = 0, V = 0, W = 0, q = 1, J = 1, $ = 1, nt = 0, P = "", N = d, H = g, it = r, X = P; J; )
|
|
10734
10734
|
switch (W = nt, nt = De()) {
|
|
10735
10735
|
// (
|
|
10736
10736
|
case 40:
|
|
@@ -10760,7 +10760,7 @@ function Yu(u, o, s, r, d, g, v, _, x) {
|
|
|
10760
10760
|
switch (ll()) {
|
|
10761
10761
|
case 42:
|
|
10762
10762
|
case 47:
|
|
10763
|
-
|
|
10763
|
+
wu(N0(B0(De(), qu()), o, s), x);
|
|
10764
10764
|
break;
|
|
10765
10765
|
default:
|
|
10766
10766
|
X += "/";
|
|
@@ -10780,16 +10780,16 @@ function Yu(u, o, s, r, d, g, v, _, x) {
|
|
|
10780
10780
|
J = 0;
|
|
10781
10781
|
// ;
|
|
10782
10782
|
case 59 + z:
|
|
10783
|
-
$ == -1 && (X = zt(X, /\f/g, "")), V > 0 && tl(X) - O &&
|
|
10783
|
+
$ == -1 && (X = zt(X, /\f/g, "")), V > 0 && tl(X) - O && wu(V > 32 ? Ph(X + ";", r, s, O - 1) : Ph(zt(X, " ", "") + ";", r, s, O - 2), x);
|
|
10784
10784
|
break;
|
|
10785
10785
|
// @ ;
|
|
10786
10786
|
case 59:
|
|
10787
10787
|
X += ";";
|
|
10788
10788
|
// { rule/at-rule
|
|
10789
10789
|
default:
|
|
10790
|
-
if (
|
|
10790
|
+
if (wu(it = Ih(X, o, s, p, z, d, _, P, N = [], H = [], O), g), nt === 123)
|
|
10791
10791
|
if (z === 0)
|
|
10792
|
-
Yu(X, o, it, it,
|
|
10792
|
+
Yu(X, o, it, it, N, g, O, _, H);
|
|
10793
10793
|
else
|
|
10794
10794
|
switch (j === 99 && ae(X, 3) === 110 ? 100 : j) {
|
|
10795
10795
|
// d l m s
|
|
@@ -10797,7 +10797,7 @@ function Yu(u, o, s, r, d, g, v, _, x) {
|
|
|
10797
10797
|
case 108:
|
|
10798
10798
|
case 109:
|
|
10799
10799
|
case 115:
|
|
10800
|
-
Yu(u, it, it, r &&
|
|
10800
|
+
Yu(u, it, it, r && wu(Ih(u, it, it, 0, 0, d, _, P, d, N = [], O), H), d, H, O, _, r ? N : H);
|
|
10801
10801
|
break;
|
|
10802
10802
|
default:
|
|
10803
10803
|
Yu(X, it, it, it, [""], H, 0, _, H);
|
|
@@ -10841,7 +10841,7 @@ function Ih(u, o, s, r, d, g, v, _, x, p, z) {
|
|
|
10841
10841
|
(P = Sg(q > 0 ? j[$] + " " + nt : zt(nt, /&\f/g, j[$]))) && (x[J++] = P);
|
|
10842
10842
|
return Qu(u, o, s, d === 0 ? Or : _, x, p, z);
|
|
10843
10843
|
}
|
|
10844
|
-
function
|
|
10844
|
+
function N0(u, o, s) {
|
|
10845
10845
|
return Qu(u, o, s, bg, Xu(_0()), si(u, 2, -2), 0);
|
|
10846
10846
|
}
|
|
10847
10847
|
function Ph(u, o, s, r) {
|
|
@@ -11133,7 +11133,7 @@ var Q0 = function(o, s, r, d) {
|
|
|
11133
11133
|
var z, O = [H0, j0(function(q) {
|
|
11134
11134
|
z.insert(q);
|
|
11135
11135
|
})], j = q0(p.concat(d, O)), V = function(J) {
|
|
11136
|
-
return fn(
|
|
11136
|
+
return fn(w0(J), j);
|
|
11137
11137
|
};
|
|
11138
11138
|
x = function(J, $, nt, P) {
|
|
11139
11139
|
z = nt, V(J ? J + "{" + $.styles + "}" : $.styles), P && (W.inserted[$.name] = !0);
|
|
@@ -11201,12 +11201,12 @@ function k0() {
|
|
|
11201
11201
|
}
|
|
11202
11202
|
}
|
|
11203
11203
|
}
|
|
11204
|
-
function
|
|
11204
|
+
function N(H) {
|
|
11205
11205
|
return P(H) === p;
|
|
11206
11206
|
}
|
|
11207
11207
|
return Et.AsyncMode = x, Et.ConcurrentMode = p, Et.ContextConsumer = _, Et.ContextProvider = v, Et.Element = o, Et.ForwardRef = z, Et.Fragment = r, Et.Lazy = W, Et.Memo = V, Et.Portal = s, Et.Profiler = g, Et.StrictMode = d, Et.Suspense = O, Et.isAsyncMode = function(H) {
|
|
11208
|
-
return
|
|
11209
|
-
}, Et.isConcurrentMode =
|
|
11208
|
+
return N(H) || P(H) === x;
|
|
11209
|
+
}, Et.isConcurrentMode = N, Et.isContextConsumer = function(H) {
|
|
11210
11210
|
return P(H) === _;
|
|
11211
11211
|
}, Et.isContextProvider = function(H) {
|
|
11212
11212
|
return P(H) === v;
|
|
@@ -11287,9 +11287,9 @@ function J0() {
|
|
|
11287
11287
|
}
|
|
11288
11288
|
var nt = x(q);
|
|
11289
11289
|
p && (nt = nt.concat(p(q)));
|
|
11290
|
-
for (var P = v(W),
|
|
11290
|
+
for (var P = v(W), N = v(q), H = 0; H < nt.length; ++H) {
|
|
11291
11291
|
var it = nt[H];
|
|
11292
|
-
if (!s[it] && !(J && J[it]) && !(
|
|
11292
|
+
if (!s[it] && !(J && J[it]) && !(N && N[it]) && !(P && P[it])) {
|
|
11293
11293
|
var X = z(q, it);
|
|
11294
11294
|
try {
|
|
11295
11295
|
_(W, it, X);
|
|
@@ -11538,12 +11538,12 @@ var lp = function(o) {
|
|
|
11538
11538
|
}) : null
|
|
11539
11539
|
);
|
|
11540
11540
|
Dg.Provider;
|
|
11541
|
-
var
|
|
11541
|
+
var wr = function(o) {
|
|
11542
11542
|
return /* @__PURE__ */ R.forwardRef(function(s, r) {
|
|
11543
11543
|
var d = R.useContext(Dg);
|
|
11544
11544
|
return o(s, d, r);
|
|
11545
11545
|
});
|
|
11546
|
-
},
|
|
11546
|
+
}, Nr = /* @__PURE__ */ R.createContext({}), mi = {}.hasOwnProperty, Mr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hr = function(o, s) {
|
|
11547
11547
|
var r = {};
|
|
11548
11548
|
for (var d in s)
|
|
11549
11549
|
mi.call(s, d) && (r[d] = s[d]);
|
|
@@ -11553,12 +11553,12 @@ var Nr = function(o) {
|
|
|
11553
11553
|
return Br(s, r, d), Og(function() {
|
|
11554
11554
|
return Ur(s, r, d);
|
|
11555
11555
|
}), null;
|
|
11556
|
-
}, np = /* @__PURE__ */
|
|
11556
|
+
}, np = /* @__PURE__ */ wr(function(u, o, s) {
|
|
11557
11557
|
var r = u.css;
|
|
11558
11558
|
typeof r == "string" && o.registered[r] !== void 0 && (r = o.registered[r]);
|
|
11559
11559
|
var d = u[Mr], g = [r], v = "";
|
|
11560
11560
|
typeof u.className == "string" ? v = Eg(o.registered, g, u.className) : u.className != null && (v = u.className + " ");
|
|
11561
|
-
var _ = Zu(g, void 0, R.useContext(
|
|
11561
|
+
var _ = Zu(g, void 0, R.useContext(Nr));
|
|
11562
11562
|
v += o.key + "-" + _.name;
|
|
11563
11563
|
var x = {};
|
|
11564
11564
|
for (var p in u)
|
|
@@ -11586,8 +11586,8 @@ var Nr = function(o) {
|
|
|
11586
11586
|
var o;
|
|
11587
11587
|
o || (o = u.JSX || (u.JSX = {}));
|
|
11588
11588
|
})(og || (og = {}));
|
|
11589
|
-
var Rg = /* @__PURE__ */
|
|
11590
|
-
var s = u.styles, r = Zu([s], void 0, R.useContext(
|
|
11589
|
+
var Rg = /* @__PURE__ */ wr(function(u, o) {
|
|
11590
|
+
var s = u.styles, r = Zu([s], void 0, R.useContext(Nr)), d = R.useRef();
|
|
11591
11591
|
return cg(function() {
|
|
11592
11592
|
var g = o.key + "-global", v = new o.sheet.constructor({
|
|
11593
11593
|
key: g,
|
|
@@ -11678,39 +11678,39 @@ const et = {
|
|
|
11678
11678
|
onUpdateWidget: r
|
|
11679
11679
|
}) => {
|
|
11680
11680
|
const [d, g] = R.useState("form"), [v, _] = R.useState(!0), [x, p] = R.useState(!1), [z, O] = R.useState(() => {
|
|
11681
|
-
const
|
|
11682
|
-
return
|
|
11681
|
+
const N = o.initialConfig;
|
|
11682
|
+
return N ? {
|
|
11683
11683
|
...et,
|
|
11684
|
-
apiEndpoint:
|
|
11685
|
-
token:
|
|
11686
|
-
loadHistory:
|
|
11687
|
-
sessionId:
|
|
11688
|
-
assistantId:
|
|
11689
|
-
contextPatientId:
|
|
11690
|
-
floatingMode:
|
|
11691
|
-
position:
|
|
11692
|
-
headerIcon:
|
|
11693
|
-
fabIcon:
|
|
11694
|
-
headerTitle:
|
|
11695
|
-
headerSubtitle:
|
|
11696
|
-
greeting:
|
|
11697
|
-
placeholder:
|
|
11698
|
-
brandingText:
|
|
11699
|
-
quickActions:
|
|
11684
|
+
apiEndpoint: N.apiEndpoint ?? et.apiEndpoint,
|
|
11685
|
+
token: N.token ?? et.token,
|
|
11686
|
+
loadHistory: N.loadHistory ?? et.loadHistory,
|
|
11687
|
+
sessionId: N.sessionId ?? et.sessionId,
|
|
11688
|
+
assistantId: N.assistantId ?? et.assistantId,
|
|
11689
|
+
contextPatientId: N.contextPatientId ?? et.contextPatientId,
|
|
11690
|
+
floatingMode: N.floatingMode ?? et.floatingMode,
|
|
11691
|
+
position: N.position ?? et.position,
|
|
11692
|
+
headerIcon: N.headerIcon ?? et.headerIcon,
|
|
11693
|
+
fabIcon: N.fabIcon ?? et.fabIcon,
|
|
11694
|
+
headerTitle: N.headerTitle ?? et.headerTitle,
|
|
11695
|
+
headerSubtitle: N.headerSubtitle ?? et.headerSubtitle,
|
|
11696
|
+
greeting: N.greeting ?? et.greeting,
|
|
11697
|
+
placeholder: N.placeholder ?? et.placeholder,
|
|
11698
|
+
brandingText: N.brandingText ?? et.brandingText,
|
|
11699
|
+
quickActions: N.quickActions ?? et.quickActions,
|
|
11700
11700
|
// Theme colors
|
|
11701
|
-
primaryColor:
|
|
11702
|
-
secondaryColor:
|
|
11703
|
-
userBubbleColor:
|
|
11704
|
-
userBubbleTextColor:
|
|
11705
|
-
botBubbleColor:
|
|
11706
|
-
botBubbleTextColor:
|
|
11701
|
+
primaryColor: N.theme?.colors?.primary ?? et.primaryColor,
|
|
11702
|
+
secondaryColor: N.theme?.colors?.secondary ?? et.secondaryColor,
|
|
11703
|
+
userBubbleColor: N.theme?.colors?.userBubble ?? et.userBubbleColor,
|
|
11704
|
+
userBubbleTextColor: N.theme?.colors?.userBubbleText ?? et.userBubbleTextColor,
|
|
11705
|
+
botBubbleColor: N.theme?.colors?.botBubble ?? et.botBubbleColor,
|
|
11706
|
+
botBubbleTextColor: N.theme?.colors?.botBubbleText ?? et.botBubbleTextColor,
|
|
11707
11707
|
// Theme properties
|
|
11708
|
-
fontFamily:
|
|
11709
|
-
borderRadius:
|
|
11710
|
-
shadow:
|
|
11708
|
+
fontFamily: N.theme?.fontFamily ?? et.fontFamily,
|
|
11709
|
+
borderRadius: N.theme?.borderRadius ?? et.borderRadius,
|
|
11710
|
+
shadow: N.theme?.shadow ?? et.shadow
|
|
11711
11711
|
} : et;
|
|
11712
11712
|
}), j = R.useCallback(() => {
|
|
11713
|
-
const
|
|
11713
|
+
const N = {
|
|
11714
11714
|
containerSelector: "#demo-widget-container",
|
|
11715
11715
|
floatingMode: z.floatingMode,
|
|
11716
11716
|
position: z.position,
|
|
@@ -11737,40 +11737,40 @@ const et = {
|
|
|
11737
11737
|
shadow: z.shadow
|
|
11738
11738
|
}
|
|
11739
11739
|
};
|
|
11740
|
-
return v || (
|
|
11740
|
+
return v || (N.apiEndpoint = z.apiEndpoint || void 0, N.token = z.token || void 0), z.sessionId && (N.sessionId = z.sessionId), z.assistantId && (N.assistantId = z.assistantId), z.contextPatientId && (N.contextPatientId = z.contextPatientId), N;
|
|
11741
11741
|
}, [z, v]), V = R.useRef(o.onConfigChange);
|
|
11742
11742
|
R.useEffect(() => {
|
|
11743
11743
|
V.current = o.onConfigChange;
|
|
11744
11744
|
}, [o.onConfigChange]);
|
|
11745
|
-
const W = R.useCallback((
|
|
11745
|
+
const W = R.useCallback((N) => ({
|
|
11746
11746
|
containerSelector: "#demo-widget-container",
|
|
11747
|
-
floatingMode:
|
|
11748
|
-
position:
|
|
11749
|
-
headerTitle:
|
|
11750
|
-
headerSubtitle:
|
|
11751
|
-
headerIcon:
|
|
11752
|
-
fabIcon:
|
|
11753
|
-
greeting:
|
|
11754
|
-
placeholder:
|
|
11755
|
-
brandingText:
|
|
11756
|
-
loadHistory:
|
|
11757
|
-
quickActions:
|
|
11747
|
+
floatingMode: N.floatingMode,
|
|
11748
|
+
position: N.position,
|
|
11749
|
+
headerTitle: N.headerTitle,
|
|
11750
|
+
headerSubtitle: N.headerSubtitle || void 0,
|
|
11751
|
+
headerIcon: N.headerIcon || void 0,
|
|
11752
|
+
fabIcon: N.fabIcon || void 0,
|
|
11753
|
+
greeting: N.greeting,
|
|
11754
|
+
placeholder: N.placeholder,
|
|
11755
|
+
brandingText: N.brandingText,
|
|
11756
|
+
loadHistory: N.loadHistory,
|
|
11757
|
+
quickActions: N.quickActions,
|
|
11758
11758
|
theme: {
|
|
11759
11759
|
colors: {
|
|
11760
|
-
primary:
|
|
11761
|
-
secondary:
|
|
11762
|
-
userBubble:
|
|
11763
|
-
userBubbleText:
|
|
11764
|
-
botBubble:
|
|
11765
|
-
botBubbleText:
|
|
11760
|
+
primary: N.primaryColor,
|
|
11761
|
+
secondary: N.secondaryColor,
|
|
11762
|
+
userBubble: N.userBubbleColor,
|
|
11763
|
+
userBubbleText: N.userBubbleTextColor,
|
|
11764
|
+
botBubble: N.botBubbleColor,
|
|
11765
|
+
botBubbleText: N.botBubbleTextColor
|
|
11766
11766
|
},
|
|
11767
|
-
fontFamily:
|
|
11768
|
-
borderRadius:
|
|
11769
|
-
shadow:
|
|
11767
|
+
fontFamily: N.fontFamily,
|
|
11768
|
+
borderRadius: N.borderRadius,
|
|
11769
|
+
shadow: N.shadow
|
|
11770
11770
|
}
|
|
11771
|
-
}), []), q = R.useCallback((
|
|
11771
|
+
}), []), q = R.useCallback((N, H = !1) => {
|
|
11772
11772
|
O((it) => {
|
|
11773
|
-
const X = { ...it, ...
|
|
11773
|
+
const X = { ...it, ...N };
|
|
11774
11774
|
if (H) {
|
|
11775
11775
|
const Bt = W(X);
|
|
11776
11776
|
r(Bt);
|
|
@@ -11782,8 +11782,8 @@ const et = {
|
|
|
11782
11782
|
}
|
|
11783
11783
|
}, 0), X;
|
|
11784
11784
|
});
|
|
11785
|
-
}, [W, r]), J = R.useCallback((
|
|
11786
|
-
O(
|
|
11785
|
+
}, [W, r]), J = R.useCallback((N) => {
|
|
11786
|
+
O(N);
|
|
11787
11787
|
}, []), $ = R.useCallback(() => {
|
|
11788
11788
|
s();
|
|
11789
11789
|
}, [s]), nt = R.useCallback(() => {
|
|
@@ -11903,7 +11903,7 @@ const sp = [
|
|
|
11903
11903
|
}
|
|
11904
11904
|
]
|
|
11905
11905
|
], dp = al("braces", sp);
|
|
11906
|
-
const hp = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]],
|
|
11906
|
+
const hp = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], wg = al("chevron-down", hp);
|
|
11907
11907
|
const gp = [
|
|
11908
11908
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
11909
11909
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
@@ -12366,7 +12366,7 @@ const _p = [
|
|
|
12366
12366
|
] }),
|
|
12367
12367
|
/* @__PURE__ */ ct("div", { css: nn.selectWrapper, children: [
|
|
12368
12368
|
/* @__PURE__ */ Y("select", { css: nn.select, value: r, onChange: (v) => d(v.target.value), children: g.map((v) => /* @__PURE__ */ Y("option", { value: v.value, children: v.label }, v.value)) }),
|
|
12369
|
-
/* @__PURE__ */ Y(
|
|
12369
|
+
/* @__PURE__ */ Y(wg, { css: nn.icon, size: 16 })
|
|
12370
12370
|
] })
|
|
12371
12371
|
] });
|
|
12372
12372
|
}), Ve = {
|
|
@@ -12706,7 +12706,7 @@ const _p = [
|
|
|
12706
12706
|
}
|
|
12707
12707
|
)
|
|
12708
12708
|
] }) });
|
|
12709
|
-
}),
|
|
12709
|
+
}), wp = R.memo(function() {
|
|
12710
12710
|
const { widgetConfig: o, updateWidgetConfig: s } = Xe(), r = (d) => {
|
|
12711
12711
|
s({ headerIcon: d }, !0);
|
|
12712
12712
|
};
|
|
@@ -12720,7 +12720,7 @@ const _p = [
|
|
|
12720
12720
|
placeholder: "https://example.com/icon.png"
|
|
12721
12721
|
}
|
|
12722
12722
|
) });
|
|
12723
|
-
}),
|
|
12723
|
+
}), Np = R.memo(function() {
|
|
12724
12724
|
const { widgetConfig: o, updateWidgetConfig: s } = Xe(), r = (d, g) => {
|
|
12725
12725
|
s({ [d]: g }, !0);
|
|
12726
12726
|
};
|
|
@@ -13173,9 +13173,9 @@ const Lp = R.memo(function() {
|
|
|
13173
13173
|
o && x === "json" ? /* @__PURE__ */ Y(Lp, {}) : /* @__PURE__ */ ct("div", { css: Ie.formContainer, children: [
|
|
13174
13174
|
s && /* @__PURE__ */ Y(Bp, {}),
|
|
13175
13175
|
r && /* @__PURE__ */ Y(Up, {}),
|
|
13176
|
-
d && /* @__PURE__ */ Y(
|
|
13176
|
+
d && /* @__PURE__ */ Y(wp, {}),
|
|
13177
13177
|
g && /* @__PURE__ */ ct($u, { children: [
|
|
13178
|
-
/* @__PURE__ */ Y(
|
|
13178
|
+
/* @__PURE__ */ Y(Np, {}),
|
|
13179
13179
|
z.floatingMode && /* @__PURE__ */ Y(Hp, {})
|
|
13180
13180
|
] }),
|
|
13181
13181
|
v && /* @__PURE__ */ ct($u, { children: [
|
|
@@ -13376,7 +13376,7 @@ const Lp = R.memo(function() {
|
|
|
13376
13376
|
let { fullMessage: s } = o;
|
|
13377
13377
|
const { callbacks: r } = o;
|
|
13378
13378
|
return u.type === "content" ? (s += u.value, r.onChunk(u.value)) : u.type === "status" ? r.onStatus?.(u.value) : u.type === "session_id" ? r.onSessionId?.(u.value) : u.type === "audio" ? r.onAudio?.(u.value) : u.type === "final" && (r.onStatus?.("complete"), u.value && r.onSessionId?.(u.value), u.content && (s = u.content, r.onChunk(u.content))), s;
|
|
13379
|
-
}, jr = (u) => u.token,
|
|
13379
|
+
}, jr = (u) => u.token, Ng = (u) => u.replace(/\/patient\b/gi, "").replace(/\/?$/, ""), Kp = (u) => {
|
|
13380
13380
|
try {
|
|
13381
13381
|
const o = new URL(u);
|
|
13382
13382
|
return `${o.protocol}//${o.host}`;
|
|
@@ -13389,7 +13389,7 @@ const Lp = R.memo(function() {
|
|
|
13389
13389
|
s.onError("No API endpoint configured");
|
|
13390
13390
|
return;
|
|
13391
13391
|
}
|
|
13392
|
-
const d = jr(o), g = `${
|
|
13392
|
+
const d = jr(o), g = `${Ng(r)}/stream`, v = {
|
|
13393
13393
|
"Content-Type": "application/json",
|
|
13394
13394
|
Accept: "text/event-stream"
|
|
13395
13395
|
};
|
|
@@ -13508,7 +13508,7 @@ const Lp = R.memo(function() {
|
|
|
13508
13508
|
const { apiEndpoint: o } = u;
|
|
13509
13509
|
if (!o)
|
|
13510
13510
|
return { messages: [], error: "No API endpoint configured" };
|
|
13511
|
-
const s = jr(u), r = `${
|
|
13511
|
+
const s = jr(u), r = `${Ng(o)}/messages`, d = new URLSearchParams();
|
|
13512
13512
|
u.assistantId && d.append("assistantId", u.assistantId), d.append("limit", "100");
|
|
13513
13513
|
const g = `${r}?${d.toString()}`, v = {};
|
|
13514
13514
|
s && (v.Authorization = `Bearer ${s}`);
|
|
@@ -13564,24 +13564,24 @@ const Lp = R.memo(function() {
|
|
|
13564
13564
|
const _ = v instanceof Error ? v.message : "Unknown error";
|
|
13565
13565
|
return { assistants: [], error: _ };
|
|
13566
13566
|
}
|
|
13567
|
-
}, Hg = R.createContext(null),
|
|
13568
|
-
const [r, d] = R.useState(u), [g, v] = R.useState([]), [_, x] = R.useState(!(r.floatingMode ?? !1)), [p, z] = R.useState(!1), [O, j] = R.useState(void 0), [V, W] = R.useState(!1), [q, J] = R.useState(!1), [$, nt] = R.useState(null), [P,
|
|
13569
|
-
const
|
|
13570
|
-
if (!xt && !
|
|
13567
|
+
}, Hg = R.createContext(null), Nu = () => `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, Ip = ({ config: u, children: o, onConfigUpdate: s }) => {
|
|
13568
|
+
const [r, d] = R.useState(u), [g, v] = R.useState([]), [_, x] = R.useState(!(r.floatingMode ?? !1)), [p, z] = R.useState(!1), [O, j] = R.useState(void 0), [V, W] = R.useState(!1), [q, J] = R.useState(!1), [$, nt] = R.useState(null), [P, N] = R.useState(null), H = R.useMemo(() => {
|
|
13569
|
+
const wt = $?.chatUiConfig?.theme, xt = r.theme;
|
|
13570
|
+
if (!xt && !wt)
|
|
13571
13571
|
return sg();
|
|
13572
13572
|
const E = sg();
|
|
13573
13573
|
return {
|
|
13574
13574
|
colors: {
|
|
13575
13575
|
...E.colors,
|
|
13576
|
-
...
|
|
13576
|
+
...wt?.colors,
|
|
13577
13577
|
...xt?.colors
|
|
13578
13578
|
},
|
|
13579
|
-
fontFamily: xt?.fontFamily ||
|
|
13580
|
-
borderRadius: xt?.borderRadius ||
|
|
13581
|
-
shadow: xt?.shadow ||
|
|
13579
|
+
fontFamily: xt?.fontFamily || wt?.fontFamily || E.fontFamily,
|
|
13580
|
+
borderRadius: xt?.borderRadius || wt?.borderRadius || E.borderRadius,
|
|
13581
|
+
shadow: xt?.shadow || wt?.shadow || E.shadow
|
|
13582
13582
|
};
|
|
13583
|
-
}, [r.theme, $?.chatUiConfig?.theme]), it = R.useCallback((
|
|
13584
|
-
d((xt) => ({ ...xt, ...
|
|
13583
|
+
}, [r.theme, $?.chatUiConfig?.theme]), it = R.useCallback((wt) => {
|
|
13584
|
+
d((xt) => ({ ...xt, ...wt }));
|
|
13585
13585
|
}, []);
|
|
13586
13586
|
R.useEffect(() => {
|
|
13587
13587
|
s?.(it);
|
|
@@ -13610,9 +13610,9 @@ const Lp = R.memo(function() {
|
|
|
13610
13610
|
...r,
|
|
13611
13611
|
assistantId: E.id
|
|
13612
13612
|
}, Z = await Wp(G);
|
|
13613
|
-
if (Z.sessionId &&
|
|
13613
|
+
if (Z.sessionId && N(Z.sessionId), Z.messages.length > 0) {
|
|
13614
13614
|
const st = Z.messages.map((lt) => ({
|
|
13615
|
-
id: lt.id ||
|
|
13615
|
+
id: lt.id || Nu(),
|
|
13616
13616
|
content: lt.content,
|
|
13617
13617
|
sender: lt.sender,
|
|
13618
13618
|
timestamp: new Date(lt.timestamp),
|
|
@@ -13628,11 +13628,11 @@ const Lp = R.memo(function() {
|
|
|
13628
13628
|
})();
|
|
13629
13629
|
}, [_, q, r]), R.useEffect(() => {
|
|
13630
13630
|
if (_ && !V && q) {
|
|
13631
|
-
const
|
|
13632
|
-
if (
|
|
13631
|
+
const wt = r.greeting || $?.chatUiConfig?.welcomeMessage;
|
|
13632
|
+
if (wt) {
|
|
13633
13633
|
const xt = {
|
|
13634
|
-
id:
|
|
13635
|
-
content:
|
|
13634
|
+
id: Nu(),
|
|
13635
|
+
content: wt,
|
|
13636
13636
|
sender: "bot",
|
|
13637
13637
|
timestamp: /* @__PURE__ */ new Date(),
|
|
13638
13638
|
status: "sent"
|
|
@@ -13649,24 +13649,24 @@ const Lp = R.memo(function() {
|
|
|
13649
13649
|
}, [r]), Ft = R.useCallback(() => {
|
|
13650
13650
|
_ ? oe() : ne();
|
|
13651
13651
|
}, [_, ne, oe]), ie = R.useCallback(
|
|
13652
|
-
async (
|
|
13653
|
-
if (!
|
|
13652
|
+
async (wt) => {
|
|
13653
|
+
if (!wt.trim()) return;
|
|
13654
13654
|
const xt = {
|
|
13655
|
-
id:
|
|
13656
|
-
content:
|
|
13655
|
+
id: Nu(),
|
|
13656
|
+
content: wt.trim(),
|
|
13657
13657
|
sender: "user",
|
|
13658
13658
|
timestamp: /* @__PURE__ */ new Date(),
|
|
13659
13659
|
status: "sending"
|
|
13660
13660
|
};
|
|
13661
13661
|
v((Z) => [...Z, { ...xt, status: "sent" }]), r.onMessageSent?.(xt), z(!0), j("thinking");
|
|
13662
|
-
const E =
|
|
13662
|
+
const E = Nu();
|
|
13663
13663
|
X.current = E, Bt.current = !1;
|
|
13664
13664
|
const G = {
|
|
13665
13665
|
...r,
|
|
13666
13666
|
...$ && { assistantId: $.id },
|
|
13667
13667
|
...P && { sessionId: P }
|
|
13668
13668
|
};
|
|
13669
|
-
await Jp(
|
|
13669
|
+
await Jp(wt, G, {
|
|
13670
13670
|
onChunk: (Z) => {
|
|
13671
13671
|
if (Bt.current)
|
|
13672
13672
|
v(
|
|
@@ -13691,7 +13691,7 @@ const Lp = R.memo(function() {
|
|
|
13691
13691
|
Z === "complete" ? (j(void 0), z(!1)) : j(Z);
|
|
13692
13692
|
},
|
|
13693
13693
|
onSessionId: (Z) => {
|
|
13694
|
-
|
|
13694
|
+
N(Z);
|
|
13695
13695
|
},
|
|
13696
13696
|
onAudio: (Z) => {
|
|
13697
13697
|
const st = `data:audio/mp3;base64,${Z}`;
|
|
@@ -13776,21 +13776,21 @@ var Pp = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
13776
13776
|
for (var V = z.length, W = 1; W < V; W++)
|
|
13777
13777
|
O.push(z[W], j[W]);
|
|
13778
13778
|
}
|
|
13779
|
-
var q =
|
|
13780
|
-
var P = p && J.as || d,
|
|
13779
|
+
var q = wr(function(J, $, nt) {
|
|
13780
|
+
var P = p && J.as || d, N = "", H = [], it = J;
|
|
13781
13781
|
if (J.theme == null) {
|
|
13782
13782
|
it = {};
|
|
13783
13783
|
for (var X in J)
|
|
13784
13784
|
it[X] = J[X];
|
|
13785
|
-
it.theme = R.useContext(
|
|
13785
|
+
it.theme = R.useContext(Nr);
|
|
13786
13786
|
}
|
|
13787
|
-
typeof J.className == "string" ?
|
|
13787
|
+
typeof J.className == "string" ? N = Eg($.registered, H, J.className) : J.className != null && (N = J.className + " ");
|
|
13788
13788
|
var Bt = Zu(O.concat(H), $.registered, it);
|
|
13789
|
-
|
|
13789
|
+
N += $.key + "-" + Bt.name, v !== void 0 && (N += " " + v);
|
|
13790
13790
|
var ne = p && _ === void 0 ? gg(P) : x, oe = {};
|
|
13791
13791
|
for (var Ft in J)
|
|
13792
13792
|
p && Ft === "as" || ne(Ft) && (oe[Ft] = J[Ft]);
|
|
13793
|
-
return oe.className =
|
|
13793
|
+
return oe.className = N, nt && (oe.ref = nt), /* @__PURE__ */ R.createElement(R.Fragment, null, /* @__PURE__ */ R.createElement(ab, {
|
|
13794
13794
|
cache: $,
|
|
13795
13795
|
serialized: Bt,
|
|
13796
13796
|
isStringTag: typeof P == "string"
|
|
@@ -14033,11 +14033,11 @@ const gn = () => {
|
|
|
14033
14033
|
_ && /* @__PURE__ */ K.jsxs(hb, { fontFamily: s.fontFamily, children: [
|
|
14034
14034
|
_,
|
|
14035
14035
|
" v",
|
|
14036
|
-
"1.0.
|
|
14036
|
+
"1.0.40"
|
|
14037
14037
|
] })
|
|
14038
14038
|
] })
|
|
14039
14039
|
] }),
|
|
14040
|
-
o.floatingMode && /* @__PURE__ */ K.jsx(gb, { theme: s, onClick: u, "aria-label": "Minimize chat", children: /* @__PURE__ */ K.jsx(
|
|
14040
|
+
o.floatingMode && /* @__PURE__ */ K.jsx(gb, { theme: s, onClick: u, "aria-label": "Minimize chat", children: /* @__PURE__ */ K.jsx(wg, { size: 20 }) })
|
|
14041
14041
|
] });
|
|
14042
14042
|
}, yb = St.div`
|
|
14043
14043
|
display: flex;
|
|
@@ -14322,7 +14322,7 @@ const gn = () => {
|
|
|
14322
14322
|
/* @__PURE__ */ K.jsx(Tr, { delay: 300, theme: u })
|
|
14323
14323
|
] })
|
|
14324
14324
|
] });
|
|
14325
|
-
},
|
|
14325
|
+
}, wb = St.div`
|
|
14326
14326
|
flex: 1;
|
|
14327
14327
|
overflow-y: auto;
|
|
14328
14328
|
padding: 16px;
|
|
@@ -14347,7 +14347,7 @@ const gn = () => {
|
|
|
14347
14347
|
&::-webkit-scrollbar-thumb:hover {
|
|
14348
14348
|
background-color: rgba(60, 77, 115, 0.3);
|
|
14349
14349
|
}
|
|
14350
|
-
`,
|
|
14350
|
+
`, Nb = St.div`
|
|
14351
14351
|
display: flex;
|
|
14352
14352
|
flex: 1;
|
|
14353
14353
|
align-items: center;
|
|
@@ -14360,7 +14360,7 @@ const gn = () => {
|
|
|
14360
14360
|
const { messages: u, isTyping: o, streamingStatus: s, theme: r } = gn(), d = R.useRef(null);
|
|
14361
14361
|
return R.useEffect(() => {
|
|
14362
14362
|
d.current && (d.current.scrollTop = d.current.scrollHeight);
|
|
14363
|
-
}, [u, o]), /* @__PURE__ */ K.jsx(
|
|
14363
|
+
}, [u, o]), /* @__PURE__ */ K.jsx(wb, { ref: d, fontFamily: r.fontFamily, children: u.length === 0 && !o ? /* @__PURE__ */ K.jsx(Nb, { color: r.colors.textLight, children: "Send a message to start the conversation" }) : /* @__PURE__ */ K.jsxs(K.Fragment, { children: [
|
|
14364
14364
|
u.map((g) => /* @__PURE__ */ K.jsx(Eb, { message: g, theme: r }, g.id)),
|
|
14365
14365
|
o && /* @__PURE__ */ K.jsx(Ub, { theme: r, status: s })
|
|
14366
14366
|
] }) });
|
|
@@ -14379,8 +14379,8 @@ const gn = () => {
|
|
|
14379
14379
|
}, z.current.onresult = (q) => {
|
|
14380
14380
|
let J = "", $ = "";
|
|
14381
14381
|
for (let P = q.resultIndex; P < q.results.length; P++) {
|
|
14382
|
-
const
|
|
14383
|
-
|
|
14382
|
+
const N = q.results[P];
|
|
14383
|
+
N.isFinal ? J += N[0].transcript : $ += N[0].transcript;
|
|
14384
14384
|
}
|
|
14385
14385
|
_(J || $), J && o && o(J);
|
|
14386
14386
|
}, z.current.onerror = (q) => {
|
|
@@ -14633,19 +14633,37 @@ const gn = () => {
|
|
|
14633
14633
|
.chatbot-widget-container {
|
|
14634
14634
|
all: initial;
|
|
14635
14635
|
font-family: ${u.fontFamily};
|
|
14636
|
+
font-size: 16px;
|
|
14637
|
+
line-height: 1.5;
|
|
14638
|
+
-webkit-font-smoothing: antialiased;
|
|
14639
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14636
14640
|
|
|
14637
14641
|
*, *::before, *::after {
|
|
14638
14642
|
box-sizing: border-box;
|
|
14639
14643
|
margin: 0;
|
|
14640
14644
|
padding: 0;
|
|
14645
|
+
font-size: inherit;
|
|
14646
|
+
line-height: inherit;
|
|
14647
|
+
}
|
|
14648
|
+
|
|
14649
|
+
h1, h2, h3, h4, h5, h6, p, span, div {
|
|
14650
|
+
font-size: inherit;
|
|
14651
|
+
font-weight: inherit;
|
|
14652
|
+
line-height: inherit;
|
|
14653
|
+
margin: 0;
|
|
14654
|
+
padding: 0;
|
|
14641
14655
|
}
|
|
14642
14656
|
|
|
14643
14657
|
button {
|
|
14644
14658
|
font-family: inherit;
|
|
14659
|
+
font-size: inherit;
|
|
14660
|
+
line-height: inherit;
|
|
14645
14661
|
}
|
|
14646
14662
|
|
|
14647
|
-
input {
|
|
14663
|
+
input, textarea {
|
|
14648
14664
|
font-family: inherit;
|
|
14665
|
+
font-size: inherit;
|
|
14666
|
+
line-height: inherit;
|
|
14649
14667
|
}
|
|
14650
14668
|
}
|
|
14651
14669
|
`, Fb = () => {
|